[Webkit-unassigned] [Bug 189716] New: When "WebRTC Unified Plan" is enabled, pc.createOffer() produces SDP without m lines

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 18 14:51:45 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=189716

            Bug ID: 189716
           Summary: When "WebRTC Unified Plan" is enabled,
                    pc.createOffer() produces SDP without m lines
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ibc at aliax.net
                CC: youennf at gmail.com

To reproduce it, enable "WebRTC Unified Plan" in the "Develop -> Experimental Features" menu of Safari (12.1), and run this code in the console:

-----------------------
const pc = new RTCPeerConnection({ iceServers: [] });

pc.addTransceiver('audio');
pc.addTransceiver('video');

pc.createOffer().then((offer) => console.warn(offer.sdp));
-----------------------

It prints the following output:

-----------------------
v=0
o=- 7225292094638875391 2 IN IP4 127.0.0.1
s=-
t=0 0
a=msid-semantic: WMS
-----------------------

Obviously it lacks the m=audio and m=video sections for receiving audio and video (this is, with a=recvonly as expected).

If we run the same code after disabling the "WebRTC Unified Plan", it prints:

-----------------------
v=0
o=- 8747258320683116984 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 102 0 8 105 13 110 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:qTLo
a=ice-pwd:996s/s3CJPo0n9gq4l0o0cgB
a=ice-options:trickle
a=fingerprint:sha-256 E4:98:4D:51:04:23:31:D6:9E:62:E4:BA:EF:1B:6C:ED:FB:DD:E0:FE:0D:EC:7E:1B:DF:84:B5:8E:3D:EF:57:53
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=recvonly
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:9 G722/8000
a=rtpmap:102 ILBC/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 127
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:qTLo
a=ice-pwd:996s/s3CJPo0n9gq4l0o0cgB
a=ice-options:trickle
a=fingerprint:sha-256 E4:98:4D:51:04:23:31:D6:9E:62:E4:BA:EF:1B:6C:ED:FB:DD:E0:FE:0D:EC:7E:1B:DF:84:B5:8E:3D:EF:57:53
a=setup:actpass
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:4 urn:3gpp:video-orientation
a=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type
a=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/video-timing
a=recvonly
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 H264/90000
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640c1f
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:98 H264/90000
a=rtcp-fb:98 goog-remb
a=rtcp-fb:98 transport-cc
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:99 rtx/90000
a=fmtp:99 apt=98
a=rtpmap:100 red/90000
a=rtpmap:101 rtx/90000
a=fmtp:101 apt=100
a=rtpmap:127 ulpfec/90000
-----------------------

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180918/d8661eaf/attachment-0001.html>


More information about the webkit-unassigned mailing list