When in a call using H264 on the latest 15.1 beta (which I believe is release candidate), if you try to mute the video track (enabled = false), the tab will crash. The most common case in p2p calls is iOS <-> iOS calls. Reproduced on: - iPad Pro 10.5 MQDW2KN/A using iOS 15.1 (19B74) - iPad Air (4th generation) MYFQ2NF/A using iOS 15.1 (19B74) Repro steps: 1. Go to https://codepen.io/daginge/pen/porbmVK 2. Request permissions, then start the call. Verify you see two versions of yourself. 3. Click "Mute camera". The tab will crash Impact: All WebRTC calls where the outbound video track uses H264. Workaround: Disabling H264 seems to do the trick. I cannot reproduce when VP8 is used.
Seems this is reproducible on an iPhone XR with a previous iOS 15.1 beta as well. MRY42QN/A using 19B5060d
Seems this is reproducible on Safari 15.1 on macOS too. Tested using Beta 3 (16612.2.9.1.8) on macOS 11.6.
<rdar://problem/84454693>
https://bugs.webkit.org/show_bug.cgi?id=231505 should fix this.
Thank you Youenn for a quick reaction! Could you confirm whether final iOS 15.1 and Safari 15.1 for macOS will ship with or without the fix?
*** This bug has been marked as a duplicate of bug 231505 ***
This bug was not resolved in 15.1 stable. Now all h264 usage will crash the tab. Could we get any indication for when this fix will be released?
(In reply to daginge from comment #7) > This bug was not resolved in 15.1 stable. Now all h264 usage will crash the > tab. Could we get any indication for when this fix will be released? Apple does not comment on future releases.
(In reply to daginge from comment #7) > This bug was not resolved in 15.1 stable. Now all h264 usage will crash the > tab. Could we get any indication for when this fix will be released? I would recommend checking upcoming iOS betas.
(In reply to youenn fablet from comment #9) > (In reply to daginge from comment #7) > > This bug was not resolved in 15.1 stable. Now all h264 usage will crash the > > tab. Could we get any indication for when this fix will be released? > > I would recommend checking upcoming iOS betas. Say no more, say no more. *touches nose profusely* ;)
two workaround: 1. Add this description to offer&answer sdp: "urn:3gpp:video-orientation", it will not cause page crash. 2. Use canvas.captureStream to capture a new video track from getUserMedia. Then, publish canvas track will not cause page crash.
Maybe this observation points into the same direction. I agree, the problem with H.264 is not solved in 15.1 https://feedbackassistant.apple.com/feedback/9757570
BTW: The crash does not happen if Safari acts as subscriber, even though the same H.264 SDP Offer comes in from the outside. But here Safari just decodes
It appears that this patch landed in iOS and Safari 15.2