Skip to content
New issue

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

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

Already on GitHub? # to your account

Mime Type error on iOS device #685

Closed
calvinseng opened this issue Feb 4, 2025 · 6 comments · Fixed by #686
Closed

Mime Type error on iOS device #685

calvinseng opened this issue Feb 4, 2025 · 6 comments · Fixed by #686

Comments

@calvinseng
Copy link

The voice recording is not able to start recording. Error from the logger - Mime type not supported

Image

@szuperaz
Copy link
Contributor

szuperaz commented Feb 4, 2025

Can you please provide the iOS version you're using? Also, can you please confirm if you're using an Ionic app? Or something similar to create a mobile app?

@calvinseng
Copy link
Author

iOS 18.0, tested both on actual device and simulator.
Permission NSMicrophoneUsageDescription has been added.
Yes I am using Ionic Angular + Capacitor

Ionic:

Ionic CLI : 7.2.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 8.4.2
@angular-devkit/build-angular : 18.2.12
@angular-devkit/schematics : 18.2.12
@angular/cli : 18.2.12
@ionic/angular-toolkit : 5.0.3

Capacitor:

Capacitor CLI : 7.0.1
@capacitor/android : 7.0.1
@capacitor/core : 6.2.0
@capacitor/ios : 7.0.1

@szuperaz
Copy link
Contributor

szuperaz commented Feb 5, 2025

I'm able to reproduce this. We're recording in audio/mp4;codecs=mp4a.40.2, which works on iOS Safari, but not when creating a mobile app with Ionic + Capacitor and displaying the web app using webview. I don't know what's the cause for this, have to do some digging to see if we can support this.

@calvinseng
Copy link
Author

I'm able to reproduce this. We're recording in audio/mp4;codecs=mp4a.40.2, which works on iOS Safari, but not when creating a mobile app with Ionic + Capacitor and displaying the web app using webview. I don't know what's the cause for this, have to do some digging to see if we can support this.

Yes that's right. However it is also working fine in Android. Looking forward to your update on this. Thank you!

github-actions bot pushed a commit that referenced this issue Feb 10, 2025
## [5.12.4-fix-voice-recording.1](v5.12.3...v5.12.4-fix-voice-recording.1) (2025-02-10)

### Bug Fixes

* mime type settings for audio recording [#685](#685) ([67617a8](67617a8))
Copy link

🎉 This issue has been resolved in version 5.12.4-fix-voice-recording.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this issue Feb 11, 2025
## [5.12.4](v5.12.3...v5.12.4) (2025-02-11)

### Bug Fixes

* mime type settings for audio recording [#685](#685) ([67617a8](67617a8))
Copy link

🎉 This issue has been resolved in version 5.12.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants