[−][src]Crate discortp
DiscoRTP is a lightweight, flexible Real-time Transport Protocol parsing library designed for use in non-standards compliant environments, such as Discord.
DiscoRTP was originally developed for use in Serenity.
Re-exports
pub use pnet_macros_support; |
Modules
discord | |
rtcp | |
rtp |
Enums
Demuxed | RTP/RTCP packets separated from the same stream. |
DemuxedMut | Mutable RTP/RTCP packets separated from the same stream. |
Traits
FromPacket | Used to convert on-the-wire packets to their #[packet] equivalent. |
MutablePacket | Represents a generic, mutable, network packet. |
Packet | Represents a generic network packet. |
PacketSize | Used to find the calculated size of the packet. This is used for occasions where the underlying buffer is not the same length as the packet itself. |
Functions
demux | Demultiplexes combined RTP and RTCP streams. |
demux_mut | Demultiplexes combined RTP and RTCP streams, returning mutable packets. |