WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
262791
Conflicting Video Codec Payload Types in Safari WebRTC Screen Sharing
https://bugs.webkit.org/show_bug.cgi?id=262791
Summary
Conflicting Video Codec Payload Types in Safari WebRTC Screen Sharing
Mukesh
Reported
2023-10-06 09:10:15 PDT
I have identified a issue related to WebRTC video codec negotiation during screen sharing sessions in Safari. This problem occurs when two participants are involved in a video call, one using Safari on macOS (User A) and the other using Chrome/Edge on a desktop (User B). The following steps outline the issue: User A initiates a video call to User B. User B answers the call with video enabled. Both users turn off their cameras. User A begins sharing their screen. User B attempts to share their screen while User A is already sharing. The issue arises when the participants initially negotiate video codecs, either "rtx/9000" or "H264/9000." During subsequent renegotiation, User B sends the video codec "a=rtpmap:122 rtx/9000" for screen sharing. User A accepts this codec, but when User A attempts to share their screen, there are conflicting payload types with different codec names (a=rtpmap:122 H264/9000) in the Session Description Protocol (SDP). This results in the following error: Failed to execute 'setLocalDescription' on 'RTCPeerConnection': Failed to parse SessionDescription. a=rtpmap:122 H264/90000 Duplicate payload type with conflicting codec name or clock rate. Expected behaviour: sdp should not consist duplicate payload.
Attachments
Add attachment
proposed patch, testcase, etc.
:fippo
Comment 1
2023-10-10 23:30:44 PDT
known libwebrtc issue, see
https://bugs.chromium.org/p/webrtc/issues/detail?id=12747
Radar WebKit Bug Importer
Comment 2
2023-10-13 09:11:14 PDT
<
rdar://problem/116922568
>
Renārs Ričards Hartmanis
Comment 3
2025-09-18 03:35:35 PDT
Hi! It seems that the bug is not reproducible anymore on - MacBook Pro (M1, 2020, macOS 26.0) and Safari (26.0 (21622.1.22.11.14)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug