pub struct JitterBufferControl {
pub ssrcs: Vec<u32>,
pub target: Option<Duration>,
}Expand description
The application’s jitter buffer target for the streams of one receiver (W3C webrtc 5.3
jitterBufferTarget): written into the chain (into_packet), the
jitter buffer takes it for each SSRC, now or when the stream is bound, and holds those
streams’ packets for target clamped to its minimum and maximum delay instead of its
adaptive target; None returns them to the adaptive target. Consumed by the jitter
buffer; without one in the chain it reaches the terminus and is dropped there.
Fields§
§ssrcs: Vec<u32>The SSRCs the target is for.
target: Option<Duration>The target delay, or None for no preference.
Implementations§
Source§impl JitterBufferControl
impl JitterBufferControl
Sourcepub fn into_packet(self, now: Instant) -> TaggedPacket
pub fn into_packet(self, now: Instant) -> TaggedPacket
The packet that carries this to the jitter buffer when written into the chain at
now.
Trait Implementations§
Source§impl Clone for JitterBufferControl
impl Clone for JitterBufferControl
Source§impl Debug for JitterBufferControl
impl Debug for JitterBufferControl
impl Eq for JitterBufferControl
Source§impl PartialEq for JitterBufferControl
impl PartialEq for JitterBufferControl
impl StructuralPartialEq for JitterBufferControl
Auto Trait Implementations§
impl Forget for JitterBufferControl
impl Freeze for JitterBufferControl
impl Move for JitterBufferControl
impl RefUnwindSafe for JitterBufferControl
impl Send for JitterBufferControl
impl Sync for JitterBufferControl
impl Unpin for JitterBufferControl
impl UnsafeUnpin for JitterBufferControl
impl UnwindSafe for JitterBufferControl
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