/* * Copyright 2016 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef COMMON_VIDEO_INCLUDE_BITRATE_ADJUSTER_H_ #define COMMON_VIDEO_INCLUDE_BITRATE_ADJUSTER_H_ #include <stddef.h> #include <stdint.h> #include "absl/types/optional.h" #include "rtc_base/rate_statistics.h" #include "rtc_base/synchronization/mutex.h" #include "rtc_base/system/rtc_export.h" #include "rtc_base/thread_annotations.h" namespace webrtc { // Certain hardware encoders tend to consistently overshoot the bitrate that // they are configured to encode at. This class estimates an adjusted bitrate // that when set on the encoder will produce the desired bitrate. class RTC_EXPORT BitrateAdjuster { … }; } // namespace webrtc #endif // COMMON_VIDEO_INCLUDE_BITRATE_ADJUSTER_H_