Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(585)

Unified Diff: webrtc/stats/rtcstats_objects.cc

Issue 2588373005: RTC[In/Out]boundRTPStreamStats: qpSum,framesDecoded,framesEncoded added. (Closed)
Patch Set: Rebase with master Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/stats/rtcstats_objects.cc
diff --git a/webrtc/stats/rtcstats_objects.cc b/webrtc/stats/rtcstats_objects.cc
index d4fea4951929f8e945c71f464da380469544cbcd..d1c4b9b6c5a95b0782bb273d7684a3402b21f42d 100644
--- a/webrtc/stats/rtcstats_objects.cc
+++ b/webrtc/stats/rtcstats_objects.cc
@@ -445,7 +445,8 @@ WEBRTC_RTCSTATS_IMPL(RTCRTPStreamStats, RTCStats, "rtp",
&fir_count,
&pli_count,
&nack_count,
- &sli_count);
+ &sli_count,
+ &qp_sum);
RTCRTPStreamStats::RTCRTPStreamStats(
const std::string& id, int64_t timestamp_us)
@@ -465,7 +466,8 @@ RTCRTPStreamStats::RTCRTPStreamStats(
fir_count("firCount"),
pli_count("pliCount"),
nack_count("nackCount"),
- sli_count("sliCount") {
+ sli_count("sliCount"),
+ qp_sum("qpSum") {
}
RTCRTPStreamStats::RTCRTPStreamStats(
@@ -481,7 +483,8 @@ RTCRTPStreamStats::RTCRTPStreamStats(
fir_count(other.fir_count),
pli_count(other.pli_count),
nack_count(other.nack_count),
- sli_count(other.sli_count) {
+ sli_count(other.sli_count),
+ qp_sum(other.qp_sum) {
}
RTCRTPStreamStats::~RTCRTPStreamStats() {
@@ -503,7 +506,8 @@ WEBRTC_RTCSTATS_IMPL(
&burst_loss_rate,
&burst_discard_rate,
&gap_loss_rate,
- &gap_discard_rate);
+ &gap_discard_rate,
+ &frames_decoded);
RTCInboundRTPStreamStats::RTCInboundRTPStreamStats(
const std::string& id, int64_t timestamp_us)
@@ -527,7 +531,8 @@ RTCInboundRTPStreamStats::RTCInboundRTPStreamStats(
burst_loss_rate("burstLossRate"),
burst_discard_rate("burstDiscardRate"),
gap_loss_rate("gapLossRate"),
- gap_discard_rate("gapDiscardRate") {
+ gap_discard_rate("gapDiscardRate"),
+ frames_decoded("framesDecoded") {
}
RTCInboundRTPStreamStats::RTCInboundRTPStreamStats(
@@ -547,7 +552,8 @@ RTCInboundRTPStreamStats::RTCInboundRTPStreamStats(
burst_loss_rate(other.burst_loss_rate),
burst_discard_rate(other.burst_discard_rate),
gap_loss_rate(other.gap_loss_rate),
- gap_discard_rate(other.gap_discard_rate) {
+ gap_discard_rate(other.gap_discard_rate),
+ frames_decoded(other.frames_decoded) {
}
RTCInboundRTPStreamStats::~RTCInboundRTPStreamStats() {
@@ -558,7 +564,8 @@ WEBRTC_RTCSTATS_IMPL(
&packets_sent,
&bytes_sent,
&target_bitrate,
- &round_trip_time);
+ &round_trip_time,
+ &frames_encoded);
RTCOutboundRTPStreamStats::RTCOutboundRTPStreamStats(
const std::string& id, int64_t timestamp_us)
@@ -571,7 +578,8 @@ RTCOutboundRTPStreamStats::RTCOutboundRTPStreamStats(
packets_sent("packetsSent"),
bytes_sent("bytesSent"),
target_bitrate("targetBitrate"),
- round_trip_time("roundTripTime") {
+ round_trip_time("roundTripTime"),
+ frames_encoded("framesEncoded") {
}
RTCOutboundRTPStreamStats::RTCOutboundRTPStreamStats(
@@ -580,7 +588,8 @@ RTCOutboundRTPStreamStats::RTCOutboundRTPStreamStats(
packets_sent(other.packets_sent),
bytes_sent(other.bytes_sent),
target_bitrate(other.target_bitrate),
- round_trip_time(other.round_trip_time) {
+ round_trip_time(other.round_trip_time),
+ frames_encoded(other.frames_encoded) {
}
RTCOutboundRTPStreamStats::~RTCOutboundRTPStreamStats() {
« webrtc/api/rtcstats_integrationtest.cc ('K') | « webrtc/api/stats/rtcstats_objects.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698