Home
last modified time | relevance | path

Searched refs:StatsReportType (Results 1 – 10 of 10) sorted by relevance

/webrtc/webrtc/src/stats/
H A Dstats_collector.rs3 use super::StatsReportType;
9 pub(crate) reports: Mutex<HashMap<String, StatsReportType>>,
19 pub(crate) fn insert(&self, id: String, stats: StatsReportType) { in insert() argument
24 pub(crate) fn merge(&self, stats: HashMap<String, StatsReportType>) { in merge() argument
29 pub(crate) fn into_reports(self) -> HashMap<String, StatsReportType> { in into_reports() argument
H A Dmod.rs64 pub enum StatsReportType { enum
80 impl From<SourceStatsType> for StatsReportType { implementation
93 impl Serialize for StatsReportType { implementation
99 StatsReportType::CandidatePair(stats) => stats.serialize(serializer), in serialize()
101 StatsReportType::Codec(stats) => stats.serialize(serializer), in serialize()
102 StatsReportType::DataChannel(stats) => stats.serialize(serializer), in serialize()
106 StatsReportType::SCTPTransport(stats) => stats.serialize(serializer), in serialize()
107 StatsReportType::Transport(stats) => stats.serialize(serializer), in serialize()
108 StatsReportType::InboundRTP(stats) => stats.serialize(serializer), in serialize()
109 StatsReportType::OutboundRTP(stats) => stats.serialize(serializer), in serialize()
[all …]
/webrtc/webrtc/src/peer_connection/
H A Dpeer_connection_test.rs7 use crate::stats::StatsReportType;
339 Some(StatsReportType::Transport(ice_transport_stats)) => { in test_get_stats()
350 StatsReportType::OutboundRTP(d) => Some(d), in test_get_stats()
364 StatsReportType::InboundRTP(d) => Some(d), in test_get_stats()
H A Dcertificate.rs13 use crate::stats::{CertificateStats, StatsReportType};
211 StatsReportType::CertificateStats(stats), in collect_stats()
H A Dpeer_connection_internal.rs9 StatsReportType,
1272 crate::stats::StatsReportType::InboundRTP(InboundRTPStats { in collect_inbound_stats()
1299 crate::stats::StatsReportType::RemoteOutboundRTP(RemoteOutboundRTPStats { in collect_inbound_stats()
1412 crate::stats::StatsReportType::OutboundRTP(OutboundRTPStats { in collect_outbound_stats()
1440 StatsReportType::RemoteInboundRTP(RemoteInboundRTPStats { in collect_outbound_stats()
/webrtc/webrtc/src/ice_transport/
H A Dice_gatherer.rs11 use crate::stats::{ICECandidatePairStats, StatsReportType};
296 reports.insert(stats.id.clone(), StatsReportType::CandidatePair(stats)); in collect_stats()
302 StatsReportType::from(LocalCandidate(stats)), in collect_stats()
309 StatsReportType::from(RemoteCandidate(stats)), in collect_stats()
H A Dmod.rs25 use crate::stats::StatsReportType::Transport;
/webrtc/webrtc/src/data_channel/
H A Dmod.rs35 use crate::stats::{DataChannelStats, StatsReportType};
555 collector.insert(self.stats_id.clone(), StatsReportType::DataChannel(stats)); in collect_stats()
/webrtc/webrtc/src/sctp_transport/
H A Dmod.rs18 use crate::stats::StatsReportType::{PeerConnection, SCTPTransport};
/webrtc/webrtc/src/api/media_engine/
H A Dmod.rs18 use crate::stats::StatsReportType::Codec;