pub(super) struct RtcMetricsSnapshot {Show 20 fields
datagram_routes: [u64; 2],
datagram_drops: [u64; 4],
datagram_fallback_scans: u64,
datagram_scan_users: u64,
nacks: [u64; 2],
rtx_packets_received_from_publisher: u64,
rtx_payload_bytes_received_from_publisher: u64,
rtcp_ingress_budget_drops: u64,
output_budget_exhaustions: [u64; 3],
output_budget_session_closes: u64,
route_control: [u64; 5],
keyframe_requests: [u64; 4],
relay_enqueues: [u64; 3],
relay_mailbox_depth_samples: u64,
relay_mailbox_depth_total: u64,
relay_drain_batches: u64,
relay_drained_packets: u64,
relay_drain_cap_hits: u64,
remote_control_drops: [u64; 2],
remote_packet_gate_convergence: [u64; 2],
}Fields§
§datagram_routes: [u64; 2]§datagram_drops: [u64; 4]§datagram_fallback_scans: u64§datagram_scan_users: u64§nacks: [u64; 2]§rtx_packets_received_from_publisher: u64§rtx_payload_bytes_received_from_publisher: u64§rtcp_ingress_budget_drops: u64§output_budget_exhaustions: [u64; 3]§output_budget_session_closes: u64§route_control: [u64; 5]§keyframe_requests: [u64; 4]§relay_enqueues: [u64; 3]§relay_mailbox_depth_samples: u64§relay_mailbox_depth_total: u64§relay_drain_batches: u64§relay_drained_packets: u64§relay_drain_cap_hits: u64§remote_control_drops: [u64; 2]§remote_packet_gate_convergence: [u64; 2]Implementations§
Source§impl RtcMetricsSnapshot
impl RtcMetricsSnapshot
pub(super) fn datagram_routes(&self, path: RtcDatagramRoutePath) -> u64
pub(super) fn datagram_drops(&self, reason: RtcDatagramDropReason) -> u64
pub(super) const fn datagram_fallback_scans(&self) -> u64
pub(super) const fn datagram_scan_users(&self) -> u64
pub(super) fn nacks(&self, direction: RtcNackDirection) -> u64
pub(super) const fn rtx_packets_received_from_publisher(&self) -> u64
pub(super) const fn rtx_payload_bytes_received_from_publisher(&self) -> u64
pub(super) const fn rtcp_ingress_budget_drops(&self) -> u64
pub(super) fn output_budget_exhaustions( &self, limit: RtcOutputBudgetLimit, ) -> u64
pub(super) const fn output_budget_session_closes(&self) -> u64
pub(super) fn route_control(&self, outcome: RtcRouteControlOutcome) -> u64
pub(super) fn keyframe_requests( &self, outcome: RtcKeyframeRequestOutcome, ) -> u64
pub(super) fn relay_enqueues(&self, result: RtcRelayEnqueueResult) -> u64
pub(super) const fn relay_mailbox_depth_samples(&self) -> u64
pub(super) const fn relay_mailbox_depth_total(&self) -> u64
pub(super) const fn relay_drain_batches(&self) -> u64
pub(super) const fn relay_drained_packets(&self) -> u64
pub(super) const fn relay_drain_cap_hits(&self) -> u64
pub(super) fn remote_control_drops(&self, kind: RtcRemoteControlDropKind) -> u64
pub(super) fn remote_packet_gate_convergence( &self, outcome: RtcRemotePacketGateConvergence, ) -> u64
fn add_recorder(&mut self, recorder: &RtcMetricsRecorder)
fn add_datagram_route(&mut self, path: RtcDatagramRoutePath, count: u64)
fn add_datagram_drop(&mut self, reason: RtcDatagramDropReason, count: u64)
fn add_nack(&mut self, direction: RtcNackDirection, count: u64)
fn add_output_budget_exhaustion( &mut self, limit: RtcOutputBudgetLimit, count: u64, )
fn add_route_control(&mut self, outcome: RtcRouteControlOutcome, count: u64)
fn add_keyframe_request( &mut self, outcome: RtcKeyframeRequestOutcome, count: u64, )
fn add_relay_enqueue(&mut self, result: RtcRelayEnqueueResult, count: u64)
fn add_remote_control_drop( &mut self, kind: RtcRemoteControlDropKind, count: u64, )
fn add_remote_packet_gate_convergence( &mut self, outcome: RtcRemotePacketGateConvergence, count: u64, )
Trait Implementations§
Source§impl Debug for RtcMetricsSnapshot
impl Debug for RtcMetricsSnapshot
Source§impl Default for RtcMetricsSnapshot
impl Default for RtcMetricsSnapshot
Source§fn default() -> RtcMetricsSnapshot
fn default() -> RtcMetricsSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RtcMetricsSnapshot
impl RefUnwindSafe for RtcMetricsSnapshot
impl Send for RtcMetricsSnapshot
impl Sync for RtcMetricsSnapshot
impl Unpin for RtcMetricsSnapshot
impl UnsafeUnpin for RtcMetricsSnapshot
impl UnwindSafe for RtcMetricsSnapshot
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