Skip to content

[WEB] AAC encoder on Chrome #468

@nicocrm

Description

@nicocrm

Package version
5.2.0

Environment

  • OS: macOS
  • Browser Chrome

Describe the bug

  await _record.start(
    const RecordConfig(
      encoder: AudioEncoder.aacLc,
    ),
    path: 'voice_note.m4a',
  );

Gives error:

AudioEncoder.aacLc not supported

Expected behavior

Able to record aac audio on Chrome, see https://issues.chromium.org/issues/40797882

Additional context

I found the following returns true:

MediaRecorder.isTypeSupported("audio/mp4; codecs=mp4a.40.2")

But record_web does not include that specification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions