diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /third_party/libwebrtc/pc/legacy_stats_collector.cc | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/libwebrtc/pc/legacy_stats_collector.cc')
-rw-r--r-- | third_party/libwebrtc/pc/legacy_stats_collector.cc | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/third_party/libwebrtc/pc/legacy_stats_collector.cc b/third_party/libwebrtc/pc/legacy_stats_collector.cc index 3bc65ee3ee..98b7cb9677 100644 --- a/third_party/libwebrtc/pc/legacy_stats_collector.cc +++ b/third_party/libwebrtc/pc/legacy_stats_collector.cc @@ -355,9 +355,8 @@ void ExtractStats(const cricket::VideoReceiverInfo& info, report->AddInt64(StatsReport::kStatsValueNameInterframeDelayMaxMs, info.interframe_delay_max_ms); - report->AddString( - StatsReport::kStatsValueNameContentType, - webrtc::videocontenttypehelpers::ToString(info.content_type)); + report->AddString(StatsReport::kStatsValueNameContentType, + videocontenttypehelpers::ToString(info.content_type)); } void ExtractStats(const cricket::VideoSenderInfo& info, @@ -398,9 +397,8 @@ void ExtractStats(const cricket::VideoSenderInfo& info, for (const auto& i : ints) report->AddInt(i.name, i.value); report->AddString(StatsReport::kStatsValueNameMediaType, "video"); - report->AddString( - StatsReport::kStatsValueNameContentType, - webrtc::videocontenttypehelpers::ToString(info.content_type)); + report->AddString(StatsReport::kStatsValueNameContentType, + videocontenttypehelpers::ToString(info.content_type)); } void ExtractStats(const cricket::BandwidthEstimationInfo& info, @@ -1033,7 +1031,7 @@ void LegacyStatsCollector::ExtractBweInfo() { if (pc_->signaling_state() == PeerConnectionInterface::kClosed) return; - webrtc::Call::Stats call_stats = pc_->GetCallStats(); + Call::Stats call_stats = pc_->GetCallStats(); cricket::BandwidthEstimationInfo bwe_info; bwe_info.available_send_bandwidth = call_stats.send_bandwidth_bps; bwe_info.available_recv_bandwidth = call_stats.recv_bandwidth_bps; |