Bug 1337468: Don't offer RID extension for audio streams r=ng
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Mon, 06 Feb 2017 16:41:53 -0800
changeset 342533 99c3ec3f4456e451713630c5bba3d0d78e36cf28
parent 342532 d67568f1301002c095a479f567657e64edfcc2cc
child 342534 441d27d954264a20d40d35cd16b565302806b549
push id31357
push userkwierso@gmail.com
push dateTue, 14 Feb 2017 00:49:21 +0000
treeherdermozilla-central@bca082441767 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersng
bugs1337468
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1337468: Don't offer RID extension for audio streams r=ng MozReview-Commit-ID: LicY2Ok0V60
media/webrtc/signaling/src/jsep/JsepSessionImpl.cpp
--- a/media/webrtc/signaling/src/jsep/JsepSessionImpl.cpp
+++ b/media/webrtc/signaling/src/jsep/JsepSessionImpl.cpp
@@ -327,19 +327,16 @@ JsepSessionImpl::SetParameters(const std
           return NS_ERROR_INVALID_ARG;
         }
       }
     }
   }
   if (addVideoExt != SdpDirectionAttribute::kInactive) {
     AddVideoRtpExtension("urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id", addVideoExt);
   }
-  if (addAudioExt != SdpDirectionAttribute::kInactive) {
-    AddAudioRtpExtension("urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id", addAudioExt);
-  }
 
   it->mTrack->SetJsConstraints(constraints);
 
   auto track = it->mTrack;
   if (track->GetDirection() == sdp::kSend) {
     // Establish minimum number of required SSRCs
     // Note that AddTrack is only for send direction
     size_t minimumSsrcCount = 0;