pub struct AacDepacketizer { /* private fields */ }Available on crate feature
ingest and (crate features rtsp or webrtc) only.Expand description
Depacketizes RFC 3640 AAC-hbr RTP payloads into raw AAC access units.
The common RTSP/SDP profile for AAC (mode=AAC-hbr, sizelength=13,
indexlength=3) frames each payload as a 2-byte AU-headers-length (in
bits), followed by one 2-byte AU-header per access unit (13-bit size +
3-bit index), followed by the access units concatenated. One RTP packet may
carry several AAC frames; push returns each as a separate
raw (ADTS-less) bytes::Bytes.
Implementations§
Source§impl AacDepacketizer
impl AacDepacketizer
Trait Implementations§
Source§impl Clone for AacDepacketizer
impl Clone for AacDepacketizer
Source§fn clone(&self) -> AacDepacketizer
fn clone(&self) -> AacDepacketizer
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 moreimpl Copy for AacDepacketizer
Source§impl Debug for AacDepacketizer
impl Debug for AacDepacketizer
Source§impl Default for AacDepacketizer
impl Default for AacDepacketizer
Source§fn default() -> AacDepacketizer
fn default() -> AacDepacketizer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AacDepacketizer
impl RefUnwindSafe for AacDepacketizer
impl Send for AacDepacketizer
impl Sync for AacDepacketizer
impl Unpin for AacDepacketizer
impl UnsafeUnpin for AacDepacketizer
impl UnwindSafe for AacDepacketizer
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