pub struct ReceiverBatchOptions {
pub accept_corrupted: bool,
pub raw_payload_routes: Vec<PayloadRouteId>,
pub rtp_payload_taps: Vec<RtpPayloadTap>,
pub depacketize_video: bool,
}Expand description
Options that control how one receive batch is processed.
Fields§
§accept_corrupted: boolKeep CRC/ICV-marked packets instead of dropping them before WFB parsing.
raw_payload_routes: Vec<PayloadRouteId>Route ids whose recovered payload bytes should be copied into the batch.
rtp_payload_taps: Vec<RtpPayloadTap>RTP payload-type filters whose matching packets should be copied.
depacketize_video: boolDepacketize the configured video route into Annex-B access units.
Disable this when an application transfers recovered RTP to another execution context, such as a browser decode worker. Raw route taps are still produced while this is disabled.
Trait Implementations§
Source§impl Clone for ReceiverBatchOptions
impl Clone for ReceiverBatchOptions
Source§fn clone(&self) -> ReceiverBatchOptions
fn clone(&self) -> ReceiverBatchOptions
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 moreSource§impl Debug for ReceiverBatchOptions
impl Debug for ReceiverBatchOptions
Auto Trait Implementations§
impl Freeze for ReceiverBatchOptions
impl RefUnwindSafe for ReceiverBatchOptions
impl Send for ReceiverBatchOptions
impl Sync for ReceiverBatchOptions
impl Unpin for ReceiverBatchOptions
impl UnsafeUnpin for ReceiverBatchOptions
impl UnwindSafe for ReceiverBatchOptions
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