@100mslive/roomkit-react 0.3.19-alpha.8 → 0.3.19-alpha.9
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.
- package/dist/{HLSView-Y4ED3H3Z.css → HLSView-5SR3RWXG.css} +3 -3
- package/dist/{HLSView-Y4ED3H3Z.css.map → HLSView-5SR3RWXG.css.map} +1 -1
- package/dist/{HLSView-72N5Y4QP.js → HLSView-EYFJ7YDU.js} +2 -2
- package/dist/{chunk-P323KKZF.js → chunk-3FZB2LJY.js} +5 -5
- package/dist/{chunk-P323KKZF.js.map → chunk-3FZB2LJY.js.map} +2 -2
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +7 -7
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +12 -12
- package/dist/meta.esbuild.json +24 -24
- package/package.json +7 -7
- package/src/Prebuilt/common/PeersSorter.ts +2 -1
- package/src/Prebuilt/plugins/CaptionsViewer.tsx +4 -1
- /package/dist/{HLSView-72N5Y4QP.js.map → HLSView-EYFJ7YDU.js.map} +0 -0
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"prebuilt",
|
|
11
11
|
"roomkit"
|
|
12
12
|
],
|
|
13
|
-
"version": "0.3.19-alpha.
|
|
13
|
+
"version": "0.3.19-alpha.9",
|
|
14
14
|
"author": "100ms",
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"repository": {
|
|
@@ -75,12 +75,12 @@
|
|
|
75
75
|
"react": ">=17.0.2 <19.0.0"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@100mslive/hls-player": "0.3.19-alpha.
|
|
78
|
+
"@100mslive/hls-player": "0.3.19-alpha.9",
|
|
79
79
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
|
80
|
-
"@100mslive/hms-virtual-background": "1.13.19-alpha.
|
|
81
|
-
"@100mslive/hms-whiteboard": "0.0.9-alpha.
|
|
82
|
-
"@100mslive/react-icons": "0.10.19-alpha.
|
|
83
|
-
"@100mslive/react-sdk": "0.10.19-alpha.
|
|
80
|
+
"@100mslive/hms-virtual-background": "1.13.19-alpha.9",
|
|
81
|
+
"@100mslive/hms-whiteboard": "0.0.9-alpha.9",
|
|
82
|
+
"@100mslive/react-icons": "0.10.19-alpha.9",
|
|
83
|
+
"@100mslive/react-sdk": "0.10.19-alpha.9",
|
|
84
84
|
"@100mslive/types-prebuilt": "0.12.12",
|
|
85
85
|
"@emoji-mart/data": "^1.0.6",
|
|
86
86
|
"@emoji-mart/react": "^1.0.1",
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
"uuid": "^8.3.2",
|
|
118
118
|
"worker-timers": "^7.0.40"
|
|
119
119
|
},
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "06c3bff006916b7591f7132e14fcf78d45411c9a"
|
|
121
121
|
}
|
|
@@ -7,13 +7,14 @@ class PeersSorter {
|
|
|
7
7
|
lruPeers: Set<HMSPeerID>;
|
|
8
8
|
tilesPerPage!: number;
|
|
9
9
|
speaker?: HMSPeer;
|
|
10
|
-
listeners: Set<(peers: HMSPeer[]) => void
|
|
10
|
+
listeners: Set<(peers: HMSPeer[]) => void>;
|
|
11
11
|
|
|
12
12
|
constructor(store: IStoreReadOnly<any>) {
|
|
13
13
|
this.store = store;
|
|
14
14
|
this.peers = new Map();
|
|
15
15
|
this.lruPeers = new Set();
|
|
16
16
|
this.speaker = undefined;
|
|
17
|
+
this.listeners = new Set();
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
setPeersAndTilesPerPage = ({ peers, tilesPerPage }: { peers: HMSPeer[]; tilesPerPage: number }) => {
|
|
@@ -144,7 +144,10 @@ class Queue {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
class CaptionMaintainerQueue {
|
|
147
|
-
captionData: Queue
|
|
147
|
+
captionData: Queue;
|
|
148
|
+
constructor() {
|
|
149
|
+
this.captionData = new Queue();
|
|
150
|
+
}
|
|
148
151
|
push(data: HMSTranscript[] = []) {
|
|
149
152
|
data.forEach((value: HMSTranscript) => {
|
|
150
153
|
this.captionData.enqueue(value);
|
|
File without changes
|