At safari 17, I encounter a problem: When I capture video-stream from local camera, and set it to video's srcObject The video play normally Then I set srcObject to null and then set stream back The video will not play. ---------------------------------------------- You can reproduce it at webrtc sample website. 1. Open : https://webrtc.github.io/samples/src/content/getusermedia/gum/ 2. Click open camera button 3. Open dev-tools 4. Run code: const video = document.querySelector('video') 5. Run code: video.srcObject = null 6. Run code: video.srcObject = stream Finally, The video will not play even if you call video.play(). But it is fine at safari older version(such as safari 16) Thanks.
If you update video's css attribute like height, the video will play again.
This should be fixed now in trunk and iOS seeds. *** This bug has been marked as a duplicate of bug 258723 ***
Bug 258723 was fixed in developer beta 4 released on 7/31/2023. Please let us know if this is still happening.