pub enum RtpError {
TooShort,
InvalidVersion(u8),
InvalidExtension,
InvalidPadding,
EmptyPayload,
UnsupportedPayload,
FragmentOverflow,
}Expand description
Error returned while parsing or depacketizing RTP video.
Variants§
TooShort
Packet is shorter than the RTP fixed header or declared extension.
InvalidVersion(u8)
RTP version was not 2.
InvalidExtension
RTP extension header length is malformed.
InvalidPadding
RTP padding length is malformed.
EmptyPayload
Packet has no payload after header/extension/padding.
UnsupportedPayload
Payload could not be interpreted as H.264 or H.265.
FragmentOverflow
Fragmented access unit exceeded the configured size guard.
Trait Implementations§
impl Copy for RtpError
impl Eq for RtpError
impl StructuralPartialEq for RtpError
Auto Trait Implementations§
impl Freeze for RtpError
impl RefUnwindSafe for RtpError
impl Send for RtpError
impl Sync for RtpError
impl Unpin for RtpError
impl UnsafeUnpin for RtpError
impl UnwindSafe for RtpError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more