Bug 1574384 [wpt PR 18483] - Update interfaces/webrtc-stats.idl, a=testonly
authorautofoolip <auto@foolip.org>
Mon, 19 Aug 2019 14:28:51 +0000
changeset 489733 e50c982dd41623da66cacac0463030c057c5358f
parent 489732 becd3baf5ba45443bcb89a4349f330f8186c4782
child 489734 a70ad57d2a8cb4355ec2a49ce323c7092d4ba7b8
push id36480
push useraciure@mozilla.com
push dateSat, 24 Aug 2019 09:51:44 +0000
treeherdermozilla-central@fce0b326cd31 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1574384, 18483
milestone70.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1574384 [wpt PR 18483] - Update interfaces/webrtc-stats.idl, a=testonly Automatic update from web-platform-tests Update interfaces/webrtc-stats.idl (#18483) Source: https://github.com/tidoust/reffy-reports/blob/48ca519/whatwg/idl/webrtc-stats.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/572612386 -- wpt-commits: 70a34621356935e48c27529d9fdd067cd40609f5 wpt-pr: 18483
testing/web-platform/tests/interfaces/webrtc-stats.idl
--- a/testing/web-platform/tests/interfaces/webrtc-stats.idl
+++ b/testing/web-platform/tests/interfaces/webrtc-stats.idl
@@ -65,30 +65,50 @@ dictionary RTCReceivedRtpStreamStats : R
 };
 
 dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
  DOMString trackId;
  DOMString receiverId;
  DOMString remoteId;
  unsigned long framesDecoded;
  unsigned long keyFramesDecoded;
+ unsigned long frameWidth;
+ unsigned long frameHeight;
+ double framesPerSecond;
  unsigned long long qpSum;
  double totalDecodeTime;
+ boolean voiceActivityFlag;
  DOMHighResTimeStamp lastPacketReceivedTimestamp;
  double averageRtcpInterval;
  unsigned long fecPacketsReceived;
  unsigned long fecPacketsDiscarded;
  unsigned long long bytesReceived;
  unsigned long packetsFailedDecryption;
  unsigned long packetsDuplicated;
  record<USVString, unsigned long> perDscpPacketsReceived;
  unsigned long nackCount;
  unsigned long firCount;
  unsigned long pliCount;
  unsigned long sliCount;
+ DOMHighResTimeStamp estimatedPlayoutTimestamp;
+ double jitterBufferDelay;
+ unsigned long long jitterBufferEmittedCount;
+ unsigned long long totalSamplesReceived;
+ unsigned long long concealedSamples;
+ unsigned long long silentConcealedSamples;
+ unsigned long long concealmentEvents;
+ unsigned long long insertedSamplesForDeceleration;
+ unsigned long long removedSamplesForAcceleration;
+ double audioLevel;
+ double totalAudioEnergy;
+ double totalSamplesDuration;
+ unsigned long framesReceived;
+ unsigned long framesDropped;
+ unsigned long partialFramesLost;
+ unsigned long fullFramesLost;
 };
 
 dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
              DOMString localId;
              double roundTripTime;
              double fractionLost;
 };
 
@@ -105,19 +125,26 @@ dictionary RTCOutboundRtpStreamStats : R
              DOMString mediaSourceId;
              DOMString senderId;
              DOMString remoteId;
              DOMHighResTimeStamp lastPacketSentTimestamp;
              unsigned long long retransmittedPacketsSent;
              unsigned long long retransmittedBytesSent;
              double targetBitrate;
              unsigned long long totalEncodedBytesTarget;
+             unsigned long frameWidth;
+             unsigned long frameHeight;
+             double framesPerSecond;
+             unsigned long framesSent;
+             unsigned long hugeFramesSent;
              unsigned long framesEncoded;
              unsigned long keyFramesEncoded;
              unsigned long long qpSum;
+             unsigned long long totalSamplesSent;
+             boolean voiceActivityFlag;
              double totalEncodeTime;
              double totalPacketSendDelay;
              double averageRtcpInterval;
              RTCQualityLimitationReason qualityLimitationReason;
              record<DOMString, double> qualityLimitationDurations;
              record<USVString, unsigned long> perDscpPacketsSent;
              unsigned long nackCount;
              unsigned long firCount;
@@ -141,16 +168,18 @@ dictionary RTCMediaSourceStats : RTCStat
              DOMString trackIdentifier;
              DOMString kind;
 };
 
 dictionary RTCAudioSourceStats : RTCMediaSourceStats {
               double audioLevel;
               double totalAudioEnergy;
               double totalSamplesDuration;
+              double echoReturnLoss;
+              double echoReturnLossEnhancement;
 };
 
 dictionary RTCVideoSourceStats : RTCMediaSourceStats {
              unsigned long width;
              unsigned long height;
              unsigned long frames;
              unsigned long framesPerSecond;
 };
@@ -178,69 +207,39 @@ dictionary RTCMediaHandlerStats : RTCSta
              DOMString trackIdentifier;
              boolean remoteSource;
              boolean ended;
              DOMString kind;
              RTCPriorityType priority;
 };
 
 dictionary RTCVideoHandlerStats : RTCMediaHandlerStats {
-             unsigned long frameWidth;
-             unsigned long frameHeight;
-             double framesPerSecond;
 };
 
 dictionary RTCVideoSenderStats : RTCVideoHandlerStats {
              DOMString mediaSourceId;
-             unsigned long framesCaptured;
-             unsigned long framesSent;
-             unsigned long hugeFramesSent;
 };
 
 dictionary RTCSenderVideoTrackAttachmentStats : RTCVideoSenderStats {
 };
 
 dictionary RTCVideoReceiverStats : RTCVideoHandlerStats {
-             DOMHighResTimeStamp estimatedPlayoutTimestamp;
-             double jitterBufferDelay;
-             unsigned long long jitterBufferEmittedCount;
-             unsigned long framesReceived;
-             unsigned long framesDecoded;
-             unsigned long framesDropped;
-             unsigned long partialFramesLost;
-             unsigned long fullFramesLost;
 };
 
 dictionary RTCAudioHandlerStats : RTCMediaHandlerStats {
-             boolean voiceActivityFlag;
 };
 
 dictionary RTCAudioSenderStats : RTCAudioHandlerStats {
              DOMString mediaSourceId;
-             double echoReturnLoss;
-             double echoReturnLossEnhancement;
-             unsigned long long totalSamplesSent;
 };
 
 dictionary RTCSenderAudioTrackAttachmentStats : RTCAudioSenderStats {
 };
 
 dictionary RTCAudioReceiverStats : RTCAudioHandlerStats {
-             DOMHighResTimeStamp estimatedPlayoutTimestamp;
-             double jitterBufferDelay;
-             unsigned long long jitterBufferEmittedCount;
-             unsigned long long totalSamplesReceived;
-             unsigned long long concealedSamples;
-             unsigned long long silentConcealedSamples;
-             unsigned long long concealmentEvents;
-             unsigned long long insertedSamplesForDeceleration;
-             unsigned long long removedSamplesForAcceleration;
-             double audioLevel;
-             double totalAudioEnergy;
-             double totalSamplesDuration;
 };
 
 dictionary RTCDataChannelStats : RTCStats {
              DOMString label;
              DOMString protocol;
              long dataChannelIdentifier;
              DOMString transportId;
              RTCDataChannelState state;
@@ -362,17 +361,56 @@ partial dictionary RTCRtpStreamStats {
 partial dictionary RTCInboundRtpStreamStats {
           double fractionLost;
 };
 
 partial dictionary RTCAudioHandlerStats {
             double audioLevel;
             double totalAudioEnergy;
             double totalSamplesDuration;
+            boolean voiceActivityFlag;
+};
+
+partial dictionary RTCAudioSenderStats {
+            unsigned long long totalSamplesSent;
+            double echoReturnLoss;
+            double echoReturnLossEnhancement;
+};
+
+partial dictionary RTCAudioReceiverStats {
+            DOMHighResTimeStamp estimatedPlayoutTimestamp;
+            double jitterBufferDelay;
+            unsigned long long jitterBufferEmittedCount;
+            unsigned long long totalSamplesReceived;
+            unsigned long long concealedSamples;
+            unsigned long long silentConcealedSamples;
+            unsigned long long concealmentEvents;
+            unsigned long long insertedSamplesForDeceleration;
+            unsigned long long removedSamplesForAcceleration;
+            double audioLevel;
+            double totalAudioEnergy;
+            double totalSamplesDuration;
+};
+
+partial dictionary RTCVideoHandlerStats {
+          unsigned long frameWidth;
+          unsigned long frameHeight;
+          double framesPerSecond;
 };
 
 partial dictionary RTCVideoSenderStats {
           unsigned long keyFramesSent;
+          unsigned long framesCaptured;
+          unsigned long framesSent;
+          unsigned long hugeFramesSent;
 };
 
 partial dictionary RTCVideoReceiverStats {
           unsigned long keyFramesReceived;
+          DOMHighResTimeStamp estimatedPlayoutTimestamp;
+          double jitterBufferDelay;
+          unsigned long long jitterBufferEmittedCount;
+          unsigned long framesReceived;
+          unsigned long framesDecoded;
+          unsigned long framesDropped;
+          unsigned long partialFramesLost;
+          unsigned long fullFramesLost;
 };