@100mslive/roomkit-react 0.3.5-alpha.0 → 0.3.5-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-GF23J3TJ.js → HLSView-YAR57OPP.js} +2 -2
- package/dist/{chunk-7O27GQEH.js → chunk-MXPCXPZQ.js} +26 -24
- package/dist/{chunk-7O27GQEH.js.map → chunk-MXPCXPZQ.js.map} +3 -3
- package/dist/index.cjs.js +18 -17
- package/dist/index.cjs.js.map +2 -2
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +10 -10
- package/dist/meta.esbuild.json +18 -18
- package/package.json +6 -6
- package/src/Prebuilt/components/Chat/ChatSelector.tsx +4 -1
- package/src/Prebuilt/components/Connection/ConnectionIndicator.tsx +3 -2
- package/src/Prebuilt/components/Footer/ParticipantList.tsx +1 -1
- /package/dist/{HLSView-GF23J3TJ.js.map → HLSView-YAR57OPP.js.map} +0 -0
package/dist/index.js
CHANGED
package/dist/meta.cjs.json
CHANGED
@@ -4696,7 +4696,7 @@
|
|
4696
4696
|
"format": "cjs"
|
4697
4697
|
},
|
4698
4698
|
"../hms-video-store/dist/index.js": {
|
4699
|
-
"bytes":
|
4699
|
+
"bytes": 329654,
|
4700
4700
|
"imports": [
|
4701
4701
|
{
|
4702
4702
|
"path": "../../node_modules/reselect/es/index.js",
|
@@ -5873,7 +5873,7 @@
|
|
5873
5873
|
"format": "esm"
|
5874
5874
|
},
|
5875
5875
|
"src/Prebuilt/components/Connection/ConnectionIndicator.tsx": {
|
5876
|
-
"bytes":
|
5876
|
+
"bytes": 3707,
|
5877
5877
|
"imports": [
|
5878
5878
|
{
|
5879
5879
|
"path": "react",
|
@@ -6164,7 +6164,7 @@
|
|
6164
6164
|
"format": "esm"
|
6165
6165
|
},
|
6166
6166
|
"src/Prebuilt/components/Footer/ParticipantList.tsx": {
|
6167
|
-
"bytes":
|
6167
|
+
"bytes": 12898,
|
6168
6168
|
"imports": [
|
6169
6169
|
{
|
6170
6170
|
"path": "react",
|
@@ -8059,7 +8059,7 @@
|
|
8059
8059
|
"format": "esm"
|
8060
8060
|
},
|
8061
8061
|
"src/Prebuilt/components/Chat/ChatSelector.tsx": {
|
8062
|
-
"bytes":
|
8062
|
+
"bytes": 7068,
|
8063
8063
|
"imports": [
|
8064
8064
|
{
|
8065
8065
|
"path": "react",
|
@@ -13785,7 +13785,7 @@
|
|
13785
13785
|
"imports": [],
|
13786
13786
|
"exports": [],
|
13787
13787
|
"inputs": {},
|
13788
|
-
"bytes":
|
13788
|
+
"bytes": 3299924
|
13789
13789
|
},
|
13790
13790
|
"dist/index.cjs.js": {
|
13791
13791
|
"imports": [
|
@@ -16739,7 +16739,7 @@
|
|
16739
16739
|
"entryPoint": "src/index.ts",
|
16740
16740
|
"inputs": {
|
16741
16741
|
"<define:process.env>": {
|
16742
|
-
"bytesInOutput":
|
16742
|
+
"bytesInOutput": 18248
|
16743
16743
|
},
|
16744
16744
|
"src/Theme/base.config.ts": {
|
16745
16745
|
"bytesInOutput": 6104
|
@@ -17306,7 +17306,7 @@
|
|
17306
17306
|
"bytesInOutput": 974
|
17307
17307
|
},
|
17308
17308
|
"src/Prebuilt/components/Connection/ConnectionIndicator.tsx": {
|
17309
|
-
"bytesInOutput":
|
17309
|
+
"bytesInOutput": 4653
|
17310
17310
|
},
|
17311
17311
|
"src/Prebuilt/components/RemoveParticipant.tsx": {
|
17312
17312
|
"bytesInOutput": 1694
|
@@ -17324,7 +17324,7 @@
|
|
17324
17324
|
"bytesInOutput": 2181
|
17325
17325
|
},
|
17326
17326
|
"src/Prebuilt/components/Footer/ParticipantList.tsx": {
|
17327
|
-
"bytesInOutput":
|
17327
|
+
"bytesInOutput": 14891
|
17328
17328
|
},
|
17329
17329
|
"src/Prebuilt/components/Footer/PollsToggle.tsx": {
|
17330
17330
|
"bytesInOutput": 1521
|
@@ -17447,7 +17447,7 @@
|
|
17447
17447
|
"bytesInOutput": 17543
|
17448
17448
|
},
|
17449
17449
|
"src/Prebuilt/components/Chat/ChatSelector.tsx": {
|
17450
|
-
"bytesInOutput":
|
17450
|
+
"bytesInOutput": 8614
|
17451
17451
|
},
|
17452
17452
|
"src/Prebuilt/components/Chat/ChatSelectorContainer.tsx": {
|
17453
17453
|
"bytesInOutput": 6701
|
@@ -17792,7 +17792,7 @@
|
|
17792
17792
|
"bytesInOutput": 2980
|
17793
17793
|
}
|
17794
17794
|
},
|
17795
|
-
"bytes":
|
17795
|
+
"bytes": 1571138
|
17796
17796
|
}
|
17797
17797
|
}
|
17798
17798
|
}
|
package/dist/meta.esbuild.json
CHANGED
@@ -4696,7 +4696,7 @@
|
|
4696
4696
|
"format": "cjs"
|
4697
4697
|
},
|
4698
4698
|
"../hms-video-store/dist/index.js": {
|
4699
|
-
"bytes":
|
4699
|
+
"bytes": 329654,
|
4700
4700
|
"imports": [
|
4701
4701
|
{
|
4702
4702
|
"path": "../../node_modules/reselect/es/index.js",
|
@@ -5873,7 +5873,7 @@
|
|
5873
5873
|
"format": "esm"
|
5874
5874
|
},
|
5875
5875
|
"src/Prebuilt/components/Connection/ConnectionIndicator.tsx": {
|
5876
|
-
"bytes":
|
5876
|
+
"bytes": 3707,
|
5877
5877
|
"imports": [
|
5878
5878
|
{
|
5879
5879
|
"path": "react",
|
@@ -6164,7 +6164,7 @@
|
|
6164
6164
|
"format": "esm"
|
6165
6165
|
},
|
6166
6166
|
"src/Prebuilt/components/Footer/ParticipantList.tsx": {
|
6167
|
-
"bytes":
|
6167
|
+
"bytes": 12898,
|
6168
6168
|
"imports": [
|
6169
6169
|
{
|
6170
6170
|
"path": "react",
|
@@ -8059,7 +8059,7 @@
|
|
8059
8059
|
"format": "esm"
|
8060
8060
|
},
|
8061
8061
|
"src/Prebuilt/components/Chat/ChatSelector.tsx": {
|
8062
|
-
"bytes":
|
8062
|
+
"bytes": 7068,
|
8063
8063
|
"imports": [
|
8064
8064
|
{
|
8065
8065
|
"path": "react",
|
@@ -13790,7 +13790,7 @@
|
|
13790
13790
|
"dist/index.js": {
|
13791
13791
|
"imports": [
|
13792
13792
|
{
|
13793
|
-
"path": "dist/chunk-
|
13793
|
+
"path": "dist/chunk-MXPCXPZQ.js",
|
13794
13794
|
"kind": "import-statement"
|
13795
13795
|
}
|
13796
13796
|
],
|
@@ -13863,16 +13863,16 @@
|
|
13863
13863
|
"inputs": {},
|
13864
13864
|
"bytes": 1822
|
13865
13865
|
},
|
13866
|
-
"dist/HLSView-
|
13866
|
+
"dist/HLSView-YAR57OPP.js.map": {
|
13867
13867
|
"imports": [],
|
13868
13868
|
"exports": [],
|
13869
13869
|
"inputs": {},
|
13870
13870
|
"bytes": 99469
|
13871
13871
|
},
|
13872
|
-
"dist/HLSView-
|
13872
|
+
"dist/HLSView-YAR57OPP.js": {
|
13873
13873
|
"imports": [
|
13874
13874
|
{
|
13875
|
-
"path": "dist/chunk-
|
13875
|
+
"path": "dist/chunk-MXPCXPZQ.js",
|
13876
13876
|
"kind": "import-statement"
|
13877
13877
|
},
|
13878
13878
|
{
|
@@ -14108,13 +14108,13 @@
|
|
14108
14108
|
},
|
14109
14109
|
"bytes": 61339
|
14110
14110
|
},
|
14111
|
-
"dist/chunk-
|
14111
|
+
"dist/chunk-MXPCXPZQ.js.map": {
|
14112
14112
|
"imports": [],
|
14113
14113
|
"exports": [],
|
14114
14114
|
"inputs": {},
|
14115
|
-
"bytes":
|
14115
|
+
"bytes": 3195905
|
14116
14116
|
},
|
14117
|
-
"dist/chunk-
|
14117
|
+
"dist/chunk-MXPCXPZQ.js": {
|
14118
14118
|
"imports": [
|
14119
14119
|
{
|
14120
14120
|
"path": "react",
|
@@ -16507,7 +16507,7 @@
|
|
16507
16507
|
"external": true
|
16508
16508
|
},
|
16509
16509
|
{
|
16510
|
-
"path": "dist/HLSView-
|
16510
|
+
"path": "dist/HLSView-YAR57OPP.js",
|
16511
16511
|
"kind": "dynamic-import"
|
16512
16512
|
},
|
16513
16513
|
{
|
@@ -16988,7 +16988,7 @@
|
|
16988
16988
|
],
|
16989
16989
|
"inputs": {
|
16990
16990
|
"<define:process.env>": {
|
16991
|
-
"bytesInOutput":
|
16991
|
+
"bytesInOutput": 18248
|
16992
16992
|
},
|
16993
16993
|
"../../node_modules/lodash/lodash.js": {
|
16994
16994
|
"bytesInOutput": 224300
|
@@ -17528,10 +17528,10 @@
|
|
17528
17528
|
"bytesInOutput": 1445
|
17529
17529
|
},
|
17530
17530
|
"src/Prebuilt/components/Footer/ParticipantList.tsx": {
|
17531
|
-
"bytesInOutput":
|
17531
|
+
"bytesInOutput": 12161
|
17532
17532
|
},
|
17533
17533
|
"src/Prebuilt/components/Connection/ConnectionIndicator.tsx": {
|
17534
|
-
"bytesInOutput":
|
17534
|
+
"bytesInOutput": 3876
|
17535
17535
|
},
|
17536
17536
|
"src/Prebuilt/components/Connection/connectionQualityUtils.js": {
|
17537
17537
|
"bytesInOutput": 700
|
@@ -17690,7 +17690,7 @@
|
|
17690
17690
|
"bytesInOutput": 5318
|
17691
17691
|
},
|
17692
17692
|
"src/Prebuilt/components/Chat/ChatSelector.tsx": {
|
17693
|
-
"bytesInOutput":
|
17693
|
+
"bytesInOutput": 7066
|
17694
17694
|
},
|
17695
17695
|
"src/Prebuilt/components/AppData/useChatState.js": {
|
17696
17696
|
"bytesInOutput": 666
|
@@ -17720,7 +17720,7 @@
|
|
17720
17720
|
"bytesInOutput": 6608
|
17721
17721
|
},
|
17722
17722
|
"src/Prebuilt/components/Connection/TileConnection.tsx": {
|
17723
|
-
"bytesInOutput":
|
17723
|
+
"bytesInOutput": 2404
|
17724
17724
|
},
|
17725
17725
|
"src/Prebuilt/components/TileMenu/TileMenu.tsx": {
|
17726
17726
|
"bytesInOutput": 4507
|
@@ -17948,7 +17948,7 @@
|
|
17948
17948
|
"bytesInOutput": 651
|
17949
17949
|
}
|
17950
17950
|
},
|
17951
|
-
"bytes":
|
17951
|
+
"bytes": 1309377
|
17952
17952
|
}
|
17953
17953
|
}
|
17954
17954
|
}
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.3.5-alpha.
|
13
|
+
"version": "0.3.5-alpha.1",
|
14
14
|
"author": "100ms",
|
15
15
|
"license": "MIT",
|
16
16
|
"repository": {
|
@@ -82,11 +82,11 @@
|
|
82
82
|
"react": ">=17.0.2 <19.0.0"
|
83
83
|
},
|
84
84
|
"dependencies": {
|
85
|
-
"@100mslive/hls-player": "0.3.5-alpha.
|
85
|
+
"@100mslive/hls-player": "0.3.5-alpha.1",
|
86
86
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
87
|
-
"@100mslive/hms-virtual-background": "1.13.5-alpha.
|
88
|
-
"@100mslive/react-icons": "0.10.5-alpha.
|
89
|
-
"@100mslive/react-sdk": "0.10.5-alpha.
|
87
|
+
"@100mslive/hms-virtual-background": "1.13.5-alpha.1",
|
88
|
+
"@100mslive/react-icons": "0.10.5-alpha.1",
|
89
|
+
"@100mslive/react-sdk": "0.10.5-alpha.1",
|
90
90
|
"@100mslive/types-prebuilt": "0.12.8",
|
91
91
|
"@emoji-mart/data": "^1.0.6",
|
92
92
|
"@emoji-mart/react": "^1.0.1",
|
@@ -122,5 +122,5 @@
|
|
122
122
|
"uuid": "^8.3.2",
|
123
123
|
"worker-timers": "^7.0.40"
|
124
124
|
},
|
125
|
-
"gitHead": "
|
125
|
+
"gitHead": "cbc32d4a832f2752887e91de078493454a49d69f"
|
126
126
|
}
|
@@ -2,6 +2,7 @@ import React, { useMemo, useState } from 'react';
|
|
2
2
|
import { useMedia } from 'react-use';
|
3
3
|
import {
|
4
4
|
HMSPeer,
|
5
|
+
HMSPeerType,
|
5
6
|
selectMessagesUnreadCountByPeerID,
|
6
7
|
selectMessagesUnreadCountByRole,
|
7
8
|
selectRemotePeers,
|
@@ -158,7 +159,9 @@ const VirtualizedSelectItemList = ({
|
|
158
159
|
() =>
|
159
160
|
peers.filter(
|
160
161
|
// search should be empty or search phrase should be included in name
|
161
|
-
peer =>
|
162
|
+
peer =>
|
163
|
+
(!searchValue || peer.name.toLowerCase().includes(searchValue.toLowerCase())) &&
|
164
|
+
peer.type !== HMSPeerType.SIP,
|
162
165
|
),
|
163
166
|
[peers, searchValue],
|
164
167
|
);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { selectConnectionQualityByPeerID, useHMSStore } from '@100mslive/react-sdk';
|
2
|
+
import { HMSPeerType, selectConnectionQualityByPeerID, selectPeerTypeByID, useHMSStore } from '@100mslive/react-sdk';
|
3
3
|
import { PoorConnectivityIcon } from '@100mslive/react-icons';
|
4
4
|
import { styled, Tooltip, useTheme } from '../../..';
|
5
5
|
// @ts-ignore
|
@@ -32,9 +32,10 @@ export const ConnectionIndicator = ({
|
|
32
32
|
hideBg?: boolean;
|
33
33
|
}) => {
|
34
34
|
const downlinkQuality = useHMSStore(selectConnectionQualityByPeerID(peerId))?.downlinkQuality;
|
35
|
+
const peerType = useHMSStore(selectPeerTypeByID(peerId));
|
35
36
|
const { theme } = useTheme();
|
36
37
|
const defaultColor = theme.colors.on_surface_low;
|
37
|
-
if (downlinkQuality === -1 || downlinkQuality === undefined) {
|
38
|
+
if (downlinkQuality === -1 || downlinkQuality === undefined || peerType === HMSPeerType.SIP) {
|
38
39
|
return null;
|
39
40
|
}
|
40
41
|
if (downlinkQuality === 0) {
|
@@ -295,7 +295,7 @@ const ParticipantActions = React.memo(
|
|
295
295
|
<HandRaisedAccordionParticipantActions peerId={peerId} role={role} />
|
296
296
|
) : (
|
297
297
|
<>
|
298
|
-
|
298
|
+
<ConnectionIndicator peerId={peerId} />
|
299
299
|
{peerType === HMSPeerType.SIP && (
|
300
300
|
<Flex
|
301
301
|
align="center"
|
File without changes
|