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

On Safari or any browser on IOS no sound output #303

Closed
MilanHofmann opened this issue Apr 12, 2024 · 2 comments
Closed

On Safari or any browser on IOS no sound output #303

MilanHofmann opened this issue Apr 12, 2024 · 2 comments
Labels

Comments

@MilanHofmann
Copy link

Package version
5.0.5

Environment

  • OS: [e.g. iOS/MacOS]
  • Browser [e.g. chrome, safari]

Describe the bug

Audios recorded on Safari MacOS or any browser on IOS are empty - no amplitude changes as well.

final record = AudioRecorder(); await record.start( const RecordConfig( encoder: AudioEncoder.wav, ), path: _fileName!);
To Reproduce
Start recording on Safari MacOS or any browser on IOS.
The recorded audio has no sound.
Same thing on Chrome on MacOS works well.

Expected behavior

Records sound on IOS Browsers or MacOS Safari.

@llfbandit
Copy link
Owner

record_web 1.1.0 has been released. I didn't any issue in this version.

@negahdaripour
Copy link

I am using record: ^5.1.2 which in turn uses record_web: ^1.1.3.
And in iOS browsers(Chrome/Safari), basically an empty file is generated. I send the file to server and when I get it back, Content-Length in Header is always 44, no matter how many seconds the original audio has been.
The issue happens with AudioEncoder.wav.
Based on the documentation, I assumed it was safe to use.

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

No branches or pull requests

3 participants