@100mslive/roomkit-react 0.3.25-alpha.0 → 0.3.25-alpha.10
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/README.md +8 -3
- package/dist/Prebuilt/App.d.ts +1 -2
- package/dist/VideoTile/StyledVideoTile.d.ts +1 -606
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +844 -885
- 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 +910 -952
- package/dist/index.js.map +4 -4
- package/dist/meta.cjs.json +40 -65
- package/dist/meta.esbuild.json +40 -65
- package/package.json +8 -9
- package/src/Diagnostics/ConnectivityTest.tsx +2 -0
- package/src/Prebuilt/App.tsx +6 -4
- package/src/Prebuilt/components/AudioVideoToggle.tsx +1 -1
- package/src/Prebuilt/components/ConferenceScreen.tsx +7 -35
- package/src/Prebuilt/components/PIP/PIPChat.tsx +1 -1
- package/src/Prebuilt/components/VideoLayouts/Grid.tsx +29 -32
- package/src/VideoTile/StyledVideoTile.tsx +2 -15
package/dist/meta.esbuild.json
CHANGED
|
@@ -915,13 +915,8 @@
|
|
|
915
915
|
"format": "esm"
|
|
916
916
|
},
|
|
917
917
|
"src/VideoTile/StyledVideoTile.tsx": {
|
|
918
|
-
"bytes":
|
|
918
|
+
"bytes": 2855,
|
|
919
919
|
"imports": [
|
|
920
|
-
{
|
|
921
|
-
"path": "framer-motion",
|
|
922
|
-
"kind": "import-statement",
|
|
923
|
-
"external": true
|
|
924
|
-
},
|
|
925
920
|
{
|
|
926
921
|
"path": "src/Layout/index.tsx",
|
|
927
922
|
"kind": "import-statement",
|
|
@@ -3107,7 +3102,7 @@
|
|
|
3107
3102
|
"format": "esm"
|
|
3108
3103
|
},
|
|
3109
3104
|
"src/Prebuilt/components/AudioVideoToggle.tsx": {
|
|
3110
|
-
"bytes":
|
|
3105
|
+
"bytes": 13760,
|
|
3111
3106
|
"imports": [
|
|
3112
3107
|
{
|
|
3113
3108
|
"path": "react",
|
|
@@ -4362,7 +4357,7 @@
|
|
|
4362
4357
|
"format": "esm"
|
|
4363
4358
|
},
|
|
4364
4359
|
"src/Prebuilt/components/PIP/PIPChat.tsx": {
|
|
4365
|
-
"bytes":
|
|
4360
|
+
"bytes": 10418,
|
|
4366
4361
|
"imports": [
|
|
4367
4362
|
{
|
|
4368
4363
|
"path": "react",
|
|
@@ -5784,7 +5779,7 @@
|
|
|
5784
5779
|
"format": "cjs"
|
|
5785
5780
|
},
|
|
5786
5781
|
"../hms-video-store/dist/index.js": {
|
|
5787
|
-
"bytes":
|
|
5782
|
+
"bytes": 375694,
|
|
5788
5783
|
"imports": [
|
|
5789
5784
|
{
|
|
5790
5785
|
"path": "../../node_modules/reselect/es/index.js",
|
|
@@ -10706,18 +10701,13 @@
|
|
|
10706
10701
|
"format": "esm"
|
|
10707
10702
|
},
|
|
10708
10703
|
"src/Prebuilt/components/VideoLayouts/Grid.tsx": {
|
|
10709
|
-
"bytes":
|
|
10704
|
+
"bytes": 1272,
|
|
10710
10705
|
"imports": [
|
|
10711
10706
|
{
|
|
10712
10707
|
"path": "react",
|
|
10713
10708
|
"kind": "import-statement",
|
|
10714
10709
|
"external": true
|
|
10715
10710
|
},
|
|
10716
|
-
{
|
|
10717
|
-
"path": "framer-motion",
|
|
10718
|
-
"kind": "import-statement",
|
|
10719
|
-
"external": true
|
|
10720
|
-
},
|
|
10721
10711
|
{
|
|
10722
10712
|
"path": "@100mslive/react-sdk",
|
|
10723
10713
|
"kind": "import-statement",
|
|
@@ -11331,7 +11321,7 @@
|
|
|
11331
11321
|
],
|
|
11332
11322
|
"format": "esm"
|
|
11333
11323
|
},
|
|
11334
|
-
"../../../../../../../tmp/tmp-
|
|
11324
|
+
"../../../../../../../tmp/tmp-2744-BnTgP3RtcjHE/1939bb1d2c32/tldraw.css": {
|
|
11335
11325
|
"bytes": 80111,
|
|
11336
11326
|
"imports": [
|
|
11337
11327
|
{
|
|
@@ -11381,7 +11371,7 @@
|
|
|
11381
11371
|
}
|
|
11382
11372
|
]
|
|
11383
11373
|
},
|
|
11384
|
-
"../../../../../../../tmp/tmp-
|
|
11374
|
+
"../../../../../../../tmp/tmp-2744-BnTgP3RtcjHE/1939bb1d2620/index.css": {
|
|
11385
11375
|
"bytes": 597,
|
|
11386
11376
|
"imports": [
|
|
11387
11377
|
{
|
|
@@ -11390,7 +11380,7 @@
|
|
|
11390
11380
|
"external": true
|
|
11391
11381
|
},
|
|
11392
11382
|
{
|
|
11393
|
-
"path": "../../../../../../../tmp/tmp-
|
|
11383
|
+
"path": "../../../../../../../tmp/tmp-2744-BnTgP3RtcjHE/1939bb1d2c32/tldraw.css",
|
|
11394
11384
|
"kind": "import-rule",
|
|
11395
11385
|
"original": "@tldraw/tldraw/tldraw.css"
|
|
11396
11386
|
}
|
|
@@ -11465,7 +11455,7 @@
|
|
|
11465
11455
|
"original": "../../common/constants"
|
|
11466
11456
|
},
|
|
11467
11457
|
{
|
|
11468
|
-
"path": "../../../../../../../tmp/tmp-
|
|
11458
|
+
"path": "../../../../../../../tmp/tmp-2744-BnTgP3RtcjHE/1939bb1d2620/index.css",
|
|
11469
11459
|
"kind": "import-statement",
|
|
11470
11460
|
"original": "@100mslive/hms-whiteboard/index.css"
|
|
11471
11461
|
},
|
|
@@ -12823,7 +12813,7 @@
|
|
|
12823
12813
|
"format": "esm"
|
|
12824
12814
|
},
|
|
12825
12815
|
"src/Prebuilt/components/ConferenceScreen.tsx": {
|
|
12826
|
-
"bytes":
|
|
12816
|
+
"bytes": 7133,
|
|
12827
12817
|
"imports": [
|
|
12828
12818
|
{
|
|
12829
12819
|
"path": "react",
|
|
@@ -14606,18 +14596,13 @@
|
|
|
14606
14596
|
"format": "esm"
|
|
14607
14597
|
},
|
|
14608
14598
|
"src/Prebuilt/App.tsx": {
|
|
14609
|
-
"bytes":
|
|
14599
|
+
"bytes": 10920,
|
|
14610
14600
|
"imports": [
|
|
14611
14601
|
{
|
|
14612
14602
|
"path": "react",
|
|
14613
14603
|
"kind": "import-statement",
|
|
14614
14604
|
"external": true
|
|
14615
14605
|
},
|
|
14616
|
-
{
|
|
14617
|
-
"path": "@100mslive/hms-video-store",
|
|
14618
|
-
"kind": "import-statement",
|
|
14619
|
-
"external": true
|
|
14620
|
-
},
|
|
14621
14606
|
{
|
|
14622
14607
|
"path": "@100mslive/types-prebuilt",
|
|
14623
14608
|
"kind": "import-statement",
|
|
@@ -15219,7 +15204,7 @@
|
|
|
15219
15204
|
"format": "esm"
|
|
15220
15205
|
},
|
|
15221
15206
|
"src/Diagnostics/ConnectivityTest.tsx": {
|
|
15222
|
-
"bytes":
|
|
15207
|
+
"bytes": 12290,
|
|
15223
15208
|
"imports": [
|
|
15224
15209
|
{
|
|
15225
15210
|
"path": "react",
|
|
@@ -15729,7 +15714,7 @@
|
|
|
15729
15714
|
"imports": [],
|
|
15730
15715
|
"exports": [],
|
|
15731
15716
|
"inputs": {},
|
|
15732
|
-
"bytes":
|
|
15717
|
+
"bytes": 3664418
|
|
15733
15718
|
},
|
|
15734
15719
|
"dist/index.js": {
|
|
15735
15720
|
"imports": [
|
|
@@ -15873,11 +15858,6 @@
|
|
|
15873
15858
|
"kind": "import-statement",
|
|
15874
15859
|
"external": true
|
|
15875
15860
|
},
|
|
15876
|
-
{
|
|
15877
|
-
"path": "framer-motion",
|
|
15878
|
-
"kind": "import-statement",
|
|
15879
|
-
"external": true
|
|
15880
|
-
},
|
|
15881
15861
|
{
|
|
15882
15862
|
"path": "@radix-ui/react-dropdown-menu",
|
|
15883
15863
|
"kind": "import-statement",
|
|
@@ -18113,11 +18093,6 @@
|
|
|
18113
18093
|
"kind": "import-statement",
|
|
18114
18094
|
"external": true
|
|
18115
18095
|
},
|
|
18116
|
-
{
|
|
18117
|
-
"path": "framer-motion",
|
|
18118
|
-
"kind": "import-statement",
|
|
18119
|
-
"external": true
|
|
18120
|
-
},
|
|
18121
18096
|
{
|
|
18122
18097
|
"path": "react",
|
|
18123
18098
|
"kind": "import-statement",
|
|
@@ -19143,13 +19118,13 @@
|
|
|
19143
19118
|
"cssBundle": "dist/index.css",
|
|
19144
19119
|
"inputs": {
|
|
19145
19120
|
"<define:process.env>": {
|
|
19146
|
-
"bytesInOutput":
|
|
19121
|
+
"bytesInOutput": 18055
|
|
19147
19122
|
},
|
|
19148
19123
|
"../../node_modules/lodash/lodash.js": {
|
|
19149
|
-
"bytesInOutput":
|
|
19124
|
+
"bytesInOutput": 224301
|
|
19150
19125
|
},
|
|
19151
19126
|
"../../node_modules/ua-parser-js/src/ua-parser.js": {
|
|
19152
|
-
"bytesInOutput":
|
|
19127
|
+
"bytesInOutput": 42449
|
|
19153
19128
|
},
|
|
19154
19129
|
"../../node_modules/lodash.isequal/index.js": {
|
|
19155
19130
|
"bytesInOutput": 26591
|
|
@@ -19164,13 +19139,13 @@
|
|
|
19164
19139
|
"bytesInOutput": 3491
|
|
19165
19140
|
},
|
|
19166
19141
|
"../../node_modules/sdp-transform/lib/writer.js": {
|
|
19167
|
-
"bytesInOutput":
|
|
19142
|
+
"bytesInOutput": 3071
|
|
19168
19143
|
},
|
|
19169
19144
|
"../../node_modules/sdp-transform/lib/index.js": {
|
|
19170
19145
|
"bytesInOutput": 615
|
|
19171
19146
|
},
|
|
19172
19147
|
"../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js": {
|
|
19173
|
-
"bytesInOutput":
|
|
19148
|
+
"bytesInOutput": 3852
|
|
19174
19149
|
},
|
|
19175
19150
|
"../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js": {
|
|
19176
19151
|
"bytesInOutput": 7630
|
|
@@ -19179,7 +19154,7 @@
|
|
|
19179
19154
|
"bytesInOutput": 373
|
|
19180
19155
|
},
|
|
19181
19156
|
"../../node_modules/object-assign/index.js": {
|
|
19182
|
-
"bytesInOutput":
|
|
19157
|
+
"bytesInOutput": 2163
|
|
19183
19158
|
},
|
|
19184
19159
|
"../../node_modules/prop-types/lib/ReactPropTypesSecret.js": {
|
|
19185
19160
|
"bytesInOutput": 308
|
|
@@ -19188,10 +19163,10 @@
|
|
|
19188
19163
|
"bytesInOutput": 208
|
|
19189
19164
|
},
|
|
19190
19165
|
"../../node_modules/prop-types/checkPropTypes.js": {
|
|
19191
|
-
"bytesInOutput":
|
|
19166
|
+
"bytesInOutput": 2826
|
|
19192
19167
|
},
|
|
19193
19168
|
"../../node_modules/prop-types/factoryWithTypeCheckers.js": {
|
|
19194
|
-
"bytesInOutput":
|
|
19169
|
+
"bytesInOutput": 19842
|
|
19195
19170
|
},
|
|
19196
19171
|
"../../node_modules/prop-types/factoryWithThrowingShims.js": {
|
|
19197
19172
|
"bytesInOutput": 1646
|
|
@@ -19221,7 +19196,7 @@
|
|
|
19221
19196
|
"bytesInOutput": 5061
|
|
19222
19197
|
},
|
|
19223
19198
|
"src/Prebuilt/common/constants.ts": {
|
|
19224
|
-
"bytesInOutput":
|
|
19199
|
+
"bytesInOutput": 3591
|
|
19225
19200
|
},
|
|
19226
19201
|
"src/Theme/ThemeProvider.tsx": {
|
|
19227
19202
|
"bytesInOutput": 1926
|
|
@@ -19317,7 +19292,7 @@
|
|
|
19317
19292
|
"bytesInOutput": 27
|
|
19318
19293
|
},
|
|
19319
19294
|
"src/VideoTile/StyledVideoTile.tsx": {
|
|
19320
|
-
"bytesInOutput":
|
|
19295
|
+
"bytesInOutput": 2481
|
|
19321
19296
|
},
|
|
19322
19297
|
"src/VideoList/index.tsx": {
|
|
19323
19298
|
"bytesInOutput": 27
|
|
@@ -19368,7 +19343,7 @@
|
|
|
19368
19343
|
"bytesInOutput": 8580
|
|
19369
19344
|
},
|
|
19370
19345
|
"src/Stats/formatBytes.ts": {
|
|
19371
|
-
"bytesInOutput":
|
|
19346
|
+
"bytesInOutput": 471
|
|
19372
19347
|
},
|
|
19373
19348
|
"src/Stats/StyledStats.tsx": {
|
|
19374
19349
|
"bytesInOutput": 708
|
|
@@ -19425,7 +19400,7 @@
|
|
|
19425
19400
|
"bytesInOutput": 887
|
|
19426
19401
|
},
|
|
19427
19402
|
"src/Prebuilt/App.tsx": {
|
|
19428
|
-
"bytesInOutput":
|
|
19403
|
+
"bytesInOutput": 8036
|
|
19429
19404
|
},
|
|
19430
19405
|
"src/Prebuilt/components/AppData/AppData.tsx": {
|
|
19431
19406
|
"bytesInOutput": 6633
|
|
@@ -19491,13 +19466,13 @@
|
|
|
19491
19466
|
"bytesInOutput": 1028
|
|
19492
19467
|
},
|
|
19493
19468
|
"src/Prebuilt/components/ConferenceScreen.tsx": {
|
|
19494
|
-
"bytesInOutput":
|
|
19469
|
+
"bytesInOutput": 6307
|
|
19495
19470
|
},
|
|
19496
19471
|
"src/Prebuilt/components/Footer/Footer.tsx": {
|
|
19497
19472
|
"bytesInOutput": 3306
|
|
19498
19473
|
},
|
|
19499
19474
|
"src/Prebuilt/components/AudioVideoToggle.tsx": {
|
|
19500
|
-
"bytesInOutput":
|
|
19475
|
+
"bytesInOutput": 14236
|
|
19501
19476
|
},
|
|
19502
19477
|
"src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx": {
|
|
19503
19478
|
"bytesInOutput": 3293
|
|
@@ -19584,7 +19559,7 @@
|
|
|
19584
19559
|
"bytesInOutput": 2509
|
|
19585
19560
|
},
|
|
19586
19561
|
"src/Prebuilt/components/PIP/PIPChat.tsx": {
|
|
19587
|
-
"bytesInOutput":
|
|
19562
|
+
"bytesInOutput": 10157
|
|
19588
19563
|
},
|
|
19589
19564
|
"src/TextArea/index.tsx": {
|
|
19590
19565
|
"bytesInOutput": 27
|
|
@@ -19677,7 +19652,7 @@
|
|
|
19677
19652
|
"bytesInOutput": 9861
|
|
19678
19653
|
},
|
|
19679
19654
|
"../hms-video-store/dist/index.js": {
|
|
19680
|
-
"bytesInOutput":
|
|
19655
|
+
"bytesInOutput": 54291
|
|
19681
19656
|
},
|
|
19682
19657
|
"../../node_modules/reselect/es/index.js": {
|
|
19683
19658
|
"bytesInOutput": 2539
|
|
@@ -19692,7 +19667,7 @@
|
|
|
19692
19667
|
"bytesInOutput": 6313
|
|
19693
19668
|
},
|
|
19694
19669
|
"../../node_modules/webrtc-adapter/src/js/chrome/chrome_shim.js": {
|
|
19695
|
-
"bytesInOutput":
|
|
19670
|
+
"bytesInOutput": 22676
|
|
19696
19671
|
},
|
|
19697
19672
|
"../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
|
|
19698
19673
|
"bytesInOutput": 6093
|
|
@@ -19710,10 +19685,10 @@
|
|
|
19710
19685
|
"bytesInOutput": 842
|
|
19711
19686
|
},
|
|
19712
19687
|
"../../node_modules/webrtc-adapter/src/js/safari/safari_shim.js": {
|
|
19713
|
-
"bytesInOutput":
|
|
19688
|
+
"bytesInOutput": 11866
|
|
19714
19689
|
},
|
|
19715
19690
|
"../../node_modules/webrtc-adapter/src/js/common_shim.js": {
|
|
19716
|
-
"bytesInOutput":
|
|
19691
|
+
"bytesInOutput": 12458
|
|
19717
19692
|
},
|
|
19718
19693
|
"src/Prebuilt/components/MoreSettings/ChangeNameModal.tsx": {
|
|
19719
19694
|
"bytesInOutput": 2272
|
|
@@ -19893,7 +19868,7 @@
|
|
|
19893
19868
|
"bytesInOutput": 7557
|
|
19894
19869
|
},
|
|
19895
19870
|
"src/Prebuilt/components/Chat/Chat.tsx": {
|
|
19896
|
-
"bytesInOutput":
|
|
19871
|
+
"bytesInOutput": 5651
|
|
19897
19872
|
},
|
|
19898
19873
|
"src/Prebuilt/components/Chat/ChatFooter.tsx": {
|
|
19899
19874
|
"bytesInOutput": 10898
|
|
@@ -19989,7 +19964,7 @@
|
|
|
19989
19964
|
"bytesInOutput": 1698
|
|
19990
19965
|
},
|
|
19991
19966
|
"src/Prebuilt/components/VideoLayouts/Grid.tsx": {
|
|
19992
|
-
"bytesInOutput":
|
|
19967
|
+
"bytesInOutput": 1204
|
|
19993
19968
|
},
|
|
19994
19969
|
"src/Prebuilt/components/hooks/useTileLayout.tsx": {
|
|
19995
19970
|
"bytesInOutput": 3834
|
|
@@ -20021,7 +19996,7 @@
|
|
|
20021
19996
|
"src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
|
|
20022
19997
|
"bytesInOutput": 2830
|
|
20023
19998
|
},
|
|
20024
|
-
"../../../../../../../tmp/tmp-
|
|
19999
|
+
"../../../../../../../tmp/tmp-2744-BnTgP3RtcjHE/1939bb1d2620/index.css": {
|
|
20025
20000
|
"bytesInOutput": 0
|
|
20026
20001
|
},
|
|
20027
20002
|
"src/Prebuilt/common/PeersSorter.ts": {
|
|
@@ -20031,7 +20006,7 @@
|
|
|
20031
20006
|
"bytesInOutput": 2787
|
|
20032
20007
|
},
|
|
20033
20008
|
"src/Prebuilt/layouts/HLSView.jsx": {
|
|
20034
|
-
"bytesInOutput":
|
|
20009
|
+
"bytesInOutput": 28045
|
|
20035
20010
|
},
|
|
20036
20011
|
"src/Prebuilt/components/HlsStatsOverlay.jsx": {
|
|
20037
20012
|
"bytesInOutput": 3592
|
|
@@ -20250,13 +20225,13 @@
|
|
|
20250
20225
|
"bytesInOutput": 4418
|
|
20251
20226
|
},
|
|
20252
20227
|
"src/Diagnostics/ConnectivityTest.tsx": {
|
|
20253
|
-
"bytesInOutput":
|
|
20228
|
+
"bytesInOutput": 13776
|
|
20254
20229
|
},
|
|
20255
20230
|
"src/Diagnostics/VideoTest.tsx": {
|
|
20256
20231
|
"bytesInOutput": 2632
|
|
20257
20232
|
}
|
|
20258
20233
|
},
|
|
20259
|
-
"bytes":
|
|
20234
|
+
"bytes": 1449718
|
|
20260
20235
|
},
|
|
20261
20236
|
"dist/index.css.map": {
|
|
20262
20237
|
"imports": [],
|
|
@@ -20318,10 +20293,10 @@
|
|
|
20318
20293
|
}
|
|
20319
20294
|
],
|
|
20320
20295
|
"inputs": {
|
|
20321
|
-
"../../../../../../../tmp/tmp-
|
|
20296
|
+
"../../../../../../../tmp/tmp-2744-BnTgP3RtcjHE/1939bb1d2c32/tldraw.css": {
|
|
20322
20297
|
"bytesInOutput": 75223
|
|
20323
20298
|
},
|
|
20324
|
-
"../../../../../../../tmp/tmp-
|
|
20299
|
+
"../../../../../../../tmp/tmp-2744-BnTgP3RtcjHE/1939bb1d2620/index.css": {
|
|
20325
20300
|
"bytesInOutput": 401
|
|
20326
20301
|
}
|
|
20327
20302
|
},
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"prebuilt",
|
|
11
11
|
"roomkit"
|
|
12
12
|
],
|
|
13
|
-
"version": "0.3.25-alpha.
|
|
13
|
+
"version": "0.3.25-alpha.10",
|
|
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.25-alpha.
|
|
79
|
-
"@100mslive/hms-noise-cancellation": "0.0.
|
|
80
|
-
"@100mslive/hms-virtual-background": "1.13.25-alpha.
|
|
81
|
-
"@100mslive/hms-whiteboard": "0.0.15-alpha.
|
|
82
|
-
"@100mslive/react-icons": "0.10.25-alpha.
|
|
83
|
-
"@100mslive/react-sdk": "0.10.25-alpha.
|
|
78
|
+
"@100mslive/hls-player": "0.3.25-alpha.10",
|
|
79
|
+
"@100mslive/hms-noise-cancellation": "0.0.2-alpha.9",
|
|
80
|
+
"@100mslive/hms-virtual-background": "1.13.25-alpha.10",
|
|
81
|
+
"@100mslive/hms-whiteboard": "0.0.15-alpha.10",
|
|
82
|
+
"@100mslive/react-icons": "0.10.25-alpha.10",
|
|
83
|
+
"@100mslive/react-sdk": "0.10.25-alpha.10",
|
|
84
84
|
"@100mslive/types-prebuilt": "0.12.12",
|
|
85
85
|
"@emoji-mart/data": "^1.0.6",
|
|
86
86
|
"@emoji-mart/react": "^1.0.1",
|
|
@@ -102,7 +102,6 @@
|
|
|
102
102
|
"@stitches/react": "1.3.1-1",
|
|
103
103
|
"emoji-mart": "^5.2.2",
|
|
104
104
|
"eventemitter2": "^6.4.9",
|
|
105
|
-
"framer-motion": "^11.11.0",
|
|
106
105
|
"lodash.merge": "^4.6.2",
|
|
107
106
|
"qrcode.react": "^3.1.0",
|
|
108
107
|
"react-dom": "^18.2.0",
|
|
@@ -118,5 +117,5 @@
|
|
|
118
117
|
"uuid": "^8.3.2",
|
|
119
118
|
"worker-timers": "^7.0.40"
|
|
120
119
|
},
|
|
121
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "b501de9d52ebead7150aaeaeed746c0ed1ac2c6d"
|
|
122
121
|
}
|
|
@@ -164,6 +164,7 @@ const AudioStats = ({ stats }: { stats: DiagnosticsRTCStats | undefined }) => {
|
|
|
164
164
|
<DetailedInfo title="Bitrate Sent" value={formatBytes(stats.bitrateSent, 'b/s')} />
|
|
165
165
|
<DetailedInfo title="Bitrate Received" value={formatBytes(stats.bitrateReceived, 'b/s')} />
|
|
166
166
|
<DetailedInfo title="Round Trip Time" value={`${stats.roundTripTime} ms`} />
|
|
167
|
+
<DetailedInfo title="Jitter" value={`${stats.jitter} s`} />
|
|
167
168
|
</Flex>
|
|
168
169
|
)}
|
|
169
170
|
</ConnectivityTestStepResult>
|
|
@@ -182,6 +183,7 @@ const VideoStats = ({ stats }: { stats: DiagnosticsRTCStats | undefined }) => {
|
|
|
182
183
|
<DetailedInfo title="Bitrate Sent" value={formatBytes(stats.bitrateSent, 'b/s')} />
|
|
183
184
|
<DetailedInfo title="Bitrate Received" value={formatBytes(stats.bitrateReceived, 'b/s')} />
|
|
184
185
|
<DetailedInfo title="Round Trip Time" value={`${stats.roundTripTime} ms`} />
|
|
186
|
+
<DetailedInfo title="Jitter" value={`${stats.jitter} s`} />
|
|
185
187
|
</Flex>
|
|
186
188
|
)}
|
|
187
189
|
</ConnectivityTestStepResult>
|
package/src/Prebuilt/App.tsx
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import React, { MutableRefObject, useEffect, useRef } from 'react';
|
|
2
|
-
import { HMSStatsStoreWrapper, HMSStoreWrapper, IHMSNotifications } from '@100mslive/hms-video-store';
|
|
3
2
|
import { Layout, Logo, Screens, Theme, Typography } from '@100mslive/types-prebuilt';
|
|
4
3
|
import { match } from 'ts-pattern';
|
|
5
4
|
import {
|
|
6
5
|
HMSActions,
|
|
7
6
|
HMSReactiveStore,
|
|
8
7
|
HMSRoomProvider,
|
|
8
|
+
HMSStatsStoreWrapper,
|
|
9
|
+
HMSStoreWrapper,
|
|
10
|
+
IHMSNotifications,
|
|
9
11
|
selectIsConnectedToRoom,
|
|
10
12
|
useHMSActions,
|
|
11
13
|
useHMSStore,
|
|
@@ -207,15 +209,15 @@ export const HMSPrebuilt = React.forwardRef<HMSPrebuiltRefType, HMSPrebuiltProps
|
|
|
207
209
|
|
|
208
210
|
return (
|
|
209
211
|
<HMSThemeProvider
|
|
210
|
-
// issue is with
|
|
212
|
+
// issue is with stitches caching the theme using the theme name / class
|
|
211
213
|
// no updates to the themes are fired if the name is same.
|
|
212
214
|
// TODO: cache the theme and do deep check to trigger name change in the theme
|
|
213
215
|
themeType={`${theme.name}-${Date.now()}`}
|
|
214
216
|
theme={{
|
|
215
|
-
//@ts-ignore: Prebuilt theme to match
|
|
217
|
+
//@ts-ignore: Prebuilt theme to match stitches theme
|
|
216
218
|
colors: theme.palette,
|
|
217
219
|
fonts: {
|
|
218
|
-
//@ts-ignore: font list to match token types of
|
|
220
|
+
//@ts-ignore: font list to match token types of stitches
|
|
219
221
|
sans: fontFamily,
|
|
220
222
|
},
|
|
221
223
|
}}
|
|
@@ -155,7 +155,7 @@ export const NoiseCancellation = ({
|
|
|
155
155
|
return (
|
|
156
156
|
<ActionTile.Root
|
|
157
157
|
active={isNoiseCancellationEnabled && isKrispPluginAdded}
|
|
158
|
-
|
|
158
|
+
disabled={inProgress}
|
|
159
159
|
onClick={async () => {
|
|
160
160
|
await setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
|
|
161
161
|
setOpenOptionsSheet?.(false);
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import React, { useEffect, useRef
|
|
1
|
+
import React, { useEffect, useRef } from 'react';
|
|
2
2
|
import { DefaultConferencingScreen_Elements } from '@100mslive/types-prebuilt';
|
|
3
3
|
import { v4 as uuid } from 'uuid';
|
|
4
4
|
import {
|
|
5
5
|
HMSRoomState,
|
|
6
|
-
selectAppData,
|
|
7
6
|
selectIsConnectedToRoom,
|
|
8
7
|
selectRoomState,
|
|
9
8
|
useAwayNotifications,
|
|
@@ -34,7 +33,7 @@ import {
|
|
|
34
33
|
// @ts-ignore: No implicit Any
|
|
35
34
|
import { useAuthToken, useSetAppDataByKey } from './AppData/useUISettings';
|
|
36
35
|
import { useLandscapeHLSStream, useMobileHLSStream } from '../common/hooks';
|
|
37
|
-
import { APP_DATA
|
|
36
|
+
import { APP_DATA } from '../common/constants';
|
|
38
37
|
|
|
39
38
|
export const ConferenceScreen = () => {
|
|
40
39
|
const { userName, endpoints, onJoin: onJoinFunc } = useHMSPrebuiltContext();
|
|
@@ -43,13 +42,11 @@ export const ConferenceScreen = () => {
|
|
|
43
42
|
const roomState = useHMSStore(selectRoomState);
|
|
44
43
|
const isConnectedToRoom = useHMSStore(selectIsConnectedToRoom);
|
|
45
44
|
const hmsActions = useHMSActions();
|
|
46
|
-
|
|
47
|
-
const dropdownList = useHMSStore(selectAppData(APP_DATA.dropdownList));
|
|
45
|
+
|
|
48
46
|
const authTokenInAppData = useAuthToken();
|
|
49
47
|
const headerRef = useRef<HTMLDivElement | null>(null);
|
|
50
48
|
const footerRef = useRef<HTMLDivElement | null>(null);
|
|
51
|
-
|
|
52
|
-
const dropdownListRef = useRef<string[]>();
|
|
49
|
+
|
|
53
50
|
const [isHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
|
|
54
51
|
const { requestPermission } = useAwayNotifications();
|
|
55
52
|
|
|
@@ -60,28 +57,6 @@ export const ConferenceScreen = () => {
|
|
|
60
57
|
const isLandscapeHLSStream = useLandscapeHLSStream();
|
|
61
58
|
const isMwebHLSStream = isMobileHLSStream || isLandscapeHLSStream;
|
|
62
59
|
|
|
63
|
-
const toggleControls = () => {
|
|
64
|
-
if (dropdownListRef.current?.length === 0 && isMobileDevice && !isMwebHLSStream) {
|
|
65
|
-
setHideControls(value => !value);
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
useEffect(() => {
|
|
70
|
-
let timeout: undefined | ReturnType<typeof setTimeout>;
|
|
71
|
-
dropdownListRef.current = dropdownList || [];
|
|
72
|
-
if (dropdownListRef.current && dropdownListRef.current.length === 0) {
|
|
73
|
-
clearTimeout(timeout);
|
|
74
|
-
timeout = setTimeout(() => {
|
|
75
|
-
if (dropdownListRef.current && dropdownListRef.current.length === 0) {
|
|
76
|
-
setHideControls(isMobileDevice);
|
|
77
|
-
}
|
|
78
|
-
}, 5000);
|
|
79
|
-
}
|
|
80
|
-
return () => {
|
|
81
|
-
clearTimeout(timeout);
|
|
82
|
-
};
|
|
83
|
-
}, [dropdownList, hideControls, isMobileDevice]);
|
|
84
|
-
|
|
85
60
|
useEffect(() => {
|
|
86
61
|
if (
|
|
87
62
|
authTokenInAppData &&
|
|
@@ -128,8 +103,6 @@ export const ConferenceScreen = () => {
|
|
|
128
103
|
return <FullPageProgress text={roomState === HMSRoomState.Connecting ? 'Joining...' : ''} />;
|
|
129
104
|
}
|
|
130
105
|
|
|
131
|
-
const hideControlsForStreaming = isMwebHLSStream ? true : hideControls;
|
|
132
|
-
|
|
133
106
|
return (
|
|
134
107
|
<>
|
|
135
108
|
{isHLSStarted ? (
|
|
@@ -144,7 +117,7 @@ export const ConferenceScreen = () => {
|
|
|
144
117
|
css={{
|
|
145
118
|
h: '$18',
|
|
146
119
|
transition: 'margin 0.3s ease-in-out',
|
|
147
|
-
marginTop:
|
|
120
|
+
marginTop: isMwebHLSStream ? `-${headerRef.current?.clientHeight}px` : 'none',
|
|
148
121
|
'@md': {
|
|
149
122
|
h: '$17',
|
|
150
123
|
},
|
|
@@ -170,13 +143,12 @@ export const ConferenceScreen = () => {
|
|
|
170
143
|
}}
|
|
171
144
|
id="conferencing"
|
|
172
145
|
data-testid="conferencing"
|
|
173
|
-
onClick={toggleControls}
|
|
174
146
|
>
|
|
175
147
|
{screenProps.elements ? (
|
|
176
148
|
<VideoStreamingSection
|
|
177
149
|
screenType={screenProps.screenType}
|
|
178
150
|
elements={screenProps.elements}
|
|
179
|
-
hideControls={
|
|
151
|
+
hideControls={isMwebHLSStream}
|
|
180
152
|
/>
|
|
181
153
|
) : null}
|
|
182
154
|
</Box>
|
|
@@ -188,7 +160,7 @@ export const ConferenceScreen = () => {
|
|
|
188
160
|
maxHeight: '$24',
|
|
189
161
|
transition: 'margin 0.3s ease-in-out',
|
|
190
162
|
bg: '$background_dim',
|
|
191
|
-
marginBottom:
|
|
163
|
+
marginBottom: isMwebHLSStream ? `-${footerRef.current?.clientHeight}px` : undefined,
|
|
192
164
|
'@md': {
|
|
193
165
|
maxHeight: 'unset',
|
|
194
166
|
bg: screenProps.screenType === 'hls_live_streaming' ? 'transparent' : '$background_dim',
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { AnimatePresence } from 'framer-motion';
|
|
3
2
|
import { TrackWithPeerAndDimensions } from '@100mslive/react-sdk';
|
|
4
3
|
import { Box } from '../../../Layout';
|
|
5
4
|
// @ts-ignore: No implicit Any
|
|
@@ -10,37 +9,35 @@ export const Grid = React.forwardRef<HTMLDivElement, { tiles: TrackWithPeerAndDi
|
|
|
10
9
|
({ tiles, edgeToEdge }, ref) => {
|
|
11
10
|
const videoTileProps = useVideoTileContext();
|
|
12
11
|
return (
|
|
13
|
-
<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
</Box>
|
|
43
|
-
</AnimatePresence>
|
|
12
|
+
<Box
|
|
13
|
+
ref={ref}
|
|
14
|
+
css={{
|
|
15
|
+
flex: '1 1 0',
|
|
16
|
+
gap: '$4',
|
|
17
|
+
display: 'flex',
|
|
18
|
+
placeContent: 'center',
|
|
19
|
+
alignItems: 'center',
|
|
20
|
+
justifyContent: 'center',
|
|
21
|
+
flexFlow: 'row wrap',
|
|
22
|
+
minHeight: 0,
|
|
23
|
+
'@lg': { gap: edgeToEdge ? 0 : '$4' },
|
|
24
|
+
}}
|
|
25
|
+
>
|
|
26
|
+
{tiles?.map(tile => {
|
|
27
|
+
return (
|
|
28
|
+
<VideoTile
|
|
29
|
+
key={tile.track?.id || tile.peer?.id}
|
|
30
|
+
width={tile.width}
|
|
31
|
+
height={tile.height}
|
|
32
|
+
peerId={tile.peer?.id}
|
|
33
|
+
trackId={tile.track?.id}
|
|
34
|
+
rootCSS={{ padding: 0 }}
|
|
35
|
+
objectFit="contain"
|
|
36
|
+
{...videoTileProps}
|
|
37
|
+
/>
|
|
38
|
+
);
|
|
39
|
+
})}
|
|
40
|
+
</Box>
|
|
44
41
|
);
|
|
45
42
|
},
|
|
46
43
|
);
|