yjjnls/Notes

View on GitHub
gstreamer/src/webrtc/sdp.md

Summary

Maintainability
Test Coverage
# offer & answer from chrome
## offer

v=0
o=- 8118711165076152655 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE video
a=msid-semantic: WMS
m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 124 127 123 125
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:AUdC
a=ice-pwd:Rf//z20st7RtDlIQqeiyJSUw
a=ice-options:trickle
a=fingerprint:sha-256 06:98:98:FB:78:EE:16:A7:95:5C:22:17:79:D3:B6:1E:23:5C:01:B6:B8:88:6F:A2:39:26:FA:8C:93:B9:F6:6E
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 VP8/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=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:98 VP9/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=rtpmap:99 rtx/90000
a=fmtp:99 apt=98
a=rtpmap:100 H264/90000
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 transport-cc
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=fmtp:100 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f
a=rtpmap:101 rtx/90000
a=fmtp:101 apt=100
a=rtpmap:102 H264/90000
a=rtcp-fb:102 goog-remb
a=rtcp-fb:102 transport-cc
a=rtcp-fb:102 ccm fir
a=rtcp-fb:102 nack
a=rtcp-fb:102 nack pli
a=fmtp:102 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:124 rtx/90000
a=fmtp:124 apt=102
a=rtpmap:127 red/90000
a=rtpmap:123 rtx/90000
a=fmtp:123 apt=127
a=rtpmap:125 ulpfec/90000

## answer
v=0
o=- 4792907698771890541 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE video
a=msid-semantic: WMS N9rWYOxYccpPBxUNWIZL9oa2qkrvJ3N83ebn
m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 124 127 123 125
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:c0Q7
a=ice-pwd:3Xt7WHlO8d+KtbgHIisWkEXd
a=ice-options:trickle
a=fingerprint:sha-256 70:85:C9:A2:C4:7A:1D:20:7B:B4:E3:32:1D:7B:6E:27:90:83:5F:8A:1C:CB:7B:2C:9C:0C:88:CF:B9:41:0B:B8
a=setup:active
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=sendonly
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 VP8/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=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:98 VP9/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=rtpmap:99 rtx/90000
a=fmtp:99 apt=98
a=rtpmap:100 H264/90000
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 transport-cc
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=fmtp:100 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f
a=rtpmap:101 rtx/90000
a=fmtp:101 apt=100
a=rtpmap:102 H264/90000
a=rtcp-fb:102 goog-remb
a=rtcp-fb:102 transport-cc
a=rtcp-fb:102 ccm fir
a=rtcp-fb:102 nack
a=rtcp-fb:102 nack pli
a=fmtp:102 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:124 rtx/90000
a=fmtp:124 apt=102
a=rtpmap:127 red/90000
a=rtpmap:123 rtx/90000
a=fmtp:123 apt=127
a=rtpmap:125 ulpfec/90000
a=ssrc-group:FID 123806265 3045222218
a=ssrc:123806265 cname:NCXXD3vUoT4CQck+
a=ssrc:123806265 msid:N9rWYOxYccpPBxUNWIZL9oa2qkrvJ3N83ebn cb430843-4504-4981-a698-42801b897e41
a=ssrc:123806265 mslabel:N9rWYOxYccpPBxUNWIZL9oa2qkrvJ3N83ebn
a=ssrc:123806265 label:cb430843-4504-4981-a698-42801b897e41
a=ssrc:3045222218 cname:NCXXD3vUoT4CQck+
a=ssrc:3045222218 msid:N9rWYOxYccpPBxUNWIZL9oa2qkrvJ3N83ebn cb430843-4504-4981-a698-42801b897e41
a=ssrc:3045222218 mslabel:N9rWYOxYccpPBxUNWIZL9oa2qkrvJ3N83ebn
a=ssrc:3045222218 label:cb430843-4504-4981-a698-42801b897e41


## audio & video
v=0
o=- 2131949311537671007 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video data
a=msid-semantic: WMS zJyVKn6npb5alEJmwSMWGpxwUM8ScPyODARf
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:UiK2
a=ice-pwd:2Nn9kZhzcfySlT0SCTytVfw+
a=ice-options:trickle
a=fingerprint:sha-256 27:18:A5:76:B8:FB:49:D7:0C:DD:FE:56:3C:9E:46:C1:75:60:5B:EB:15:4E:6F:ED:B9:7B:8C:65:12:99:05:AA
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
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:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
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:3517136793 cname:S7YUrYE3ohOSSbwH
a=ssrc:3517136793 msid:zJyVKn6npb5alEJmwSMWGpxwUM8ScPyODARf f89fe546-a4a3-4c19-891c-65fbf0dfe340
a=ssrc:3517136793 mslabel:zJyVKn6npb5alEJmwSMWGpxwUM8ScPyODARf
a=ssrc:3517136793 label:f89fe546-a4a3-4c19-891c-65fbf0dfe340
m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 124 127 123 125 107 108
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=ice-ufrag:UiK2
a=ice-pwd:2Nn9kZhzcfySlT0SCTytVfw+
a=ice-options:trickle
a=fingerprint:sha-256 27:18:A5:76:B8:FB:49:D7:0C:DD:FE:56:3C:9E:46:C1:75:60:5B:EB:15:4E:6F:ED:B9:7B:8C:65:12:99:05:AA
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=sendrecv
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:98 VP9/90000
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=rtcp-fb:98 goog-remb
a=rtcp-fb:98 transport-cc
a=rtpmap:99 rtx/90000
a=fmtp:99 apt=98
a=rtpmap:100 H264/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 transport-cc
a=fmtp:100 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=64001f
a=rtpmap:101 rtx/90000
a=fmtp:101 apt=100
a=rtpmap:102 H264/90000
a=rtcp-fb:102 ccm fir
a=rtcp-fb:102 nack
a=rtcp-fb:102 nack pli
a=rtcp-fb:102 goog-remb
a=rtcp-fb:102 transport-cc
a=fmtp:102 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
a=rtpmap:124 rtx/90000
a=fmtp:124 apt=102
a=rtpmap:127 H264/90000
a=rtcp-fb:127 ccm fir
a=rtcp-fb:127 nack
a=rtcp-fb:127 nack pli
a=rtcp-fb:127 goog-remb
a=rtcp-fb:127 transport-cc
a=fmtp:127 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f
a=rtpmap:123 rtx/90000
a=fmtp:123 apt=127
a=rtpmap:125 red/90000
a=rtpmap:107 rtx/90000
a=fmtp:107 apt=125
a=rtpmap:108 ulpfec/90000
a=ssrc-group:FID 4030330892 1314109809
a=ssrc:4030330892 cname:S7YUrYE3ohOSSbwH
a=ssrc:4030330892 msid:zJyVKn6npb5alEJmwSMWGpxwUM8ScPyODARf 2783ddb5-c047-47fa-8492-d9835fc04494
a=ssrc:4030330892 mslabel:zJyVKn6npb5alEJmwSMWGpxwUM8ScPyODARf
a=ssrc:4030330892 label:2783ddb5-c047-47fa-8492-d9835fc04494
a=ssrc:1314109809 cname:S7YUrYE3ohOSSbwH
a=ssrc:1314109809 msid:zJyVKn6npb5alEJmwSMWGpxwUM8ScPyODARf 2783ddb5-c047-47fa-8492-d9835fc04494
a=ssrc:1314109809 mslabel:zJyVKn6npb5alEJmwSMWGpxwUM8ScPyODARf
a=ssrc:1314109809 label:2783ddb5-c047-47fa-8492-d9835fc04494
m=application 9 DTLS/SCTP 5000
c=IN IP4 0.0.0.0
a=ice-ufrag:UiK2
a=ice-pwd:2Nn9kZhzcfySlT0SCTytVfw+
a=ice-options:trickle
a=fingerprint:sha-256 27:18:A5:76:B8:FB:49:D7:0C:DD:FE:56:3C:9E:46:C1:75:60:5B:EB:15:4E:6F:ED:B9:7B:8C:65:12:99:05:AA
a=setup:actpass
a=mid:data
a=sctpmap:5000 webrtc-datachannel 1024