Index: webrtc/media/engine/webrtcvideoengine2.cc |
diff --git a/webrtc/media/engine/webrtcvideoengine2.cc b/webrtc/media/engine/webrtcvideoengine2.cc |
index b72c4aae747e34488b7f6892535dbeb7624651a9..f053776dea9c724f70e6aed0d0d59eba0808e565 100644 |
--- a/webrtc/media/engine/webrtcvideoengine2.cc |
+++ b/webrtc/media/engine/webrtcvideoengine2.cc |
@@ -2246,9 +2246,8 @@ void WebRtcVideoChannel2::WebRtcVideoSendStream::RecreateWebRtcStream() { |
parameters_.encoder_config.encoder_specific_settings = NULL; |
pending_encoder_reconfiguration_ = false; |
- if (sending_) { |
- stream_->Start(); |
- } |
+ // Call stream_->Start() if necessary conditions are met. |
+ UpdateSendState(); |
} |
WebRtcVideoChannel2::WebRtcVideoReceiveStream::WebRtcVideoReceiveStream( |