Bug 826529 - Increase default video bitrate. r=jesup
authorEKR <ekr@rtfm.com>
Thu, 03 Jan 2013 19:17:42 -0800
changeset 126652 2453fdb37bf45e71eb5767f3d3464364ec626785
parent 126651 e2df102b0fe773bb8b488db696c7be5de94c5692
child 126653 1871463a0542b3d641ba7f76cbc8186f1a8ca0cf
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjesup
bugs826529
milestone20.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 826529 - Increase default video bitrate. r=jesup
media/webrtc/signaling/src/media-conduit/VideoConduit.cpp
--- a/media/webrtc/signaling/src/media-conduit/VideoConduit.cpp
+++ b/media/webrtc/signaling/src/media-conduit/VideoConduit.cpp
@@ -654,16 +654,19 @@ WebrtcVideoConduit::DeliverFrame(unsigne
 
 void
 WebrtcVideoConduit::CodecConfigToWebRTCCodec(const VideoCodecConfig* codecInfo,
                                               webrtc::VideoCodec& cinst)
 {
   cinst.plType  = codecInfo->mType;
   cinst.width   = codecInfo->mWidth;
   cinst.height  = codecInfo->mHeight;
+  cinst.minBitrate = 50;
+  cinst.startBitrate = 300;
+  cinst.maxBitrate = 2000;
 }
 
 bool
 WebrtcVideoConduit::CopyCodecToDB(const VideoCodecConfig* codecInfo)
 {
   VideoCodecConfig* cdcConfig = new VideoCodecConfig(codecInfo->mType,
                                                      codecInfo->mName,
                                                      codecInfo->mWidth,