Bug 271884 - Safari 17.4 Regression: WebRTC media stops on PeerConnection establishment
Summary: Safari 17.4 Regression: WebRTC media stops on PeerConnection establishment
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 17
Hardware: Mac (Intel) All
: P4 Minor
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-03-29 03:49 PDT by alan.ford
Modified: 2024-03-29 04:48 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alan.ford 2024-03-29 03:49:42 PDT
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.
Comment 1 youenn fablet 2024-03-29 03:55:40 PDT
@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).
Comment 2 Radar WebKit Bug Importer 2024-03-29 03:55:52 PDT
<rdar://problem/125607080>
Comment 3 alan.ford 2024-03-29 04:05:30 PDT
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.
Comment 4 alan.ford 2024-03-29 04:48:12 PDT
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...