Description
Have you read the FAQ and checked for duplicate open issues?
Yes
Is your feature request related to a problem? Please describe.
When using AirPlay on Safari with useNativeHlsOnSafari: false
, AirPlay becomes unusable. This is because the blob source set on the video element cannot be handled by the AirPlay target.
Describe the solution you'd like
As of Safari 16.4, Safari can automatically fall back to another supported <source>
element when starting AirPlay. An example is provided by this test in the WebKit repository. The basic idea would be to provide both the Media Source Extensions-backed video blob and the address of the HLS playlist as separate <source>
elements as children of the <video>
element.
Describe alternatives you've considered
An alternative would be to re-enable useNativeHlsOnSafari
when AirPlay is requested by the user, seek to the previous timestamp and start playback again.
Activity