Enum rtp_rs::RtpReaderError [−][src]
pub enum RtpReaderError { BufferTooShort(usize), UnsupportedVersion(u8), HeadersTruncated { header_len: usize, buffer_len: usize, }, PaddingLengthInvalid(u8), }
Expand description
Reasons for RtpHeader::new()
to fail
Variants
BufferTooShort(usize)
Expand description
Buffer too short to be valid RTP packet
UnsupportedVersion(u8)
Expand description
Only RTP version 2 supported
Expand description
RTP headers truncated before end of buffer
Show fields
PaddingLengthInvalid(u8)
Expand description
The padding header at the end of the packet, if present, specifies the number of padding
bytes, including itself, and therefore cannot be less than 1
, or greater than the
available space.