#include "remoting/protocol/video_stream_event_router.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
namespace remoting::protocol {
namespace {
constexpr char kSingleStreamName[] = …;
}
VideoStreamEventRouter::VideoStreamEventRouter() = default;
VideoStreamEventRouter::~VideoStreamEventRouter() = default;
void VideoStreamEventRouter::OnEncodedFrameSent(
webrtc::ScreenId screen_id,
webrtc::EncodedImageCallback::Result result,
const WebrtcVideoEncoder::EncodedFrame& frame) { … }
void VideoStreamEventRouter::SetVideoChannelStateObserver(
const std::string& stream_name,
base::WeakPtr<VideoChannelStateObserver> video_channel_state_observer) { … }
base::WeakPtr<VideoChannelStateObserver> VideoStreamEventRouter::GetObserver(
webrtc::ScreenId screen_id) { … }
}