Chromium Code Reviews| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 100 // Implements video_coding::OnCompleteFrameCallback. | 100 // Implements video_coding::OnCompleteFrameCallback. |
| 101 void OnCompleteFrame( | 101 void OnCompleteFrame( |
| 102 std::unique_ptr<video_coding::FrameObject> frame) override; | 102 std::unique_ptr<video_coding::FrameObject> frame) override; |
| 103 | 103 |
| 104 // Implements Syncable. | 104 // Implements Syncable. |
| 105 int id() const override; | 105 int id() const override; |
| 106 rtc::Optional<Syncable::Info> GetInfo() const override; | 106 rtc::Optional<Syncable::Info> GetInfo() const override; |
| 107 uint32_t GetPlayoutTimestamp() const override; | 107 uint32_t GetPlayoutTimestamp() const override; |
| 108 void SetMinimumPlayoutDelay(int delay_ms) override; | 108 void SetMinimumPlayoutDelay(int delay_ms) override; |
| 109 | 109 |
| 110 void AddSecondarySink(RtpPacketSinkInterface* sink) override; | |
|
stefan-webrtc
2017/08/02 08:20:44
Add a comment indicating what interface this imple
eladalon
2017/08/02 09:16:27
Moved this to the webrtc::VideoReceiveStream secti
| |
| 111 void RemoveSecondarySink(const RtpPacketSinkInterface* sink) override; | |
| 112 | |
| 110 private: | 113 private: |
| 111 static void DecodeThreadFunction(void* ptr); | 114 static void DecodeThreadFunction(void* ptr); |
| 112 bool Decode(); | 115 bool Decode(); |
| 113 | 116 |
| 114 rtc::ThreadChecker worker_thread_checker_; | 117 rtc::ThreadChecker worker_thread_checker_; |
| 115 rtc::ThreadChecker module_process_thread_checker_; | 118 rtc::ThreadChecker module_process_thread_checker_; |
| 116 | 119 |
| 117 TransportAdapter transport_adapter_; | 120 TransportAdapter transport_adapter_; |
| 118 const VideoReceiveStream::Config config_; | 121 const VideoReceiveStream::Config config_; |
| 119 const int num_cpu_cores_; | 122 const int num_cpu_cores_; |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 139 std::unique_ptr<VCMJitterEstimator> jitter_estimator_; | 142 std::unique_ptr<VCMJitterEstimator> jitter_estimator_; |
| 140 std::unique_ptr<video_coding::FrameBuffer> frame_buffer_; | 143 std::unique_ptr<video_coding::FrameBuffer> frame_buffer_; |
| 141 | 144 |
| 142 std::unique_ptr<RtpStreamReceiverInterface> media_receiver_; | 145 std::unique_ptr<RtpStreamReceiverInterface> media_receiver_; |
| 143 std::unique_ptr<RtpStreamReceiverInterface> rtx_receiver_; | 146 std::unique_ptr<RtpStreamReceiverInterface> rtx_receiver_; |
| 144 }; | 147 }; |
| 145 } // namespace internal | 148 } // namespace internal |
| 146 } // namespace webrtc | 149 } // namespace webrtc |
| 147 | 150 |
| 148 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ | 151 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ |
| OLD | NEW |