PageRenderTime 43ms CodeModel.GetById 9ms RepoModel.GetById 1ms app.codeStats 0ms

/third_party/blink/web_tests/external/wpt/interfaces/webrtc-stats.idl

http://github.com/chromium/chromium
IDL | 363 lines | 326 code | 33 blank | 4 comment | 0 complexity | 61c0369bb850565447ef3d401223246b MD5 | raw file
Possible License(s): Apache-2.0, LGPL-2.0, BSD-2-Clause, LGPL-2.1, MPL-2.0, 0BSD, EPL-1.0, MPL-2.0-no-copyleft-exception, GPL-2.0, BitTorrent-1.0, CPL-1.0, LGPL-3.0, Unlicense, BSD-3-Clause, CC0-1.0, JSON, MIT, GPL-3.0, CC-BY-SA-3.0, AGPL-1.0
  1. // GENERATED CONTENT - DO NOT EDIT
  2. // Content was automatically extracted by Reffy into reffy-reports
  3. // (https://github.com/tidoust/reffy-reports)
  4. // Source: Identifiers for WebRTC's Statistics API (https://w3c.github.io/webrtc-stats/)
  5. enum RTCStatsType {
  6. "codec",
  7. "inbound-rtp",
  8. "outbound-rtp",
  9. "remote-inbound-rtp",
  10. "remote-outbound-rtp",
  11. "media-source",
  12. "csrc",
  13. "peer-connection",
  14. "data-channel",
  15. "stream",
  16. "track",
  17. "transceiver",
  18. "sender",
  19. "receiver",
  20. "transport",
  21. "sctp-transport",
  22. "candidate-pair",
  23. "local-candidate",
  24. "remote-candidate",
  25. "certificate",
  26. "ice-server"
  27. };
  28. dictionary RTCRtpStreamStats : RTCStats {
  29. required unsigned long ssrc;
  30. required DOMString kind;
  31. DOMString transportId;
  32. DOMString codecId;
  33. };
  34. dictionary RTCCodecStats : RTCStats {
  35. required unsigned long payloadType;
  36. RTCCodecType codecType;
  37. required DOMString transportId;
  38. required DOMString mimeType;
  39. unsigned long clockRate;
  40. unsigned long channels;
  41. DOMString sdpFmtpLine;
  42. };
  43. enum RTCCodecType {
  44. "encode",
  45. "decode",
  46. };
  47. dictionary RTCReceivedRtpStreamStats : RTCRtpStreamStats {
  48. unsigned long long packetsReceived;
  49. long long packetsLost;
  50. double jitter;
  51. unsigned long long packetsDiscarded;
  52. unsigned long long packetsRepaired;
  53. unsigned long long burstPacketsLost;
  54. unsigned long long burstPacketsDiscarded;
  55. unsigned long burstLossCount;
  56. unsigned long burstDiscardCount;
  57. double burstLossRate;
  58. double burstDiscardRate;
  59. double gapLossRate;
  60. double gapDiscardRate;
  61. unsigned long framesDropped;
  62. unsigned long partialFramesLost;
  63. unsigned long fullFramesLost;
  64. };
  65. dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
  66. required DOMString receiverId;
  67. DOMString remoteId;
  68. unsigned long framesDecoded;
  69. unsigned long keyFramesDecoded;
  70. unsigned long frameWidth;
  71. unsigned long frameHeight;
  72. unsigned long frameBitDepth;
  73. double framesPerSecond;
  74. unsigned long long qpSum;
  75. double totalDecodeTime;
  76. double totalInterFrameDelay;
  77. double totalSquaredInterFrameDelay;
  78. boolean voiceActivityFlag;
  79. DOMHighResTimeStamp lastPacketReceivedTimestamp;
  80. double averageRtcpInterval;
  81. unsigned long long headerBytesReceived;
  82. unsigned long long fecPacketsReceived;
  83. unsigned long long fecPacketsDiscarded;
  84. unsigned long long bytesReceived;
  85. unsigned long long packetsFailedDecryption;
  86. unsigned long long packetsDuplicated;
  87. record<USVString, unsigned long long> perDscpPacketsReceived;
  88. unsigned long nackCount;
  89. unsigned long firCount;
  90. unsigned long pliCount;
  91. unsigned long sliCount;
  92. DOMHighResTimeStamp estimatedPlayoutTimestamp;
  93. double jitterBufferDelay;
  94. unsigned long long jitterBufferEmittedCount;
  95. unsigned long long totalSamplesReceived;
  96. unsigned long long samplesDecodedWithSilk;
  97. unsigned long long samplesDecodedWithCelt;
  98. unsigned long long concealedSamples;
  99. unsigned long long silentConcealedSamples;
  100. unsigned long long concealmentEvents;
  101. unsigned long long insertedSamplesForDeceleration;
  102. unsigned long long removedSamplesForAcceleration;
  103. double audioLevel;
  104. double totalAudioEnergy;
  105. double totalSamplesDuration;
  106. unsigned long framesReceived;
  107. DOMString decoderImplementation;
  108. };
  109. dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
  110. DOMString localId;
  111. double roundTripTime;
  112. double totalRoundTripTime;
  113. double fractionLost;
  114. unsigned long long reportsReceived;
  115. unsigned long long roundTripTimeMeasurements;
  116. };
  117. dictionary RTCSentRtpStreamStats : RTCRtpStreamStats {
  118. unsigned long packetsSent;
  119. unsigned long long bytesSent;
  120. };
  121. dictionary RTCOutboundRtpStreamStats : RTCSentRtpStreamStats {
  122. unsigned long rtxSsrc;
  123. DOMString mediaSourceId;
  124. DOMString senderId;
  125. DOMString remoteId;
  126. DOMString rid;
  127. DOMHighResTimeStamp lastPacketSentTimestamp;
  128. unsigned long long headerBytesSent;
  129. unsigned long packetsDiscardedOnSend;
  130. unsigned long long bytesDiscardedOnSend;
  131. unsigned long fecPacketsSent;
  132. unsigned long long retransmittedPacketsSent;
  133. unsigned long long retransmittedBytesSent;
  134. double targetBitrate;
  135. unsigned long long totalEncodedBytesTarget;
  136. unsigned long frameWidth;
  137. unsigned long frameHeight;
  138. unsigned long frameBitDepth;
  139. double framesPerSecond;
  140. unsigned long framesSent;
  141. unsigned long hugeFramesSent;
  142. unsigned long framesEncoded;
  143. unsigned long keyFramesEncoded;
  144. unsigned long framesDiscardedOnSend;
  145. unsigned long long qpSum;
  146. unsigned long long totalSamplesSent;
  147. unsigned long long samplesEncodedWithSilk;
  148. unsigned long long samplesEncodedWithCelt;
  149. boolean voiceActivityFlag;
  150. double totalEncodeTime;
  151. double totalPacketSendDelay;
  152. double averageRtcpInterval;
  153. RTCQualityLimitationReason qualityLimitationReason;
  154. record<DOMString, double> qualityLimitationDurations;
  155. unsigned long qualityLimitationResolutionChanges;
  156. record<USVString, unsigned long long> perDscpPacketsSent;
  157. unsigned long nackCount;
  158. unsigned long firCount;
  159. unsigned long pliCount;
  160. unsigned long sliCount;
  161. DOMString encoderImplementation;
  162. };
  163. enum RTCQualityLimitationReason {
  164. "none",
  165. "cpu",
  166. "bandwidth",
  167. "other",
  168. };
  169. dictionary RTCRemoteOutboundRtpStreamStats : RTCSentRtpStreamStats {
  170. DOMString localId;
  171. DOMHighResTimeStamp remoteTimestamp;
  172. unsigned long long reportsSent;
  173. };
  174. dictionary RTCMediaSourceStats : RTCStats {
  175. required DOMString trackIdentifier;
  176. required DOMString kind;
  177. boolean relayedSource;
  178. };
  179. dictionary RTCAudioSourceStats : RTCMediaSourceStats {
  180. double audioLevel;
  181. double totalAudioEnergy;
  182. double totalSamplesDuration;
  183. double echoReturnLoss;
  184. double echoReturnLossEnhancement;
  185. };
  186. dictionary RTCVideoSourceStats : RTCMediaSourceStats {
  187. unsigned long width;
  188. unsigned long height;
  189. unsigned long bitDepth;
  190. unsigned long frames;
  191. double framesPerSecond;
  192. };
  193. dictionary RTCRtpContributingSourceStats : RTCStats {
  194. required unsigned long contributorSsrc;
  195. required DOMString inboundRtpStreamId;
  196. unsigned long packetsContributedTo;
  197. double audioLevel;
  198. };
  199. dictionary RTCPeerConnectionStats : RTCStats {
  200. unsigned long dataChannelsOpened;
  201. unsigned long dataChannelsClosed;
  202. unsigned long dataChannelsRequested;
  203. unsigned long dataChannelsAccepted;
  204. };
  205. dictionary RTCRtpTransceiverStats : RTCStats {
  206. required DOMString senderId;
  207. required DOMString receiverId;
  208. DOMString mid;
  209. };
  210. dictionary RTCMediaHandlerStats : RTCStats {
  211. DOMString trackIdentifier;
  212. boolean ended;
  213. required DOMString kind;
  214. };
  215. dictionary RTCVideoHandlerStats : RTCMediaHandlerStats {
  216. };
  217. dictionary RTCVideoSenderStats : RTCVideoHandlerStats {
  218. DOMString mediaSourceId;
  219. };
  220. dictionary RTCVideoReceiverStats : RTCVideoHandlerStats {
  221. };
  222. dictionary RTCAudioHandlerStats : RTCMediaHandlerStats {
  223. };
  224. dictionary RTCAudioSenderStats : RTCAudioHandlerStats {
  225. DOMString mediaSourceId;
  226. };
  227. dictionary RTCAudioReceiverStats : RTCAudioHandlerStats {
  228. };
  229. dictionary RTCDataChannelStats : RTCStats {
  230. DOMString label;
  231. DOMString protocol;
  232. unsigned short dataChannelIdentifier;
  233. required DOMString transportId;
  234. required RTCDataChannelState state;
  235. unsigned long messagesSent;
  236. unsigned long long bytesSent;
  237. unsigned long messagesReceived;
  238. unsigned long long bytesReceived;
  239. };
  240. dictionary RTCTransportStats : RTCStats {
  241. unsigned long long packetsSent;
  242. unsigned long long packetsReceived;
  243. unsigned long long bytesSent;
  244. unsigned long long bytesReceived;
  245. DOMString rtcpTransportStatsId;
  246. RTCIceRole iceRole;
  247. DOMString iceLocalUsernameFragment;
  248. required RTCDtlsTransportState dtlsState;
  249. RTCIceTransportState iceState;
  250. DOMString selectedCandidatePairId;
  251. DOMString localCertificateId;
  252. DOMString remoteCertificateId;
  253. DOMString tlsVersion;
  254. DOMString dtlsCipher;
  255. DOMString srtpCipher;
  256. DOMString tlsGroup;
  257. unsigned long selectedCandidatePairChanges;
  258. };
  259. dictionary RTCSctpTransportStats : RTCStats {
  260. double smoothedRoundTripTime;
  261. unsigned long congestionWindow;
  262. unsigned long receiverWindow;
  263. unsigned long mtu;
  264. unsigned long unackData;
  265. };
  266. dictionary RTCIceCandidateStats : RTCStats {
  267. required DOMString transportId;
  268. DOMString? address;
  269. long port;
  270. DOMString protocol;
  271. required RTCIceCandidateType candidateType;
  272. long priority;
  273. DOMString url;
  274. DOMString relayProtocol;
  275. };
  276. dictionary RTCIceCandidatePairStats : RTCStats {
  277. required DOMString transportId;
  278. required DOMString localCandidateId;
  279. required DOMString remoteCandidateId;
  280. required RTCStatsIceCandidatePairState state;
  281. boolean nominated;
  282. unsigned long long packetsSent;
  283. unsigned long long packetsReceived;
  284. unsigned long long bytesSent;
  285. unsigned long long bytesReceived;
  286. DOMHighResTimeStamp lastPacketSentTimestamp;
  287. DOMHighResTimeStamp lastPacketReceivedTimestamp;
  288. DOMHighResTimeStamp firstRequestTimestamp;
  289. DOMHighResTimeStamp lastRequestTimestamp;
  290. DOMHighResTimeStamp lastResponseTimestamp;
  291. double totalRoundTripTime;
  292. double currentRoundTripTime;
  293. double availableOutgoingBitrate;
  294. double availableIncomingBitrate;
  295. unsigned long circuitBreakerTriggerCount;
  296. unsigned long long requestsReceived;
  297. unsigned long long requestsSent;
  298. unsigned long long responsesReceived;
  299. unsigned long long responsesSent;
  300. unsigned long long retransmissionsReceived;
  301. unsigned long long retransmissionsSent;
  302. unsigned long long consentRequestsSent;
  303. DOMHighResTimeStamp consentExpiredTimestamp;
  304. unsigned long packetsDiscardedOnSend;
  305. unsigned long long bytesDiscardedOnSend;
  306. unsigned long long requestBytesSent;
  307. unsigned long long consentRequestBytesSent;
  308. unsigned long long responseBytesSent;
  309. };
  310. enum RTCStatsIceCandidatePairState {
  311. "frozen",
  312. "waiting",
  313. "in-progress",
  314. "failed",
  315. "succeeded"
  316. };
  317. dictionary RTCCertificateStats : RTCStats {
  318. required DOMString fingerprint;
  319. required DOMString fingerprintAlgorithm;
  320. required DOMString base64Certificate;
  321. DOMString issuerCertificateId;
  322. };
  323. dictionary RTCIceServerStats : RTCStats {
  324. required DOMString url;
  325. long port;
  326. DOMString relayProtocol;
  327. unsigned long totalRequestsSent;
  328. unsigned long totalResponsesReceived;
  329. double totalRoundTripTime;
  330. };