Fix screenshare loopback target bitrate which isn't correctly configured
BUG= R=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/48539004 Cr-Commit-Position: refs/heads/master@{#8760} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8760 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
25819b8294
commit
09098dabd3
@ -124,9 +124,9 @@ class ScreenshareLoopback : public test::Loopback {
|
||||
vp8_settings.numberOfTemporalLayers = 2;
|
||||
encoder_config.encoder_specific_settings = &vp8_settings;
|
||||
stream->temporal_layer_thresholds_bps.clear();
|
||||
stream->temporal_layer_thresholds_bps.push_back(stream->target_bitrate_bps);
|
||||
stream->target_bitrate_bps =
|
||||
static_cast<int>(config_.start_bitrate_kbps) * 1000;
|
||||
stream->temporal_layer_thresholds_bps.push_back(stream->target_bitrate_bps);
|
||||
return encoder_config;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user