Bug 281693 - AirPlay doesn't work if the srcObject of video element is a stream
Summary: AirPlay doesn't work if the srcObject of video element is a stream
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 18
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-10-17 14:31 PDT by Danny Moerkerke
Modified: 2024-10-24 14:31 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>