@100mslive/roomkit-react 0.3.8 → 0.3.9-alpha.1

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