remove mslabel and mslabel ssrc-specific attributes
Removes support for parsing and serializing a=ssrc:1 mslabel:stream a=ssrc:1 label:track which have been superceeded by a=ssrc:1 msid:stream track a long time ago. Bug: webrtc:7110 Change-Id: I3aca47728098b6e7e049b82ed34c59426d411c41 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168244 Commit-Queue: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30801}
This commit is contained in:
committed by
Commit Bot
parent
0357b3e7b6
commit
e3f257c4ee
@ -135,8 +135,7 @@ static const char kSdpStringWithStream1PlanB[] =
|
||||
"a=rtcp-mux\r\n"
|
||||
"a=rtpmap:103 ISAC/16000\r\n"
|
||||
"a=ssrc:1 cname:stream1\r\n"
|
||||
"a=ssrc:1 mslabel:stream1\r\n"
|
||||
"a=ssrc:1 label:audiotrack0\r\n"
|
||||
"a=ssrc:1 msid:stream1 audiotrack0\r\n"
|
||||
"m=video 1 RTP/AVPF 120\r\n"
|
||||
"a=ice-ufrag:e5785931\r\n"
|
||||
"a=ice-pwd:36fb7878390db89481c1d46daa4278d8\r\n"
|
||||
@ -147,11 +146,10 @@ static const char kSdpStringWithStream1PlanB[] =
|
||||
"a=rtcp-mux\r\n"
|
||||
"a=rtpmap:120 VP8/90000\r\n"
|
||||
"a=ssrc:2 cname:stream1\r\n"
|
||||
"a=ssrc:2 mslabel:stream1\r\n"
|
||||
"a=ssrc:2 label:videotrack0\r\n";
|
||||
// Same string as above but with the MID changed to the Unified Plan default.
|
||||
// This is needed so that this SDP can be used as an answer for a Unified Plan
|
||||
// offer.
|
||||
"a=ssrc:2 msid:stream1 videotrack0\r\n";
|
||||
// Same string as above but with the MID changed to the Unified Plan default and
|
||||
// a=msid added. This is needed so that this SDP can be used as an answer for a
|
||||
// Unified Plan offer.
|
||||
static const char kSdpStringWithStream1UnifiedPlan[] =
|
||||
"v=0\r\n"
|
||||
"o=- 0 0 IN IP4 127.0.0.1\r\n"
|
||||
@ -166,9 +164,8 @@ static const char kSdpStringWithStream1UnifiedPlan[] =
|
||||
"a=sendrecv\r\n"
|
||||
"a=rtcp-mux\r\n"
|
||||
"a=rtpmap:103 ISAC/16000\r\n"
|
||||
"a=msid:stream1 audiotrack0\r\n"
|
||||
"a=ssrc:1 cname:stream1\r\n"
|
||||
"a=ssrc:1 mslabel:stream1\r\n"
|
||||
"a=ssrc:1 label:audiotrack0\r\n"
|
||||
"m=video 1 RTP/AVPF 120\r\n"
|
||||
"a=ice-ufrag:e5785931\r\n"
|
||||
"a=ice-pwd:36fb7878390db89481c1d46daa4278d8\r\n"
|
||||
@ -178,9 +175,8 @@ static const char kSdpStringWithStream1UnifiedPlan[] =
|
||||
"a=sendrecv\r\n"
|
||||
"a=rtcp-mux\r\n"
|
||||
"a=rtpmap:120 VP8/90000\r\n"
|
||||
"a=ssrc:2 cname:stream1\r\n"
|
||||
"a=ssrc:2 mslabel:stream1\r\n"
|
||||
"a=ssrc:2 label:videotrack0\r\n";
|
||||
"a=msid:stream1 videotrack0\r\n"
|
||||
"a=ssrc:2 cname:stream1\r\n";
|
||||
|
||||
// Reference SDP with a MediaStream with label "stream1" and audio track with
|
||||
// id "audio_1";
|
||||
@ -198,8 +194,7 @@ static const char kSdpStringWithStream1AudioTrackOnly[] =
|
||||
"a=sendrecv\r\n"
|
||||
"a=rtpmap:103 ISAC/16000\r\n"
|
||||
"a=ssrc:1 cname:stream1\r\n"
|
||||
"a=ssrc:1 mslabel:stream1\r\n"
|
||||
"a=ssrc:1 label:audiotrack0\r\n"
|
||||
"a=ssrc:1 msid:stream1 audiotrack0\r\n"
|
||||
"a=rtcp-mux\r\n";
|
||||
|
||||
// Reference SDP with two MediaStreams with label "stream1" and "stream2. Each
|
||||
@ -440,8 +435,6 @@ static const char kDtlsSdesFallbackSdp[] =
|
||||
"a=rtcp-mux\r\n"
|
||||
"a=mid:audio\r\n"
|
||||
"a=ssrc:1 cname:stream1\r\n"
|
||||
"a=ssrc:1 mslabel:stream1\r\n"
|
||||
"a=ssrc:1 label:audiotrack0\r\n"
|
||||
"a=ice-ufrag:e5785931\r\n"
|
||||
"a=ice-pwd:36fb7878390db89481c1d46daa4278d8\r\n"
|
||||
"a=rtpmap:0 pcmu/8000\r\n"
|
||||
|
||||
Reference in New Issue
Block a user