diff --git a/api/video/BUILD.gn b/api/video/BUILD.gn index 356597c7aa..27e2096aca 100644 --- a/api/video/BUILD.gn +++ b/api/video/BUILD.gn @@ -185,6 +185,7 @@ rtc_source_set("video_stream_encoder") { ] deps = [ + ":video_bitrate_allocator", ":video_bitrate_allocator_factory", ":video_frame", diff --git a/api/video/video_stream_encoder_interface.h b/api/video/video_stream_encoder_interface.h index 6a0adde734..0cd9ddcead 100644 --- a/api/video/video_stream_encoder_interface.h +++ b/api/video/video_stream_encoder_interface.h @@ -14,6 +14,7 @@ #include #include "api/rtp_parameters.h" // For DegradationPreference. +#include "api/video/video_bitrate_allocator.h" #include "api/video/video_sink_interface.h" #include "api/video/video_source_interface.h" #include "api/video_codecs/video_encoder.h" @@ -21,9 +22,6 @@ namespace webrtc { -// TODO(nisse): Move full declaration to api/. -class VideoBitrateAllocationObserver; - // This interface represents a class responsible for creating and driving the // encoder(s) for a single video stream. It is also responsible for adaptation // decisions related to video quality, requesting reduced frame rate or