[−][src]Crate rtp_rs
Parser for packets formatted per RFC 3550, A Transport Protocol for Real-Time Applications.
use rtp_rs::*; // let data = ...acquire UDP packet from the network etc... if let Ok(rtp) = RtpReader::new(data) { println!("Sequence number {:?}", rtp.sequence_number()); println!("Payload length {:?}", rtp.payload().len()); }
Structs
RtpReader | Wrapper around a byte-slice of RTP data, providing accessor methods for the RTP header fields. |
Seq | 16 bit RTP sequence number value, as obtained from the |
SeqIter | An |
Enums
RtpHeaderError | Reasons for |
Traits
IntoSeqIterator | Trait for types that can produce a |