#include "video/video_stream_decoder2.h"
#include "api/video_codecs/video_decoder.h"
#include "modules/video_coding/video_receiver2.h"
#include "rtc_base/checks.h"
#include "video/receive_statistics_proxy.h"
namespace webrtc {
namespace internal {
VideoStreamDecoder::VideoStreamDecoder(
VideoReceiver2* video_receiver,
ReceiveStatisticsProxy* receive_statistics_proxy,
rtc::VideoSinkInterface<VideoFrame>* incoming_video_stream)
: … { … }
VideoStreamDecoder::~VideoStreamDecoder() { … }
int32_t VideoStreamDecoder::FrameToRender(VideoFrame& video_frame,
absl::optional<uint8_t> qp,
TimeDelta decode_time,
VideoContentType content_type,
VideoFrameType frame_type) { … }
void VideoStreamDecoder::OnDroppedFrames(uint32_t frames_dropped) { … }
void VideoStreamDecoder::OnIncomingPayloadType(int payload_type) { … }
void VideoStreamDecoder::OnDecoderInfoChanged(
const VideoDecoder::DecoderInfo& decoder_info) { … }
}
}