diff options
author | Eldar Rello <elrello@microsoft.com> | 2020-04-17 13:44:28 +0300 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-04-17 11:28:00 +0000 |
commit | da6cda839dac7d9d18eba8d365188fa94831e0b1 (patch) | |
tree | cf6d1c8feb6f18925740401d9a84cfbe6f9f8c06 /stats | |
parent | 1261b5caa38688778036411fca513548efd10e31 (diff) | |
download | webrtc-da6cda839dac7d9d18eba8d365188fa94831e0b1.tar.gz |
Improve outbound-rtp statistics for simulcast
Bug: webrtc:9547
Change-Id: Iec4eb976aa11ee743805425bedb77dcea7c2c9be
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168120
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Eldar Rello <elrello@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#31097}
Diffstat (limited to 'stats')
-rw-r--r-- | stats/rtcstats_objects.cc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/stats/rtcstats_objects.cc b/stats/rtcstats_objects.cc index d99c9e7864..453acce925 100644 --- a/stats/rtcstats_objects.cc +++ b/stats/rtcstats_objects.cc @@ -698,6 +698,7 @@ WEBRTC_RTCSTATS_IMPL( RTCOutboundRTPStreamStats, RTCRTPStreamStats, "outbound-rtp", &media_source_id, &remote_id, + &rid, &packets_sent, &retransmitted_packets_sent, &bytes_sent, @@ -708,6 +709,11 @@ WEBRTC_RTCSTATS_IMPL( &key_frames_encoded, &total_encode_time, &total_encoded_bytes_target, + &frame_width, + &frame_height, + &frames_per_second, + &frames_sent, + &huge_frames_sent, &total_packet_send_delay, &quality_limitation_reason, &quality_limitation_resolution_changes, @@ -724,6 +730,7 @@ RTCOutboundRTPStreamStats::RTCOutboundRTPStreamStats(std::string&& id, : RTCRTPStreamStats(std::move(id), timestamp_us), media_source_id("mediaSourceId"), remote_id("remoteId"), + rid("rid"), packets_sent("packetsSent"), retransmitted_packets_sent("retransmittedPacketsSent"), bytes_sent("bytesSent"), @@ -734,6 +741,11 @@ RTCOutboundRTPStreamStats::RTCOutboundRTPStreamStats(std::string&& id, key_frames_encoded("keyFramesEncoded"), total_encode_time("totalEncodeTime"), total_encoded_bytes_target("totalEncodedBytesTarget"), + frame_width("frameWidth"), + frame_height("frameHeight"), + frames_per_second("framesPerSecond"), + frames_sent("framesSent"), + huge_frames_sent("hugeFramesSent"), total_packet_send_delay("totalPacketSendDelay"), quality_limitation_reason("qualityLimitationReason"), quality_limitation_resolution_changes( @@ -746,6 +758,7 @@ RTCOutboundRTPStreamStats::RTCOutboundRTPStreamStats( : RTCRTPStreamStats(other), media_source_id(other.media_source_id), remote_id(other.remote_id), + rid(other.rid), packets_sent(other.packets_sent), retransmitted_packets_sent(other.retransmitted_packets_sent), bytes_sent(other.bytes_sent), @@ -756,6 +769,11 @@ RTCOutboundRTPStreamStats::RTCOutboundRTPStreamStats( key_frames_encoded(other.key_frames_encoded), total_encode_time(other.total_encode_time), total_encoded_bytes_target(other.total_encoded_bytes_target), + frame_width(other.frame_width), + frame_height(other.frame_height), + frames_per_second(other.frames_per_second), + frames_sent(other.frames_sent), + huge_frames_sent(other.huge_frames_sent), total_packet_send_delay(other.total_packet_send_delay), quality_limitation_reason(other.quality_limitation_reason), quality_limitation_resolution_changes( |