NEW 266764
ManagedMediaSource not working on iOS 17.2 simulator
https://bugs.webkit.org/show_bug.cgi?id=266764
Summary ManagedMediaSource not working on iOS 17.2 simulator
Yoeri
Reported 2023-12-21 04:25:39 PST
Created attachment 469159 [details] experiment result ManagedMediaSource refuses to play or instantiate a ManagedSourceBuffer using addSourceBuffer on the iPhone Pro Max simulator with iOS 17.2. I tried running the experiment here https://github.com/jyavenard/htmltests/blob/master/tests/ManagedMediaSource/bipbop.html on Safari on macOS 14.2 (with M2 pro chip) this resulted in the expected playback. On the iPhone simulator this resulted in no playback and only the 'loadstart' event being called. I've ran the experiment with both AirPlay required being enabled and disabled. ManagedMediaSource.isTypeSupported also returns false for any codec, with the exception of 'media/webm'. I tested using an altered version of https://cconcolato.github.io/media-mime-support/ (altered to use ManagedMediaSource instead of MediaSource). I have attached a screenshot of the result after trying the experiment on both macOS and the simulator. I haven't been able to test on actual hardware running iOS 17.2. I'll hopefully be able to tonight.
Attachments
experiment result (2.00 MB, image/png)
2023-12-21 04:25 PST, Yoeri
no flags
Radar WebKit Bug Importer
Comment 1 2023-12-21 16:20:29 PST
Andriy
Comment 2 2024-01-11 15:01:19 PST
ManagedMediaSource.isTypeSupported returns `true` for 'video/webm;codecs="vp8,opus"' in 17.2 iPhone simulators. Unfortunately, MP4 media sources aren't supported, making it useless in testing the most popular real-world libraries: Shaka Player, Hls.js, Dash.js, etc.
Note You need to log in before you can comment on or make changes to this bug.