@vpalmisano/webrtcperf 4.0.17 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vpalmisano/webrtcperf",
3
- "version": "4.0.17",
3
+ "version": "4.1.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/vpalmisano/webrtcperf.git"
@@ -55,7 +55,7 @@
55
55
  "dependencies": {
56
56
  "@puppeteer/browsers": "^2.8.0",
57
57
  "@vpalmisano/throttler": "0.0.8",
58
- "@vpalmisano/webrtcperf-js": "1.0.15",
58
+ "@vpalmisano/webrtcperf-js": "1.1.3",
59
59
  "axios": "^1.8.4",
60
60
  "chalk": "^4.1.2",
61
61
  "change-case": "^4.1.2",
package/src/rtcstats.ts CHANGED
@@ -254,6 +254,7 @@ export enum RtcStatsMetricNames {
254
254
  audioRecvConcealmentEvents = 'audioRecvConcealmentEvents',
255
255
  audioRecvInsertedSamplesForDeceleration = 'audioRecvInsertedSamplesForDeceleration',
256
256
  audioRecvRemovedSamplesForAcceleration = 'audioRecvRemovedSamplesForAcceleration',
257
+ audioRecvEndToEndDelay = 'audioRecvEndToEndDelay',
257
258
  // inbound video,
258
259
  videoRecvCodec = 'videoRecvCodec',
259
260
  videoFirCountSent = 'videoFirCountSent',
@@ -278,6 +279,7 @@ export enum RtcStatsMetricNames {
278
279
  videoRecvFrameRate = 'videoRecvFrameRate',
279
280
  //'videoTotalDecodeTime',
280
281
  videoTotalFreezesDuration = 'videoTotalFreezesDuration',
282
+ videoRecvEndToEndDelay = 'videoRecvEndToEndDelay',
281
283
  // inbound screen,
282
284
  screenRecvCodec = 'screenRecvCodec',
283
285
  screenFirCountSent = 'screenFirCountSent',
@@ -302,7 +304,7 @@ export enum RtcStatsMetricNames {
302
304
  screenRecvFrameRate = 'screenRecvFrameRate',
303
305
  //'screenTotalDecodeTime',
304
306
  screenTotalFreezesDuration = 'screenTotalFreezesDuration',
305
-
307
+ screenRecvEndToEndDelay = 'screenRecvEndToEndDelay',
306
308
  /** The transport availableOutgoingBitrate stat. */
307
309
  transportSentAvailableOutgoingBitrate = 'transportSentAvailableOutgoingBitrate',
308
310
  }
@@ -416,6 +418,7 @@ export function updateRtcStats(
416
418
  setStats(stats, (prefix + 'RecvPacketsLossRate') as RtcStatsMetricNames, key, inboundRtp.packetsLossRate)
417
419
  setStats(stats, (prefix + 'RecvLostPackets') as RtcStatsMetricNames, key, inboundRtp.packetsLost)
418
420
  setStats(stats, (prefix + 'RecvNackCountSent') as RtcStatsMetricNames, key, inboundRtp.nackCount)
421
+ setStats(stats, (prefix + 'RecvEndToEndDelay') as RtcStatsMetricNames, key, inboundRtp.endToEndDelay)
419
422
  if (inboundRtp.kind === 'audio') {
420
423
  ;[
421
424
  'audioLevel',