Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Side by Side Diff: webrtc/modules/video_coding/video_receiver.cc

Issue 2760613002: Delete unused method VideoCodingModule::DiscardedPackets(). (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/video_coding/video_coding_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 int32_t VideoReceiver::SetRenderDelay(uint32_t timeMS) { 413 int32_t VideoReceiver::SetRenderDelay(uint32_t timeMS) {
414 _timing->set_render_delay(timeMS); 414 _timing->set_render_delay(timeMS);
415 return VCM_OK; 415 return VCM_OK;
416 } 416 }
417 417
418 // Current video delay 418 // Current video delay
419 int32_t VideoReceiver::Delay() const { 419 int32_t VideoReceiver::Delay() const {
420 return _timing->TargetVideoDelay(); 420 return _timing->TargetVideoDelay();
421 } 421 }
422 422
423 uint32_t VideoReceiver::DiscardedPackets() const {
424 return _receiver.DiscardedPackets();
425 }
426
427 int VideoReceiver::SetReceiverRobustnessMode( 423 int VideoReceiver::SetReceiverRobustnessMode(
428 ReceiverRobustness robustnessMode, 424 ReceiverRobustness robustnessMode,
429 VCMDecodeErrorMode decode_error_mode) { 425 VCMDecodeErrorMode decode_error_mode) {
430 rtc::CritScope cs(&receive_crit_); 426 rtc::CritScope cs(&receive_crit_);
431 switch (robustnessMode) { 427 switch (robustnessMode) {
432 case VideoCodingModule::kNone: 428 case VideoCodingModule::kNone:
433 _receiver.SetNackMode(kNoNack, -1, -1); 429 _receiver.SetNackMode(kNoNack, -1, -1);
434 break; 430 break;
435 case VideoCodingModule::kHardNack: 431 case VideoCodingModule::kHardNack:
436 // Always wait for retransmissions (except when decoding with errors). 432 // Always wait for retransmissions (except when decoding with errors).
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 _receiver.SetNackSettings(max_nack_list_size, max_packet_age_to_nack, 473 _receiver.SetNackSettings(max_nack_list_size, max_packet_age_to_nack,
478 max_incomplete_time_ms); 474 max_incomplete_time_ms);
479 } 475 }
480 476
481 int VideoReceiver::SetMinReceiverDelay(int desired_delay_ms) { 477 int VideoReceiver::SetMinReceiverDelay(int desired_delay_ms) {
482 return _receiver.SetMinReceiverDelay(desired_delay_ms); 478 return _receiver.SetMinReceiverDelay(desired_delay_ms);
483 } 479 }
484 480
485 } // namespace vcm 481 } // namespace vcm
486 } // namespace webrtc 482 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/video_coding_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698