pub struct MediaBufferConfig {
pub min_delay_ms: u32,
pub max_delay_ms: u32,
pub adaptive: bool,
pub target_occupancy: u8,
pub max_packet_count: usize,
pub transmit_max_latency_ms: u32,
pub prioritize_keyframes: bool,
}Expand description
Media buffer configuration
Fields§
§min_delay_ms: u32Jitter buffer minimum delay in milliseconds
max_delay_ms: u32Jitter buffer maximum delay in milliseconds
adaptive: boolWhether to use adaptive jitter buffer sizing
target_occupancy: u8Target jitter buffer occupancy percentage (0-100)
max_packet_count: usizeMaximum number of packets that can be stored
transmit_max_latency_ms: u32Transmit buffer maximum latency in milliseconds
prioritize_keyframes: boolWhether to prioritize I-frames for video
Trait Implementations§
Source§impl Clone for MediaBufferConfig
impl Clone for MediaBufferConfig
Source§fn clone(&self) -> MediaBufferConfig
fn clone(&self) -> MediaBufferConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 MediaBufferConfig
impl Debug for MediaBufferConfig
Auto Trait Implementations§
impl Freeze for MediaBufferConfig
impl RefUnwindSafe for MediaBufferConfig
impl Send for MediaBufferConfig
impl Sync for MediaBufferConfig
impl Unpin for MediaBufferConfig
impl UnwindSafe for MediaBufferConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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