pub struct ReceiverBatchOptions {
pub accept_corrupted: bool,
pub raw_payload_routes: Vec<PayloadRouteId>,
pub rtp_payload_taps: Vec<RtpPayloadTap>,
}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.
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
Source§impl Default for ReceiverBatchOptions
impl Default for ReceiverBatchOptions
Source§fn default() -> ReceiverBatchOptions
fn default() -> ReceiverBatchOptions
Returns the “default value” for a type. Read more
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