| 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 int32_t SetMinimumPlayoutDelay(uint32_t minPlayoutDelayMs) override { | 229 int32_t SetMinimumPlayoutDelay(uint32_t minPlayoutDelayMs) override { |
| 230 return receiver_.SetMinimumPlayoutDelay(minPlayoutDelayMs); | 230 return receiver_.SetMinimumPlayoutDelay(minPlayoutDelayMs); |
| 231 } | 231 } |
| 232 | 232 |
| 233 int32_t SetRenderDelay(uint32_t timeMS) override { | 233 int32_t SetRenderDelay(uint32_t timeMS) override { |
| 234 return receiver_.SetRenderDelay(timeMS); | 234 return receiver_.SetRenderDelay(timeMS); |
| 235 } | 235 } |
| 236 | 236 |
| 237 int32_t Delay() const override { return receiver_.Delay(); } | 237 int32_t Delay() const override { return receiver_.Delay(); } |
| 238 | 238 |
| 239 uint32_t DiscardedPackets() const override { | |
| 240 return receiver_.DiscardedPackets(); | |
| 241 } | |
| 242 | |
| 243 int SetReceiverRobustnessMode(ReceiverRobustness robustnessMode, | 239 int SetReceiverRobustnessMode(ReceiverRobustness robustnessMode, |
| 244 VCMDecodeErrorMode errorMode) override { | 240 VCMDecodeErrorMode errorMode) override { |
| 245 return receiver_.SetReceiverRobustnessMode(robustnessMode, errorMode); | 241 return receiver_.SetReceiverRobustnessMode(robustnessMode, errorMode); |
| 246 } | 242 } |
| 247 | 243 |
| 248 void SetNackSettings(size_t max_nack_list_size, | 244 void SetNackSettings(size_t max_nack_list_size, |
| 249 int max_packet_age_to_nack, | 245 int max_packet_age_to_nack, |
| 250 int max_incomplete_time_ms) override { | 246 int max_incomplete_time_ms) override { |
| 251 return receiver_.SetNackSettings(max_nack_list_size, max_packet_age_to_nack, | 247 return receiver_.SetNackSettings(max_nack_list_size, max_packet_age_to_nack, |
| 252 max_incomplete_time_ms); | 248 max_incomplete_time_ms); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 EventFactory* event_factory, | 308 EventFactory* event_factory, |
| 313 NackSender* nack_sender, | 309 NackSender* nack_sender, |
| 314 KeyFrameRequestSender* keyframe_request_sender) { | 310 KeyFrameRequestSender* keyframe_request_sender) { |
| 315 RTC_DCHECK(clock); | 311 RTC_DCHECK(clock); |
| 316 RTC_DCHECK(event_factory); | 312 RTC_DCHECK(event_factory); |
| 317 return new VideoCodingModuleImpl(clock, event_factory, nack_sender, | 313 return new VideoCodingModuleImpl(clock, event_factory, nack_sender, |
| 318 keyframe_request_sender, nullptr); | 314 keyframe_request_sender, nullptr); |
| 319 } | 315 } |
| 320 | 316 |
| 321 } // namespace webrtc | 317 } // namespace webrtc |
| OLD | NEW |