Created attachment 439068 [details] Camera Feed Turning Black on iOS 15 On iOS 15 getUserMedia camera stream fails after viewing a screenshot (instant markup). This previously worked on iOS 14.8. After the users exits the instant markup view, Safari give no indication of a change (‘VisibilityChange’, ‘pageshow’ are not called). At this point, (video.videoWidth>0 while video.currentTime remains 0). Reproduction Steps: 1. Open https://webrtc.github.io/samples/src/content/getusermedia/gum/ on iOS15 2. Take a screenshot by pressing the power button and the volume up button 3. Open the screenshot preview (instant markup) 4. Either press delete, or save 5. The camera feed is now black (getUserMedia camera stream has failed) Attached is an example video on iOS 15 Please let me know if I can provide more info, thank you.
<rdar://problem/83662830>
Thanks Joel, I think this is indeed a regression where camera track gets muted. This is detectable using onmuted. But we do not unmute when getting back. Putting Safari in the background for a second then back to foreground is unmuting the track. This is most probably https://bugs.webkit.org/show_bug.cgi?id=230538. *** This bug has been marked as a duplicate of bug 230538 ***