diff --git a/webrtc/video/receive_statistics_proxy.cc b/webrtc/video/receive_statistics_proxy.cc index 6e9505cf02..83b34dda1c 100644 --- a/webrtc/video/receive_statistics_proxy.cc +++ b/webrtc/video/receive_statistics_proxy.cc @@ -89,7 +89,8 @@ void ReceiveStatisticsProxy::DataCountersUpdated( const webrtc::StreamDataCounters& counters, uint32_t ssrc) { CriticalSectionScoped lock(crit_.get()); - + if (stats_.ssrc != ssrc) + return; stats_.rtp_stats = counters; }