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:
Philipp Hancke
2020-02-19 16:25:52 +01:00
committed by Commit Bot
parent 0357b3e7b6
commit e3f257c4ee
5 changed files with 39 additions and 126 deletions

View File

@ -429,8 +429,8 @@ void DataChannelController::UpdateRemoteRtpDataChannels(
RTC_DCHECK_RUN_ON(signaling_thread());
// Find new and active data channels.
for (const cricket::StreamParams& params : streams) {
// The data channel label is either the mslabel or the SSRC if the mslabel
// does not exist. Ex a=ssrc:444330170 mslabel:test1.
// The data channel label is either the msid stream id or the SSRC if
// the msid does not exist. Ex a=ssrc:444330170 msid:test1 test1.
std::string label = params.first_stream_id().empty()
? rtc::ToString(params.first_ssrc())
: params.first_stream_id();