@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.
- package/compression.js +7 -0
- 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
|
+
};
|