Bug 274142

Summary: Managed MSE + AirPlay does not work
Product: WebKit Reporter: Mattias Bergström <mattias.bergstrom>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, eric.carlson, jean-yves.avenard, jer.noble, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=274195

Mattias Bergström
Reported 2024-05-14 01:56:26 PDT
When using Managed MSE with an additional source for HLS AirPlay support the video doesn't switch to the AirPlay target, instead it keeps playing in the local video element. How to reproduce: 1. Open https://webkit.org/blog/15036/how-to-use-media-source-extensions-with-airplay/ 2. Start playing the example video. 3. Select an AirPlay target. Expected outcome: Video starts playing on the target. Actual outcome: Video keeps playing on the local device. An airplay icon is briefly shown on the video element if the video is paused and then played again. Affected platforms: macOS 14.4.1 iOS 17.4.1 and 17.5
Attachments
Radar WebKit Bug Importer
Comment 1 2024-05-14 09:09:40 PDT
Ahmad Saleem
Comment 2 2024-05-14 14:21:24 PDT
@Mattias - was this working prior to 17.4 (e.g., in 17.3), just trying to confirm whether it is recent regression or not and if you know top of your head.
Jean-Yves Avenard [:jya]
Comment 3 2024-05-14 17:08:58 PDT
The issue is in the page. It sets a src attribute which will make it ignore the <source> children.
Mattias Bergström
Comment 4 2024-05-15 23:50:50 PDT
Unfortunately I don't have any information regarding older versions. But as mentioned, the issue seems to be in the example. I was able to get it to work correctly by removing the src attribute.
Note You need to log in before you can comment on or make changes to this bug.