pub struct SectionPacketizer { /* private fields */ }Expand description
Packetizes PSI/SI sections into 188-byte TS packets.
This is the byte-exact inverse of
SectionReassembler::feed: packets
produced here, when fed back through the reassembler, yield the same
sections in order.
ISO/IEC 13818-1:2007 §2.4.4 (docs/iso_13818_1_systems.md).
Implementations§
Source§impl SectionPacketizer
impl SectionPacketizer
Sourcepub fn with_continuity(pid: u16, cc: u8) -> Self
pub fn with_continuity(pid: u16, cc: u8) -> Self
Start at a specific continuity_counter (0..=15) — for resuming a stream.
Sourcepub fn continuity_counter(&self) -> u8
pub fn continuity_counter(&self) -> u8
The continuity_counter for the next emitted packet.
Auto Trait Implementations§
impl Freeze for SectionPacketizer
impl RefUnwindSafe for SectionPacketizer
impl Send for SectionPacketizer
impl Sync for SectionPacketizer
impl Unpin for SectionPacketizer
impl UnsafeUnpin for SectionPacketizer
impl UnwindSafe for SectionPacketizer
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