Temporarily add dummy trackId to unblock roll.

NOTRY=True

Bug: webrtc:15198
Change-Id: I3090b90c549da3f2368001f2049bbf1d66042af4
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/306400
Reviewed-by: Markus Handell <handellm@webrtc.org>
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#40130}
This commit is contained in:
Henrik Boström 2023-05-24 14:51:02 +02:00 committed by WebRTC LUCI CQ
parent 4e231eedbd
commit 3df4178d59
2 changed files with 12 additions and 2 deletions

View File

@ -428,6 +428,10 @@ class RTC_EXPORT RTCInboundRtpStreamStats final
// The former googMinPlayoutDelayMs (in seconds).
RTCNonStandardStatsMember<double> min_playout_delay;
// Temporarily added to unblock a roll.
// TODO(https://crbug.com/webrtc/15198): Delete this.
RTCStatsMember<std::string> track_id;
};
// https://w3c.github.io/webrtc-stats/#outboundrtpstats-dict*
@ -479,6 +483,10 @@ class RTC_EXPORT RTCOutboundRtpStreamStats final
RTCRestrictedStatsMember<bool, StatExposureCriteria::kHardwareCapability>
power_efficient_encoder;
RTCStatsMember<std::string> scalability_mode;
// Temporarily added to unblock a roll.
// TODO(https://crbug.com/webrtc/15198): Delete this.
RTCStatsMember<std::string> track_id;
};
// https://w3c.github.io/webrtc-stats/#remoteinboundrtpstats-dict*

View File

@ -493,7 +493,8 @@ RTCInboundRtpStreamStats::RTCInboundRtpStreamStats(std::string id,
{NonStandardGroupId::kRtcStatsRelativePacketArrivalDelay}),
interruption_count("interruptionCount"),
total_interruption_duration("totalInterruptionDuration"),
min_playout_delay("minPlayoutDelay") {}
min_playout_delay("minPlayoutDelay"),
track_id("trackId") {}
RTCInboundRtpStreamStats::RTCInboundRtpStreamStats(
const RTCInboundRtpStreamStats& other) = default;
@ -567,7 +568,8 @@ RTCOutboundRtpStreamStats::RTCOutboundRtpStreamStats(std::string id,
qp_sum("qpSum"),
active("active"),
power_efficient_encoder("powerEfficientEncoder"),
scalability_mode("scalabilityMode") {}
scalability_mode("scalabilityMode"),
track_id("trackId") {}
RTCOutboundRtpStreamStats::RTCOutboundRtpStreamStats(
const RTCOutboundRtpStreamStats& other) = default;