Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(596)

Unified Diff: webrtc/video/video_send_stream.cc

Issue 1913073002: Extract common simulcast logic from VP8 wrapper and simulcast adapter (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Address comments, added tests Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/video/video_send_stream.cc
diff --git a/webrtc/video/video_send_stream.cc b/webrtc/video/video_send_stream.cc
index 9ffe8a34c07f1139d19a4337f9894cc36507aa48..13abfcdb4773a2ba12f8435b5f7cb73deded5271 100644
--- a/webrtc/video/video_send_stream.cc
+++ b/webrtc/video/video_send_stream.cc
@@ -23,6 +23,7 @@
#include "webrtc/modules/congestion_controller/include/congestion_controller.h"
#include "webrtc/modules/pacing/packet_router.h"
#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h"
+#include "webrtc/modules/video_coding/utility/simulcast_state.h"
#include "webrtc/modules/utility/include/process_thread.h"
#include "webrtc/video/call_stats.h"
#include "webrtc/video/video_capture_input.h"
@@ -604,6 +605,7 @@ void VideoSendStream::ReconfigureVideoEncoder(
pending_encoder_settings_ = rtc::Optional<EncoderSettings>(
{video_codec, config.min_transmit_bitrate_bps, config.streams});
}
+ payload_router_.UpdateSimulcastState(SimulcastState(video_codec));
encoder_wakeup_event_.Set();
}

Powered by Google App Engine
This is Rietveld 408576698