OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 | 174 |
175 // Called on the decoder thread when thread is exiting. | 175 // Called on the decoder thread when thread is exiting. |
176 void DecodingStopped(); | 176 void DecodingStopped(); |
177 | 177 |
178 int32_t IncomingPacket(const uint8_t* incomingPayload, | 178 int32_t IncomingPacket(const uint8_t* incomingPayload, |
179 size_t payloadLength, | 179 size_t payloadLength, |
180 const WebRtcRTPHeader& rtpInfo); | 180 const WebRtcRTPHeader& rtpInfo); |
181 int32_t SetMinimumPlayoutDelay(uint32_t minPlayoutDelayMs); | 181 int32_t SetMinimumPlayoutDelay(uint32_t minPlayoutDelayMs); |
182 int32_t SetRenderDelay(uint32_t timeMS); | 182 int32_t SetRenderDelay(uint32_t timeMS); |
183 int32_t Delay() const; | 183 int32_t Delay() const; |
184 uint32_t DiscardedPackets() const; | |
185 | 184 |
186 int SetReceiverRobustnessMode(ReceiverRobustness robustnessMode, | 185 int SetReceiverRobustnessMode(ReceiverRobustness robustnessMode, |
187 VCMDecodeErrorMode errorMode); | 186 VCMDecodeErrorMode errorMode); |
188 void SetNackSettings(size_t max_nack_list_size, | 187 void SetNackSettings(size_t max_nack_list_size, |
189 int max_packet_age_to_nack, | 188 int max_packet_age_to_nack, |
190 int max_incomplete_time_ms); | 189 int max_incomplete_time_ms); |
191 | 190 |
192 void SetDecodeErrorMode(VCMDecodeErrorMode decode_error_mode); | 191 void SetDecodeErrorMode(VCMDecodeErrorMode decode_error_mode); |
193 int SetMinReceiverDelay(int desired_delay_ms); | 192 int SetMinReceiverDelay(int desired_delay_ms); |
194 | 193 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 VCMProcessTimer _receiveStatsTimer; | 228 VCMProcessTimer _receiveStatsTimer; |
230 VCMProcessTimer _retransmissionTimer; | 229 VCMProcessTimer _retransmissionTimer; |
231 VCMProcessTimer _keyRequestTimer; | 230 VCMProcessTimer _keyRequestTimer; |
232 QpParser qp_parser_; | 231 QpParser qp_parser_; |
233 ThreadUnsafeOneTimeEvent first_frame_received_; | 232 ThreadUnsafeOneTimeEvent first_frame_received_; |
234 }; | 233 }; |
235 | 234 |
236 } // namespace vcm | 235 } // namespace vcm |
237 } // namespace webrtc | 236 } // namespace webrtc |
238 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 237 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
OLD | NEW |