pub struct RedDepacketizer;Expand description
Returns a RED payload’s primary data, for audio streams whose RED payload type is
depacketized like a codec. Redundant blocks are dropped; use RedDecoder to recover from
them.
Trait Implementations§
Source§impl Clone for RedDepacketizer
impl Clone for RedDepacketizer
Source§impl Debug for RedDepacketizer
impl Debug for RedDepacketizer
Source§impl Default for RedDepacketizer
impl Default for RedDepacketizer
Source§impl Depacketizer for RedDepacketizer
impl Depacketizer for RedDepacketizer
Source§fn depacketize(&mut self, packet: &Bytes) -> Result<Bytes>
fn depacketize(&mut self, packet: &Bytes) -> Result<Bytes>
Reassembles a frame from one RTP payload, buffering fragments as needed. Read more
Source§fn is_partition_head(&self, _payload: &Bytes) -> bool
fn is_partition_head(&self, _payload: &Bytes) -> bool
Checks if the packet is at the beginning of a partition. This
should return false if the result could not be determined, in
which case the caller will detect timestamp discontinuities.
impl Eq for RedDepacketizer
Source§impl PartialEq for RedDepacketizer
impl PartialEq for RedDepacketizer
impl StructuralPartialEq for RedDepacketizer
Auto Trait Implementations§
impl Forget for RedDepacketizer
impl Freeze for RedDepacketizer
impl Move for RedDepacketizer
impl RefUnwindSafe for RedDepacketizer
impl Send for RedDepacketizer
impl Sync for RedDepacketizer
impl Unpin for RedDepacketizer
impl UnsafeUnpin for RedDepacketizer
impl UnwindSafe for RedDepacketizer
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