@100mslive/roomkit-react 0.3.19 → 0.3.20-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-LNJLFWK4.css → HLSView-KVYOXQXT.css} +3 -3
- package/dist/{HLSView-LNJLFWK4.css.map → HLSView-KVYOXQXT.css.map} +1 -1
- package/dist/{HLSView-GYB2QDIN.js → HLSView-WY2KZLYW.js} +63 -47
- package/dist/HLSView-WY2KZLYW.js.map +7 -0
- package/dist/Prebuilt/AppContext.d.ts +1 -1
- package/dist/Prebuilt/components/AuthToken.d.ts +1 -1
- package/dist/Prebuilt/components/peerTileUtils.d.ts +7 -0
- package/dist/{chunk-DIIFM6TW.js → chunk-I6M7HK22.js} +409 -390
- package/dist/chunk-I6M7HK22.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +480 -444
- 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 +1 -1
- package/dist/meta.cjs.json +79 -59
- package/dist/meta.esbuild.json +93 -73
- package/package.json +7 -7
- package/src/Prebuilt/App.tsx +5 -5
- package/src/Prebuilt/AppContext.tsx +1 -1
- package/src/Prebuilt/components/AuthToken.tsx +1 -1
- package/src/Prebuilt/components/HMSVideo/HMSVideo.jsx +24 -4
- package/src/Prebuilt/components/MoreSettings/ChangeNameContent.tsx +13 -3
- package/src/Prebuilt/components/MoreSettings/ChangeNameModal.tsx +1 -1
- package/src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx +1 -1
- package/src/Prebuilt/components/ScreenshareTile.tsx +2 -2
- package/src/Prebuilt/components/Settings/SettingsModal.jsx +1 -2
- package/src/Prebuilt/components/TileMenu/TileMenu.tsx +7 -6
- package/src/Prebuilt/components/TileMenu/TileMenuContent.tsx +3 -3
- package/src/Prebuilt/components/VideoLayouts/EqualProminence.tsx +4 -2
- package/src/Prebuilt/components/VideoTile.tsx +2 -2
- package/src/Prebuilt/components/{peerTileUtils.jsx → peerTileUtils.tsx} +21 -6
- package/src/Prebuilt/layouts/HLSView.jsx +2 -5
- package/dist/HLSView-GYB2QDIN.js.map +0 -7
- package/dist/chunk-DIIFM6TW.js.map +0 -7
package/dist/meta.esbuild.json
CHANGED
@@ -2369,7 +2369,7 @@
|
|
2369
2369
|
"format": "esm"
|
2370
2370
|
},
|
2371
2371
|
"src/Prebuilt/AppContext.tsx": {
|
2372
|
-
"bytes":
|
2372
|
+
"bytes": 881,
|
2373
2373
|
"imports": [
|
2374
2374
|
{
|
2375
2375
|
"path": "react",
|
@@ -2585,7 +2585,7 @@
|
|
2585
2585
|
"imports": []
|
2586
2586
|
},
|
2587
2587
|
"src/Prebuilt/components/AuthToken.tsx": {
|
2588
|
-
"bytes":
|
2588
|
+
"bytes": 5171,
|
2589
2589
|
"imports": [
|
2590
2590
|
{
|
2591
2591
|
"path": "react",
|
@@ -3006,7 +3006,7 @@
|
|
3006
3006
|
"format": "esm"
|
3007
3007
|
},
|
3008
3008
|
"src/Prebuilt/components/Settings/SettingsModal.jsx": {
|
3009
|
-
"bytes":
|
3009
|
+
"bytes": 9451,
|
3010
3010
|
"imports": [
|
3011
3011
|
{
|
3012
3012
|
"path": "react",
|
@@ -5961,7 +5961,7 @@
|
|
5961
5961
|
"format": "esm"
|
5962
5962
|
},
|
5963
5963
|
"src/Prebuilt/components/MoreSettings/ChangeNameContent.tsx": {
|
5964
|
-
"bytes":
|
5964
|
+
"bytes": 3309,
|
5965
5965
|
"imports": [
|
5966
5966
|
{
|
5967
5967
|
"path": "react",
|
@@ -6007,7 +6007,7 @@
|
|
6007
6007
|
"format": "esm"
|
6008
6008
|
},
|
6009
6009
|
"src/Prebuilt/components/MoreSettings/ChangeNameModal.tsx": {
|
6010
|
-
"bytes":
|
6010
|
+
"bytes": 2372,
|
6011
6011
|
"imports": [
|
6012
6012
|
{
|
6013
6013
|
"path": "react",
|
@@ -9586,6 +9586,22 @@
|
|
9586
9586
|
],
|
9587
9587
|
"format": "esm"
|
9588
9588
|
},
|
9589
|
+
"src/Prebuilt/components/peerTileUtils.tsx": {
|
9590
|
+
"bytes": 1529,
|
9591
|
+
"imports": [
|
9592
|
+
{
|
9593
|
+
"path": "@100mslive/react-sdk",
|
9594
|
+
"kind": "import-statement",
|
9595
|
+
"external": true
|
9596
|
+
},
|
9597
|
+
{
|
9598
|
+
"path": "<define:process.env>",
|
9599
|
+
"kind": "import-statement",
|
9600
|
+
"external": true
|
9601
|
+
}
|
9602
|
+
],
|
9603
|
+
"format": "esm"
|
9604
|
+
},
|
9589
9605
|
"src/Prebuilt/components/TileMenu/utils.ts": {
|
9590
9606
|
"bytes": 214,
|
9591
9607
|
"imports": [
|
@@ -9598,7 +9614,7 @@
|
|
9598
9614
|
"format": "esm"
|
9599
9615
|
},
|
9600
9616
|
"src/Prebuilt/components/TileMenu/TileMenuContent.tsx": {
|
9601
|
-
"bytes":
|
9617
|
+
"bytes": 12271,
|
9602
9618
|
"imports": [
|
9603
9619
|
{
|
9604
9620
|
"path": "react",
|
@@ -9689,7 +9705,7 @@
|
|
9689
9705
|
"format": "esm"
|
9690
9706
|
},
|
9691
9707
|
"src/Prebuilt/components/TileMenu/TileMenu.tsx": {
|
9692
|
-
"bytes":
|
9708
|
+
"bytes": 5392,
|
9693
9709
|
"imports": [
|
9694
9710
|
{
|
9695
9711
|
"path": "react",
|
@@ -9741,6 +9757,11 @@
|
|
9741
9757
|
"kind": "import-statement",
|
9742
9758
|
"original": "../MoreSettings/ChangeNameModal"
|
9743
9759
|
},
|
9760
|
+
{
|
9761
|
+
"path": "src/Prebuilt/components/peerTileUtils.tsx",
|
9762
|
+
"kind": "import-statement",
|
9763
|
+
"original": "../peerTileUtils"
|
9764
|
+
},
|
9744
9765
|
{
|
9745
9766
|
"path": "src/Prebuilt/components/RoleChangeModal.tsx",
|
9746
9767
|
"kind": "import-statement",
|
@@ -9779,19 +9800,8 @@
|
|
9779
9800
|
],
|
9780
9801
|
"format": "esm"
|
9781
9802
|
},
|
9782
|
-
"src/Prebuilt/components/peerTileUtils.jsx": {
|
9783
|
-
"bytes": 1197,
|
9784
|
-
"imports": [
|
9785
|
-
{
|
9786
|
-
"path": "<define:process.env>",
|
9787
|
-
"kind": "import-statement",
|
9788
|
-
"external": true
|
9789
|
-
}
|
9790
|
-
],
|
9791
|
-
"format": "esm"
|
9792
|
-
},
|
9793
9803
|
"src/Prebuilt/components/VideoTile.tsx": {
|
9794
|
-
"bytes":
|
9804
|
+
"bytes": 7103,
|
9795
9805
|
"imports": [
|
9796
9806
|
{
|
9797
9807
|
"path": "react",
|
@@ -9854,7 +9864,7 @@
|
|
9854
9864
|
"original": "../../VideoTile"
|
9855
9865
|
},
|
9856
9866
|
{
|
9857
|
-
"path": "src/Prebuilt/components/peerTileUtils.
|
9867
|
+
"path": "src/Prebuilt/components/peerTileUtils.tsx",
|
9858
9868
|
"kind": "import-statement",
|
9859
9869
|
"original": "./peerTileUtils"
|
9860
9870
|
},
|
@@ -10728,7 +10738,7 @@
|
|
10728
10738
|
"format": "esm"
|
10729
10739
|
},
|
10730
10740
|
"src/Prebuilt/components/VideoLayouts/EqualProminence.tsx": {
|
10731
|
-
"bytes":
|
10741
|
+
"bytes": 2301,
|
10732
10742
|
"imports": [
|
10733
10743
|
{
|
10734
10744
|
"path": "react",
|
@@ -10740,6 +10750,11 @@
|
|
10740
10750
|
"kind": "import-statement",
|
10741
10751
|
"external": true
|
10742
10752
|
},
|
10753
|
+
{
|
10754
|
+
"path": "@100mslive/react-sdk",
|
10755
|
+
"kind": "import-statement",
|
10756
|
+
"external": true
|
10757
|
+
},
|
10743
10758
|
{
|
10744
10759
|
"path": "@100mslive/react-icons",
|
10745
10760
|
"kind": "import-statement",
|
@@ -11110,7 +11125,7 @@
|
|
11110
11125
|
"format": "esm"
|
11111
11126
|
},
|
11112
11127
|
"src/Prebuilt/components/ScreenshareTile.tsx": {
|
11113
|
-
"bytes":
|
11128
|
+
"bytes": 4476,
|
11114
11129
|
"imports": [
|
11115
11130
|
{
|
11116
11131
|
"path": "react",
|
@@ -11173,7 +11188,7 @@
|
|
11173
11188
|
"original": "./LayoutModeSelector"
|
11174
11189
|
},
|
11175
11190
|
{
|
11176
|
-
"path": "src/Prebuilt/components/peerTileUtils.
|
11191
|
+
"path": "src/Prebuilt/components/peerTileUtils.tsx",
|
11177
11192
|
"kind": "import-statement",
|
11178
11193
|
"original": "./peerTileUtils"
|
11179
11194
|
},
|
@@ -11276,7 +11291,7 @@
|
|
11276
11291
|
],
|
11277
11292
|
"format": "esm"
|
11278
11293
|
},
|
11279
|
-
"../../../../../../../tmp/tmp-
|
11294
|
+
"../../../../../../../tmp/tmp-2899-IUZE5yGNG4PA/191eb73f5702/tldraw.css": {
|
11280
11295
|
"bytes": 80111,
|
11281
11296
|
"imports": [
|
11282
11297
|
{
|
@@ -11326,7 +11341,7 @@
|
|
11326
11341
|
}
|
11327
11342
|
]
|
11328
11343
|
},
|
11329
|
-
"../../../../../../../tmp/tmp-
|
11344
|
+
"../../../../../../../tmp/tmp-2899-IUZE5yGNG4PA/191eb73f5271/index.css": {
|
11330
11345
|
"bytes": 597,
|
11331
11346
|
"imports": [
|
11332
11347
|
{
|
@@ -11335,7 +11350,7 @@
|
|
11335
11350
|
"external": true
|
11336
11351
|
},
|
11337
11352
|
{
|
11338
|
-
"path": "../../../../../../../tmp/tmp-
|
11353
|
+
"path": "../../../../../../../tmp/tmp-2899-IUZE5yGNG4PA/191eb73f5702/tldraw.css",
|
11339
11354
|
"kind": "import-rule",
|
11340
11355
|
"original": "@tldraw/tldraw/tldraw.css"
|
11341
11356
|
}
|
@@ -11410,7 +11425,7 @@
|
|
11410
11425
|
"original": "../../common/constants"
|
11411
11426
|
},
|
11412
11427
|
{
|
11413
|
-
"path": "../../../../../../../tmp/tmp-
|
11428
|
+
"path": "../../../../../../../tmp/tmp-2899-IUZE5yGNG4PA/191eb73f5271/index.css",
|
11414
11429
|
"kind": "import-statement",
|
11415
11430
|
"original": "@100mslive/hms-whiteboard/index.css"
|
11416
11431
|
},
|
@@ -11746,7 +11761,7 @@
|
|
11746
11761
|
"format": "esm"
|
11747
11762
|
},
|
11748
11763
|
"src/Prebuilt/components/HMSVideo/HMSVideo.jsx": {
|
11749
|
-
"bytes":
|
11764
|
+
"bytes": 1973,
|
11750
11765
|
"imports": [
|
11751
11766
|
{
|
11752
11767
|
"path": "react",
|
@@ -12266,7 +12281,7 @@
|
|
12266
12281
|
"format": "esm"
|
12267
12282
|
},
|
12268
12283
|
"src/Prebuilt/layouts/HLSView.jsx": {
|
12269
|
-
"bytes":
|
12284
|
+
"bytes": 28626,
|
12270
12285
|
"imports": [
|
12271
12286
|
{
|
12272
12287
|
"path": "react",
|
@@ -13742,7 +13757,7 @@
|
|
13742
13757
|
"format": "esm"
|
13743
13758
|
},
|
13744
13759
|
"src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx": {
|
13745
|
-
"bytes":
|
13760
|
+
"bytes": 1640,
|
13746
13761
|
"imports": [
|
13747
13762
|
{
|
13748
13763
|
"path": "react",
|
@@ -14335,7 +14350,7 @@
|
|
14335
14350
|
"format": "esm"
|
14336
14351
|
},
|
14337
14352
|
"src/Prebuilt/App.tsx": {
|
14338
|
-
"bytes":
|
14353
|
+
"bytes": 11054,
|
14339
14354
|
"imports": [
|
14340
14355
|
{
|
14341
14356
|
"path": "react",
|
@@ -15398,7 +15413,7 @@
|
|
15398
15413
|
"dist/index.js": {
|
15399
15414
|
"imports": [
|
15400
15415
|
{
|
15401
|
-
"path": "dist/chunk-
|
15416
|
+
"path": "dist/chunk-I6M7HK22.js",
|
15402
15417
|
"kind": "import-statement"
|
15403
15418
|
}
|
15404
15419
|
],
|
@@ -15474,16 +15489,16 @@
|
|
15474
15489
|
"inputs": {},
|
15475
15490
|
"bytes": 1882
|
15476
15491
|
},
|
15477
|
-
"dist/HLSView-
|
15492
|
+
"dist/HLSView-WY2KZLYW.js.map": {
|
15478
15493
|
"imports": [],
|
15479
15494
|
"exports": [],
|
15480
15495
|
"inputs": {},
|
15481
|
-
"bytes":
|
15496
|
+
"bytes": 101299
|
15482
15497
|
},
|
15483
|
-
"dist/HLSView-
|
15498
|
+
"dist/HLSView-WY2KZLYW.js": {
|
15484
15499
|
"imports": [
|
15485
15500
|
{
|
15486
|
-
"path": "dist/chunk-
|
15501
|
+
"path": "dist/chunk-I6M7HK22.js",
|
15487
15502
|
"kind": "import-statement"
|
15488
15503
|
},
|
15489
15504
|
{
|
@@ -15661,10 +15676,10 @@
|
|
15661
15676
|
"default"
|
15662
15677
|
],
|
15663
15678
|
"entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
|
15664
|
-
"cssBundle": "dist/HLSView-
|
15679
|
+
"cssBundle": "dist/HLSView-KVYOXQXT.css",
|
15665
15680
|
"inputs": {
|
15666
15681
|
"src/Prebuilt/layouts/HLSView.jsx": {
|
15667
|
-
"bytesInOutput":
|
15682
|
+
"bytesInOutput": 27634
|
15668
15683
|
},
|
15669
15684
|
"src/Prebuilt/components/HlsStatsOverlay.jsx": {
|
15670
15685
|
"bytesInOutput": 3521
|
@@ -15676,7 +15691,7 @@
|
|
15676
15691
|
"bytesInOutput": 416
|
15677
15692
|
},
|
15678
15693
|
"src/Prebuilt/components/HMSVideo/HMSVideo.jsx": {
|
15679
|
-
"bytesInOutput":
|
15694
|
+
"bytesInOutput": 2100
|
15680
15695
|
},
|
15681
15696
|
"src/Prebuilt/components/HMSVideo/PlayPauseSeekControls.tsx": {
|
15682
15697
|
"bytesInOutput": 4256
|
@@ -15691,7 +15706,7 @@
|
|
15691
15706
|
"bytesInOutput": 328
|
15692
15707
|
},
|
15693
15708
|
"src/Prebuilt/components/HMSVideo/VideoProgress.tsx": {
|
15694
|
-
"bytesInOutput":
|
15709
|
+
"bytesInOutput": 3016
|
15695
15710
|
},
|
15696
15711
|
"src/Prebuilt/components/HMSVideo/utils.ts": {
|
15697
15712
|
"bytesInOutput": 917
|
@@ -15718,15 +15733,15 @@
|
|
15718
15733
|
"bytesInOutput": 2101
|
15719
15734
|
}
|
15720
15735
|
},
|
15721
|
-
"bytes":
|
15736
|
+
"bytes": 62273
|
15722
15737
|
},
|
15723
|
-
"dist/chunk-
|
15738
|
+
"dist/chunk-I6M7HK22.js.map": {
|
15724
15739
|
"imports": [],
|
15725
15740
|
"exports": [],
|
15726
15741
|
"inputs": {},
|
15727
|
-
"bytes":
|
15742
|
+
"bytes": 3522545
|
15728
15743
|
},
|
15729
|
-
"dist/chunk-
|
15744
|
+
"dist/chunk-I6M7HK22.js": {
|
15730
15745
|
"imports": [
|
15731
15746
|
{
|
15732
15747
|
"path": "react",
|
@@ -18018,6 +18033,11 @@
|
|
18018
18033
|
"kind": "import-statement",
|
18019
18034
|
"external": true
|
18020
18035
|
},
|
18036
|
+
{
|
18037
|
+
"path": "@100mslive/react-sdk",
|
18038
|
+
"kind": "import-statement",
|
18039
|
+
"external": true
|
18040
|
+
},
|
18021
18041
|
{
|
18022
18042
|
"path": "@100mslive/react-icons",
|
18023
18043
|
"kind": "import-statement",
|
@@ -18269,7 +18289,7 @@
|
|
18269
18289
|
"external": true
|
18270
18290
|
},
|
18271
18291
|
{
|
18272
|
-
"path": "dist/HLSView-
|
18292
|
+
"path": "dist/HLSView-WY2KZLYW.js",
|
18273
18293
|
"kind": "dynamic-import"
|
18274
18294
|
},
|
18275
18295
|
{
|
@@ -18888,7 +18908,7 @@
|
|
18888
18908
|
],
|
18889
18909
|
"inputs": {
|
18890
18910
|
"<define:process.env>": {
|
18891
|
-
"bytesInOutput":
|
18911
|
+
"bytesInOutput": 18027
|
18892
18912
|
},
|
18893
18913
|
"../../node_modules/lodash/lodash.js": {
|
18894
18914
|
"bytesInOutput": 224301
|
@@ -18906,7 +18926,7 @@
|
|
18906
18926
|
"bytesInOutput": 16120
|
18907
18927
|
},
|
18908
18928
|
"../../node_modules/sdp-transform/lib/parser.js": {
|
18909
|
-
"bytesInOutput":
|
18929
|
+
"bytesInOutput": 3500
|
18910
18930
|
},
|
18911
18931
|
"../../node_modules/sdp-transform/lib/writer.js": {
|
18912
18932
|
"bytesInOutput": 3068
|
@@ -18915,7 +18935,7 @@
|
|
18915
18935
|
"bytesInOutput": 615
|
18916
18936
|
},
|
18917
18937
|
"../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js": {
|
18918
|
-
"bytesInOutput":
|
18938
|
+
"bytesInOutput": 3852
|
18919
18939
|
},
|
18920
18940
|
"../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js": {
|
18921
18941
|
"bytesInOutput": 7632
|
@@ -19173,7 +19193,7 @@
|
|
19173
19193
|
"bytesInOutput": 887
|
19174
19194
|
},
|
19175
19195
|
"src/Prebuilt/App.tsx": {
|
19176
|
-
"bytesInOutput":
|
19196
|
+
"bytesInOutput": 8061
|
19177
19197
|
},
|
19178
19198
|
"src/Prebuilt/components/AppData/AppData.tsx": {
|
19179
19199
|
"bytesInOutput": 6633
|
@@ -19260,7 +19280,7 @@
|
|
19260
19280
|
"bytesInOutput": 1390
|
19261
19281
|
},
|
19262
19282
|
"src/Prebuilt/components/Settings/SettingsModal.jsx": {
|
19263
|
-
"bytesInOutput":
|
19283
|
+
"bytesInOutput": 8942
|
19264
19284
|
},
|
19265
19285
|
"src/Sheet/index.ts": {
|
19266
19286
|
"bytesInOutput": 27
|
@@ -19431,7 +19451,7 @@
|
|
19431
19451
|
"bytesInOutput": 9861
|
19432
19452
|
},
|
19433
19453
|
"../hms-video-store/dist/index.js": {
|
19434
|
-
"bytesInOutput":
|
19454
|
+
"bytesInOutput": 52071
|
19435
19455
|
},
|
19436
19456
|
"../../node_modules/reselect/es/index.js": {
|
19437
19457
|
"bytesInOutput": 2539
|
@@ -19446,7 +19466,7 @@
|
|
19446
19466
|
"bytesInOutput": 6313
|
19447
19467
|
},
|
19448
19468
|
"../../node_modules/webrtc-adapter/src/js/chrome/chrome_shim.js": {
|
19449
|
-
"bytesInOutput":
|
19469
|
+
"bytesInOutput": 22676
|
19450
19470
|
},
|
19451
19471
|
"../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
|
19452
19472
|
"bytesInOutput": 6095
|
@@ -19464,16 +19484,16 @@
|
|
19464
19484
|
"bytesInOutput": 842
|
19465
19485
|
},
|
19466
19486
|
"../../node_modules/webrtc-adapter/src/js/safari/safari_shim.js": {
|
19467
|
-
"bytesInOutput":
|
19487
|
+
"bytesInOutput": 11866
|
19468
19488
|
},
|
19469
19489
|
"../../node_modules/webrtc-adapter/src/js/common_shim.js": {
|
19470
19490
|
"bytesInOutput": 12458
|
19471
19491
|
},
|
19472
19492
|
"src/Prebuilt/components/MoreSettings/ChangeNameModal.tsx": {
|
19473
|
-
"bytesInOutput":
|
19493
|
+
"bytesInOutput": 2272
|
19474
19494
|
},
|
19475
19495
|
"src/Prebuilt/components/MoreSettings/ChangeNameContent.tsx": {
|
19476
|
-
"bytesInOutput":
|
19496
|
+
"bytesInOutput": 3576
|
19477
19497
|
},
|
19478
19498
|
"src/Prebuilt/components/AppData/useSheet.ts": {
|
19479
19499
|
"bytesInOutput": 846
|
@@ -19689,23 +19709,23 @@
|
|
19689
19709
|
"bytesInOutput": 2469
|
19690
19710
|
},
|
19691
19711
|
"src/Prebuilt/components/VideoTile.tsx": {
|
19692
|
-
"bytesInOutput":
|
19712
|
+
"bytesInOutput": 6636
|
19693
19713
|
},
|
19694
19714
|
"src/Prebuilt/components/Connection/TileConnection.tsx": {
|
19695
19715
|
"bytesInOutput": 2406
|
19696
19716
|
},
|
19697
19717
|
"src/Prebuilt/components/TileMenu/TileMenu.tsx": {
|
19698
|
-
"bytesInOutput":
|
19718
|
+
"bytesInOutput": 4909
|
19719
|
+
},
|
19720
|
+
"src/Prebuilt/components/peerTileUtils.tsx": {
|
19721
|
+
"bytesInOutput": 1164
|
19699
19722
|
},
|
19700
19723
|
"src/Prebuilt/components/TileMenu/TileMenuContent.tsx": {
|
19701
|
-
"bytesInOutput":
|
19724
|
+
"bytesInOutput": 12271
|
19702
19725
|
},
|
19703
19726
|
"src/Prebuilt/components/TileMenu/utils.ts": {
|
19704
19727
|
"bytesInOutput": 160
|
19705
19728
|
},
|
19706
|
-
"src/Prebuilt/components/peerTileUtils.jsx": {
|
19707
|
-
"bytesInOutput": 1050
|
19708
|
-
},
|
19709
19729
|
"src/Prebuilt/components/VirtualBackground/VBPicker.tsx": {
|
19710
19730
|
"bytesInOutput": 8754
|
19711
19731
|
},
|
@@ -19734,7 +19754,7 @@
|
|
19734
19754
|
"bytesInOutput": 4550
|
19735
19755
|
},
|
19736
19756
|
"src/Prebuilt/components/VideoLayouts/EqualProminence.tsx": {
|
19737
|
-
"bytesInOutput":
|
19757
|
+
"bytesInOutput": 2110
|
19738
19758
|
},
|
19739
19759
|
"src/Prebuilt/layouts/WaitingView.tsx": {
|
19740
19760
|
"bytesInOutput": 1370
|
@@ -19752,7 +19772,7 @@
|
|
19752
19772
|
"bytesInOutput": 1204
|
19753
19773
|
},
|
19754
19774
|
"src/Prebuilt/components/hooks/useTileLayout.tsx": {
|
19755
|
-
"bytesInOutput":
|
19775
|
+
"bytesInOutput": 3833
|
19756
19776
|
},
|
19757
19777
|
"src/Prebuilt/components/VideoLayouts/RoleProminence.tsx": {
|
19758
19778
|
"bytesInOutput": 1948
|
@@ -19770,7 +19790,7 @@
|
|
19770
19790
|
"bytesInOutput": 2638
|
19771
19791
|
},
|
19772
19792
|
"src/Prebuilt/components/ScreenshareTile.tsx": {
|
19773
|
-
"bytesInOutput":
|
19793
|
+
"bytesInOutput": 4439
|
19774
19794
|
},
|
19775
19795
|
"src/Prebuilt/components/LayoutModeSelector.tsx": {
|
19776
19796
|
"bytesInOutput": 3276
|
@@ -19781,7 +19801,7 @@
|
|
19781
19801
|
"src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
|
19782
19802
|
"bytesInOutput": 2830
|
19783
19803
|
},
|
19784
|
-
"../../../../../../../tmp/tmp-
|
19804
|
+
"../../../../../../../tmp/tmp-2899-IUZE5yGNG4PA/191eb73f5271/index.css": {
|
19785
19805
|
"bytesInOutput": 0
|
19786
19806
|
},
|
19787
19807
|
"src/Prebuilt/common/PeersSorter.ts": {
|
@@ -19887,7 +19907,7 @@
|
|
19887
19907
|
"bytesInOutput": 640
|
19888
19908
|
},
|
19889
19909
|
"src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx": {
|
19890
|
-
"bytesInOutput":
|
19910
|
+
"bytesInOutput": 1761
|
19891
19911
|
},
|
19892
19912
|
"src/Prebuilt/components/Notifications/TranscriptionNotifications.tsx": {
|
19893
19913
|
"bytesInOutput": 2185
|
@@ -19950,7 +19970,7 @@
|
|
19950
19970
|
"bytesInOutput": 2628
|
19951
19971
|
}
|
19952
19972
|
},
|
19953
|
-
"bytes":
|
19973
|
+
"bytes": 1460905
|
19954
19974
|
},
|
19955
19975
|
"dist/index.css.map": {
|
19956
19976
|
"imports": [],
|
@@ -20012,22 +20032,22 @@
|
|
20012
20032
|
}
|
20013
20033
|
],
|
20014
20034
|
"inputs": {
|
20015
|
-
"../../../../../../../tmp/tmp-
|
20035
|
+
"../../../../../../../tmp/tmp-2899-IUZE5yGNG4PA/191eb73f5702/tldraw.css": {
|
20016
20036
|
"bytesInOutput": 75223
|
20017
20037
|
},
|
20018
|
-
"../../../../../../../tmp/tmp-
|
20038
|
+
"../../../../../../../tmp/tmp-2899-IUZE5yGNG4PA/191eb73f5271/index.css": {
|
20019
20039
|
"bytesInOutput": 401
|
20020
20040
|
}
|
20021
20041
|
},
|
20022
20042
|
"bytes": 75901
|
20023
20043
|
},
|
20024
|
-
"dist/HLSView-
|
20044
|
+
"dist/HLSView-KVYOXQXT.css.map": {
|
20025
20045
|
"imports": [],
|
20026
20046
|
"exports": [],
|
20027
20047
|
"inputs": {},
|
20028
20048
|
"bytes": 122402
|
20029
20049
|
},
|
20030
|
-
"dist/HLSView-
|
20050
|
+
"dist/HLSView-KVYOXQXT.css": {
|
20031
20051
|
"imports": [
|
20032
20052
|
{
|
20033
20053
|
"path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
|
@@ -20081,10 +20101,10 @@
|
|
20081
20101
|
}
|
20082
20102
|
],
|
20083
20103
|
"inputs": {
|
20084
|
-
"../../../../../../../tmp/tmp-
|
20104
|
+
"../../../../../../../tmp/tmp-2899-IUZE5yGNG4PA/191eb73f5702/tldraw.css": {
|
20085
20105
|
"bytesInOutput": 75223
|
20086
20106
|
},
|
20087
|
-
"../../../../../../../tmp/tmp-
|
20107
|
+
"../../../../../../../tmp/tmp-2899-IUZE5yGNG4PA/191eb73f5271/index.css": {
|
20088
20108
|
"bytesInOutput": 401
|
20089
20109
|
}
|
20090
20110
|
},
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.3.
|
13
|
+
"version": "0.3.20-alpha.1",
|
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.
|
78
|
+
"@100mslive/hls-player": "0.3.20-alpha.1",
|
79
79
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
80
|
-
"@100mslive/hms-virtual-background": "1.13.
|
81
|
-
"@100mslive/hms-whiteboard": "0.0.
|
82
|
-
"@100mslive/react-icons": "0.10.
|
83
|
-
"@100mslive/react-sdk": "0.10.
|
80
|
+
"@100mslive/hms-virtual-background": "1.13.20-alpha.1",
|
81
|
+
"@100mslive/hms-whiteboard": "0.0.10-alpha.1",
|
82
|
+
"@100mslive/react-icons": "0.10.20-alpha.1",
|
83
|
+
"@100mslive/react-sdk": "0.10.20-alpha.1",
|
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": "1772ffc7344d3a8d0c3548779e1d7e808e3715ad"
|
121
121
|
}
|
package/src/Prebuilt/App.tsx
CHANGED
@@ -143,10 +143,10 @@ export const HMSPrebuilt = React.forwardRef<HMSPrebuiltRefType, HMSPrebuiltProps
|
|
143
143
|
event: string;
|
144
144
|
}
|
145
145
|
| undefined;
|
146
|
-
const tokenByRoomCodeEndpoint
|
147
|
-
const initEndpoint
|
148
|
-
const eventEndpoint
|
149
|
-
const roomLayoutEndpoint
|
146
|
+
const tokenByRoomCodeEndpoint = endpointsObj?.tokenByRoomCode;
|
147
|
+
const initEndpoint = endpointsObj?.init;
|
148
|
+
const eventEndpoint = endpointsObj?.event;
|
149
|
+
const roomLayoutEndpoint = endpointsObj?.roomLayout;
|
150
150
|
|
151
151
|
const overrideLayout: Partial<Layout> = {
|
152
152
|
logo,
|
@@ -288,7 +288,7 @@ function AppRoutes({
|
|
288
288
|
authTokenByRoomCodeEndpoint,
|
289
289
|
defaultAuthToken,
|
290
290
|
}: {
|
291
|
-
authTokenByRoomCodeEndpoint
|
291
|
+
authTokenByRoomCodeEndpoint?: string;
|
292
292
|
defaultAuthToken?: string;
|
293
293
|
}) {
|
294
294
|
const roomLayout = useRoomLayout();
|
@@ -25,7 +25,7 @@ import { APP_DATA } from '../common/constants';
|
|
25
25
|
* ui_mode=activespeaker => lands in active speaker mode after joining the room
|
26
26
|
*/
|
27
27
|
const AuthToken = React.memo<{
|
28
|
-
authTokenByRoomCodeEndpoint
|
28
|
+
authTokenByRoomCodeEndpoint?: string;
|
29
29
|
defaultAuthToken?: string;
|
30
30
|
activeState?: PrebuiltStates;
|
31
31
|
}>(({ authTokenByRoomCodeEndpoint, defaultAuthToken, activeState }) => {
|
@@ -1,7 +1,28 @@
|
|
1
|
-
import React, { forwardRef } from 'react';
|
1
|
+
import React, { forwardRef, useEffect, useState } from 'react';
|
2
2
|
import { Flex } from '../../../Layout';
|
3
3
|
|
4
4
|
export const HMSVideo = forwardRef(({ children, ...props }, videoRef) => {
|
5
|
+
const [width, setWidth] = useState('auto');
|
6
|
+
|
7
|
+
useEffect(() => {
|
8
|
+
const updatingVideoWidth = () => {
|
9
|
+
const videoEl = videoRef.current;
|
10
|
+
if (!videoEl) {
|
11
|
+
return;
|
12
|
+
}
|
13
|
+
if (videoEl.videoWidth > videoEl.videoHeight && width !== '100%') {
|
14
|
+
setWidth('100%');
|
15
|
+
}
|
16
|
+
};
|
17
|
+
const videoEl = videoRef.current;
|
18
|
+
if (!videoEl) {
|
19
|
+
return;
|
20
|
+
}
|
21
|
+
videoEl.addEventListener('loadedmetadata', updatingVideoWidth);
|
22
|
+
return () => {
|
23
|
+
videoEl.removeEventListener('loadedmetadata', updatingVideoWidth);
|
24
|
+
};
|
25
|
+
}, []);
|
5
26
|
return (
|
6
27
|
<Flex
|
7
28
|
data-testid="hms-video"
|
@@ -11,9 +32,8 @@ export const HMSVideo = forwardRef(({ children, ...props }, videoRef) => {
|
|
11
32
|
justifyContent: 'center',
|
12
33
|
transition: 'all 0.3s ease-in-out',
|
13
34
|
'@md': {
|
14
|
-
height: 'auto',
|
15
35
|
'& video': {
|
16
|
-
height: '$60 !important',
|
36
|
+
height: props.isFullScreen ? '' : '$60 !important',
|
17
37
|
},
|
18
38
|
},
|
19
39
|
'& video::cue': {
|
@@ -41,7 +61,7 @@ export const HMSVideo = forwardRef(({ children, ...props }, videoRef) => {
|
|
41
61
|
style={{
|
42
62
|
margin: '0 auto',
|
43
63
|
objectFit: 'contain',
|
44
|
-
width:
|
64
|
+
width: width,
|
45
65
|
height: '100%',
|
46
66
|
maxWidth: '100%',
|
47
67
|
}}
|