Index: talk/media/webrtc/webrtcvideoengine2_unittest.cc |
diff --git a/talk/media/webrtc/webrtcvideoengine2_unittest.cc b/talk/media/webrtc/webrtcvideoengine2_unittest.cc |
index d83e8c4b9c89f6fd17f1054cde3fe7917492dbce..230ca3b2b06af48f51cbecdb28d4a1c4fc7b00de 100644 |
--- a/talk/media/webrtc/webrtcvideoengine2_unittest.cc |
+++ b/talk/media/webrtc/webrtcvideoengine2_unittest.cc |
@@ -1438,7 +1438,8 @@ TEST_F(WebRtcVideoChannel2Test, UsesCorrectSettingsForScreencast) { |
TEST_F(WebRtcVideoChannel2Test, |
ConferenceModeScreencastConfiguresTemporalLayer) { |
- static const int kConferenceScreencastTemporalBitrateBps = 100000; |
+ static const int kConferenceScreencastTemporalBitrateBps = |
+ ScreenshareLayerConfig::GetDefault().tl0_bitrate_kbps * 1000; |
VideoOptions options; |
options.conference_mode.Set(true); |
channel_->SetOptions(options); |