pub struct MultiRateTimestamp { /* private fields */ }Expand description
The RTP timestamp of a sender that keeps one SSRC across clock rate changes, which RFC 7160 section 4.2 allows only with RTCP turned off:
start_offset += (capture_time - capture_start) * previous_clock_rate (on a change)
capture_start = capture_time (on a change)
timestamp = (capture_time - capture_start) * clock_rate + start_offsetImplementations§
Source§impl MultiRateTimestamp
impl MultiRateTimestamp
Trait Implementations§
Source§impl Clone for MultiRateTimestamp
impl Clone for MultiRateTimestamp
Source§impl Debug for MultiRateTimestamp
impl Debug for MultiRateTimestamp
impl Eq for MultiRateTimestamp
Source§impl PartialEq for MultiRateTimestamp
impl PartialEq for MultiRateTimestamp
impl StructuralPartialEq for MultiRateTimestamp
Auto Trait Implementations§
impl Forget for MultiRateTimestamp
impl Freeze for MultiRateTimestamp
impl Move for MultiRateTimestamp
impl RefUnwindSafe for MultiRateTimestamp
impl Send for MultiRateTimestamp
impl Sync for MultiRateTimestamp
impl Unpin for MultiRateTimestamp
impl UnsafeUnpin for MultiRateTimestamp
impl UnwindSafe for MultiRateTimestamp
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