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

Side by Side Diff: webrtc/video/video_receive_stream.h

Issue 1670123002: Set VideoReceiveStream members in init list. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 months 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // Overrides EncodedImageCallback. 71 // Overrides EncodedImageCallback.
72 int32_t Encoded(const EncodedImage& encoded_image, 72 int32_t Encoded(const EncodedImage& encoded_image,
73 const CodecSpecificInfo* codec_specific_info, 73 const CodecSpecificInfo* codec_specific_info,
74 const RTPFragmentationHeader* fragmentation) override; 74 const RTPFragmentationHeader* fragmentation) override;
75 75
76 const Config& config() const { return config_; } 76 const Config& config() const { return config_; }
77 77
78 void SetSyncChannel(VoiceEngine* voice_engine, int audio_channel_id); 78 void SetSyncChannel(VoiceEngine* voice_engine, int audio_channel_id);
79 79
80 private: 80 private:
81 RemoteBitrateEstimator* GetRemoteBitrateEstimator() const;
82
81 TransportAdapter transport_adapter_; 83 TransportAdapter transport_adapter_;
82 EncodedFrameCallbackAdapter encoded_frame_proxy_; 84 EncodedFrameCallbackAdapter encoded_frame_proxy_;
83 const VideoReceiveStream::Config config_; 85 const VideoReceiveStream::Config config_;
84 ProcessThread* const process_thread_; 86 ProcessThread* const process_thread_;
85 Clock* const clock_; 87 Clock* const clock_;
86 88
87 CongestionController* const congestion_controller_; 89 CongestionController* const congestion_controller_;
88 CallStats* const call_stats_; 90 CallStats* const call_stats_;
89 91
90 rtc::scoped_ptr<VideoCodingModule> vcm_; 92 rtc::scoped_ptr<VideoCodingModule> vcm_;
91 rtc::scoped_ptr<IncomingVideoStream> incoming_video_stream_; 93 IncomingVideoStream incoming_video_stream_;
92 rtc::scoped_ptr<ReceiveStatisticsProxy> stats_proxy_; 94 ReceiveStatisticsProxy stats_proxy_;
93 rtc::scoped_ptr<ViEChannel> vie_channel_; 95 ViEChannel vie_channel_;
94 }; 96 };
95 } // namespace internal 97 } // namespace internal
96 } // namespace webrtc 98 } // namespace webrtc
97 99
98 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ 100 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/video/video_receive_stream.cc » ('j') | webrtc/video/video_receive_stream.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698