pub struct MediaStatisticsSnapshot {Show 16 fields
pub request_generation: u64,
pub call_id: CallId,
pub line_instance: LineInstance,
pub codec: Codec,
pub packet_ms: u32,
pub max_frames_per_packet: u32,
pub receive_peer: Option<MediaEndpoint>,
pub transmit_peer: Option<MediaEndpoint>,
pub packets_sent: u32,
pub octets_sent: u32,
pub packets_received: u32,
pub octets_received: u32,
pub packets_lost: u32,
pub jitter_millis: u32,
pub latency_millis: u32,
pub quality_byte_count: usize,
}Expand description
One fully correlated, privacy-safe station media snapshot retained independently of call teardown. The firmware-specific quality payload remains opaque and is represented only by its bounded byte count.
Fields§
§request_generation: u64Monotonic generation assigned to the statistics request.
A response is retained only when it matches the live request generation, preventing a delayed response from replacing newer statistics.
call_id: CallId§line_instance: LineInstance§codec: Codec§packet_ms: u32§max_frames_per_packet: u32§receive_peer: Option<MediaEndpoint>§transmit_peer: Option<MediaEndpoint>§packets_sent: u32§octets_sent: u32§packets_received: u32§octets_received: u32§packets_lost: u32§jitter_millis: u32§latency_millis: u32§quality_byte_count: usizeLength of the bounded opaque quality report; its contents are not retained in management state.
Trait Implementations§
Source§impl Clone for MediaStatisticsSnapshot
impl Clone for MediaStatisticsSnapshot
Source§fn clone(&self) -> MediaStatisticsSnapshot
fn clone(&self) -> MediaStatisticsSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MediaStatisticsSnapshot
impl Debug for MediaStatisticsSnapshot
impl Eq for MediaStatisticsSnapshot
Source§impl PartialEq for MediaStatisticsSnapshot
impl PartialEq for MediaStatisticsSnapshot
impl StructuralPartialEq for MediaStatisticsSnapshot
Auto Trait Implementations§
impl Freeze for MediaStatisticsSnapshot
impl RefUnwindSafe for MediaStatisticsSnapshot
impl Send for MediaStatisticsSnapshot
impl Sync for MediaStatisticsSnapshot
impl Unpin for MediaStatisticsSnapshot
impl UnsafeUnpin for MediaStatisticsSnapshot
impl UnwindSafe for MediaStatisticsSnapshot
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