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

Unified Diff: webrtc/call/call.cc

Issue 2542413002: Generalize FlexfecReceiveStream::Config. (CL1) (Closed)
Patch Set: Created 4 years 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/call/call.cc
diff --git a/webrtc/call/call.cc b/webrtc/call/call.cc
index 7f78fcfd370e7986e9a3354b247b520ccbfd6d26..32234375316f57e7f168bf20178e58d11ce6bcdb 100644
--- a/webrtc/call/call.cc
+++ b/webrtc/call/call.cc
@@ -664,9 +664,9 @@ webrtc::FlexfecReceiveStream* Call::CreateFlexfecReceiveStream(
WriteLockScoped write_lock(*receive_crit_);
for (auto ssrc : config.protected_media_ssrcs)
flexfec_receive_ssrcs_media_.insert(std::make_pair(ssrc, receive_stream));
- RTC_DCHECK(flexfec_receive_ssrcs_protection_.find(config.flexfec_ssrc) ==
+ RTC_DCHECK(flexfec_receive_ssrcs_protection_.find(config.remote_ssrc) ==
flexfec_receive_ssrcs_protection_.end());
- flexfec_receive_ssrcs_protection_[config.flexfec_ssrc] = receive_stream;
+ flexfec_receive_ssrcs_protection_[config.remote_ssrc] = receive_stream;
flexfec_receive_streams_.insert(receive_stream);
}
// TODO(brandtr): Store config in RtcEventLog here.

Powered by Google App Engine
This is Rietveld 408576698