#include "remoting/protocol/host_video_dispatcher.h"
#include <utility>
#include "base/functional/bind.h"
#include "net/socket/stream_socket.h"
#include "remoting/base/compound_buffer.h"
#include "remoting/base/constants.h"
#include "remoting/proto/video.pb.h"
#include "remoting/protocol/message_pipe.h"
#include "remoting/protocol/message_serialization.h"
#include "remoting/protocol/video_feedback_stub.h"
namespace remoting::protocol {
HostVideoDispatcher::HostVideoDispatcher()
: … { … }
HostVideoDispatcher::~HostVideoDispatcher() = default;
void HostVideoDispatcher::ProcessVideoPacket(
std::unique_ptr<VideoPacket> packet,
base::OnceClosure done) { … }
void HostVideoDispatcher::OnIncomingMessage(
std::unique_ptr<CompoundBuffer> message) { … }
}