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

Side by Side Diff: webrtc/modules/video_coding/include/video_coding.h

Issue 2119503002: Remove all old suspension logic. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 5 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/modules.gyp ('k') | webrtc/modules/video_coding/media_optimization.h » ('j') | 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) 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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 // time of incomplete or non-continuous frames in the jitter buffer is above 465 // time of incomplete or non-continuous frames in the jitter buffer is above
466 // |max_incomplete_time_ms|. 466 // |max_incomplete_time_ms|.
467 virtual void SetNackSettings(size_t max_nack_list_size, 467 virtual void SetNackSettings(size_t max_nack_list_size,
468 int max_packet_age_to_nack, 468 int max_packet_age_to_nack,
469 int max_incomplete_time_ms) = 0; 469 int max_incomplete_time_ms) = 0;
470 470
471 // Setting a desired delay to the VCM receiver. Video rendering will be 471 // Setting a desired delay to the VCM receiver. Video rendering will be
472 // delayed by at least desired_delay_ms. 472 // delayed by at least desired_delay_ms.
473 virtual int SetMinReceiverDelay(int desired_delay_ms) = 0; 473 virtual int SetMinReceiverDelay(int desired_delay_ms) = 0;
474 474
475 // Lets the sender suspend video when the rate drops below
476 // |threshold_bps|, and turns back on when the rate goes back up above
477 // |threshold_bps| + |window_bps|.
478 virtual void SuspendBelowMinBitrate() = 0;
479
480 // Returns true if SuspendBelowMinBitrate is engaged and the video has been
481 // suspended due to bandwidth limitations; otherwise false.
482 virtual bool VideoSuspended() const = 0;
483
484 virtual void RegisterPostEncodeImageCallback( 475 virtual void RegisterPostEncodeImageCallback(
485 EncodedImageCallback* post_encode_callback) = 0; 476 EncodedImageCallback* post_encode_callback) = 0;
486 // Releases pending decode calls, permitting faster thread shutdown. 477 // Releases pending decode calls, permitting faster thread shutdown.
487 virtual void TriggerDecoderShutdown() = 0; 478 virtual void TriggerDecoderShutdown() = 0;
488 }; 479 };
489 480
490 } // namespace webrtc 481 } // namespace webrtc
491 482
492 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_H_ 483 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_H_
OLDNEW
« no previous file with comments | « webrtc/modules/modules.gyp ('k') | webrtc/modules/video_coding/media_optimization.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698