#[derive(Clone, Debug, Default)]
pub struct SfuMetrics;
#[allow(dead_code)]
impl SfuMetrics {
pub fn new_default() -> Self {
Self
}
pub(crate) fn inc_forwarded_packets(&self, _kind: &str) {}
pub(crate) fn observe_forward_latency(&self, _kind: &str, _elapsed_secs: f64) {}
pub(crate) fn inc_layer_selection(&self, _layer: &str) {}
pub(crate) fn inc_suspend_video(&self, _direction: &str) {}
pub(crate) fn inc_video_frames_dropped(&self, _peer_id: u64) {}
pub(crate) fn reap_video_frames_dropped(&self, _peer_id: u64) {}
pub(crate) fn inc_client_connect(&self) {}
pub(crate) fn inc_client_disconnect(&self) {}
pub(crate) fn inc_active_participants(&self) {}
pub(crate) fn dec_active_participants(&self) {}
#[cfg(feature = "active-speaker")]
pub(crate) fn inc_dominant_speaker_changes(&self) {}
pub(crate) fn update_peer_rtcp(
&self,
_peer_id: u64,
_loss: f32,
_rtt_ms: f64,
_jitter_ms: f64,
) {
}
pub(crate) fn update_peer_bwe(&self, _peer_id: u64, _bps: u64) {}
#[cfg(feature = "active-speaker")]
pub(crate) fn update_peer_speaker_scores(
&self,
_peer_id: u64,
_immediate: f64,
_medium: f64,
_long_score: f64,
) {
}
pub fn reap_dead_peer(&self, _peer_id: u64) {}
}