Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WEB] AAC encoder on Chrome #468

Closed
nicocrm opened this issue Feb 11, 2025 · 1 comment
Closed

[WEB] AAC encoder on Chrome #468

nicocrm opened this issue Feb 11, 2025 · 1 comment
Labels

Comments

@nicocrm
Copy link

nicocrm commented Feb 11, 2025

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.

nicocrm pushed a commit to nicocrm/record that referenced this issue Feb 11, 2025
@llfbandit llfbandit added the web label Feb 16, 2025
nicocrm pushed a commit to nicocrm/record that referenced this issue Feb 16, 2025
nicocrm added a commit to nicocrm/record that referenced this issue Feb 17, 2025
@llfbandit
Copy link
Owner

Fixed by 069db9f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants