| Index: webrtc/video/receive_statistics_proxy.cc
|
| diff --git a/webrtc/video/receive_statistics_proxy.cc b/webrtc/video/receive_statistics_proxy.cc
|
| index 4757efa81b6cf3435212fea2f3e4dbb53d283734..7fa39612e929ebc96c87e3ecff5bbdddbf74c1e0 100644
|
| --- a/webrtc/video/receive_statistics_proxy.cc
|
| +++ b/webrtc/video/receive_statistics_proxy.cc
|
| @@ -20,17 +20,17 @@
|
| namespace webrtc {
|
|
|
| ReceiveStatisticsProxy::ReceiveStatisticsProxy(
|
| - const VideoReceiveStream::Config& config,
|
| + const VideoReceiveStream::Config* config,
|
| Clock* clock)
|
| : clock_(clock),
|
| - config_(config),
|
| + config_(*config),
|
| // 1000ms window, scale 1000 for ms to s.
|
| decode_fps_estimator_(1000, 1000),
|
| renders_fps_estimator_(1000, 1000),
|
| render_fps_tracker_(100, 10u),
|
| render_pixel_tracker_(100, 10u) {
|
| - stats_.ssrc = config.rtp.remote_ssrc;
|
| - for (auto it : config.rtp.rtx)
|
| + stats_.ssrc = config_.rtp.remote_ssrc;
|
| + for (auto it : config_.rtp.rtx)
|
| rtx_stats_[it.second.ssrc] = StreamDataCounters();
|
| }
|
|
|
|
|