OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 int SetMinReceiverDelay(int desired_delay_ms); | 84 int SetMinReceiverDelay(int desired_delay_ms); |
85 | 85 |
86 // Decoding with errors. | 86 // Decoding with errors. |
87 void SetDecodeErrorMode(VCMDecodeErrorMode decode_error_mode); | 87 void SetDecodeErrorMode(VCMDecodeErrorMode decode_error_mode); |
88 VCMDecodeErrorMode DecodeErrorMode() const; | 88 VCMDecodeErrorMode DecodeErrorMode() const; |
89 | 89 |
90 void RegisterStatsCallback(VCMReceiveStatisticsCallback* callback); | 90 void RegisterStatsCallback(VCMReceiveStatisticsCallback* callback); |
91 | 91 |
92 void TriggerDecoderShutdown(); | 92 void TriggerDecoderShutdown(); |
93 | 93 |
94 int64_t TimeUntilNextProcess(); | |
95 void Process(); | |
96 | |
97 private: | 94 private: |
98 CriticalSectionWrapper* crit_sect_; | 95 CriticalSectionWrapper* crit_sect_; |
99 Clock* const clock_; | 96 Clock* const clock_; |
100 VCMJitterBuffer jitter_buffer_; | 97 VCMJitterBuffer jitter_buffer_; |
101 VCMTiming* timing_; | 98 VCMTiming* timing_; |
102 std::unique_ptr<EventWrapper> render_wait_event_; | 99 std::unique_ptr<EventWrapper> render_wait_event_; |
103 int max_video_delay_ms_; | 100 int max_video_delay_ms_; |
104 }; | 101 }; |
105 | 102 |
106 } // namespace webrtc | 103 } // namespace webrtc |
107 | 104 |
108 #endif // WEBRTC_MODULES_VIDEO_CODING_RECEIVER_H_ | 105 #endif // WEBRTC_MODULES_VIDEO_CODING_RECEIVER_H_ |
OLD | NEW |