| 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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_ |
| OLD | NEW |