OLD | NEW |
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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 const VideoReceiveStream::Config config_; | 111 const VideoReceiveStream::Config config_; |
112 const int num_cpu_cores_; | 112 const int num_cpu_cores_; |
113 ProcessThread* const process_thread_; | 113 ProcessThread* const process_thread_; |
114 Clock* const clock_; | 114 Clock* const clock_; |
115 | 115 |
116 rtc::PlatformThread decode_thread_; | 116 rtc::PlatformThread decode_thread_; |
117 | 117 |
118 CongestionController* const congestion_controller_; | 118 CongestionController* const congestion_controller_; |
119 CallStats* const call_stats_; | 119 CallStats* const call_stats_; |
120 | 120 |
| 121 std::unique_ptr<VCMTiming> timing_; // Jitter buffer experiment. |
121 vcm::VideoReceiver video_receiver_; | 122 vcm::VideoReceiver video_receiver_; |
122 std::unique_ptr<rtc::VideoSinkInterface<VideoFrame>> incoming_video_stream_; | 123 std::unique_ptr<rtc::VideoSinkInterface<VideoFrame>> incoming_video_stream_; |
123 ReceiveStatisticsProxy stats_proxy_; | 124 ReceiveStatisticsProxy stats_proxy_; |
124 std::unique_ptr<VCMTiming> timing_; // Jitter buffer experiment. | |
125 RtpStreamReceiver rtp_stream_receiver_; | 125 RtpStreamReceiver rtp_stream_receiver_; |
126 std::unique_ptr<VideoStreamDecoder> video_stream_decoder_; | 126 std::unique_ptr<VideoStreamDecoder> video_stream_decoder_; |
127 RtpStreamsSynchronizer rtp_stream_sync_; | 127 RtpStreamsSynchronizer rtp_stream_sync_; |
128 | 128 |
129 rtc::CriticalSection ivf_writer_lock_; | 129 rtc::CriticalSection ivf_writer_lock_; |
130 std::unique_ptr<IvfFileWriter> ivf_writer_ GUARDED_BY(ivf_writer_lock_); | 130 std::unique_ptr<IvfFileWriter> ivf_writer_ GUARDED_BY(ivf_writer_lock_); |
131 | 131 |
132 // Members for the new jitter buffer experiment. | 132 // Members for the new jitter buffer experiment. |
133 const bool jitter_buffer_experiment_; | 133 const bool jitter_buffer_experiment_; |
134 std::unique_ptr<VCMJitterEstimator> jitter_estimator_; | 134 std::unique_ptr<VCMJitterEstimator> jitter_estimator_; |
135 std::unique_ptr<video_coding::FrameBuffer> frame_buffer_; | 135 std::unique_ptr<video_coding::FrameBuffer> frame_buffer_; |
136 }; | 136 }; |
137 } // namespace internal | 137 } // namespace internal |
138 } // namespace webrtc | 138 } // namespace webrtc |
139 | 139 |
140 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ | 140 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ |
OLD | NEW |