| Index: webrtc/modules/video_coding/video_sender.cc
|
| diff --git a/webrtc/modules/video_coding/video_sender.cc b/webrtc/modules/video_coding/video_sender.cc
|
| index d7d811092100a198a5ed4f7a9f6f4ca9d6c7fc00..f26be34776f8c10ce72087edd6bbcb2cd3693ec4 100644
|
| --- a/webrtc/modules/video_coding/video_sender.cc
|
| +++ b/webrtc/modules/video_coding/video_sender.cc
|
| @@ -364,23 +364,5 @@ int32_t VideoSender::EnableFrameDropper(bool enable) {
|
| _mediaOpt.EnableFrameDropper(enable);
|
| return VCM_OK;
|
| }
|
| -
|
| -void VideoSender::SuspendBelowMinBitrate() {
|
| - RTC_DCHECK(main_thread_.CalledOnValidThread());
|
| - int threshold_bps;
|
| - if (current_codec_.numberOfSimulcastStreams == 0) {
|
| - threshold_bps = current_codec_.minBitrate * 1000;
|
| - } else {
|
| - threshold_bps = current_codec_.simulcastStream[0].minBitrate * 1000;
|
| - }
|
| - // Set the hysteresis window to be at 10% of the threshold, but at least
|
| - // 10 kbps.
|
| - int window_bps = std::max(threshold_bps / 10, 10000);
|
| - _mediaOpt.SuspendBelowMinBitrate(threshold_bps, window_bps);
|
| -}
|
| -
|
| -bool VideoSender::VideoSuspended() const {
|
| - return _mediaOpt.IsVideoSuspended();
|
| -}
|
| } // namespace vcm
|
| } // namespace webrtc
|
|
|