Struct rtp::codecs::h265::H265SingleNALUnitPacket [−][src]
pub struct H265SingleNALUnitPacket { /* fields omitted */ }Expand description
Single NAL Unit Packet implementation
H265SingleNALUnitPacket represents a NALU packet, containing exactly one NAL unit. 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PayloadHdr | DONL (conditional) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | NAL unit payload data | | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | :…OPTIONAL RTP padding | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Reference: https://datatracker.ietf.org/doc/html/rfc7798#section-4.4.1
Implementations
with_donl can be called to specify whether or not DONL might be parsed.
DONL may need to be parsed if sprop-max-don-diff is greater than 0 on the RTP stream.
payload_header returns the NALU header of the packet.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for H265SingleNALUnitPacket
impl Send for H265SingleNALUnitPacket
impl Sync for H265SingleNALUnitPacket
impl Unpin for H265SingleNALUnitPacket
impl UnwindSafe for H265SingleNALUnitPacket
Blanket Implementations
Mutably borrows from an owned value. Read more
