#include "pc/video_rtp_receiver.h"
#include <stddef.h>
#include <string>
#include <utility>
#include <vector>
#include "api/video/recordable_encoded_frame.h"
#include "pc/video_track.h"
#include "rtc_base/checks.h"
#include "rtc_base/logging.h"
namespace webrtc {
VideoRtpReceiver::VideoRtpReceiver(rtc::Thread* worker_thread,
std::string receiver_id,
std::vector<std::string> stream_ids)
: … { … }
VideoRtpReceiver::VideoRtpReceiver(
rtc::Thread* worker_thread,
const std::string& receiver_id,
const std::vector<rtc::scoped_refptr<MediaStreamInterface>>& streams)
: … { … }
VideoRtpReceiver::~VideoRtpReceiver() { … }
std::vector<std::string> VideoRtpReceiver::stream_ids() const { … }
rtc::scoped_refptr<DtlsTransportInterface> VideoRtpReceiver::dtls_transport()
const { … }
std::vector<rtc::scoped_refptr<MediaStreamInterface>>
VideoRtpReceiver::streams() const { … }
RtpParameters VideoRtpReceiver::GetParameters() const { … }
void VideoRtpReceiver::SetFrameDecryptor(
rtc::scoped_refptr<FrameDecryptorInterface> frame_decryptor) { … }
rtc::scoped_refptr<FrameDecryptorInterface>
VideoRtpReceiver::GetFrameDecryptor() const { … }
void VideoRtpReceiver::SetFrameTransformer(
rtc::scoped_refptr<FrameTransformerInterface> frame_transformer) { … }
void VideoRtpReceiver::Stop() { … }
void VideoRtpReceiver::RestartMediaChannel(absl::optional<uint32_t> ssrc) { … }
void VideoRtpReceiver::RestartMediaChannel_w(
absl::optional<uint32_t> ssrc,
MediaSourceInterface::SourceState state) { … }
void VideoRtpReceiver::SetSink(rtc::VideoSinkInterface<VideoFrame>* sink) { … }
void VideoRtpReceiver::SetupMediaChannel(uint32_t ssrc) { … }
void VideoRtpReceiver::SetupUnsignaledMediaChannel() { … }
absl::optional<uint32_t> VideoRtpReceiver::ssrc() const { … }
void VideoRtpReceiver::set_stream_ids(std::vector<std::string> stream_ids) { … }
void VideoRtpReceiver::set_transport(
rtc::scoped_refptr<DtlsTransportInterface> dtls_transport) { … }
void VideoRtpReceiver::SetStreams(
const std::vector<rtc::scoped_refptr<MediaStreamInterface>>& streams) { … }
void VideoRtpReceiver::SetObserver(RtpReceiverObserverInterface* observer) { … }
void VideoRtpReceiver::SetJitterBufferMinimumDelay(
absl::optional<double> delay_seconds) { … }
void VideoRtpReceiver::SetMediaChannel(
cricket::MediaReceiveChannelInterface* media_channel) { … }
void VideoRtpReceiver::SetMediaChannel_w(
cricket::MediaReceiveChannelInterface* media_channel) { … }
void VideoRtpReceiver::NotifyFirstPacketReceived() { … }
std::vector<RtpSource> VideoRtpReceiver::GetSources() const { … }
void VideoRtpReceiver::SetupMediaChannel(
absl::optional<uint32_t> ssrc,
cricket::MediaReceiveChannelInterface* media_channel) { … }
void VideoRtpReceiver::OnGenerateKeyFrame() { … }
void VideoRtpReceiver::OnEncodedSinkEnabled(bool enable) { … }
void VideoRtpReceiver::SetEncodedSinkEnabled(bool enable) { … }
}