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

Cannot record in Wav format on Safari browser #403

Open
elios-cama opened this issue Sep 23, 2024 · 1 comment
Open

Cannot record in Wav format on Safari browser #403

elios-cama opened this issue Sep 23, 2024 · 1 comment

Comments

@elios-cama
Copy link

Package version
record: ^5.1.2

Environment

  • OS: macOS
  • Browser : Safari

Describe the bug
When i record an audio on an Apple device (iPhone or Mac), with the Wav encoder, the result in the blob is only 44B in size. The data only contains 'RIFF$WAVEfmt D-+data'.
The recording process works well and I can fetch the data in bytes on Chrome.

Record configuration :
RecordConfig(
encoder: AudioEncoder.wav,
bitRate: bitRate ?? kBitRate, // here 128000
sampleRate: sampleRate ?? kSampleRate, // here : 44100
),

To Reproduce
Launch a simple record on a flutter web project, and try to read the content from the blob url data.

@SidikiSako
Copy link

I have the same problem. Any solution yet ?

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

No branches or pull requests

2 participants