Bug 281693

Summary: AirPlay doesn't work if the srcObject of video element is a stream
Product: WebKit Reporter: Danny Moerkerke <drmoerkerke>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: eric.carlson, jer.noble, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 18   
Hardware: All   
OS: All   

Description Danny Moerkerke 2024-10-17 14:31:02 PDT
When using a <video> element that has a video stream is its srcObject (like a webcam for example) AirPlay doesn't work.

To reproduce:

1. Navigate to https://whatpwacando.today/airplay 

2. Click the plus button in the bottom left corner of the webcam component to start your webcam and then click/tap the AirPlay button.

3. Select an available AirPlay-capable device and you'll notice it won't work.

4. Click the record button to record some video from your webcam.

5. Stop recording by clicking the stop button, click the play button to play the recording and then click the AirPlay button. This doesn't work either.


On my AppleTV, any video that was playing is stopped but the stream from the camera and the recording are not displayed.
Comment 1 Radar WebKit Bug Importer 2024-10-24 14:31:15 PDT
<rdar://problem/138588191>