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

Wrong format in IOS devices #82

Open
Ali-Ak-98 opened this issue Aug 20, 2023 · 8 comments
Open

Wrong format in IOS devices #82

Ali-Ak-98 opened this issue Aug 20, 2023 · 8 comments
Assignees

Comments

@Ali-Ak-98
Copy link

In IOS devices, downloaded file format is .mp4 and I could not detect why this happens. Please help me if anyone had similar issue.

@samhirtarif
Copy link
Owner

samhirtarif commented Aug 20, 2023

@Ali-Ak-98 - I've tested this before and have always got webm, unless explicitly transformed into another format.

Could you share which device, iOS version and browser you're using?

@samhirtarif
Copy link
Owner

samhirtarif commented Aug 20, 2023

Regardless of that, have you tried sending mimeType as audio/webm in the mediaRecorderOptions of the AudioRecorder component in case you want it to be webm?

@Ali-Ak-98
Copy link
Author

@Ali-Ak-98 - I've tested this before and have always got webm, unless explicitly transformed into another format.

Could you share which device, iOS version and browser you're using?

I'm using iOS 16.6 and test with both chrome and safari

@Ali-Ak-98
Copy link
Author

Regardless of that, have you tried sending mimeType as audio/webm in the mediaRecorderOptions of the AudioRecorder component in case you want it to be webm?

I tried this but not worked. Also tried to debug and detect the problem, inside the "onRecordingComplete" function I alert the blob.type , and I got 'Audio/mp4' !!!!

@zem-aleks
Copy link

The same problem

@juliandierker
Copy link

is there any support for Safari < v17 ? atm this recorder only supports webm and this makes it unusable for safari users which are not on the latest > 17 version. could you please make it downwards compatible or allow to use mp3 as file format?

@zem-aleks
Copy link

I resolved this problem with the recorder polyfill: https://github.com/ai/audio-recorder-polyfill

@OfficialAshwaniBhardwaj
Copy link

I resolved this problem with the recorder polyfill: https://github.com/ai/audio-recorder-polyfill

any solution for chrome?

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

5 participants