@rtcstats/rtcstats-shared 2.0.2 → 2.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.
Files changed (2) hide show
  1. package/compression.js +7 -0
  2. package/package.json +1 -1
package/compression.js CHANGED
@@ -736,3 +736,10 @@ export function decompressStatsProperty(property) {
736
736
  return reverseStatsPropertyTable[property] || property;
737
737
  }
738
738
 
739
+ // Mapping from compute pressure names to numerical values.
740
+ export const computePressureTable = {
741
+ nominal: 4,
742
+ fair: 3,
743
+ serious: 2,
744
+ critical: 1,
745
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtcstats/rtcstats-shared",
3
- "version": "2.0.2",
3
+ "version": "2.1.0",
4
4
  "main": "index.js",
5
5
  "description": "gather WebRTC API traces and statistics",
6
6
  "type": "module",