#ifndef MEDIA_CAST_OPENSCREEN_RPC_CALL_MESSAGE_HANDLER_H_
#define MEDIA_CAST_OPENSCREEN_RPC_CALL_MESSAGE_HANDLER_H_
#include <optional>
#include "base/time/time.h"
#include "media/base/audio_decoder_config.h"
#include "media/base/video_decoder_config.h"
#include "third_party/openscreen/src/cast/streaming/rpc_messenger.h"
namespace openscreen::cast {
class RpcMessage;
}
namespace media::cast {
class RpcInitializationCallMessageHandler { … };
class RpcRendererCallMessageHandler { … };
class RpcDemuxerStreamCBMessageHandler { … };
bool DispatchInitializationRpcCall(openscreen::cast::RpcMessage* message,
RpcInitializationCallMessageHandler* client);
bool DispatchRendererRpcCall(openscreen::cast::RpcMessage* message,
RpcRendererCallMessageHandler* client);
bool DispatchDemuxerStreamCBRpcCall(openscreen::cast::RpcMessage* message,
RpcDemuxerStreamCBMessageHandler* client);
}
#endif