@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.
@@ -38,7 +38,7 @@ import {
38
38
  useRoomLayoutHeader,
39
39
  useSidepaneToggle,
40
40
  useTheme
41
- } from "./chunk-GTJZFIWX.js";
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-QBQRHXK4.js.map
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 {};