Chromium Code Reviews| Index: webrtc/video/rtp_stream_receiver.h |
| diff --git a/webrtc/video/rtp_stream_receiver.h b/webrtc/video/rtp_stream_receiver.h |
| index 4b176f8845c863aa143de886ca9b7fac1ae8eab3..c6062886291bea24f9ef5baf637b82d6a048cf2e 100644 |
| --- a/webrtc/video/rtp_stream_receiver.h |
| +++ b/webrtc/video/rtp_stream_receiver.h |
| @@ -60,7 +60,7 @@ class RtpStreamReceiver : public RtpData, public RtpFeedback, |
| PacedSender* paced_sender, |
| PacketRouter* packet_router, |
| VieRemb* remb, |
| - const VideoReceiveStream::Config& config, |
| + const VideoReceiveStream::Config* config, |
|
pbos-webrtc
2016/06/06 16:15:34
const ref?
tommi
2016/06/08 09:49:39
(see other answer)
|
| ReceiveStatisticsProxy* receive_stats_proxy, |
| ProcessThread* process_thread); |
| ~RtpStreamReceiver(); |
| @@ -128,7 +128,8 @@ class RtpStreamReceiver : public RtpData, public RtpFeedback, |
| void EnableReceiveRtpHeaderExtension(const std::string& extension, int id); |
| Clock* const clock_; |
| - const VideoReceiveStream::Config config_; |
| + // Ownership of this object lies with VideoReceiveStream, which owns |this|. |
| + const VideoReceiveStream::Config& config_; |
| vcm::VideoReceiver* const video_receiver_; |
| RemoteBitrateEstimator* const remote_bitrate_estimator_; |
| PacketRouter* const packet_router_; |