[−][src]Struct rtp_parser::RtpPacket
An RTP packet, https://tools.ietf.org/html/rfc3550#section-5.1
Fields
version: u8
version -- 2 bits
padding: u8
padding flag -- 1 bit
extension: u8
extension flag -- 1 bit
csrc_count: u8
csrc count -- 4 bits
marker: u8
marker flag -- 1 bit
payload_type: u8
payload type -- 7 bits
sequence_number: u16
sequence number -- 2 bytes
timestamp: u32
timestamp -- 4 bytes
ssrc: u32
synchronization source identifier
csrc: Vec<u32>
contributing source identifiers (0 to 15)
header_extension: Option<RtpPacketHeaderExtension<'a>>
optional header extension
payload: &'a [u8]
payload
padding_bytes: &'a [u8]
padding
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for RtpPacket<'a>
impl<'a> Send for RtpPacket<'a>
impl<'a> Sync for RtpPacket<'a>
impl<'a> Unpin for RtpPacket<'a>
impl<'a> UnwindSafe for RtpPacket<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,