Bug 1374440: stop sending max-message-size. r=jesup
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Mon, 19 Jun 2017 14:33:24 -0700
changeset 364994 a60b36252622272e0b98d4a3818d51f270d61623
parent 364993 9e6dcb8ce801f339f389cd27c3789daa0f6dd94d
child 364995 3acbb3037515693c4eee2ce26823a62f3c12098d
push id91680
push userkwierso@gmail.com
push dateWed, 21 Jun 2017 01:32:01 +0000
treeherdermozilla-inbound@f7b9dc31956c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjesup
bugs1374440
milestone56.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 1374440: stop sending max-message-size. r=jesup MozReview-Commit-ID: 7iqS3bPLwRf
media/webrtc/signaling/src/jsep/JsepSessionImpl.cpp
--- a/media/webrtc/signaling/src/jsep/JsepSessionImpl.cpp
+++ b/media/webrtc/signaling/src/jsep/JsepSessionImpl.cpp
@@ -2366,17 +2366,19 @@ JsepSessionImpl::SetupDefaultCodecs()
       90000     // clock rate (match other video codecs)
       );
   mSupportedCodecs.values.push_back(ulpfec);
 
   mSupportedCodecs.values.push_back(new JsepApplicationCodecDescription(
       "webrtc-datachannel",
       WEBRTC_DATACHANNEL_STREAMS_DEFAULT,
       WEBRTC_DATACHANNEL_PORT_DEFAULT,
-      WEBRTC_DATACHANELL_MAX_MESSAGE_SIZE_DEFAULT
+      // TODO: Bug 979417 needs to change this to
+      // WEBRTC_DATACHANELL_MAX_MESSAGE_SIZE_DEFAULT
+      0
       ));
 
   // Update the redundant encodings for the RED codec with the supported
   // codecs.  Note: only uses the video codecs.
   red->UpdateRedundantEncodings(mSupportedCodecs.values);
 }
 
 void