@100mslive/roomkit-react 0.3.8 → 0.3.9-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-QBQRHXK4.js → HLSView-SZL2TSWE.js} +2 -2
- package/dist/Stats/useQoE.d.ts +19 -0
- package/dist/{chunk-GTJZFIWX.js → chunk-BKAJ6YG4.js} +143 -104
- package/dist/chunk-BKAJ6YG4.js.map +7 -0
- package/dist/index.cjs.js +2822 -2776
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +67 -13
- package/dist/meta.esbuild.json +70 -16
- package/package.json +6 -6
- package/src/Stats/Stats.tsx +3 -0
- package/src/Stats/useQoE.ts +79 -0
- package/dist/chunk-GTJZFIWX.js.map +0 -7
- /package/dist/{HLSView-QBQRHXK4.js.map → HLSView-SZL2TSWE.js.map} +0 -0
@@ -38,7 +38,7 @@ import {
|
|
38
38
|
useRoomLayoutHeader,
|
39
39
|
useSidepaneToggle,
|
40
40
|
useTheme
|
41
|
-
} from "./chunk-
|
41
|
+
} from "./chunk-BKAJ6YG4.js";
|
42
42
|
|
43
43
|
// src/Prebuilt/layouts/HLSView.jsx
|
44
44
|
init_define_process_env();
|
@@ -1618,4 +1618,4 @@ var HLSView_default = HLSView;
|
|
1618
1618
|
export {
|
1619
1619
|
HLSView_default as default
|
1620
1620
|
};
|
1621
|
-
//# sourceMappingURL=HLSView-
|
1621
|
+
//# sourceMappingURL=HLSView-SZL2TSWE.js.map
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { HMSTrackID } from '@100mslive/react-sdk';
|
2
|
+
interface UseQoEProps {
|
3
|
+
videoTrackID?: HMSTrackID;
|
4
|
+
audioTrackID?: HMSTrackID;
|
5
|
+
isLocal?: boolean;
|
6
|
+
}
|
7
|
+
/**
|
8
|
+
* calculate QoE using 5 params:
|
9
|
+
* p1:freeze_duration_norm
|
10
|
+
* p2:resolution_norm
|
11
|
+
* p3:fps_norm
|
12
|
+
* p4:delay_norm
|
13
|
+
* p5:audio_concealed_norm
|
14
|
+
* the formula is 5*(p1)^3 * (p2)^0.3 * (p3)^0.5 * (p4)^1 * (p5)*2
|
15
|
+
*
|
16
|
+
* https://github.com/100mslive/webrtc-benchmark/blob/daily/sssd.py#L112
|
17
|
+
*/
|
18
|
+
export declare const useQoE: ({ videoTrackID, audioTrackID, isLocal }: UseQoEProps) => string | undefined;
|
19
|
+
export {};
|