pub struct AbsCaptureTimeExtension {
pub timestamp: u64,
pub estimated_capture_clock_offset: Option<i64>,
}Expand description
The absolute capture time extension
(http://www.webrtc.org/experiments/rtp-hdrext/abs-capture-time, a libwebrtc experiment):
when the first frame of the packet was captured, on the capturer’s NTP clock, and
optionally that clock’s estimated offset from the sender’s.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ID | len=7 | absolute capture timestamp (bit 0-23) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| absolute capture timestamp (bit 24-55) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... (56-63) |
+-+-+-+-+-+-+-+-+With the offset the element is 16 bytes (len=15): the timestamp, then the offset.
Fields§
§timestamp: u64The capture time as an NTP timestamp: unsigned 32.32 fixed point seconds since 1900.
estimated_capture_clock_offset: Option<i64>The estimated offset of the capturer’s clock from the sender’s, signed 32.32 fixed point seconds, when the sender knows it.
Trait Implementations§
Source§impl Clone for AbsCaptureTimeExtension
impl Clone for AbsCaptureTimeExtension
impl Copy for AbsCaptureTimeExtension
Source§impl Debug for AbsCaptureTimeExtension
impl Debug for AbsCaptureTimeExtension
Source§impl Default for AbsCaptureTimeExtension
impl Default for AbsCaptureTimeExtension
impl Eq for AbsCaptureTimeExtension
Source§impl Marshal for AbsCaptureTimeExtension
impl Marshal for AbsCaptureTimeExtension
Source§impl MarshalSize for AbsCaptureTimeExtension
impl MarshalSize for AbsCaptureTimeExtension
Source§fn marshal_size(&self) -> usize
fn marshal_size(&self) -> usize
The number of bytes
Marshal::marshal_to will write for this value.Source§impl PartialEq for AbsCaptureTimeExtension
impl PartialEq for AbsCaptureTimeExtension
impl StructuralPartialEq for AbsCaptureTimeExtension
Auto Trait Implementations§
impl Forget for AbsCaptureTimeExtension
impl Freeze for AbsCaptureTimeExtension
impl Move for AbsCaptureTimeExtension
impl RefUnwindSafe for AbsCaptureTimeExtension
impl Send for AbsCaptureTimeExtension
impl Sync for AbsCaptureTimeExtension
impl Unpin for AbsCaptureTimeExtension
impl UnsafeUnpin for AbsCaptureTimeExtension
impl UnwindSafe for AbsCaptureTimeExtension
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