Bug 1487278: When a transceiver is stopped/disassociated by a remote description, clear its transport id too. r=mjf
authorByron Campen [:bwc] <docfaraday@gmail.com>
Wed, 14 Nov 2018 23:29:41 +0000
changeset 503048 ade9fff502f65ed6ec66d7c560303b07e74d05f6
parent 503047 0dc9d562a03afd2836c517b44bb80ae5526186f1
child 503049 e9aeeae665bdce464c4318405c5a373437f53062
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmjf
bugs1487278
milestone65.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 1487278: When a transceiver is stopped/disassociated by a remote description, clear its transport id too. r=mjf Differential Revision: https://phabricator.services.mozilla.com/D11778
media/webrtc/signaling/src/jsep/JsepSessionImpl.cpp
--- a/media/webrtc/signaling/src/jsep/JsepSessionImpl.cpp
+++ b/media/webrtc/signaling/src/jsep/JsepSessionImpl.cpp
@@ -1606,16 +1606,17 @@ JsepSessionImpl::UpdateTransceiversFromR
     if (!mSdpHelper.MsectionIsDisabled(msection)) {
       transceiver->Associate(msection.GetAttributeList().GetMid());
       if (!transceiver->IsAssociated()) {
         transceiver->Associate(GetNewMid());
       } else {
         mUsedMids.insert(transceiver->GetMid());
       }
     } else {
+      transceiver->mTransport.Close();
       transceiver->Disassociate();
       // This cannot be rolled back.
       transceiver->Stop();
       continue;
     }
 
     if (msection.GetMediaType() == SdpMediaSection::MediaType::kApplication) {
       continue;