pub struct AdaptiveJitterBufferBuilder<P> { /* private fields */ }Expand description
Builder for JitterBufferInterceptor.
Implementations§
Source§impl<P> JitterBufferBuilder<P>
impl<P> JitterBufferBuilder<P>
Sourcepub fn with_min_delay(self, d: Duration) -> Self
pub fn with_min_delay(self, d: Duration) -> Self
Minimum playout delay floor (default 20 ms).
Sourcepub fn with_max_delay(self, d: Duration) -> Self
pub fn with_max_delay(self, d: Duration) -> Self
Maximum playout delay / force-release ceiling (default 500 ms).
Sourcepub fn with_initial_delay(self, d: Duration) -> Self
pub fn with_initial_delay(self, d: Duration) -> Self
Starting target delay before enough packets have been seen to estimate jitter (default 50 ms).
Sourcepub fn build(self) -> impl FnOnce(P) -> JitterBufferInterceptor<P>
pub fn build(self) -> impl FnOnce(P) -> JitterBufferInterceptor<P>
Build the interceptor factory closure.
Trait Implementations§
Auto Trait Implementations§
impl<P> Forget for JitterBufferBuilder<P>
impl<P> Freeze for JitterBufferBuilder<P>where
PhantomData<P>: Freeze,
impl<P> Move for JitterBufferBuilder<P>
impl<P> RefUnwindSafe for JitterBufferBuilder<P>where
PhantomData<P>: RefUnwindSafe,
impl<P> Send for JitterBufferBuilder<P>where
PhantomData<P>: Send,
impl<P> Sync for JitterBufferBuilder<P>where
PhantomData<P>: Sync,
impl<P> Unpin for JitterBufferBuilder<P>where
PhantomData<P>: Unpin,
impl<P> UnsafeUnpin for JitterBufferBuilder<P>where
PhantomData<P>: UnsafeUnpin,
impl<P> UnwindSafe for JitterBufferBuilder<P>where
PhantomData<P>: UnwindSafe,
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