class PacketReceiver { public: // Demux RTCP packets. Must be called on the worker thread. virtualvoid DeliverRtcpPacket(CopyOnWriteBuffer packet) = 0;
// Invoked once when a packet is received that can not be demuxed. // If the method returns true, a new attempt is made to demux the packet. using OnUndemuxablePacketHandler =
absl::AnyInvocable<bool(const RtpPacketReceived& parsed_packet)>;
// Can be called on the network thread or the worker thread. // If `media_type` is not Audio or Video, packets may be used for BWE // calculations but are not demuxed. virtualvoid DeliverRtpPacket(
MediaType media_type,
RtpPacketReceived packet,
OnUndemuxablePacketHandler undemuxable_packet_handler) = 0;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.