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.
<rdar://problem/138588191>