@100mslive/roomkit-react 0.2.7-alpha.2 → 0.2.7-alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-DQJBCEW4.js → HLSView-AP53XUDF.js} +2 -2
- package/dist/{chunk-GEXL6KL2.js → chunk-LZKKW4D6.js} +117 -98
- package/dist/chunk-LZKKW4D6.js.map +7 -0
- package/dist/index.cjs.js +114 -97
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +32 -22
- package/dist/meta.esbuild.json +38 -28
- package/package.json +6 -6
- package/src/Prebuilt/components/AppData/useUISettings.js +1 -1
- package/src/Prebuilt/components/AudioVideoToggle.tsx +31 -27
- package/src/Prebuilt/components/Chat/ChatFooter.tsx +6 -2
- package/src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx +4 -8
- package/src/Prebuilt/components/Notifications/Notifications.tsx +15 -2
- package/src/Prebuilt/components/ScreenShareToggle.jsx +5 -3
- package/dist/chunk-GEXL6KL2.js.map +0 -7
- /package/dist/{HLSView-DQJBCEW4.js.map → HLSView-AP53XUDF.js.map} +0 -0
package/dist/index.js
CHANGED
package/dist/meta.cjs.json
CHANGED
@@ -1961,7 +1961,7 @@
|
|
1961
1961
|
"format": "esm"
|
1962
1962
|
},
|
1963
1963
|
"src/Prebuilt/components/AppData/useUISettings.js": {
|
1964
|
-
"bytes":
|
1964
|
+
"bytes": 6029,
|
1965
1965
|
"imports": [
|
1966
1966
|
{
|
1967
1967
|
"path": "react",
|
@@ -2814,7 +2814,7 @@
|
|
2814
2814
|
"format": "esm"
|
2815
2815
|
},
|
2816
2816
|
"src/Prebuilt/components/AudioVideoToggle.tsx": {
|
2817
|
-
"bytes":
|
2817
|
+
"bytes": 9962,
|
2818
2818
|
"imports": [
|
2819
2819
|
{
|
2820
2820
|
"path": "react",
|
@@ -4615,7 +4615,7 @@
|
|
4615
4615
|
"format": "cjs"
|
4616
4616
|
},
|
4617
4617
|
"../hms-video-store/dist/index.js": {
|
4618
|
-
"bytes":
|
4618
|
+
"bytes": 323575,
|
4619
4619
|
"imports": [
|
4620
4620
|
{
|
4621
4621
|
"path": "../../node_modules/reselect/es/index.js",
|
@@ -5598,7 +5598,7 @@
|
|
5598
5598
|
"format": "esm"
|
5599
5599
|
},
|
5600
5600
|
"src/Prebuilt/components/ScreenShareToggle.jsx": {
|
5601
|
-
"bytes":
|
5601
|
+
"bytes": 1754,
|
5602
5602
|
"imports": [
|
5603
5603
|
{
|
5604
5604
|
"path": "react",
|
@@ -5654,6 +5654,11 @@
|
|
5654
5654
|
"path": "<define:process.env>",
|
5655
5655
|
"kind": "import-statement",
|
5656
5656
|
"external": true
|
5657
|
+
},
|
5658
|
+
{
|
5659
|
+
"path": "<runtime>",
|
5660
|
+
"kind": "import-statement",
|
5661
|
+
"external": true
|
5657
5662
|
}
|
5658
5663
|
],
|
5659
5664
|
"format": "esm"
|
@@ -7994,7 +7999,7 @@
|
|
7994
7999
|
"format": "esm"
|
7995
8000
|
},
|
7996
8001
|
"src/Prebuilt/components/Chat/ChatFooter.tsx": {
|
7997
|
-
"bytes":
|
8002
|
+
"bytes": 9288,
|
7998
8003
|
"imports": [
|
7999
8004
|
{
|
8000
8005
|
"path": "react",
|
@@ -11981,7 +11986,7 @@
|
|
11981
11986
|
"format": "esm"
|
11982
11987
|
},
|
11983
11988
|
"src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx": {
|
11984
|
-
"bytes":
|
11989
|
+
"bytes": 1606,
|
11985
11990
|
"imports": [
|
11986
11991
|
{
|
11987
11992
|
"path": "react",
|
@@ -12008,6 +12013,11 @@
|
|
12008
12013
|
"kind": "import-statement",
|
12009
12014
|
"original": "../AppData/useUISettings"
|
12010
12015
|
},
|
12016
|
+
{
|
12017
|
+
"path": "src/Prebuilt/common/constants.ts",
|
12018
|
+
"kind": "import-statement",
|
12019
|
+
"original": "../../common/constants"
|
12020
|
+
},
|
12011
12021
|
{
|
12012
12022
|
"path": "<define:process.env>",
|
12013
12023
|
"kind": "import-statement",
|
@@ -12257,7 +12267,7 @@
|
|
12257
12267
|
"format": "esm"
|
12258
12268
|
},
|
12259
12269
|
"src/Prebuilt/components/Notifications/Notifications.tsx": {
|
12260
|
-
"bytes":
|
12270
|
+
"bytes": 7891,
|
12261
12271
|
"imports": [
|
12262
12272
|
{
|
12263
12273
|
"path": "react",
|
@@ -13183,7 +13193,7 @@
|
|
13183
13193
|
"imports": [],
|
13184
13194
|
"exports": [],
|
13185
13195
|
"inputs": {},
|
13186
|
-
"bytes":
|
13196
|
+
"bytes": 3217019
|
13187
13197
|
},
|
13188
13198
|
"dist/index.cjs.js": {
|
13189
13199
|
"imports": [
|
@@ -15977,7 +15987,7 @@
|
|
15977
15987
|
"entryPoint": "src/index.ts",
|
15978
15988
|
"inputs": {
|
15979
15989
|
"<define:process.env>": {
|
15980
|
-
"bytesInOutput":
|
15990
|
+
"bytesInOutput": 18254
|
15981
15991
|
},
|
15982
15992
|
"src/Theme/base.config.ts": {
|
15983
15993
|
"bytesInOutput": 6104
|
@@ -16244,7 +16254,7 @@
|
|
16244
16254
|
"bytesInOutput": 1087
|
16245
16255
|
},
|
16246
16256
|
"src/Prebuilt/components/AppData/useUISettings.js": {
|
16247
|
-
"bytesInOutput":
|
16257
|
+
"bytesInOutput": 6924
|
16248
16258
|
},
|
16249
16259
|
"src/Prebuilt/components/Settings/common.ts": {
|
16250
16260
|
"bytesInOutput": 445
|
@@ -16265,7 +16275,7 @@
|
|
16265
16275
|
"bytesInOutput": 1552
|
16266
16276
|
},
|
16267
16277
|
"src/Prebuilt/common/utils.js": {
|
16268
|
-
"bytesInOutput":
|
16278
|
+
"bytesInOutput": 3813
|
16269
16279
|
},
|
16270
16280
|
"src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts": {
|
16271
16281
|
"bytesInOutput": 3003
|
@@ -16319,7 +16329,7 @@
|
|
16319
16329
|
"bytesInOutput": 1359
|
16320
16330
|
},
|
16321
16331
|
"src/Prebuilt/components/AudioVideoToggle.tsx": {
|
16322
|
-
"bytesInOutput":
|
16332
|
+
"bytesInOutput": 12588
|
16323
16333
|
},
|
16324
16334
|
"src/Prebuilt/components/Footer/EmojiCard.jsx": {
|
16325
16335
|
"bytesInOutput": 1315
|
@@ -16406,7 +16416,7 @@
|
|
16406
16416
|
"bytesInOutput": 8159
|
16407
16417
|
},
|
16408
16418
|
"../../node_modules/reselect/es/index.js": {
|
16409
|
-
"bytesInOutput":
|
16419
|
+
"bytesInOutput": 2641
|
16410
16420
|
},
|
16411
16421
|
"../../node_modules/ua-parser-js/src/main/ua-parser.mjs": {
|
16412
16422
|
"bytesInOutput": 48479
|
@@ -16418,7 +16428,7 @@
|
|
16418
16428
|
"bytesInOutput": 6459
|
16419
16429
|
},
|
16420
16430
|
"../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
|
16421
|
-
"bytesInOutput":
|
16431
|
+
"bytesInOutput": 6261
|
16422
16432
|
},
|
16423
16433
|
"../../node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js": {
|
16424
16434
|
"bytesInOutput": 1396
|
@@ -16427,7 +16437,7 @@
|
|
16427
16437
|
"bytesInOutput": 22882
|
16428
16438
|
},
|
16429
16439
|
"../../node_modules/webrtc-adapter/src/js/firefox/getusermedia.js": {
|
16430
|
-
"bytesInOutput":
|
16440
|
+
"bytesInOutput": 2295
|
16431
16441
|
},
|
16432
16442
|
"../../node_modules/webrtc-adapter/src/js/firefox/getdisplaymedia.js": {
|
16433
16443
|
"bytesInOutput": 984
|
@@ -16529,7 +16539,7 @@
|
|
16529
16539
|
"bytesInOutput": 7928
|
16530
16540
|
},
|
16531
16541
|
"src/Prebuilt/components/ScreenShareToggle.jsx": {
|
16532
|
-
"bytesInOutput":
|
16542
|
+
"bytesInOutput": 2190
|
16533
16543
|
},
|
16534
16544
|
"src/Prebuilt/components/VirtualBackground/VBToggle.tsx": {
|
16535
16545
|
"bytesInOutput": 1350
|
@@ -16574,7 +16584,7 @@
|
|
16574
16584
|
"bytesInOutput": 1170
|
16575
16585
|
},
|
16576
16586
|
"src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx": {
|
16577
|
-
"bytesInOutput":
|
16587
|
+
"bytesInOutput": 9660
|
16578
16588
|
},
|
16579
16589
|
"src/Prebuilt/components/Polls/CreateQuestions/DeleteQuestionModal.tsx": {
|
16580
16590
|
"bytesInOutput": 2802
|
@@ -16685,7 +16695,7 @@
|
|
16685
16695
|
"bytesInOutput": 1440
|
16686
16696
|
},
|
16687
16697
|
"src/Prebuilt/components/Chat/ChatFooter.tsx": {
|
16688
|
-
"bytesInOutput":
|
16698
|
+
"bytesInOutput": 10609
|
16689
16699
|
},
|
16690
16700
|
"src/Prebuilt/components/Chat/ChatStates.tsx": {
|
16691
16701
|
"bytesInOutput": 3529
|
@@ -16844,7 +16854,7 @@
|
|
16844
16854
|
"bytesInOutput": 860
|
16845
16855
|
},
|
16846
16856
|
"src/Prebuilt/components/HMSVideo/HMSVIdeoUtils.js": {
|
16847
|
-
"bytesInOutput":
|
16857
|
+
"bytesInOutput": 850
|
16848
16858
|
},
|
16849
16859
|
"src/Prebuilt/components/HMSVideo/VideoProgress.jsx": {
|
16850
16860
|
"bytesInOutput": 3186
|
@@ -16931,7 +16941,7 @@
|
|
16931
16941
|
"bytesInOutput": 2151
|
16932
16942
|
},
|
16933
16943
|
"src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx": {
|
16934
|
-
"bytesInOutput":
|
16944
|
+
"bytesInOutput": 1691
|
16935
16945
|
},
|
16936
16946
|
"src/Prebuilt/components/Notifications/InitErrorModal.tsx": {
|
16937
16947
|
"bytesInOutput": 1964
|
@@ -16961,7 +16971,7 @@
|
|
16961
16971
|
"bytesInOutput": 2281
|
16962
16972
|
},
|
16963
16973
|
"src/Prebuilt/components/Notifications/Notifications.tsx": {
|
16964
|
-
"bytesInOutput":
|
16974
|
+
"bytesInOutput": 8886
|
16965
16975
|
},
|
16966
16976
|
"src/Prebuilt/components/Notifications/index.tsx": {
|
16967
16977
|
"bytesInOutput": 173
|
@@ -17009,7 +17019,7 @@
|
|
17009
17019
|
"bytesInOutput": 2980
|
17010
17020
|
}
|
17011
17021
|
},
|
17012
|
-
"bytes":
|
17022
|
+
"bytes": 1516121
|
17013
17023
|
}
|
17014
17024
|
}
|
17015
17025
|
}
|
package/dist/meta.esbuild.json
CHANGED
@@ -1961,7 +1961,7 @@
|
|
1961
1961
|
"format": "esm"
|
1962
1962
|
},
|
1963
1963
|
"src/Prebuilt/components/AppData/useUISettings.js": {
|
1964
|
-
"bytes":
|
1964
|
+
"bytes": 6029,
|
1965
1965
|
"imports": [
|
1966
1966
|
{
|
1967
1967
|
"path": "react",
|
@@ -2814,7 +2814,7 @@
|
|
2814
2814
|
"format": "esm"
|
2815
2815
|
},
|
2816
2816
|
"src/Prebuilt/components/AudioVideoToggle.tsx": {
|
2817
|
-
"bytes":
|
2817
|
+
"bytes": 9962,
|
2818
2818
|
"imports": [
|
2819
2819
|
{
|
2820
2820
|
"path": "react",
|
@@ -4615,7 +4615,7 @@
|
|
4615
4615
|
"format": "cjs"
|
4616
4616
|
},
|
4617
4617
|
"../hms-video-store/dist/index.js": {
|
4618
|
-
"bytes":
|
4618
|
+
"bytes": 323575,
|
4619
4619
|
"imports": [
|
4620
4620
|
{
|
4621
4621
|
"path": "../../node_modules/reselect/es/index.js",
|
@@ -5598,7 +5598,7 @@
|
|
5598
5598
|
"format": "esm"
|
5599
5599
|
},
|
5600
5600
|
"src/Prebuilt/components/ScreenShareToggle.jsx": {
|
5601
|
-
"bytes":
|
5601
|
+
"bytes": 1754,
|
5602
5602
|
"imports": [
|
5603
5603
|
{
|
5604
5604
|
"path": "react",
|
@@ -5654,6 +5654,11 @@
|
|
5654
5654
|
"path": "<define:process.env>",
|
5655
5655
|
"kind": "import-statement",
|
5656
5656
|
"external": true
|
5657
|
+
},
|
5658
|
+
{
|
5659
|
+
"path": "<runtime>",
|
5660
|
+
"kind": "import-statement",
|
5661
|
+
"external": true
|
5657
5662
|
}
|
5658
5663
|
],
|
5659
5664
|
"format": "esm"
|
@@ -7994,7 +7999,7 @@
|
|
7994
7999
|
"format": "esm"
|
7995
8000
|
},
|
7996
8001
|
"src/Prebuilt/components/Chat/ChatFooter.tsx": {
|
7997
|
-
"bytes":
|
8002
|
+
"bytes": 9288,
|
7998
8003
|
"imports": [
|
7999
8004
|
{
|
8000
8005
|
"path": "react",
|
@@ -11981,7 +11986,7 @@
|
|
11981
11986
|
"format": "esm"
|
11982
11987
|
},
|
11983
11988
|
"src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx": {
|
11984
|
-
"bytes":
|
11989
|
+
"bytes": 1606,
|
11985
11990
|
"imports": [
|
11986
11991
|
{
|
11987
11992
|
"path": "react",
|
@@ -12008,6 +12013,11 @@
|
|
12008
12013
|
"kind": "import-statement",
|
12009
12014
|
"original": "../AppData/useUISettings"
|
12010
12015
|
},
|
12016
|
+
{
|
12017
|
+
"path": "src/Prebuilt/common/constants.ts",
|
12018
|
+
"kind": "import-statement",
|
12019
|
+
"original": "../../common/constants"
|
12020
|
+
},
|
12011
12021
|
{
|
12012
12022
|
"path": "<define:process.env>",
|
12013
12023
|
"kind": "import-statement",
|
@@ -12257,7 +12267,7 @@
|
|
12257
12267
|
"format": "esm"
|
12258
12268
|
},
|
12259
12269
|
"src/Prebuilt/components/Notifications/Notifications.tsx": {
|
12260
|
-
"bytes":
|
12270
|
+
"bytes": 7891,
|
12261
12271
|
"imports": [
|
12262
12272
|
{
|
12263
12273
|
"path": "react",
|
@@ -13188,7 +13198,7 @@
|
|
13188
13198
|
"dist/index.js": {
|
13189
13199
|
"imports": [
|
13190
13200
|
{
|
13191
|
-
"path": "dist/chunk-
|
13201
|
+
"path": "dist/chunk-LZKKW4D6.js",
|
13192
13202
|
"kind": "import-statement"
|
13193
13203
|
}
|
13194
13204
|
],
|
@@ -13261,16 +13271,16 @@
|
|
13261
13271
|
"inputs": {},
|
13262
13272
|
"bytes": 1822
|
13263
13273
|
},
|
13264
|
-
"dist/HLSView-
|
13274
|
+
"dist/HLSView-AP53XUDF.js.map": {
|
13265
13275
|
"imports": [],
|
13266
13276
|
"exports": [],
|
13267
13277
|
"inputs": {},
|
13268
13278
|
"bytes": 58854
|
13269
13279
|
},
|
13270
|
-
"dist/HLSView-
|
13280
|
+
"dist/HLSView-AP53XUDF.js": {
|
13271
13281
|
"imports": [
|
13272
13282
|
{
|
13273
|
-
"path": "dist/chunk-
|
13283
|
+
"path": "dist/chunk-LZKKW4D6.js",
|
13274
13284
|
"kind": "import-statement"
|
13275
13285
|
},
|
13276
13286
|
{
|
@@ -13434,13 +13444,13 @@
|
|
13434
13444
|
},
|
13435
13445
|
"bytes": 36972
|
13436
13446
|
},
|
13437
|
-
"dist/chunk-
|
13447
|
+
"dist/chunk-LZKKW4D6.js.map": {
|
13438
13448
|
"imports": [],
|
13439
13449
|
"exports": [],
|
13440
13450
|
"inputs": {},
|
13441
|
-
"bytes":
|
13451
|
+
"bytes": 3153481
|
13442
13452
|
},
|
13443
|
-
"dist/chunk-
|
13453
|
+
"dist/chunk-LZKKW4D6.js": {
|
13444
13454
|
"imports": [
|
13445
13455
|
{
|
13446
13456
|
"path": "react",
|
@@ -15743,7 +15753,7 @@
|
|
15743
15753
|
"external": true
|
15744
15754
|
},
|
15745
15755
|
{
|
15746
|
-
"path": "dist/HLSView-
|
15756
|
+
"path": "dist/HLSView-AP53XUDF.js",
|
15747
15757
|
"kind": "dynamic-import"
|
15748
15758
|
},
|
15749
15759
|
{
|
@@ -16200,7 +16210,7 @@
|
|
16200
16210
|
],
|
16201
16211
|
"inputs": {
|
16202
16212
|
"<define:process.env>": {
|
16203
|
-
"bytesInOutput":
|
16213
|
+
"bytesInOutput": 18254
|
16204
16214
|
},
|
16205
16215
|
"../../node_modules/lodash/lodash.js": {
|
16206
16216
|
"bytesInOutput": 224276
|
@@ -16461,7 +16471,7 @@
|
|
16461
16471
|
"bytesInOutput": 973
|
16462
16472
|
},
|
16463
16473
|
"src/Prebuilt/components/AppData/useUISettings.js": {
|
16464
|
-
"bytesInOutput":
|
16474
|
+
"bytesInOutput": 5280
|
16465
16475
|
},
|
16466
16476
|
"src/Prebuilt/components/hooks/useUserPreferences.jsx": {
|
16467
16477
|
"bytesInOutput": 748
|
@@ -16482,7 +16492,7 @@
|
|
16482
16492
|
"bytesInOutput": 1486
|
16483
16493
|
},
|
16484
16494
|
"src/Prebuilt/common/utils.js": {
|
16485
|
-
"bytesInOutput":
|
16495
|
+
"bytesInOutput": 3210
|
16486
16496
|
},
|
16487
16497
|
"src/Prebuilt/components/AppData/useSidepane.js": {
|
16488
16498
|
"bytesInOutput": 1934
|
@@ -16503,7 +16513,7 @@
|
|
16503
16513
|
"bytesInOutput": 3350
|
16504
16514
|
},
|
16505
16515
|
"src/Prebuilt/components/AudioVideoToggle.tsx": {
|
16506
|
-
"bytesInOutput":
|
16516
|
+
"bytesInOutput": 10265
|
16507
16517
|
},
|
16508
16518
|
"src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx": {
|
16509
16519
|
"bytesInOutput": 3065
|
@@ -16635,7 +16645,7 @@
|
|
16635
16645
|
"bytesInOutput": 48907
|
16636
16646
|
},
|
16637
16647
|
"../../node_modules/reselect/es/index.js": {
|
16638
|
-
"bytesInOutput":
|
16648
|
+
"bytesInOutput": 2539
|
16639
16649
|
},
|
16640
16650
|
"../../node_modules/ua-parser-js/src/main/ua-parser.mjs": {
|
16641
16651
|
"bytesInOutput": 42640
|
@@ -16653,7 +16663,7 @@
|
|
16653
16663
|
"bytesInOutput": 22678
|
16654
16664
|
},
|
16655
16665
|
"../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
|
16656
|
-
"bytesInOutput":
|
16666
|
+
"bytesInOutput": 6095
|
16657
16667
|
},
|
16658
16668
|
"../../node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js": {
|
16659
16669
|
"bytesInOutput": 1256
|
@@ -16662,7 +16672,7 @@
|
|
16662
16672
|
"bytesInOutput": 9143
|
16663
16673
|
},
|
16664
16674
|
"../../node_modules/webrtc-adapter/src/js/firefox/getusermedia.js": {
|
16665
|
-
"bytesInOutput":
|
16675
|
+
"bytesInOutput": 2140
|
16666
16676
|
},
|
16667
16677
|
"../../node_modules/webrtc-adapter/src/js/firefox/getdisplaymedia.js": {
|
16668
16678
|
"bytesInOutput": 842
|
@@ -16701,7 +16711,7 @@
|
|
16701
16711
|
"bytesInOutput": 589
|
16702
16712
|
},
|
16703
16713
|
"src/Prebuilt/components/ScreenShareToggle.jsx": {
|
16704
|
-
"bytesInOutput":
|
16714
|
+
"bytesInOutput": 1619
|
16705
16715
|
},
|
16706
16716
|
"src/Prebuilt/components/pdfAnnotator/shareScreenOptions.jsx": {
|
16707
16717
|
"bytesInOutput": 7126
|
@@ -16776,7 +16786,7 @@
|
|
16776
16786
|
"bytesInOutput": 735
|
16777
16787
|
},
|
16778
16788
|
"src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx": {
|
16779
|
-
"bytesInOutput":
|
16789
|
+
"bytesInOutput": 7987
|
16780
16790
|
},
|
16781
16791
|
"src/Prebuilt/components/Streaming/Common.jsx": {
|
16782
16792
|
"bytesInOutput": 2247
|
@@ -16884,7 +16894,7 @@
|
|
16884
16894
|
"bytesInOutput": 704
|
16885
16895
|
},
|
16886
16896
|
"src/Prebuilt/components/Chat/ChatFooter.tsx": {
|
16887
|
-
"bytesInOutput":
|
16897
|
+
"bytesInOutput": 8852
|
16888
16898
|
},
|
16889
16899
|
"src/Prebuilt/components/Chat/ChatSelectorContainer.tsx": {
|
16890
16900
|
"bytesInOutput": 5318
|
@@ -17073,7 +17083,7 @@
|
|
17073
17083
|
"bytesInOutput": 27
|
17074
17084
|
},
|
17075
17085
|
"src/Prebuilt/components/Notifications/Notifications.tsx": {
|
17076
|
-
"bytesInOutput":
|
17086
|
+
"bytesInOutput": 7971
|
17077
17087
|
},
|
17078
17088
|
"src/Prebuilt/components/Notifications/AutoplayBlockedModal.tsx": {
|
17079
17089
|
"bytesInOutput": 1053
|
@@ -17082,7 +17092,7 @@
|
|
17082
17092
|
"bytesInOutput": 1350
|
17083
17093
|
},
|
17084
17094
|
"src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx": {
|
17085
|
-
"bytesInOutput":
|
17095
|
+
"bytesInOutput": 1413
|
17086
17096
|
},
|
17087
17097
|
"src/Prebuilt/components/Toast/ToastBatcher.js": {
|
17088
17098
|
"bytesInOutput": 1768
|
@@ -17151,7 +17161,7 @@
|
|
17151
17161
|
"bytesInOutput": 651
|
17152
17162
|
}
|
17153
17163
|
},
|
17154
|
-
"bytes":
|
17164
|
+
"bytes": 1283515
|
17155
17165
|
}
|
17156
17166
|
}
|
17157
17167
|
}
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.2.7-alpha.
|
13
|
+
"version": "0.2.7-alpha.4",
|
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.2.7-alpha.
|
85
|
+
"@100mslive/hls-player": "0.2.7-alpha.4",
|
86
86
|
"@100mslive/hms-noise-cancellation": "0.0.0-alpha.1",
|
87
|
-
"@100mslive/hms-virtual-background": "1.12.7-alpha.
|
88
|
-
"@100mslive/react-icons": "0.9.7-alpha.
|
89
|
-
"@100mslive/react-sdk": "0.9.7-alpha.
|
87
|
+
"@100mslive/hms-virtual-background": "1.12.7-alpha.4",
|
88
|
+
"@100mslive/react-icons": "0.9.7-alpha.4",
|
89
|
+
"@100mslive/react-sdk": "0.9.7-alpha.4",
|
90
90
|
"@100mslive/types-prebuilt": "0.12.7",
|
91
91
|
"@emoji-mart/data": "^1.0.6",
|
92
92
|
"@emoji-mart/react": "^1.0.1",
|
@@ -121,5 +121,5 @@
|
|
121
121
|
"uuid": "^8.3.2",
|
122
122
|
"worker-timers": "^7.0.40"
|
123
123
|
},
|
124
|
-
"gitHead": "
|
124
|
+
"gitHead": "fe6292513fff670053581f4bfd630ae348be4aff"
|
125
125
|
}
|
@@ -90,7 +90,7 @@ export const usePinnedTrack = () => {
|
|
90
90
|
|
91
91
|
export const useSubscribedNotifications = notificationKey => {
|
92
92
|
const notificationPreference = useHMSStore(selectAppDataByPath(APP_DATA.subscribedNotifications, notificationKey));
|
93
|
-
return notificationPreference
|
93
|
+
return notificationPreference;
|
94
94
|
};
|
95
95
|
|
96
96
|
export const useIsNotificationDisabled = () => {
|
@@ -6,6 +6,7 @@ import {
|
|
6
6
|
selectIsLocalAudioPluginPresent,
|
7
7
|
selectLocalAudioTrackID,
|
8
8
|
selectLocalVideoTrackID,
|
9
|
+
selectRoom,
|
9
10
|
selectRoomState,
|
10
11
|
selectVideoTrackByID,
|
11
12
|
useAVToggle,
|
@@ -99,6 +100,7 @@ const NoiseCancellation = () => {
|
|
99
100
|
const [active, setActive] = useState(isPluginAdded);
|
100
101
|
const [inProgress, setInProgress] = useState(false);
|
101
102
|
const actions = useHMSActions();
|
103
|
+
const room = useHMSStore(selectRoom);
|
102
104
|
|
103
105
|
useEffect(() => {
|
104
106
|
(async () => {
|
@@ -113,37 +115,40 @@ const NoiseCancellation = () => {
|
|
113
115
|
})();
|
114
116
|
}, [actions, active, isPluginAdded]);
|
115
117
|
|
116
|
-
if (!plugin.isSupported() || !localPeerAudioTrackID) {
|
118
|
+
if (!plugin.isSupported() || !room.isNoiseCancellationEnabled || !localPeerAudioTrackID) {
|
117
119
|
return null;
|
118
120
|
}
|
119
121
|
|
120
122
|
return (
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
onClick={e => {
|
129
|
-
e.preventDefault();
|
130
|
-
setActive(value => !value);
|
131
|
-
}}
|
132
|
-
>
|
133
|
-
<Text css={{ display: 'flex', alignItems: 'center', gap: '$2', fontSize: '$xs', '& svg': { size: '$8' } }}>
|
134
|
-
<AudioLevelIcon />
|
135
|
-
Reduce Noise
|
136
|
-
</Text>
|
137
|
-
<Switch
|
138
|
-
id="noise_cancellation"
|
139
|
-
checked={active}
|
140
|
-
disabled={inProgress}
|
141
|
-
onClick={e => e.stopPropagation()}
|
142
|
-
onCheckedChange={value => {
|
143
|
-
setActive(value);
|
123
|
+
<>
|
124
|
+
<Dropdown.Item
|
125
|
+
css={{
|
126
|
+
p: '$4 $8',
|
127
|
+
h: '$15',
|
128
|
+
fontSize: '$xs',
|
129
|
+
justifyContent: 'space-between',
|
144
130
|
}}
|
145
|
-
|
146
|
-
|
131
|
+
onClick={e => {
|
132
|
+
e.preventDefault();
|
133
|
+
setActive(value => !value);
|
134
|
+
}}
|
135
|
+
>
|
136
|
+
<Text css={{ display: 'flex', alignItems: 'center', gap: '$2', fontSize: '$xs', '& svg': { size: '$8' } }}>
|
137
|
+
<AudioLevelIcon />
|
138
|
+
Reduce Noise
|
139
|
+
</Text>
|
140
|
+
<Switch
|
141
|
+
id="noise_cancellation"
|
142
|
+
checked={active}
|
143
|
+
disabled={inProgress}
|
144
|
+
onClick={e => e.stopPropagation()}
|
145
|
+
onCheckedChange={value => {
|
146
|
+
setActive(value);
|
147
|
+
}}
|
148
|
+
/>
|
149
|
+
</Dropdown.Item>
|
150
|
+
<Dropdown.ItemSeparator css={{ mx: 0 }} />
|
151
|
+
</>
|
147
152
|
);
|
148
153
|
};
|
149
154
|
|
@@ -252,7 +257,6 @@ export const AudioVideoToggle = ({ hideOptions = false }) => {
|
|
252
257
|
)}
|
253
258
|
<Dropdown.ItemSeparator css={{ mx: 0 }} />
|
254
259
|
<NoiseCancellation />
|
255
|
-
<Dropdown.ItemSeparator css={{ mx: 0 }} />
|
256
260
|
<AudioSettings onClick={() => setShowSettings(true)} />
|
257
261
|
</IconButtonWithOptions>
|
258
262
|
) : null}
|
@@ -92,9 +92,13 @@ export const ChatFooter = ({ onSend, children }: { onSend: (count: number) => vo
|
|
92
92
|
if (!selectedPeer.id && !selectedRole && !['Everyone', ''].includes(defaultSelection)) {
|
93
93
|
setRoleSelector(defaultSelection);
|
94
94
|
} else {
|
95
|
-
|
95
|
+
// @ts-ignore
|
96
|
+
if (!elements?.chat?.disable_autofocus) {
|
97
|
+
inputRef.current?.focus();
|
98
|
+
}
|
96
99
|
}
|
97
|
-
|
100
|
+
// @ts-ignore
|
101
|
+
}, [defaultSelection, elements?.chat?.disable_autofocus, selectedPeer, selectedRole, setRoleSelector]);
|
98
102
|
const sendMessage = useCallback(async () => {
|
99
103
|
const message = inputRef?.current?.value;
|
100
104
|
if (!message || !message.trim().length) {
|
@@ -13,13 +13,14 @@ import { ToastBatcher } from '../Toast/ToastBatcher';
|
|
13
13
|
import { useRoomLayoutConferencingScreen } from '../../provider/roomLayoutProvider/hooks/useRoomLayoutScreen';
|
14
14
|
// @ts-ignore: No implicit Any
|
15
15
|
import { useSubscribedNotifications } from '../AppData/useUISettings';
|
16
|
+
import { SUBSCRIBED_NOTIFICATIONS } from '../../common/constants';
|
16
17
|
|
17
18
|
export const HandRaisedNotifications = () => {
|
18
19
|
const notification = useHMSNotifications(HMSNotificationTypes.HAND_RAISE_CHANGED);
|
19
20
|
const roomState = useHMSStore(selectRoomState);
|
20
21
|
const vanillaStore = useHMSVanillaStore();
|
21
22
|
const { on_stage_exp } = useRoomLayoutConferencingScreen().elements || {};
|
22
|
-
const
|
23
|
+
const isSubscribing = !!useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.METADATA_UPDATED);
|
23
24
|
|
24
25
|
useEffect(() => {
|
25
26
|
if (!notification?.data) {
|
@@ -27,12 +28,7 @@ export const HandRaisedNotifications = () => {
|
|
27
28
|
}
|
28
29
|
|
29
30
|
// Don't show toast message in case of local peer.
|
30
|
-
if (
|
31
|
-
roomState !== HMSRoomState.Connected ||
|
32
|
-
notification.data.isLocal ||
|
33
|
-
!on_stage_exp ||
|
34
|
-
!subscribedNotifications.METADATA_UPDATED
|
35
|
-
) {
|
31
|
+
if (roomState !== HMSRoomState.Connected || notification.data.isLocal || !on_stage_exp || !isSubscribing) {
|
36
32
|
return;
|
37
33
|
}
|
38
34
|
const hasPeerHandRaised = vanillaStore.getState(selectHasPeerHandRaised(notification.data.id));
|
@@ -40,7 +36,7 @@ export const HandRaisedNotifications = () => {
|
|
40
36
|
ToastBatcher.showToast({ notification, type: 'RAISE_HAND' });
|
41
37
|
console.debug('Metadata updated', notification.data);
|
42
38
|
}
|
43
|
-
}, [notification, on_stage_exp, roomState,
|
39
|
+
}, [isSubscribing, notification, on_stage_exp, roomState, vanillaStore]);
|
44
40
|
|
45
41
|
return null;
|
46
42
|
};
|