#include "components/cast_streaming/renderer/web_codecs/stream_control_channel.h"
#include "base/task/sequenced_task_runner.h"
#include <utility>
namespace cast_streaming::webcodecs {
StreamControlChannel::StreamControlChannel(
Client* client,
mojo::PendingAssociatedReceiver<mojom::DemuxerConnector> receiver,
scoped_refptr<base::SequencedTaskRunner> task_runner)
: … { … }
StreamControlChannel::~StreamControlChannel() = default;
void StreamControlChannel::OnJavascriptConfigured() { … }
void StreamControlChannel::OnNewBufferProvider(
base::WeakPtr<AudioDecoderBufferProvider> ptr) { … }
void StreamControlChannel::OnNewBufferProvider(
base::WeakPtr<VideoDecoderBufferProvider> ptr) { … }
void StreamControlChannel::EnableReceiver(EnableReceiverCallback callback) { … }
void StreamControlChannel::OnStreamsInitialized(
mojom::AudioStreamInitializationInfoPtr audio_stream_info,
mojom::VideoStreamInitializationInfoPtr video_stream_info) { … }
}