@100mslive/roomkit-react 0.3.14-alpha.5 → 0.3.14-alpha.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Diagnostics/BrowserTest.d.ts +5 -0
- package/dist/Diagnostics/components.d.ts +2 -0
- package/dist/{HLSView-AV4CONPM.js → HLSView-RRYP5FV5.js} +2 -2
- package/dist/{HLSView-HMJGKVNU.css → HLSView-YIIBVIYC.css} +3 -3
- package/dist/{HLSView-HMJGKVNU.css.map → HLSView-YIIBVIYC.css.map} +1 -1
- package/dist/Prebuilt/App.d.ts +1 -2
- package/dist/{chunk-W6E3MUWX.js → chunk-DR5OAQOV.js} +846 -787
- package/dist/chunk-DR5OAQOV.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +811 -752
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +28 -28
- package/dist/meta.esbuild.json +38 -38
- package/package.json +7 -7
- package/src/Diagnostics/AudioTest.tsx +55 -41
- package/src/Diagnostics/BrowserTest.tsx +9 -4
- package/src/Diagnostics/ConnectivityTest.tsx +5 -2
- package/src/Diagnostics/Diagnostics.tsx +11 -10
- package/src/Diagnostics/VideoTest.tsx +3 -3
- package/src/Diagnostics/components.tsx +12 -0
- package/src/Prebuilt/App.tsx +1 -9
- package/dist/chunk-W6E3MUWX.js.map +0 -7
- /package/dist/{HLSView-AV4CONPM.js.map → HLSView-RRYP5FV5.js.map} +0 -0
package/src/Prebuilt/App.tsx
CHANGED
@@ -1,10 +1,5 @@
|
|
1
1
|
import React, { MutableRefObject, useEffect, useRef } from 'react';
|
2
|
-
import {
|
3
|
-
HMSDiagnosticsInterface,
|
4
|
-
HMSStatsStoreWrapper,
|
5
|
-
HMSStoreWrapper,
|
6
|
-
IHMSNotifications,
|
7
|
-
} from '@100mslive/hms-video-store';
|
2
|
+
import { HMSStatsStoreWrapper, HMSStoreWrapper, IHMSNotifications } from '@100mslive/hms-video-store';
|
8
3
|
import { Layout, Logo, Screens, Theme, Typography } from '@100mslive/types-prebuilt';
|
9
4
|
import { match } from 'ts-pattern';
|
10
5
|
import {
|
@@ -85,7 +80,6 @@ export type HMSPrebuiltRefType = {
|
|
85
80
|
hmsStore: HMSStoreWrapper;
|
86
81
|
hmsStats: HMSStatsStoreWrapper;
|
87
82
|
hmsNotifications: IHMSNotifications;
|
88
|
-
hmsDiagnostics: HMSDiagnosticsInterface;
|
89
83
|
};
|
90
84
|
|
91
85
|
export const HMSPrebuilt = React.forwardRef<HMSPrebuiltRefType, HMSPrebuiltProps>(
|
@@ -115,7 +109,6 @@ export const HMSPrebuilt = React.forwardRef<HMSPrebuiltRefType, HMSPrebuiltProps
|
|
115
109
|
const hmsActions = hms.getActions();
|
116
110
|
const hmsNotifications = hms.getNotifications();
|
117
111
|
const hmsStats = hms.getStats();
|
118
|
-
const hmsDiagnostics = hms.getDiagnosticsSDK();
|
119
112
|
hms.triggerOnSubscribe();
|
120
113
|
|
121
114
|
reactiveStore.current = {
|
@@ -123,7 +116,6 @@ export const HMSPrebuilt = React.forwardRef<HMSPrebuiltRefType, HMSPrebuiltProps
|
|
123
116
|
hmsStats,
|
124
117
|
hmsStore,
|
125
118
|
hmsNotifications,
|
126
|
-
hmsDiagnostics,
|
127
119
|
};
|
128
120
|
}, []);
|
129
121
|
|