#include "media/remoting/receiver_controller.h"
#include "base/no_destructor.h"
#include "base/task/single_thread_task_runner.h"
namespace media {
namespace remoting {
ReceiverController* ReceiverController::GetInstance() { … }
ReceiverController::ReceiverController()
: … { … }
ReceiverController::~ReceiverController() = default;
void ReceiverController::Initialize(
mojo::PendingRemote<mojom::Remotee> remotee) { … }
void ReceiverController::OnRendererFlush(uint32_t audio_count,
uint32_t video_count) { … }
void ReceiverController::OnVideoNaturalSizeChange(const gfx::Size& size) { … }
void ReceiverController::StartDataStreams(
mojo::PendingRemote<::media::mojom::RemotingDataStreamReceiver>
audio_stream,
mojo::PendingRemote<::media::mojom::RemotingDataStreamReceiver>
video_stream) { … }
void ReceiverController::OnMessageFromSource(
const std::vector<uint8_t>& message) { … }
void ReceiverController::OnSendRpc(std::vector<uint8_t> message) { … }
}
}