Make ReconfigureVideoEncoder void.
Also moves and simplifies SetSendCodec from VideoSendStream to mostly inside ViEEncoder. This is necessary for making ReconfigureVideoEncoder asynchronous as we don't post any result back. BUG=webrtc:5494 R=stefan@webrtc.org TBR=mflodman@webrtc.org Review URL: https://codereview.webrtc.org/1754283002 . Cr-Commit-Position: refs/heads/master@{#11847}
This commit is contained in:
@ -765,7 +765,7 @@ TEST_F(CallPerfTest, KeepsHighBitrateWhenReconfiguringSender) {
|
||||
<< "Timed out before receiving an initial high bitrate.";
|
||||
encoder_config_.streams[0].width *= 2;
|
||||
encoder_config_.streams[0].height *= 2;
|
||||
EXPECT_TRUE(send_stream_->ReconfigureVideoEncoder(encoder_config_));
|
||||
send_stream_->ReconfigureVideoEncoder(encoder_config_);
|
||||
EXPECT_TRUE(Wait())
|
||||
<< "Timed out while waiting for a couple of high bitrate estimates "
|
||||
"after reconfiguring the send stream.";
|
||||
|
||||
Reference in New Issue
Block a user