Struct rtp::codecs::h265::H265PACIPacket
source · pub struct H265PACIPacket { /* private fields */ }Expand description
PACI implementation
H265PACIPacket represents a single H265 PACI packet.
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 (Type=50) |A| cType | phssize |F0..2|Y| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | payload Header Extension Structure (phes) | |=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=| | | | PACI payload: NAL unit | | . . . | | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | :…OPTIONAL RTP padding | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Reference: https://datatracker.ietf.org/doc/html/rfc7798#section-4.4.4
Implementations
sourceimpl H265PACIPacket
impl H265PACIPacket
sourcepub fn payload_header(&self) -> H265NALUHeader
pub fn payload_header(&self) -> H265NALUHeader
payload_header returns the NAL Unit Header.
sourcepub fn f0(&self) -> bool
pub fn f0(&self) -> bool
f0 indicates the presence of a Temporal Scalability support extension in the phes.
Trait Implementations
sourceimpl Clone for H265PACIPacket
impl Clone for H265PACIPacket
sourcefn clone(&self) -> H265PACIPacket
fn clone(&self) -> H265PACIPacket
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more