Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Unified Diff: webrtc/media/engine/webrtcvideoengine2_unittest.cc

Issue 1893313002: Use initial bitrates for software VP8. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: fix test codec bitrates to not hit initial downscale Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/webrtcvideoengine2_unittest.cc
diff --git a/webrtc/media/engine/webrtcvideoengine2_unittest.cc b/webrtc/media/engine/webrtcvideoengine2_unittest.cc
index d765f8232e0a942bce540d1ed896cc2d8e8dc418..cc0f4ad758590ee73027f917b392898299722eb5 100644
--- a/webrtc/media/engine/webrtcvideoengine2_unittest.cc
+++ b/webrtc/media/engine/webrtcvideoengine2_unittest.cc
@@ -864,7 +864,12 @@ TEST_F(WebRtcVideoChannel2BaseTest, SendAndReceiveVp8SvcQqvga) {
}
TEST_F(WebRtcVideoChannel2BaseTest, TwoStreamsSendAndReceive) {
- Base::TwoStreamsSendAndReceive(kVp8Codec);
+ // Set a high bitrate to not be downscaled by VP8 due to low initial start
+ // bitrates. This currently happens at <250k, and two streams sharing 300k
+ // initially will use QVGA instead of VGA initially.
+ cricket::VideoCodec codec = kVp8Codec;
+ codec.params[kCodecParamStartBitrate] = "1000000";
+ Base::TwoStreamsSendAndReceive(codec);
stefan-webrtc 2016/04/19 06:46:37 Shouldn't we instead change TwoStreamsSendAndRecei
}
class WebRtcVideoChannel2Test : public WebRtcVideoEngine2Test {
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698