From 26762b6a6f2a552b8fc734a7c50bb3478aa90b90 Mon Sep 17 00:00:00 2001 From: xia-chu <771730766@qq.com> Date: Sat, 8 May 2021 15:15:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0offer=20simulcast=20sdp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webrtc/offer-simulcast.sdp | 129 ++++++++++++++++++++++++++++++++----- 1 file changed, 114 insertions(+), 15 deletions(-) diff --git a/webrtc/offer-simulcast.sdp b/webrtc/offer-simulcast.sdp index 91701061..d6f1ff84 100644 --- a/webrtc/offer-simulcast.sdp +++ b/webrtc/offer-simulcast.sdp @@ -1,5 +1,6 @@ +# chrome的sdp v=0 -o=- 99044479296054817 2 IN IP4 127.0.0.1 +o=- 403371946498103831 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE 0 1 @@ -8,10 +9,10 @@ a=msid-semantic: WMS m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 -a=ice-ufrag:s95k -a=ice-pwd:JFAzK9rInMLPOosVj4Z7lC+Q +a=ice-ufrag:pW4Z +a=ice-pwd:S38S++HW3eTcPTyytsNI1XVp a=ice-options:trickle -a=fingerprint:sha-256 50:76:BB:FA:A8:D3:B7:19:81:C7:8D:19:60:C7:A9:7E:0E:5F:AA:3F:FE:68:60:98:B1:93:95:BC:A9:29:E4:D1 +a=fingerprint:sha-256 04:32:7B:56:7D:F7:D4:EC:65:7C:04:6C:F8:0B:03:F0:35:A9:1A:C3:43:3E:18:95:67:E6:0D:D1:EE:C9:16:8C a=setup:actpass a=mid:0 a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level @@ -21,7 +22,7 @@ a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id a=sendrecv -a=msid:- 83e7b60d-ce8f-4d7d-a7b9-d2209747bf55 +a=msid:- a3c6a137-1291-45cd-b985-07a9bd365452 a=rtcp-mux a=rtpmap:111 opus/48000/2 a=rtcp-fb:111 transport-cc @@ -38,17 +39,17 @@ a=rtpmap:110 telephone-event/48000 a=rtpmap:112 telephone-event/32000 a=rtpmap:113 telephone-event/16000 a=rtpmap:126 telephone-event/8000 -a=ssrc:1320289824 cname:YOYQAT5W3y5SSliB -a=ssrc:1320289824 msid:- 83e7b60d-ce8f-4d7d-a7b9-d2209747bf55 -a=ssrc:1320289824 mslabel:- -a=ssrc:1320289824 label:83e7b60d-ce8f-4d7d-a7b9-d2209747bf55 -m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 121 127 120 125 107 108 109 124 119 123 118 114 115 116 +a=ssrc:3626257331 cname:JSFJMbaE9Pu5tevN +a=ssrc:3626257331 msid:- a3c6a137-1291-45cd-b985-07a9bd365452 +a=ssrc:3626257331 mslabel:- +a=ssrc:3626257331 label:a3c6a137-1291-45cd-b985-07a9bd365452 +m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 121 127 120 125 107 108 109 35 36 124 119 123 118 114 115 116 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 -a=ice-ufrag:s95k -a=ice-pwd:JFAzK9rInMLPOosVj4Z7lC+Q +a=ice-ufrag:pW4Z +a=ice-pwd:S38S++HW3eTcPTyytsNI1XVp a=ice-options:trickle -a=fingerprint:sha-256 50:76:BB:FA:A8:D3:B7:19:81:C7:8D:19:60:C7:A9:7E:0E:5F:AA:3F:FE:68:60:98:B1:93:95:BC:A9:29:E4:D1 +a=fingerprint:sha-256 04:32:7B:56:7D:F7:D4:EC:65:7C:04:6C:F8:0B:03:F0:35:A9:1A:C3:43:3E:18:95:67:E6:0D:D1:EE:C9:16:8C a=setup:actpass a=mid:1 a=extmap:14 urn:ietf:params:rtp-hdrext:toffset @@ -63,7 +64,7 @@ a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id a=sendrecv -a=msid:- cd8e4810-dadf-4f11-8799-eed2560fe196 +a=msid:- 261e5384-9cf6-479d-9d59-aaf924d1a2ea a=rtcp-mux a=rtcp-rsize a=rtpmap:96 VP8/90000 @@ -128,6 +129,14 @@ a=rtcp-fb:108 nack pli a=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f a=rtpmap:109 rtx/90000 a=fmtp:109 apt=108 +a=rtpmap:35 AV1X/90000 +a=rtcp-fb:35 goog-remb +a=rtcp-fb:35 transport-cc +a=rtcp-fb:35 ccm fir +a=rtcp-fb:35 nack +a=rtcp-fb:35 nack pli +a=rtpmap:36 rtx/90000 +a=fmtp:36 apt=35 a=rtpmap:124 H264/90000 a=rtcp-fb:124 goog-remb a=rtcp-fb:124 transport-cc @@ -153,4 +162,94 @@ a=rtpmap:116 ulpfec/90000 a=rid:q send a=rid:h send a=rid:f send -a=simulcast:send q;h;f \ No newline at end of file +a=simulcast:send q;h;f + +#firefox的sdp +v=0 +o=mozilla...THIS_IS_SDPARTA-88.0.1 3954544078885279475 0 IN IP4 0.0.0.0 +s=- +t=0 0 +a=fingerprint:sha-256 9B:4F:D1:D2:A5:ED:08:BC:E8:D7:DD:D8:59:2C:E6:3D:19:F9:4C:67:9C:D9:9B:7B:C9:47:7A:3A:1F:05:C8:96 +a=group:BUNDLE 0 1 +a=ice-options:trickle +a=msid-semantic:WMS * +m=audio 9 UDP/TLS/RTP/SAVPF 109 9 0 8 101 +c=IN IP4 0.0.0.0 +a=sendrecv +a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level +a=extmap:2/recvonly urn:ietf:params:rtp-hdrext:csrc-audio-level +a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid +a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1 +a=fmtp:101 0-15 +a=ice-pwd:92a9ced6d734f7ff2a45cde8b29572a9 +a=ice-ufrag:b986b945 +a=mid:0 +a=msid:- {ea61729a-c244-4c79-aeb7-b57765fefa26} +a=rtcp-mux +a=rtpmap:109 opus/48000/2 +a=rtpmap:9 G722/8000/1 +a=rtpmap:0 PCMU/8000 +a=rtpmap:8 PCMA/8000 +a=rtpmap:101 telephone-event/8000/1 +a=setup:actpass +a=ssrc:3000327501 cname:{12e7c547-559e-46e2-94db-f1ad474c95dc} +m=video 9 UDP/TLS/RTP/SAVPF 120 124 121 125 126 127 97 98 +c=IN IP4 0.0.0.0 +a=sendrecv +a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid +a=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time +a=extmap:5 urn:ietf:params:rtp-hdrext:toffset +a=extmap:6/recvonly http://www.webrtc.org/experiments/rtp-hdrext/playout-delay +a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01 +a=extmap:8/sendonly urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id +a=extmap:9/sendonly urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id +a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1 +a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1 +a=fmtp:120 max-fs=12288;max-fr=60 +a=fmtp:124 apt=120 +a=fmtp:121 max-fs=12288;max-fr=60 +a=fmtp:125 apt=121 +a=fmtp:127 apt=126 +a=fmtp:98 apt=97 +a=ice-pwd:92a9ced6d734f7ff2a45cde8b29572a9 +a=ice-ufrag:b986b945 +a=mid:1 +a=msid:- {3bfe1b80-20eb-4b42-b8b7-fac45fb281bf} +a=rid:q send +a=rid:h send +a=rid:f send +a=rtcp-fb:120 nack +a=rtcp-fb:120 nack pli +a=rtcp-fb:120 ccm fir +a=rtcp-fb:120 goog-remb +a=rtcp-fb:120 transport-cc +a=rtcp-fb:121 nack +a=rtcp-fb:121 nack pli +a=rtcp-fb:121 ccm fir +a=rtcp-fb:121 goog-remb +a=rtcp-fb:121 transport-cc +a=rtcp-fb:126 nack +a=rtcp-fb:126 nack pli +a=rtcp-fb:126 ccm fir +a=rtcp-fb:126 goog-remb +a=rtcp-fb:126 transport-cc +a=rtcp-fb:97 nack +a=rtcp-fb:97 nack pli +a=rtcp-fb:97 ccm fir +a=rtcp-fb:97 goog-remb +a=rtcp-fb:97 transport-cc +a=rtcp-mux +a=rtcp-rsize +a=rtpmap:120 VP8/90000 +a=rtpmap:124 rtx/90000 +a=rtpmap:121 VP9/90000 +a=rtpmap:125 rtx/90000 +a=rtpmap:126 H264/90000 +a=rtpmap:127 rtx/90000 +a=rtpmap:97 H264/90000 +a=rtpmap:98 rtx/90000 +a=setup:actpass +a=simulcast:send q;h;f +a=ssrc:2581133096 cname:{12e7c547-559e-46e2-94db-f1ad474c95dc} +a=ssrc:773854125 cname:{12e7c547-559e-46e2-94db-f1ad474c95dc} +a=ssrc:4100728001 cname:{12e7c547-559e-46e2-94db-f1ad474c95dc}