@100mslive/roomkit-react 0.3.14-alpha.6 → 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/{HLSView-3BTMB5NS.js → HLSView-RRYP5FV5.js} +2 -2
- package/dist/{HLSView-E4CL2XZ5.css → HLSView-YIIBVIYC.css} +3 -3
- package/dist/{HLSView-E4CL2XZ5.css.map → HLSView-YIIBVIYC.css.map} +1 -1
- package/dist/{chunk-MIJLZRDK.js → chunk-DR5OAQOV.js} +781 -741
- package/dist/{chunk-MIJLZRDK.js.map → chunk-DR5OAQOV.js.map} +4 -4
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +750 -710
- 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 +20 -20
- package/dist/meta.esbuild.json +30 -30
- package/package.json +7 -7
- package/src/Diagnostics/AudioTest.tsx +5 -3
- package/src/Diagnostics/BrowserTest.tsx +9 -4
- package/src/Diagnostics/Diagnostics.tsx +4 -1
- /package/dist/{HLSView-3BTMB5NS.js.map → HLSView-RRYP5FV5.js.map} +0 -0
package/dist/meta.esbuild.json
CHANGED
@@ -4951,7 +4951,7 @@
|
|
4951
4951
|
"format": "cjs"
|
4952
4952
|
},
|
4953
4953
|
"../hms-video-store/dist/index.js": {
|
4954
|
-
"bytes":
|
4954
|
+
"bytes": 355745,
|
4955
4955
|
"imports": [
|
4956
4956
|
{
|
4957
4957
|
"path": "../../node_modules/reselect/es/index.js",
|
@@ -10974,7 +10974,7 @@
|
|
10974
10974
|
],
|
10975
10975
|
"format": "esm"
|
10976
10976
|
},
|
10977
|
-
"../../../../../../../tmp/tmp-
|
10977
|
+
"../../../../../../../tmp/tmp-2777-zkWjkXYni4cX/19035d7bc873/tldraw.css": {
|
10978
10978
|
"bytes": 80111,
|
10979
10979
|
"imports": [
|
10980
10980
|
{
|
@@ -11024,7 +11024,7 @@
|
|
11024
11024
|
}
|
11025
11025
|
]
|
11026
11026
|
},
|
11027
|
-
"../../../../../../../tmp/tmp-
|
11027
|
+
"../../../../../../../tmp/tmp-2777-zkWjkXYni4cX/19035d7bc181/index.css": {
|
11028
11028
|
"bytes": 597,
|
11029
11029
|
"imports": [
|
11030
11030
|
{
|
@@ -11033,7 +11033,7 @@
|
|
11033
11033
|
"external": true
|
11034
11034
|
},
|
11035
11035
|
{
|
11036
|
-
"path": "../../../../../../../tmp/tmp-
|
11036
|
+
"path": "../../../../../../../tmp/tmp-2777-zkWjkXYni4cX/19035d7bc873/tldraw.css",
|
11037
11037
|
"kind": "import-rule",
|
11038
11038
|
"original": "@tldraw/tldraw/tldraw.css"
|
11039
11039
|
}
|
@@ -11108,7 +11108,7 @@
|
|
11108
11108
|
"original": "../../common/constants"
|
11109
11109
|
},
|
11110
11110
|
{
|
11111
|
-
"path": "../../../../../../../tmp/tmp-
|
11111
|
+
"path": "../../../../../../../tmp/tmp-2777-zkWjkXYni4cX/19035d7bc181/index.css",
|
11112
11112
|
"kind": "import-statement",
|
11113
11113
|
"original": "@100mslive/hms-whiteboard/index.css"
|
11114
11114
|
},
|
@@ -14409,7 +14409,7 @@
|
|
14409
14409
|
"format": "esm"
|
14410
14410
|
},
|
14411
14411
|
"src/Diagnostics/AudioTest.tsx": {
|
14412
|
-
"bytes":
|
14412
|
+
"bytes": 5269,
|
14413
14413
|
"imports": [
|
14414
14414
|
{
|
14415
14415
|
"path": "react",
|
@@ -14480,7 +14480,7 @@
|
|
14480
14480
|
"format": "esm"
|
14481
14481
|
},
|
14482
14482
|
"src/Diagnostics/BrowserTest.tsx": {
|
14483
|
-
"bytes":
|
14483
|
+
"bytes": 4184,
|
14484
14484
|
"imports": [
|
14485
14485
|
{
|
14486
14486
|
"path": "react",
|
@@ -14648,7 +14648,7 @@
|
|
14648
14648
|
"format": "esm"
|
14649
14649
|
},
|
14650
14650
|
"src/Diagnostics/Diagnostics.tsx": {
|
14651
|
-
"bytes":
|
14651
|
+
"bytes": 4666,
|
14652
14652
|
"imports": [
|
14653
14653
|
{
|
14654
14654
|
"path": "react",
|
@@ -14961,7 +14961,7 @@
|
|
14961
14961
|
"dist/index.js": {
|
14962
14962
|
"imports": [
|
14963
14963
|
{
|
14964
|
-
"path": "dist/chunk-
|
14964
|
+
"path": "dist/chunk-DR5OAQOV.js",
|
14965
14965
|
"kind": "import-statement"
|
14966
14966
|
}
|
14967
14967
|
],
|
@@ -15037,16 +15037,16 @@
|
|
15037
15037
|
"inputs": {},
|
15038
15038
|
"bytes": 1882
|
15039
15039
|
},
|
15040
|
-
"dist/HLSView-
|
15040
|
+
"dist/HLSView-RRYP5FV5.js.map": {
|
15041
15041
|
"imports": [],
|
15042
15042
|
"exports": [],
|
15043
15043
|
"inputs": {},
|
15044
15044
|
"bytes": 100275
|
15045
15045
|
},
|
15046
|
-
"dist/HLSView-
|
15046
|
+
"dist/HLSView-RRYP5FV5.js": {
|
15047
15047
|
"imports": [
|
15048
15048
|
{
|
15049
|
-
"path": "dist/chunk-
|
15049
|
+
"path": "dist/chunk-DR5OAQOV.js",
|
15050
15050
|
"kind": "import-statement"
|
15051
15051
|
},
|
15052
15052
|
{
|
@@ -15224,7 +15224,7 @@
|
|
15224
15224
|
"default"
|
15225
15225
|
],
|
15226
15226
|
"entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
|
15227
|
-
"cssBundle": "dist/HLSView-
|
15227
|
+
"cssBundle": "dist/HLSView-YIIBVIYC.css",
|
15228
15228
|
"inputs": {
|
15229
15229
|
"src/Prebuilt/layouts/HLSView.jsx": {
|
15230
15230
|
"bytesInOutput": 27671
|
@@ -15283,13 +15283,13 @@
|
|
15283
15283
|
},
|
15284
15284
|
"bytes": 61702
|
15285
15285
|
},
|
15286
|
-
"dist/chunk-
|
15286
|
+
"dist/chunk-DR5OAQOV.js.map": {
|
15287
15287
|
"imports": [],
|
15288
15288
|
"exports": [],
|
15289
15289
|
"inputs": {},
|
15290
|
-
"bytes":
|
15290
|
+
"bytes": 3893083
|
15291
15291
|
},
|
15292
|
-
"dist/chunk-
|
15292
|
+
"dist/chunk-DR5OAQOV.js": {
|
15293
15293
|
"imports": [
|
15294
15294
|
{
|
15295
15295
|
"path": "react",
|
@@ -17772,7 +17772,7 @@
|
|
17772
17772
|
"external": true
|
17773
17773
|
},
|
17774
17774
|
{
|
17775
|
-
"path": "dist/HLSView-
|
17775
|
+
"path": "dist/HLSView-RRYP5FV5.js",
|
17776
17776
|
"kind": "dynamic-import"
|
17777
17777
|
},
|
17778
17778
|
{
|
@@ -18356,7 +18356,7 @@
|
|
18356
18356
|
],
|
18357
18357
|
"inputs": {
|
18358
18358
|
"<define:process.env>": {
|
18359
|
-
"bytesInOutput":
|
18359
|
+
"bytesInOutput": 17870
|
18360
18360
|
},
|
18361
18361
|
"../../node_modules/lodash/lodash.js": {
|
18362
18362
|
"bytesInOutput": 224414
|
@@ -18839,7 +18839,7 @@
|
|
18839
18839
|
"bytesInOutput": 9484
|
18840
18840
|
},
|
18841
18841
|
"../hms-video-store/dist/index.js": {
|
18842
|
-
"bytesInOutput":
|
18842
|
+
"bytesInOutput": 458428
|
18843
18843
|
},
|
18844
18844
|
"../../node_modules/reselect/es/index.js": {
|
18845
18845
|
"bytesInOutput": 2550
|
@@ -19237,7 +19237,7 @@
|
|
19237
19237
|
"src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
|
19238
19238
|
"bytesInOutput": 2797
|
19239
19239
|
},
|
19240
|
-
"../../../../../../../tmp/tmp-
|
19240
|
+
"../../../../../../../tmp/tmp-2777-zkWjkXYni4cX/19035d7bc181/index.css": {
|
19241
19241
|
"bytesInOutput": 0
|
19242
19242
|
},
|
19243
19243
|
"src/Prebuilt/common/PeersSorter.ts": {
|
@@ -19382,7 +19382,7 @@
|
|
19382
19382
|
"bytesInOutput": 27
|
19383
19383
|
},
|
19384
19384
|
"src/Diagnostics/Diagnostics.tsx": {
|
19385
|
-
"bytesInOutput":
|
19385
|
+
"bytesInOutput": 4900
|
19386
19386
|
},
|
19387
19387
|
"src/Diagnostics/components.tsx": {
|
19388
19388
|
"bytesInOutput": 2375
|
@@ -19391,13 +19391,13 @@
|
|
19391
19391
|
"bytesInOutput": 237
|
19392
19392
|
},
|
19393
19393
|
"src/Diagnostics/AudioTest.tsx": {
|
19394
|
-
"bytesInOutput":
|
19394
|
+
"bytesInOutput": 5538
|
19395
19395
|
},
|
19396
19396
|
"src/Diagnostics/DeviceSelector.jsx": {
|
19397
19397
|
"bytesInOutput": 2155
|
19398
19398
|
},
|
19399
19399
|
"src/Diagnostics/BrowserTest.tsx": {
|
19400
|
-
"bytesInOutput":
|
19400
|
+
"bytesInOutput": 4243
|
19401
19401
|
},
|
19402
19402
|
"src/Diagnostics/ConnectivityTest.tsx": {
|
19403
19403
|
"bytesInOutput": 12614
|
@@ -19406,7 +19406,7 @@
|
|
19406
19406
|
"bytesInOutput": 2295
|
19407
19407
|
}
|
19408
19408
|
},
|
19409
|
-
"bytes":
|
19409
|
+
"bytes": 1850795
|
19410
19410
|
},
|
19411
19411
|
"dist/index.css.map": {
|
19412
19412
|
"imports": [],
|
@@ -19468,22 +19468,22 @@
|
|
19468
19468
|
}
|
19469
19469
|
],
|
19470
19470
|
"inputs": {
|
19471
|
-
"../../../../../../../tmp/tmp-
|
19471
|
+
"../../../../../../../tmp/tmp-2777-zkWjkXYni4cX/19035d7bc873/tldraw.css": {
|
19472
19472
|
"bytesInOutput": 75223
|
19473
19473
|
},
|
19474
|
-
"../../../../../../../tmp/tmp-
|
19474
|
+
"../../../../../../../tmp/tmp-2777-zkWjkXYni4cX/19035d7bc181/index.css": {
|
19475
19475
|
"bytesInOutput": 401
|
19476
19476
|
}
|
19477
19477
|
},
|
19478
19478
|
"bytes": 75901
|
19479
19479
|
},
|
19480
|
-
"dist/HLSView-
|
19480
|
+
"dist/HLSView-YIIBVIYC.css.map": {
|
19481
19481
|
"imports": [],
|
19482
19482
|
"exports": [],
|
19483
19483
|
"inputs": {},
|
19484
19484
|
"bytes": 122402
|
19485
19485
|
},
|
19486
|
-
"dist/HLSView-
|
19486
|
+
"dist/HLSView-YIIBVIYC.css": {
|
19487
19487
|
"imports": [
|
19488
19488
|
{
|
19489
19489
|
"path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
|
@@ -19537,10 +19537,10 @@
|
|
19537
19537
|
}
|
19538
19538
|
],
|
19539
19539
|
"inputs": {
|
19540
|
-
"../../../../../../../tmp/tmp-
|
19540
|
+
"../../../../../../../tmp/tmp-2777-zkWjkXYni4cX/19035d7bc873/tldraw.css": {
|
19541
19541
|
"bytesInOutput": 75223
|
19542
19542
|
},
|
19543
|
-
"../../../../../../../tmp/tmp-
|
19543
|
+
"../../../../../../../tmp/tmp-2777-zkWjkXYni4cX/19035d7bc181/index.css": {
|
19544
19544
|
"bytesInOutput": 401
|
19545
19545
|
}
|
19546
19546
|
},
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.3.14-alpha.
|
13
|
+
"version": "0.3.14-alpha.7",
|
14
14
|
"author": "100ms",
|
15
15
|
"license": "MIT",
|
16
16
|
"repository": {
|
@@ -74,12 +74,12 @@
|
|
74
74
|
"react": ">=17.0.2 <19.0.0"
|
75
75
|
},
|
76
76
|
"dependencies": {
|
77
|
-
"@100mslive/hls-player": "0.3.14-alpha.
|
77
|
+
"@100mslive/hls-player": "0.3.14-alpha.7",
|
78
78
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
79
|
-
"@100mslive/hms-virtual-background": "1.13.14-alpha.
|
80
|
-
"@100mslive/hms-whiteboard": "0.0.4-alpha.
|
81
|
-
"@100mslive/react-icons": "0.10.14-alpha.
|
82
|
-
"@100mslive/react-sdk": "0.10.14-alpha.
|
79
|
+
"@100mslive/hms-virtual-background": "1.13.14-alpha.7",
|
80
|
+
"@100mslive/hms-whiteboard": "0.0.4-alpha.7",
|
81
|
+
"@100mslive/react-icons": "0.10.14-alpha.7",
|
82
|
+
"@100mslive/react-sdk": "0.10.14-alpha.7",
|
83
83
|
"@100mslive/types-prebuilt": "0.12.9",
|
84
84
|
"@emoji-mart/data": "^1.0.6",
|
85
85
|
"@emoji-mart/react": "^1.0.1",
|
@@ -115,5 +115,5 @@
|
|
115
115
|
"uuid": "^8.3.2",
|
116
116
|
"worker-timers": "^7.0.40"
|
117
117
|
},
|
118
|
-
"gitHead": "
|
118
|
+
"gitHead": "c57e858bbc09c5b82722610c4ae0fcf200e61161"
|
119
119
|
}
|
@@ -28,11 +28,13 @@ const MicTest = () => {
|
|
28
28
|
const devices = useHMSStore(selectDevices);
|
29
29
|
const [isRecording, setIsRecording] = useState(false);
|
30
30
|
const { audioInputDeviceId } = useHMSStore(selectLocalMediaSettings);
|
31
|
-
const [selectedMic, setSelectedMic] = useState(audioInputDeviceId ||
|
31
|
+
const [selectedMic, setSelectedMic] = useState(audioInputDeviceId || devices.audioInput[0]?.deviceId);
|
32
32
|
const trackID = useHMSStore(selectLocalAudioTrackID);
|
33
33
|
const audioLevel = useHMSStore(selectTrackAudioByID(trackID));
|
34
34
|
const { audioOutputDeviceId } = useHMSStore(selectLocalMediaSettings);
|
35
|
-
const { playing, setPlaying, audioRef } = useAudioOutputTest({
|
35
|
+
const { playing, setPlaying, audioRef } = useAudioOutputTest({
|
36
|
+
deviceId: audioOutputDeviceId || devices.audioOutput[0]?.deviceId,
|
37
|
+
});
|
36
38
|
|
37
39
|
return (
|
38
40
|
<SelectContainer>
|
@@ -120,7 +122,7 @@ const SpeakerTest = () => {
|
|
120
122
|
<DeviceSelector
|
121
123
|
title="Speaker (Output)"
|
122
124
|
devices={devices.audioOutput}
|
123
|
-
selection={audioOutputDeviceId ||
|
125
|
+
selection={audioOutputDeviceId || devices.audioOutput[0]?.deviceId}
|
124
126
|
icon={<SpeakerIcon />}
|
125
127
|
onChange={(deviceId: string) => {
|
126
128
|
actions.setAudioOutputDevice(deviceId);
|
@@ -71,6 +71,11 @@ export const browserTypeIconInfo = {
|
|
71
71
|
val: 'Safari',
|
72
72
|
icon: `${CMS_MEDIA_SERVER}cms/Safari_254e74ed94/Safari_254e74ed94.svg`,
|
73
73
|
},
|
74
|
+
'mobile safari': {
|
75
|
+
key: 'safari',
|
76
|
+
val: 'Safari',
|
77
|
+
icon: `${CMS_MEDIA_SERVER}cms/Safari_254e74ed94/Safari_254e74ed94.svg`,
|
78
|
+
},
|
74
79
|
edge: {
|
75
80
|
key: 'edge',
|
76
81
|
val: 'Edge',
|
@@ -88,11 +93,11 @@ const CheckDetails = ({ title, value, iconURL }: { title: string; value: string;
|
|
88
93
|
<Text css={{ c: '$on_primary_medium', mb: '$6' }}>{title}</Text>
|
89
94
|
<Flex align="center">
|
90
95
|
{iconURL && (
|
91
|
-
<Box css={{ size: '2rem', r: '$round', bg: '$surface_brighter' }}>
|
96
|
+
<Box css={{ size: '2rem', r: '$round', bg: '$surface_brighter', mr: '$4' }}>
|
92
97
|
<img style={{ objectFit: 'contain', width: '2rem' }} src={iconURL} alt={value} />
|
93
98
|
</Box>
|
94
99
|
)}
|
95
|
-
<Text
|
100
|
+
<Text>{value}</Text>
|
96
101
|
</Flex>
|
97
102
|
</Box>
|
98
103
|
);
|
@@ -114,7 +119,7 @@ export const BrowserTest = () => {
|
|
114
119
|
iconURL={
|
115
120
|
parsedUserAgent.getBrowser().name &&
|
116
121
|
browserTypeIconInfo[parsedUserAgent.getBrowser().name?.toLowerCase() as keyof typeof browserTypeIconInfo]
|
117
|
-
|
122
|
+
?.icon
|
118
123
|
}
|
119
124
|
value={`${parsedUserAgent.getBrowser().name} ${parsedUserAgent.getBrowser().version}`}
|
120
125
|
/>
|
@@ -123,7 +128,7 @@ export const BrowserTest = () => {
|
|
123
128
|
iconURL={
|
124
129
|
parsedUserAgent.getOS().name &&
|
125
130
|
operatingSystemIconInfo[parsedUserAgent.getOS().name?.toLowerCase() as keyof typeof operatingSystemIconInfo]
|
126
|
-
|
131
|
+
?.icon
|
127
132
|
}
|
128
133
|
value={`${parsedUserAgent.getOS().name} ${parsedUserAgent.getOS().version}`}
|
129
134
|
/>
|
@@ -88,12 +88,15 @@ const DiagnosticsStepsList = () => {
|
|
88
88
|
const isStepCompleted = activeStepIndex > keyIndex || (activeStep === 'connectivity' && connectivityTested);
|
89
89
|
|
90
90
|
let color = '$on_primary_low';
|
91
|
+
if (activeStep === key) {
|
92
|
+
color = '$on_primary_high';
|
93
|
+
}
|
91
94
|
if (isStepCompleted) {
|
92
95
|
color = '$primary_bright';
|
93
96
|
}
|
94
97
|
|
95
98
|
return (
|
96
|
-
<Flex css={{ mb: '$10', c: color, gap: '$4', alignItems: 'center' }}>
|
99
|
+
<Flex key={key} css={{ mb: '$10', c: color, gap: '$4', alignItems: 'center' }}>
|
97
100
|
{isStepCompleted ? (
|
98
101
|
<CheckCircleIcon width="1rem" height="1rem" />
|
99
102
|
) : (
|
File without changes
|