#include "cast/streaming/impl/receiver_packet_router.h"
#include <algorithm>
#include "cast/streaming/impl/packet_util.h"
#include "cast/streaming/public/receiver.h"
#include "platform/base/span.h"
#include "util/osp_logging.h"
#include "util/stringprintf.h"
namespace openscreen::cast {
ReceiverPacketRouter::ReceiverPacketRouter(Environment& environment)
: … { … }
ReceiverPacketRouter::~ReceiverPacketRouter() { … }
void ReceiverPacketRouter::OnReceiverCreated(Ssrc sender_ssrc,
Receiver* receiver) { … }
void ReceiverPacketRouter::OnReceiverDestroyed(Ssrc sender_ssrc) { … }
void ReceiverPacketRouter::SendRtcpPacket(ByteView packet) { … }
void ReceiverPacketRouter::OnReceivedPacket(const IPEndpoint& source,
Clock::time_point arrival_time,
std::vector<uint8_t> packet) { … }
}