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. |