Pass FecControllerOverride to Vp8FrameBufferController
Bug: webrtc:10769 Change-Id: I06d875f5afdc7ebf290ad70934b6632e20ddf065 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/143964 Commit-Queue: Elad Alon <eladalon@webrtc.org> Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28418}
This commit is contained in:
@ -16,6 +16,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/fec_controller_override.h"
|
||||
#include "api/video_codecs/video_codec.h"
|
||||
#include "api/video_codecs/video_encoder.h"
|
||||
#include "api/video_codecs/vp8_frame_config.h"
|
||||
@ -105,6 +106,13 @@ class Vp8FrameBufferController {
|
||||
// The limits are suggestion-only; the controller is allowed to exceed them.
|
||||
virtual void SetQpLimits(size_t stream_index, int min_qp, int max_qp) = 0;
|
||||
|
||||
// Set a FecControllerOverride, through which the bandwidth allocation
|
||||
// decisions made by FecController may be overridden.
|
||||
// TODO(bugs.webrtc.org/10769): Update downstream projects, then make
|
||||
// this pure-virtual.
|
||||
virtual void SetFecControllerOverride(
|
||||
FecControllerOverride* fec_controller_override) {}
|
||||
|
||||
// Number of streamed controlled by |this|.
|
||||
virtual size_t StreamCount() const = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user