@100mslive/roomkit-react 0.2.8-alpha.8 → 0.3.0
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-6KPQ2KD6.js → HLSView-LZOTIUWE.js} +152 -96
- package/dist/HLSView-LZOTIUWE.js.map +7 -0
- package/dist/Prebuilt/components/Chat/Chat.d.ts +1 -1
- package/dist/Prebuilt/components/HMSVideo/VideoProgress.d.ts +3 -2
- package/dist/Prebuilt/components/HMSVideo/index.d.ts +3 -2
- package/dist/Prebuilt/components/SidePaneTabs.d.ts +0 -1
- package/dist/Prebuilt/layouts/SidePane.d.ts +1 -1
- package/dist/{chunk-JQCSGJIR.js → chunk-LCECN6XD.js} +297 -238
- package/dist/chunk-LCECN6XD.js.map +7 -0
- package/dist/index.cjs.js +446 -332
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +96 -61
- package/dist/meta.esbuild.json +109 -73
- package/package.json +6 -6
- package/src/Prebuilt/components/Chat/Chat.tsx +23 -4
- package/src/Prebuilt/components/Chat/ChatFooter.tsx +2 -2
- package/src/Prebuilt/components/Chat/EmptyChat.tsx +5 -1
- package/src/Prebuilt/components/ConferenceScreen.tsx +13 -1
- package/src/Prebuilt/components/EmojiReaction.jsx +2 -2
- package/src/Prebuilt/components/Footer/RoleOptions.tsx +125 -126
- package/src/Prebuilt/components/HMSVideo/HMSVideo.jsx +13 -10
- package/src/Prebuilt/components/HMSVideo/MwebHLSViewTitle.tsx +6 -4
- package/src/Prebuilt/components/HMSVideo/VideoProgress.tsx +38 -25
- package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +1 -1
- package/src/Prebuilt/components/MwebLandscapePrompt.tsx +9 -3
- package/src/Prebuilt/components/Polls/common/utils.ts +1 -1
- package/src/Prebuilt/components/SidePaneTabs.tsx +1 -4
- package/src/Prebuilt/layouts/HLSView.jsx +293 -239
- package/src/Prebuilt/layouts/SidePane.tsx +73 -49
- package/src/Prebuilt/layouts/VideoStreamingSection.tsx +10 -2
- package/dist/HLSView-6KPQ2KD6.js.map +0 -7
- package/dist/chunk-JQCSGJIR.js.map +0 -7
package/dist/meta.esbuild.json
CHANGED
@@ -3018,7 +3018,7 @@
|
|
3018
3018
|
"format": "esm"
|
3019
3019
|
},
|
3020
3020
|
"src/Prebuilt/components/EmojiReaction.jsx": {
|
3021
|
-
"bytes":
|
3021
|
+
"bytes": 3143,
|
3022
3022
|
"imports": [
|
3023
3023
|
{
|
3024
3024
|
"path": "react",
|
@@ -4681,7 +4681,7 @@
|
|
4681
4681
|
"format": "cjs"
|
4682
4682
|
},
|
4683
4683
|
"../hms-video-store/dist/index.js": {
|
4684
|
-
"bytes":
|
4684
|
+
"bytes": 325880,
|
4685
4685
|
"imports": [
|
4686
4686
|
{
|
4687
4687
|
"path": "../../node_modules/reselect/es/index.js",
|
@@ -5191,7 +5191,7 @@
|
|
5191
5191
|
"format": "esm"
|
5192
5192
|
},
|
5193
5193
|
"src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
|
5194
|
-
"bytes":
|
5194
|
+
"bytes": 13053,
|
5195
5195
|
"imports": [
|
5196
5196
|
{
|
5197
5197
|
"path": "react",
|
@@ -5935,7 +5935,7 @@
|
|
5935
5935
|
"format": "esm"
|
5936
5936
|
},
|
5937
5937
|
"src/Prebuilt/components/Footer/RoleOptions.tsx": {
|
5938
|
-
"bytes":
|
5938
|
+
"bytes": 7089,
|
5939
5939
|
"imports": [
|
5940
5940
|
{
|
5941
5941
|
"path": "react",
|
@@ -5947,6 +5947,11 @@
|
|
5947
5947
|
"kind": "import-statement",
|
5948
5948
|
"external": true
|
5949
5949
|
},
|
5950
|
+
{
|
5951
|
+
"path": "ts-pattern",
|
5952
|
+
"kind": "import-statement",
|
5953
|
+
"external": true
|
5954
|
+
},
|
5950
5955
|
{
|
5951
5956
|
"path": "@100mslive/react-sdk",
|
5952
5957
|
"kind": "import-statement",
|
@@ -6966,7 +6971,7 @@
|
|
6966
6971
|
"format": "esm"
|
6967
6972
|
},
|
6968
6973
|
"src/Prebuilt/components/Polls/common/utils.ts": {
|
6969
|
-
"bytes":
|
6974
|
+
"bytes": 633,
|
6970
6975
|
"imports": [
|
6971
6976
|
{
|
6972
6977
|
"path": "<define:process.env>",
|
@@ -7779,7 +7784,7 @@
|
|
7779
7784
|
"imports": []
|
7780
7785
|
},
|
7781
7786
|
"src/Prebuilt/components/Chat/EmptyChat.tsx": {
|
7782
|
-
"bytes":
|
7787
|
+
"bytes": 2142,
|
7783
7788
|
"imports": [
|
7784
7789
|
{
|
7785
7790
|
"path": "react",
|
@@ -7821,6 +7826,11 @@
|
|
7821
7826
|
"kind": "import-statement",
|
7822
7827
|
"original": "../hooks/useChatBlacklist"
|
7823
7828
|
},
|
7829
|
+
{
|
7830
|
+
"path": "src/Prebuilt/common/hooks.ts",
|
7831
|
+
"kind": "import-statement",
|
7832
|
+
"original": "../../common/hooks"
|
7833
|
+
},
|
7824
7834
|
{
|
7825
7835
|
"path": "<define:process.env>",
|
7826
7836
|
"kind": "import-statement",
|
@@ -8141,7 +8151,7 @@
|
|
8141
8151
|
"format": "esm"
|
8142
8152
|
},
|
8143
8153
|
"src/Prebuilt/components/Chat/ChatFooter.tsx": {
|
8144
|
-
"bytes":
|
8154
|
+
"bytes": 10438,
|
8145
8155
|
"imports": [
|
8146
8156
|
{
|
8147
8157
|
"path": "react",
|
@@ -8441,7 +8451,7 @@
|
|
8441
8451
|
"format": "esm"
|
8442
8452
|
},
|
8443
8453
|
"src/Prebuilt/components/Chat/Chat.tsx": {
|
8444
|
-
"bytes":
|
8454
|
+
"bytes": 5393,
|
8445
8455
|
"imports": [
|
8446
8456
|
{
|
8447
8457
|
"path": "react",
|
@@ -8679,7 +8689,7 @@
|
|
8679
8689
|
"format": "esm"
|
8680
8690
|
},
|
8681
8691
|
"src/Prebuilt/components/SidePaneTabs.tsx": {
|
8682
|
-
"bytes":
|
8692
|
+
"bytes": 8205,
|
8683
8693
|
"imports": [
|
8684
8694
|
{
|
8685
8695
|
"path": "react",
|
@@ -9301,7 +9311,7 @@
|
|
9301
9311
|
"format": "esm"
|
9302
9312
|
},
|
9303
9313
|
"src/Prebuilt/layouts/SidePane.tsx": {
|
9304
|
-
"bytes":
|
9314
|
+
"bytes": 6575,
|
9305
9315
|
"imports": [
|
9306
9316
|
{
|
9307
9317
|
"path": "react",
|
@@ -10841,7 +10851,7 @@
|
|
10841
10851
|
"format": "esm"
|
10842
10852
|
},
|
10843
10853
|
"src/Prebuilt/components/HMSVideo/HMSVideo.jsx": {
|
10844
|
-
"bytes":
|
10854
|
+
"bytes": 1333,
|
10845
10855
|
"imports": [
|
10846
10856
|
{
|
10847
10857
|
"path": "react",
|
@@ -10849,19 +10859,9 @@
|
|
10849
10859
|
"external": true
|
10850
10860
|
},
|
10851
10861
|
{
|
10852
|
-
"path": "
|
10853
|
-
"kind": "import-statement",
|
10854
|
-
"external": true
|
10855
|
-
},
|
10856
|
-
{
|
10857
|
-
"path": "src/index.ts",
|
10858
|
-
"kind": "import-statement",
|
10859
|
-
"original": "../../../"
|
10860
|
-
},
|
10861
|
-
{
|
10862
|
-
"path": "src/Prebuilt/common/hooks.ts",
|
10862
|
+
"path": "src/Layout/index.tsx",
|
10863
10863
|
"kind": "import-statement",
|
10864
|
-
"original": "
|
10864
|
+
"original": "../../../Layout"
|
10865
10865
|
},
|
10866
10866
|
{
|
10867
10867
|
"path": "<define:process.env>",
|
@@ -10966,7 +10966,7 @@
|
|
10966
10966
|
"format": "esm"
|
10967
10967
|
},
|
10968
10968
|
"src/Prebuilt/components/HMSVideo/VideoProgress.tsx": {
|
10969
|
-
"bytes":
|
10969
|
+
"bytes": 2926,
|
10970
10970
|
"imports": [
|
10971
10971
|
{
|
10972
10972
|
"path": "react",
|
@@ -11264,7 +11264,7 @@
|
|
11264
11264
|
"format": "esm"
|
11265
11265
|
},
|
11266
11266
|
"src/Prebuilt/components/HMSVideo/MwebHLSViewTitle.tsx": {
|
11267
|
-
"bytes":
|
11267
|
+
"bytes": 2527,
|
11268
11268
|
"imports": [
|
11269
11269
|
{
|
11270
11270
|
"path": "react",
|
@@ -11320,7 +11320,7 @@
|
|
11320
11320
|
"format": "esm"
|
11321
11321
|
},
|
11322
11322
|
"src/Prebuilt/layouts/HLSView.jsx": {
|
11323
|
-
"bytes":
|
11323
|
+
"bytes": 26749,
|
11324
11324
|
"imports": [
|
11325
11325
|
{
|
11326
11326
|
"path": "react",
|
@@ -11342,6 +11342,11 @@
|
|
11342
11342
|
"kind": "import-statement",
|
11343
11343
|
"external": true
|
11344
11344
|
},
|
11345
|
+
{
|
11346
|
+
"path": "ts-pattern",
|
11347
|
+
"kind": "import-statement",
|
11348
|
+
"external": true
|
11349
|
+
},
|
11345
11350
|
{
|
11346
11351
|
"path": "@100mslive/react-sdk",
|
11347
11352
|
"kind": "import-statement",
|
@@ -11476,7 +11481,7 @@
|
|
11476
11481
|
"format": "esm"
|
11477
11482
|
},
|
11478
11483
|
"src/Prebuilt/layouts/VideoStreamingSection.tsx": {
|
11479
|
-
"bytes":
|
11484
|
+
"bytes": 4801,
|
11480
11485
|
"imports": [
|
11481
11486
|
{
|
11482
11487
|
"path": "react",
|
@@ -11488,6 +11493,11 @@
|
|
11488
11493
|
"kind": "import-statement",
|
11489
11494
|
"external": true
|
11490
11495
|
},
|
11496
|
+
{
|
11497
|
+
"path": "ts-pattern",
|
11498
|
+
"kind": "import-statement",
|
11499
|
+
"external": true
|
11500
|
+
},
|
11491
11501
|
{
|
11492
11502
|
"path": "@100mslive/react-sdk",
|
11493
11503
|
"kind": "import-statement",
|
@@ -11792,7 +11802,7 @@
|
|
11792
11802
|
"format": "esm"
|
11793
11803
|
},
|
11794
11804
|
"src/Prebuilt/components/ConferenceScreen.tsx": {
|
11795
|
-
"bytes":
|
11805
|
+
"bytes": 8259,
|
11796
11806
|
"imports": [
|
11797
11807
|
{
|
11798
11808
|
"path": "react",
|
@@ -11859,6 +11869,11 @@
|
|
11859
11869
|
"kind": "import-statement",
|
11860
11870
|
"original": "../layouts/VideoStreamingSection"
|
11861
11871
|
},
|
11872
|
+
{
|
11873
|
+
"path": "src/Prebuilt/components/EmojiReaction.jsx",
|
11874
|
+
"kind": "import-statement",
|
11875
|
+
"original": "./EmojiReaction"
|
11876
|
+
},
|
11862
11877
|
{
|
11863
11878
|
"path": "src/Prebuilt/components/FullPageProgress.jsx",
|
11864
11879
|
"kind": "import-statement",
|
@@ -12175,7 +12190,7 @@
|
|
12175
12190
|
"format": "esm"
|
12176
12191
|
},
|
12177
12192
|
"src/Prebuilt/components/MwebLandscapePrompt.tsx": {
|
12178
|
-
"bytes":
|
12193
|
+
"bytes": 3089,
|
12179
12194
|
"imports": [
|
12180
12195
|
{
|
12181
12196
|
"path": "react",
|
@@ -12187,6 +12202,11 @@
|
|
12187
12202
|
"kind": "import-statement",
|
12188
12203
|
"external": true
|
12189
12204
|
},
|
12205
|
+
{
|
12206
|
+
"path": "ts-pattern",
|
12207
|
+
"kind": "import-statement",
|
12208
|
+
"external": true
|
12209
|
+
},
|
12190
12210
|
{
|
12191
12211
|
"path": "@100mslive/react-icons",
|
12192
12212
|
"kind": "import-statement",
|
@@ -13597,7 +13617,7 @@
|
|
13597
13617
|
"dist/index.js": {
|
13598
13618
|
"imports": [
|
13599
13619
|
{
|
13600
|
-
"path": "dist/chunk-
|
13620
|
+
"path": "dist/chunk-LCECN6XD.js",
|
13601
13621
|
"kind": "import-statement"
|
13602
13622
|
}
|
13603
13623
|
],
|
@@ -13670,16 +13690,16 @@
|
|
13670
13690
|
"inputs": {},
|
13671
13691
|
"bytes": 1822
|
13672
13692
|
},
|
13673
|
-
"dist/HLSView-
|
13693
|
+
"dist/HLSView-LZOTIUWE.js.map": {
|
13674
13694
|
"imports": [],
|
13675
13695
|
"exports": [],
|
13676
13696
|
"inputs": {},
|
13677
|
-
"bytes":
|
13697
|
+
"bytes": 89215
|
13678
13698
|
},
|
13679
|
-
"dist/HLSView-
|
13699
|
+
"dist/HLSView-LZOTIUWE.js": {
|
13680
13700
|
"imports": [
|
13681
13701
|
{
|
13682
|
-
"path": "dist/chunk-
|
13702
|
+
"path": "dist/chunk-LCECN6XD.js",
|
13683
13703
|
"kind": "import-statement"
|
13684
13704
|
},
|
13685
13705
|
{
|
@@ -13702,6 +13722,11 @@
|
|
13702
13722
|
"kind": "import-statement",
|
13703
13723
|
"external": true
|
13704
13724
|
},
|
13725
|
+
{
|
13726
|
+
"path": "ts-pattern",
|
13727
|
+
"kind": "import-statement",
|
13728
|
+
"external": true
|
13729
|
+
},
|
13705
13730
|
{
|
13706
13731
|
"path": "@100mslive/react-sdk",
|
13707
13732
|
"kind": "import-statement",
|
@@ -13727,11 +13752,6 @@
|
|
13727
13752
|
"kind": "import-statement",
|
13728
13753
|
"external": true
|
13729
13754
|
},
|
13730
|
-
{
|
13731
|
-
"path": "react-use",
|
13732
|
-
"kind": "import-statement",
|
13733
|
-
"external": true
|
13734
|
-
},
|
13735
13755
|
{
|
13736
13756
|
"path": "react",
|
13737
13757
|
"kind": "import-statement",
|
@@ -13844,7 +13864,7 @@
|
|
13844
13864
|
"entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
|
13845
13865
|
"inputs": {
|
13846
13866
|
"src/Prebuilt/layouts/HLSView.jsx": {
|
13847
|
-
"bytesInOutput":
|
13867
|
+
"bytesInOutput": 25580
|
13848
13868
|
},
|
13849
13869
|
"src/Prebuilt/components/HlsStatsOverlay.jsx": {
|
13850
13870
|
"bytesInOutput": 3521
|
@@ -13856,7 +13876,7 @@
|
|
13856
13876
|
"bytesInOutput": 416
|
13857
13877
|
},
|
13858
13878
|
"src/Prebuilt/components/HMSVideo/HMSVideo.jsx": {
|
13859
|
-
"bytesInOutput":
|
13879
|
+
"bytesInOutput": 1464
|
13860
13880
|
},
|
13861
13881
|
"src/Prebuilt/components/HMSVideo/PlayPauseButton.tsx": {
|
13862
13882
|
"bytesInOutput": 851
|
@@ -13868,7 +13888,7 @@
|
|
13868
13888
|
"bytesInOutput": 329
|
13869
13889
|
},
|
13870
13890
|
"src/Prebuilt/components/HMSVideo/VideoProgress.tsx": {
|
13871
|
-
"bytesInOutput":
|
13891
|
+
"bytesInOutput": 3017
|
13872
13892
|
},
|
13873
13893
|
"src/Prebuilt/components/HMSVideo/utils.ts": {
|
13874
13894
|
"bytesInOutput": 725
|
@@ -13883,7 +13903,7 @@
|
|
13883
13903
|
"bytesInOutput": 637
|
13884
13904
|
},
|
13885
13905
|
"src/Prebuilt/components/HMSVideo/HLSAutoplayBlockedPrompt.tsx": {
|
13886
|
-
"bytesInOutput":
|
13906
|
+
"bytesInOutput": 1916
|
13887
13907
|
},
|
13888
13908
|
"src/Prebuilt/components/HMSVideo/HLSCaptionSelector.tsx": {
|
13889
13909
|
"bytesInOutput": 688
|
@@ -13892,18 +13912,18 @@
|
|
13892
13912
|
"bytesInOutput": 7482
|
13893
13913
|
},
|
13894
13914
|
"src/Prebuilt/components/HMSVideo/MwebHLSViewTitle.tsx": {
|
13895
|
-
"bytesInOutput":
|
13915
|
+
"bytesInOutput": 2101
|
13896
13916
|
}
|
13897
13917
|
},
|
13898
|
-
"bytes":
|
13918
|
+
"bytes": 54624
|
13899
13919
|
},
|
13900
|
-
"dist/chunk-
|
13920
|
+
"dist/chunk-LCECN6XD.js.map": {
|
13901
13921
|
"imports": [],
|
13902
13922
|
"exports": [],
|
13903
13923
|
"inputs": {},
|
13904
|
-
"bytes":
|
13924
|
+
"bytes": 3168927
|
13905
13925
|
},
|
13906
|
-
"dist/chunk-
|
13926
|
+
"dist/chunk-LCECN6XD.js": {
|
13907
13927
|
"imports": [
|
13908
13928
|
{
|
13909
13929
|
"path": "react",
|
@@ -15155,6 +15175,11 @@
|
|
15155
15175
|
"kind": "import-statement",
|
15156
15176
|
"external": true
|
15157
15177
|
},
|
15178
|
+
{
|
15179
|
+
"path": "ts-pattern",
|
15180
|
+
"kind": "import-statement",
|
15181
|
+
"external": true
|
15182
|
+
},
|
15158
15183
|
{
|
15159
15184
|
"path": "@100mslive/react-sdk",
|
15160
15185
|
"kind": "import-statement",
|
@@ -16000,6 +16025,11 @@
|
|
16000
16025
|
"kind": "import-statement",
|
16001
16026
|
"external": true
|
16002
16027
|
},
|
16028
|
+
{
|
16029
|
+
"path": "ts-pattern",
|
16030
|
+
"kind": "import-statement",
|
16031
|
+
"external": true
|
16032
|
+
},
|
16003
16033
|
{
|
16004
16034
|
"path": "@100mslive/react-sdk",
|
16005
16035
|
"kind": "import-statement",
|
@@ -16261,7 +16291,7 @@
|
|
16261
16291
|
"external": true
|
16262
16292
|
},
|
16263
16293
|
{
|
16264
|
-
"path": "dist/HLSView-
|
16294
|
+
"path": "dist/HLSView-LZOTIUWE.js",
|
16265
16295
|
"kind": "dynamic-import"
|
16266
16296
|
},
|
16267
16297
|
{
|
@@ -16394,6 +16424,11 @@
|
|
16394
16424
|
"kind": "import-statement",
|
16395
16425
|
"external": true
|
16396
16426
|
},
|
16427
|
+
{
|
16428
|
+
"path": "ts-pattern",
|
16429
|
+
"kind": "import-statement",
|
16430
|
+
"external": true
|
16431
|
+
},
|
16397
16432
|
{
|
16398
16433
|
"path": "@100mslive/react-icons",
|
16399
16434
|
"kind": "import-statement",
|
@@ -16671,6 +16706,8 @@
|
|
16671
16706
|
"Link",
|
16672
16707
|
"Loading",
|
16673
16708
|
"Logo",
|
16709
|
+
"POLL_STATE",
|
16710
|
+
"POLL_VIEWS",
|
16674
16711
|
"PasswordInput",
|
16675
16712
|
"Popover",
|
16676
16713
|
"Progress",
|
@@ -16721,7 +16758,6 @@
|
|
16721
16758
|
"useBorderAudioLevel",
|
16722
16759
|
"useIsLandscape",
|
16723
16760
|
"useIsSidepaneTypeOpen",
|
16724
|
-
"usePollViewToggle",
|
16725
16761
|
"useRoomLayoutConferencingScreen",
|
16726
16762
|
"useRoomLayoutHeader",
|
16727
16763
|
"useSidepaneToggle",
|
@@ -16729,13 +16765,13 @@
|
|
16729
16765
|
],
|
16730
16766
|
"inputs": {
|
16731
16767
|
"<define:process.env>": {
|
16732
|
-
"bytesInOutput":
|
16768
|
+
"bytesInOutput": 18150
|
16733
16769
|
},
|
16734
16770
|
"../../node_modules/lodash/lodash.js": {
|
16735
|
-
"bytesInOutput":
|
16771
|
+
"bytesInOutput": 224291
|
16736
16772
|
},
|
16737
16773
|
"../../node_modules/ua-parser-js/src/ua-parser.js": {
|
16738
|
-
"bytesInOutput":
|
16774
|
+
"bytesInOutput": 42482
|
16739
16775
|
},
|
16740
16776
|
"../../node_modules/lodash.isequal/index.js": {
|
16741
16777
|
"bytesInOutput": 26591
|
@@ -16747,7 +16783,7 @@
|
|
16747
16783
|
"bytesInOutput": 16120
|
16748
16784
|
},
|
16749
16785
|
"../../node_modules/sdp-transform/lib/parser.js": {
|
16750
|
-
"bytesInOutput":
|
16786
|
+
"bytesInOutput": 3493
|
16751
16787
|
},
|
16752
16788
|
"../../node_modules/sdp-transform/lib/writer.js": {
|
16753
16789
|
"bytesInOutput": 3068
|
@@ -17029,7 +17065,7 @@
|
|
17029
17065
|
"bytesInOutput": 4698
|
17030
17066
|
},
|
17031
17067
|
"src/Prebuilt/components/ConferenceScreen.tsx": {
|
17032
|
-
"bytesInOutput":
|
17068
|
+
"bytesInOutput": 7373
|
17033
17069
|
},
|
17034
17070
|
"src/Prebuilt/components/Footer/Footer.tsx": {
|
17035
17071
|
"bytesInOutput": 3350
|
@@ -17071,7 +17107,7 @@
|
|
17071
17107
|
"bytesInOutput": 1028
|
17072
17108
|
},
|
17073
17109
|
"src/Prebuilt/components/EmojiReaction.jsx": {
|
17074
|
-
"bytesInOutput":
|
17110
|
+
"bytesInOutput": 2493
|
17075
17111
|
},
|
17076
17112
|
"src/Prebuilt/components/Footer/EmojiCard.jsx": {
|
17077
17113
|
"bytesInOutput": 972
|
@@ -17161,13 +17197,13 @@
|
|
17161
17197
|
"bytesInOutput": 1948
|
17162
17198
|
},
|
17163
17199
|
"src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
|
17164
|
-
"bytesInOutput":
|
17200
|
+
"bytesInOutput": 11042
|
17165
17201
|
},
|
17166
17202
|
"src/Prebuilt/components/Header/StreamActions.tsx": {
|
17167
17203
|
"bytesInOutput": 10031
|
17168
17204
|
},
|
17169
17205
|
"../hms-video-store/dist/index.js": {
|
17170
|
-
"bytesInOutput":
|
17206
|
+
"bytesInOutput": 48556
|
17171
17207
|
},
|
17172
17208
|
"../../node_modules/reselect/es/index.js": {
|
17173
17209
|
"bytesInOutput": 2539
|
@@ -17179,13 +17215,13 @@
|
|
17179
17215
|
"bytesInOutput": 4335
|
17180
17216
|
},
|
17181
17217
|
"../../node_modules/webrtc-adapter/src/js/utils.js": {
|
17182
|
-
"bytesInOutput":
|
17218
|
+
"bytesInOutput": 6313
|
17183
17219
|
},
|
17184
17220
|
"../../node_modules/webrtc-adapter/src/js/chrome/chrome_shim.js": {
|
17185
17221
|
"bytesInOutput": 22678
|
17186
17222
|
},
|
17187
17223
|
"../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
|
17188
|
-
"bytesInOutput":
|
17224
|
+
"bytesInOutput": 6090
|
17189
17225
|
},
|
17190
17226
|
"../../node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js": {
|
17191
17227
|
"bytesInOutput": 1256
|
@@ -17203,7 +17239,7 @@
|
|
17203
17239
|
"bytesInOutput": 11868
|
17204
17240
|
},
|
17205
17241
|
"../../node_modules/webrtc-adapter/src/js/common_shim.js": {
|
17206
|
-
"bytesInOutput":
|
17242
|
+
"bytesInOutput": 12460
|
17207
17243
|
},
|
17208
17244
|
"src/Prebuilt/components/Header/AdditionalRoomState.jsx": {
|
17209
17245
|
"bytesInOutput": 6823
|
@@ -17284,7 +17320,7 @@
|
|
17284
17320
|
"bytesInOutput": 4229
|
17285
17321
|
},
|
17286
17322
|
"src/Prebuilt/components/Footer/RoleOptions.tsx": {
|
17287
|
-
"bytesInOutput":
|
17323
|
+
"bytesInOutput": 7326
|
17288
17324
|
},
|
17289
17325
|
"src/Prebuilt/components/Footer/PollsToggle.tsx": {
|
17290
17326
|
"bytesInOutput": 1073
|
@@ -17302,7 +17338,7 @@
|
|
17302
17338
|
"bytesInOutput": 9637
|
17303
17339
|
},
|
17304
17340
|
"src/Prebuilt/layouts/SidePane.tsx": {
|
17305
|
-
"bytesInOutput":
|
17341
|
+
"bytesInOutput": 6271
|
17306
17342
|
},
|
17307
17343
|
"src/Prebuilt/components/Polls/Polls.tsx": {
|
17308
17344
|
"bytesInOutput": 735
|
@@ -17353,7 +17389,7 @@
|
|
17353
17389
|
"bytesInOutput": 2078
|
17354
17390
|
},
|
17355
17391
|
"src/Prebuilt/components/Polls/common/utils.ts": {
|
17356
|
-
"bytesInOutput":
|
17392
|
+
"bytesInOutput": 629
|
17357
17393
|
},
|
17358
17394
|
"src/Prebuilt/components/Polls/Voting/PeerParticipationSummary.tsx": {
|
17359
17395
|
"bytesInOutput": 2309
|
@@ -17389,13 +17425,13 @@
|
|
17389
17425
|
"bytesInOutput": 720
|
17390
17426
|
},
|
17391
17427
|
"src/Prebuilt/components/SidePaneTabs.tsx": {
|
17392
|
-
"bytesInOutput":
|
17428
|
+
"bytesInOutput": 7554
|
17393
17429
|
},
|
17394
17430
|
"src/Prebuilt/components/Chat/Chat.tsx": {
|
17395
|
-
"bytesInOutput":
|
17431
|
+
"bytesInOutput": 4926
|
17396
17432
|
},
|
17397
17433
|
"src/Prebuilt/components/Chat/ChatBody.tsx": {
|
17398
|
-
"bytesInOutput":
|
17434
|
+
"bytesInOutput": 14396
|
17399
17435
|
},
|
17400
17436
|
"src/Prebuilt/components/Chat/ChatActions.tsx": {
|
17401
17437
|
"bytesInOutput": 9785
|
@@ -17410,16 +17446,16 @@
|
|
17410
17446
|
"bytesInOutput": 2757
|
17411
17447
|
},
|
17412
17448
|
"src/Prebuilt/components/Chat/EmptyChat.tsx": {
|
17413
|
-
"bytesInOutput":
|
17449
|
+
"bytesInOutput": 1952
|
17414
17450
|
},
|
17415
17451
|
"src/Prebuilt/images/empty-chat.svg": {
|
17416
17452
|
"bytesInOutput": 2261
|
17417
17453
|
},
|
17418
17454
|
"src/Prebuilt/components/hooks/usePinnedBy.tsx": {
|
17419
|
-
"bytesInOutput":
|
17455
|
+
"bytesInOutput": 710
|
17420
17456
|
},
|
17421
17457
|
"src/Prebuilt/components/Chat/ChatFooter.tsx": {
|
17422
|
-
"bytesInOutput":
|
17458
|
+
"bytesInOutput": 9793
|
17423
17459
|
},
|
17424
17460
|
"src/Prebuilt/components/Chat/ChatSelectorContainer.tsx": {
|
17425
17461
|
"bytesInOutput": 5318
|
@@ -17497,7 +17533,7 @@
|
|
17497
17533
|
"bytesInOutput": 2163
|
17498
17534
|
},
|
17499
17535
|
"src/Prebuilt/layouts/VideoStreamingSection.tsx": {
|
17500
|
-
"bytesInOutput":
|
17536
|
+
"bytesInOutput": 3983
|
17501
17537
|
},
|
17502
17538
|
"src/Prebuilt/components/VideoLayouts/GridLayout.tsx": {
|
17503
17539
|
"bytesInOutput": 3871
|
@@ -17599,7 +17635,7 @@
|
|
17599
17635
|
"bytesInOutput": 491
|
17600
17636
|
},
|
17601
17637
|
"src/Prebuilt/components/MwebLandscapePrompt.tsx": {
|
17602
|
-
"bytesInOutput":
|
17638
|
+
"bytesInOutput": 2922
|
17603
17639
|
},
|
17604
17640
|
"src/Prebuilt/components/Notifications/index.tsx": {
|
17605
17641
|
"bytesInOutput": 27
|
@@ -17683,7 +17719,7 @@
|
|
17683
17719
|
"bytesInOutput": 651
|
17684
17720
|
}
|
17685
17721
|
},
|
17686
|
-
"bytes":
|
17722
|
+
"bytes": 1298753
|
17687
17723
|
}
|
17688
17724
|
}
|
17689
17725
|
}
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.
|
13
|
+
"version": "0.3.0",
|
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.
|
85
|
+
"@100mslive/hls-player": "0.3.0",
|
86
86
|
"@100mslive/hms-noise-cancellation": "0.0.0-alpha.1",
|
87
|
-
"@100mslive/hms-virtual-background": "1.
|
88
|
-
"@100mslive/react-icons": "0.
|
89
|
-
"@100mslive/react-sdk": "0.
|
87
|
+
"@100mslive/hms-virtual-background": "1.13.0",
|
88
|
+
"@100mslive/react-icons": "0.10.0",
|
89
|
+
"@100mslive/react-sdk": "0.10.0",
|
90
90
|
"@100mslive/types-prebuilt": "0.12.7",
|
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": "eaed700cd6f04214d3aa7a691c3f1bd603e1ce0e"
|
126
126
|
}
|
@@ -42,6 +42,11 @@ export const Chat = () => {
|
|
42
42
|
[hmsActions, vanillaStore],
|
43
43
|
);
|
44
44
|
|
45
|
+
if (!elements?.chat) {
|
46
|
+
return null;
|
47
|
+
}
|
48
|
+
const streaming = isMobileHLSStream || isLandscapeStream;
|
49
|
+
|
45
50
|
return (
|
46
51
|
<Flex
|
47
52
|
direction="column"
|
@@ -51,12 +56,12 @@ export const Chat = () => {
|
|
51
56
|
gap: '$4',
|
52
57
|
}}
|
53
58
|
>
|
54
|
-
{isMobile && elements?.chat?.is_overlay ? null : <PinnedMessage />}
|
59
|
+
{isMobile && elements?.chat?.is_overlay && !streaming ? null : <PinnedMessage />}
|
55
60
|
<ChatBody ref={listRef} scrollToBottom={scrollToBottom} />
|
56
61
|
|
57
62
|
<ChatPaused />
|
58
63
|
<ChatBlocked />
|
59
|
-
{isMobile && elements?.chat?.is_overlay ? <PinnedMessage /> : null}
|
64
|
+
{isMobile && elements?.chat?.is_overlay && !streaming ? <PinnedMessage /> : null}
|
60
65
|
{isChatEnabled ? (
|
61
66
|
<ChatFooter onSend={scrollToBottom}>
|
62
67
|
<NewMessageIndicator scrollToBottom={scrollToBottom} listRef={listRef} />
|
@@ -66,7 +71,7 @@ export const Chat = () => {
|
|
66
71
|
<Box
|
67
72
|
css={{
|
68
73
|
position: 'absolute',
|
69
|
-
...match({ isLandscapeStream, isChatEnabled })
|
74
|
+
...match({ isLandscapeStream, isMobileHLSStream, isChatEnabled })
|
70
75
|
.with(
|
71
76
|
{
|
72
77
|
isLandscapeStream: true,
|
@@ -81,12 +86,26 @@ export const Chat = () => {
|
|
81
86
|
},
|
82
87
|
() => ({ bottom: '$20', right: '$10' }),
|
83
88
|
)
|
89
|
+
.with(
|
90
|
+
{
|
91
|
+
isMobileHLSStream: true,
|
92
|
+
isChatEnabled: false,
|
93
|
+
},
|
94
|
+
() => ({ bottom: '$19', right: '$8' }),
|
95
|
+
)
|
96
|
+
.with(
|
97
|
+
{
|
98
|
+
isMobileHLSStream: true,
|
99
|
+
isChatEnabled: true,
|
100
|
+
},
|
101
|
+
() => ({ bottom: '$17', right: '$8' }),
|
102
|
+
)
|
84
103
|
.with(
|
85
104
|
{
|
86
105
|
isLandscapeStream: false,
|
87
106
|
isChatEnabled: true,
|
88
107
|
},
|
89
|
-
() => ({ bottom: '$
|
108
|
+
() => ({ bottom: '$20', right: '$8' }),
|
90
109
|
)
|
91
110
|
.otherwise(() => ({})),
|
92
111
|
}}
|