pub enum JitterBufferState {
Buffering,
Emitting,
}Expand description
Whether the buffer is still filling or is handing packets out.
The trigger for the transition is not here: upstream moves to Emitting once
minStartCount packets have accumulated, whereas the policy this port is built for is
time-based (a depth in milliseconds). So the buffer owns the state and the playout policy above
it decides when to call JitterBuffer::begin_emitting.
Variants§
Buffering
Filling; playout has not started, so nothing is handed out yet.
Emitting
Handing packets out as they come due.
Trait Implementations§
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
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