Bug 249250 - REGRESSION: iOS 16/Safari 16 Media Recorder API throwing errors
Summary: REGRESSION: iOS 16/Safari 16 Media Recorder API throwing errors
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Audio (show other bugs)
Version: Safari 16
Hardware: iPhone / iPad iOS 16
: P2 Critical
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-13 13:32 PST by Joyce Ma
Modified: 2022-12-16 06:14 PST (History)
5 users (show)

See Also:


Attachments
Error from example application (508.64 KB, image/png)
2022-12-13 13:32 PST, Joyce Ma
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joyce Ma 2022-12-13 13:32:37 PST
Created attachment 464028 [details]
Error from example application

Currently, the Media Recorder API is no longer working on iOS 16 devices. However, testing on iOS 15 devices prove this feature to be functional. 

Reproducibility: 100%

Devices used: 
1. iPhone 11 Pro + iOS 16.1 reproducible
2. iPhone 11 Pro + iOS 15.5

Steps to reproduce:
Using the MediaStream Recording API Documentation: https://developer.mozilla.org/en-US/docs/Web/API/MediaStream_Recording_API/Using_the_MediaStream_Recording_API

1. Using the application provided by MDN: https://mdn.github.io/dom-examples/media/web-dictaphone/
2. Open application on iOS 16 device
3. Click Record, record for some time
4. Click Stop, save sound clip
5. Click play on the sound clip

Expected result:
The application should play back the recorded audio.

Actual Result:
The application throws an error.
Comment 1 Radar WebKit Bug Importer 2022-12-14 11:53:30 PST
<rdar://problem/103366321>
Comment 2 youenn fablet 2022-12-15 03:01:33 PST
https://mdn.github.io/dom-examples/media/web-dictaphone/ is expecting ogg/opus while media recorder is generating audio/mp4.
It might be good to put the right mime type on the blob given to the audio element.
Let me know if that fixes your issue.
Comment 3 youenn fablet 2022-12-16 06:14:22 PST
Marking as behave as expected, please reopen if changing the media type does not fix the issue.