pub struct RtpPacketizer { /* private fields */ }Available on crate feature
ingest and (crate features rtsp or webrtc) only.Expand description
Packetizes H.264 Annex-B access units into RFC 6184 RTP packets — the inverse
of H264Depacketizer, used for WebRTC/WHEP egress.
Each NAL unit that fits the MTU is sent as a single-NAL packet; larger NALs are split into FU-A fragments. The RTP marker bit is set on the last packet of each access unit so the receiver knows the frame is complete.
Implementations§
Trait Implementations§
Source§impl Clone for RtpPacketizer
impl Clone for RtpPacketizer
Source§fn clone(&self) -> RtpPacketizer
fn clone(&self) -> RtpPacketizer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RtpPacketizer
impl RefUnwindSafe for RtpPacketizer
impl Send for RtpPacketizer
impl Sync for RtpPacketizer
impl Unpin for RtpPacketizer
impl UnsafeUnpin for RtpPacketizer
impl UnwindSafe for RtpPacketizer
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