Using Safari 17.4.1 on MacOS, or on iOS 17.4/17.4.1, our WebRTC apps have stopped working after establishing a PeerConnection. This is most simply replicated using the WebRTC PeerConnection sample page here: https://webrtc.github.io/samples/src/content/peerconnection/pc1/ Click "Start", local preview works fine, no issue. Click "Call" which establishes the PeerConnection, and the local video freezes and stops, and no video is shown in the remote (right) view. This demo page works fine on 17.3.1.
@Alan, this works for me locally. Can you share a sysdiagnose privately to youenn@apple.com, with the timing where the issue happens? You can also enable verbose WebRTC logging using Web Inspector settings pane (console -> WebRTC Logging).
<rdar://problem/125607080>
I restarted my Mac to get a clean sysdiagnose, and guess what, it's now working fine. Argh! I have console logs only of the pre-restart which may be of interest - will email. I will also work on getting the iOS example and get back to you shortly.
Sincere apologies, Youenn. I unfortunately conflated two separate issues here. The iOS thing is unrelated to PeerConnection (we are still looking into this one). I thought I had a smoking gun with the PeerConnection issue on Desktop Safari but then restart solved it. I'm still sending you the Console logs in case they are of use but it's not a big issue. Totally fair to close this issue if there's nothing in the logs...