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

Unified Diff: webrtc/call/call.cc

Issue 2712683002: Add |protected_by_flexfec| flag to VideoReceiveStream::Config. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | webrtc/media/engine/webrtcvideoengine2.cc » ('j') | webrtc/media/engine/webrtcvideoengine2.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/call.cc
diff --git a/webrtc/call/call.cc b/webrtc/call/call.cc
index e2b1e709ad180b0a0dba6354bf8bb610c768d256..6fc907d0e2993def5174188ac74724c5a88c38f7 100644
--- a/webrtc/call/call.cc
+++ b/webrtc/call/call.cc
@@ -680,17 +680,9 @@ webrtc::VideoReceiveStream* Call::CreateVideoReceiveStream(
TRACE_EVENT0("webrtc", "Call::CreateVideoReceiveStream");
RTC_DCHECK(configuration_thread_checker_.CalledOnValidThread());
- bool protected_by_flexfec = false;
- {
- ReadLockScoped read_lock(*receive_crit_);
- protected_by_flexfec =
- flexfec_receive_ssrcs_media_.find(configuration.rtp.remote_ssrc) !=
- flexfec_receive_ssrcs_media_.end();
- }
VideoReceiveStream* receive_stream = new VideoReceiveStream(
- num_cpu_cores_, protected_by_flexfec,
- &packet_router_, std::move(configuration), module_process_thread_.get(),
- call_stats_.get(), &remb_);
+ num_cpu_cores_, &packet_router_, std::move(configuration),
+ module_process_thread_.get(), call_stats_.get(), &remb_);
const webrtc::VideoReceiveStream::Config& config = receive_stream->config();
ReceiveRtpConfig receive_config(config.rtp.extensions,
« no previous file with comments | « no previous file | webrtc/media/engine/webrtcvideoengine2.cc » ('j') | webrtc/media/engine/webrtcvideoengine2.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698