Index: webrtc/media/engine/webrtcvideoengine2_unittest.cc |
diff --git a/webrtc/media/engine/webrtcvideoengine2_unittest.cc b/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
index 4c8c87159467c6cf65c0581327ff221cc0573702..7fab75df2943c8fbe95af1d75318dc84b1e7f930 100644 |
--- a/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
+++ b/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
@@ -341,7 +341,6 @@ |
std::unique_ptr<VideoMediaChannel> channel( |
SetUpForExternalEncoderFactory(&encoder_factory, parameters.codecs)); |
- channel->OnReadyToSend(true); |
EXPECT_TRUE( |
channel->AddSendStream(cricket::StreamParams::CreateLegacy(kSsrc))); |
@@ -869,7 +868,6 @@ |
engine_.Init(); |
channel_.reset( |
engine_.CreateChannel(fake_call_.get(), MediaConfig(), VideoOptions())); |
- channel_->OnReadyToSend(true); |
last_ssrc_ = 123; |
send_parameters_.codecs = engine_.codecs(); |
recv_parameters_.codecs = engine_.codecs(); |
@@ -1685,7 +1683,6 @@ |
channel_.reset( |
engine_.CreateChannel(fake_call_.get(), media_config, VideoOptions())); |
- channel_->OnReadyToSend(true); |
channel_->SetSendParameters(send_parameters_); |
@@ -1695,7 +1692,6 @@ |
media_config.video.suspend_below_min_bitrate = false; |
channel_.reset( |
engine_.CreateChannel(fake_call_.get(), media_config, VideoOptions())); |
- channel_->OnReadyToSend(true); |
channel_->SetSendParameters(send_parameters_); |
@@ -1980,7 +1976,6 @@ |
MediaConfig media_config = MediaConfig(); |
channel_.reset( |
engine_.CreateChannel(fake_call_.get(), media_config, VideoOptions())); |
- channel_->OnReadyToSend(true); |
ASSERT_TRUE(channel_->SetSendParameters(parameters)); |
AddSendStream(); |
@@ -2055,7 +2050,6 @@ |
MediaConfig media_config = MediaConfig(); |
channel_.reset( |
engine_.CreateChannel(fake_call_.get(), media_config, VideoOptions())); |
- channel_->OnReadyToSend(true); |
ASSERT_TRUE(channel_->SetSendParameters(parameters)); |
AddSendStream(); |
@@ -2123,7 +2117,6 @@ |
} |
channel_.reset( |
engine_.CreateChannel(fake_call_.get(), media_config, VideoOptions())); |
- channel_->OnReadyToSend(true); |
EXPECT_TRUE(channel_->SetSendParameters(parameters)); |
@@ -3620,7 +3613,6 @@ |
engine_.Init(); |
channel_.reset( |
engine_.CreateChannel(&fake_call_, MediaConfig(), VideoOptions())); |
- channel_->OnReadyToSend(true); |
last_ssrc_ = 123; |
} |