@100mslive/roomkit-react 0.3.8-alpha.1 → 0.3.8-alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-HUMJOIWO.js → HLSView-XZDT3RRC.js} +2 -2
- package/dist/Prebuilt/common/constants.d.ts +1 -0
- package/dist/Prebuilt/components/CaptionIcon.d.ts +2 -0
- package/dist/Prebuilt/plugins/CaptionsViewer.d.ts +2 -0
- package/dist/Text/Text.d.ts +1 -1
- package/dist/{chunk-IDAPJGWC.js → chunk-SQPIZNW2.js} +2136 -1881
- package/dist/chunk-SQPIZNW2.js.map +7 -0
- package/dist/index.cjs.js +3115 -2842
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +181 -48
- package/dist/meta.esbuild.json +186 -53
- package/package.json +6 -6
- package/src/Prebuilt/common/constants.ts +1 -0
- package/src/Prebuilt/components/AppData/AppData.tsx +1 -0
- package/src/Prebuilt/components/AppData/useUISettings.js +10 -0
- package/src/Prebuilt/components/CaptionIcon.tsx +27 -0
- package/src/Prebuilt/components/ConferenceScreen.tsx +34 -2
- package/src/Prebuilt/components/Footer/Footer.tsx +2 -0
- package/src/Prebuilt/components/Footer/RoleAccordion.tsx +1 -1
- package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +22 -1
- package/src/Prebuilt/layouts/VideoStreamingSection.tsx +0 -1
- package/src/Prebuilt/plugins/CaptionsViewer.tsx +191 -0
- package/dist/chunk-IDAPJGWC.js.map +0 -7
- /package/dist/{HLSView-HUMJOIWO.js.map → HLSView-XZDT3RRC.js.map} +0 -0
package/dist/meta.esbuild.json
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
"format": "esm"
|
27
27
|
},
|
28
28
|
"src/Prebuilt/common/constants.ts": {
|
29
|
-
"bytes":
|
29
|
+
"bytes": 4466,
|
30
30
|
"imports": [
|
31
31
|
{
|
32
32
|
"path": "@100mslive/react-sdk",
|
@@ -1961,7 +1961,7 @@
|
|
1961
1961
|
"format": "esm"
|
1962
1962
|
},
|
1963
1963
|
"src/Prebuilt/components/AppData/useUISettings.js": {
|
1964
|
-
"bytes":
|
1964
|
+
"bytes": 6326,
|
1965
1965
|
"imports": [
|
1966
1966
|
{
|
1967
1967
|
"path": "react",
|
@@ -2241,7 +2241,7 @@
|
|
2241
2241
|
"format": "esm"
|
2242
2242
|
},
|
2243
2243
|
"src/Prebuilt/components/AppData/AppData.tsx": {
|
2244
|
-
"bytes":
|
2244
|
+
"bytes": 5963,
|
2245
2245
|
"imports": [
|
2246
2246
|
{
|
2247
2247
|
"path": "react",
|
@@ -2909,6 +2909,47 @@
|
|
2909
2909
|
],
|
2910
2910
|
"format": "esm"
|
2911
2911
|
},
|
2912
|
+
"src/Prebuilt/components/CaptionIcon.tsx": {
|
2913
|
+
"bytes": 980,
|
2914
|
+
"imports": [
|
2915
|
+
{
|
2916
|
+
"path": "react",
|
2917
|
+
"kind": "import-statement",
|
2918
|
+
"external": true
|
2919
|
+
},
|
2920
|
+
{
|
2921
|
+
"path": "@100mslive/react-sdk",
|
2922
|
+
"kind": "import-statement",
|
2923
|
+
"external": true
|
2924
|
+
},
|
2925
|
+
{
|
2926
|
+
"path": "@100mslive/react-icons",
|
2927
|
+
"kind": "import-statement",
|
2928
|
+
"external": true
|
2929
|
+
},
|
2930
|
+
{
|
2931
|
+
"path": "src/Tooltip/index.ts",
|
2932
|
+
"kind": "import-statement",
|
2933
|
+
"original": "../../Tooltip"
|
2934
|
+
},
|
2935
|
+
{
|
2936
|
+
"path": "src/Prebuilt/IconButton.tsx",
|
2937
|
+
"kind": "import-statement",
|
2938
|
+
"original": "../IconButton"
|
2939
|
+
},
|
2940
|
+
{
|
2941
|
+
"path": "src/Prebuilt/components/AppData/useUISettings.js",
|
2942
|
+
"kind": "import-statement",
|
2943
|
+
"original": "./AppData/useUISettings.js"
|
2944
|
+
},
|
2945
|
+
{
|
2946
|
+
"path": "<define:process.env>",
|
2947
|
+
"kind": "import-statement",
|
2948
|
+
"external": true
|
2949
|
+
}
|
2950
|
+
],
|
2951
|
+
"format": "esm"
|
2952
|
+
},
|
2912
2953
|
"src/Prebuilt/components/Footer/EmojiCard.jsx": {
|
2913
2954
|
"bytes": 1189,
|
2914
2955
|
"imports": [
|
@@ -4701,18 +4742,8 @@
|
|
4701
4742
|
"format": "cjs"
|
4702
4743
|
},
|
4703
4744
|
"../hms-video-store/dist/index.js": {
|
4704
|
-
"bytes":
|
4745
|
+
"bytes": 332228,
|
4705
4746
|
"imports": [
|
4706
|
-
{
|
4707
|
-
"path": "../../node_modules/reselect/es/index.js",
|
4708
|
-
"kind": "import-statement",
|
4709
|
-
"original": "reselect"
|
4710
|
-
},
|
4711
|
-
{
|
4712
|
-
"path": "../../node_modules/reselect/es/index.js",
|
4713
|
-
"kind": "import-statement",
|
4714
|
-
"original": "reselect"
|
4715
|
-
},
|
4716
4747
|
{
|
4717
4748
|
"path": "../../node_modules/reselect/es/index.js",
|
4718
4749
|
"kind": "import-statement",
|
@@ -4778,6 +4809,16 @@
|
|
4778
4809
|
"kind": "import-statement",
|
4779
4810
|
"original": "reselect"
|
4780
4811
|
},
|
4812
|
+
{
|
4813
|
+
"path": "../../node_modules/reselect/es/index.js",
|
4814
|
+
"kind": "import-statement",
|
4815
|
+
"original": "reselect"
|
4816
|
+
},
|
4817
|
+
{
|
4818
|
+
"path": "../../node_modules/reselect/es/index.js",
|
4819
|
+
"kind": "import-statement",
|
4820
|
+
"original": "reselect"
|
4821
|
+
},
|
4781
4822
|
{
|
4782
4823
|
"path": "../../node_modules/immer/dist/immer.esm.mjs",
|
4783
4824
|
"kind": "import-statement",
|
@@ -5206,7 +5247,7 @@
|
|
5206
5247
|
"format": "esm"
|
5207
5248
|
},
|
5208
5249
|
"src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
|
5209
|
-
"bytes":
|
5250
|
+
"bytes": 13062,
|
5210
5251
|
"imports": [
|
5211
5252
|
{
|
5212
5253
|
"path": "react",
|
@@ -6057,7 +6098,7 @@
|
|
6057
6098
|
"format": "esm"
|
6058
6099
|
},
|
6059
6100
|
"src/Prebuilt/components/Footer/RoleAccordion.tsx": {
|
6060
|
-
"bytes":
|
6101
|
+
"bytes": 5743,
|
6061
6102
|
"imports": [
|
6062
6103
|
{
|
6063
6104
|
"path": "react",
|
@@ -6352,7 +6393,7 @@
|
|
6352
6393
|
"format": "esm"
|
6353
6394
|
},
|
6354
6395
|
"src/Prebuilt/components/Footer/Footer.tsx": {
|
6355
|
-
"bytes":
|
6396
|
+
"bytes": 3926,
|
6356
6397
|
"imports": [
|
6357
6398
|
{
|
6358
6399
|
"path": "react",
|
@@ -6384,6 +6425,11 @@
|
|
6384
6425
|
"kind": "import-statement",
|
6385
6426
|
"original": "../AudioVideoToggle"
|
6386
6427
|
},
|
6428
|
+
{
|
6429
|
+
"path": "src/Prebuilt/components/CaptionIcon.tsx",
|
6430
|
+
"kind": "import-statement",
|
6431
|
+
"original": "../CaptionIcon"
|
6432
|
+
},
|
6387
6433
|
{
|
6388
6434
|
"path": "src/Prebuilt/components/EmojiReaction.jsx",
|
6389
6435
|
"kind": "import-statement",
|
@@ -11659,7 +11705,7 @@
|
|
11659
11705
|
"format": "esm"
|
11660
11706
|
},
|
11661
11707
|
"src/Prebuilt/layouts/VideoStreamingSection.tsx": {
|
11662
|
-
"bytes":
|
11708
|
+
"bytes": 4493,
|
11663
11709
|
"imports": [
|
11664
11710
|
{
|
11665
11711
|
"path": "react",
|
@@ -11974,14 +12020,50 @@
|
|
11974
12020
|
],
|
11975
12021
|
"format": "esm"
|
11976
12022
|
},
|
12023
|
+
"src/Prebuilt/plugins/CaptionsViewer.tsx": {
|
12024
|
+
"bytes": 5541,
|
12025
|
+
"imports": [
|
12026
|
+
{
|
12027
|
+
"path": "react",
|
12028
|
+
"kind": "import-statement",
|
12029
|
+
"external": true
|
12030
|
+
},
|
12031
|
+
{
|
12032
|
+
"path": "@100mslive/react-sdk",
|
12033
|
+
"kind": "import-statement",
|
12034
|
+
"external": true
|
12035
|
+
},
|
12036
|
+
{
|
12037
|
+
"path": "src/Layout/index.tsx",
|
12038
|
+
"kind": "import-statement",
|
12039
|
+
"original": "../../Layout"
|
12040
|
+
},
|
12041
|
+
{
|
12042
|
+
"path": "src/Text/index.tsx",
|
12043
|
+
"kind": "import-statement",
|
12044
|
+
"original": "../../Text"
|
12045
|
+
},
|
12046
|
+
{
|
12047
|
+
"path": "<define:process.env>",
|
12048
|
+
"kind": "import-statement",
|
12049
|
+
"external": true
|
12050
|
+
}
|
12051
|
+
],
|
12052
|
+
"format": "esm"
|
12053
|
+
},
|
11977
12054
|
"src/Prebuilt/components/ConferenceScreen.tsx": {
|
11978
|
-
"bytes":
|
12055
|
+
"bytes": 9357,
|
11979
12056
|
"imports": [
|
11980
12057
|
{
|
11981
12058
|
"path": "react",
|
11982
12059
|
"kind": "import-statement",
|
11983
12060
|
"external": true
|
11984
12061
|
},
|
12062
|
+
{
|
12063
|
+
"path": "react-use",
|
12064
|
+
"kind": "import-statement",
|
12065
|
+
"external": true
|
12066
|
+
},
|
11985
12067
|
{
|
11986
12068
|
"path": "@100mslive/types-prebuilt",
|
11987
12069
|
"kind": "import-statement",
|
@@ -12032,6 +12114,11 @@
|
|
12032
12114
|
"kind": "import-statement",
|
12033
12115
|
"original": "../../Layout"
|
12034
12116
|
},
|
12117
|
+
{
|
12118
|
+
"path": "src/Theme/index.tsx",
|
12119
|
+
"kind": "import-statement",
|
12120
|
+
"original": "../../Theme"
|
12121
|
+
},
|
12035
12122
|
{
|
12036
12123
|
"path": "src/Prebuilt/AppContext.tsx",
|
12037
12124
|
"kind": "import-statement",
|
@@ -12067,11 +12154,21 @@
|
|
12067
12154
|
"kind": "import-statement",
|
12068
12155
|
"original": "./RaiseHand"
|
12069
12156
|
},
|
12157
|
+
{
|
12158
|
+
"path": "src/Prebuilt/plugins/CaptionsViewer.tsx",
|
12159
|
+
"kind": "import-statement",
|
12160
|
+
"original": "../plugins/CaptionsViewer"
|
12161
|
+
},
|
12070
12162
|
{
|
12071
12163
|
"path": "src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts",
|
12072
12164
|
"kind": "import-statement",
|
12073
12165
|
"original": "../provider/roomLayoutProvider/hooks/useRoomLayoutScreen"
|
12074
12166
|
},
|
12167
|
+
{
|
12168
|
+
"path": "src/Prebuilt/components/AppData/useSidepane.js",
|
12169
|
+
"kind": "import-statement",
|
12170
|
+
"original": "./AppData/useSidepane"
|
12171
|
+
},
|
12075
12172
|
{
|
12076
12173
|
"path": "src/Prebuilt/components/AppData/useUISettings.js",
|
12077
12174
|
"kind": "import-statement",
|
@@ -13800,7 +13897,7 @@
|
|
13800
13897
|
"dist/index.js": {
|
13801
13898
|
"imports": [
|
13802
13899
|
{
|
13803
|
-
"path": "dist/chunk-
|
13900
|
+
"path": "dist/chunk-SQPIZNW2.js",
|
13804
13901
|
"kind": "import-statement"
|
13805
13902
|
}
|
13806
13903
|
],
|
@@ -13873,16 +13970,16 @@
|
|
13873
13970
|
"inputs": {},
|
13874
13971
|
"bytes": 1822
|
13875
13972
|
},
|
13876
|
-
"dist/HLSView-
|
13973
|
+
"dist/HLSView-XZDT3RRC.js.map": {
|
13877
13974
|
"imports": [],
|
13878
13975
|
"exports": [],
|
13879
13976
|
"inputs": {},
|
13880
13977
|
"bytes": 100708
|
13881
13978
|
},
|
13882
|
-
"dist/HLSView-
|
13979
|
+
"dist/HLSView-XZDT3RRC.js": {
|
13883
13980
|
"imports": [
|
13884
13981
|
{
|
13885
|
-
"path": "dist/chunk-
|
13982
|
+
"path": "dist/chunk-SQPIZNW2.js",
|
13886
13983
|
"kind": "import-statement"
|
13887
13984
|
},
|
13888
13985
|
{
|
@@ -14118,13 +14215,13 @@
|
|
14118
14215
|
},
|
14119
14216
|
"bytes": 61939
|
14120
14217
|
},
|
14121
|
-
"dist/chunk-
|
14218
|
+
"dist/chunk-SQPIZNW2.js.map": {
|
14122
14219
|
"imports": [],
|
14123
14220
|
"exports": [],
|
14124
14221
|
"inputs": {},
|
14125
|
-
"bytes":
|
14222
|
+
"bytes": 3218955
|
14126
14223
|
},
|
14127
|
-
"dist/chunk-
|
14224
|
+
"dist/chunk-SQPIZNW2.js": {
|
14128
14225
|
"imports": [
|
14129
14226
|
{
|
14130
14227
|
"path": "react",
|
@@ -14541,6 +14638,11 @@
|
|
14541
14638
|
"kind": "import-statement",
|
14542
14639
|
"external": true
|
14543
14640
|
},
|
14641
|
+
{
|
14642
|
+
"path": "react-use",
|
14643
|
+
"kind": "import-statement",
|
14644
|
+
"external": true
|
14645
|
+
},
|
14544
14646
|
{
|
14545
14647
|
"path": "uuid",
|
14546
14648
|
"kind": "import-statement",
|
@@ -14676,6 +14778,21 @@
|
|
14676
14778
|
"kind": "import-statement",
|
14677
14779
|
"external": true
|
14678
14780
|
},
|
14781
|
+
{
|
14782
|
+
"path": "@100mslive/react-sdk",
|
14783
|
+
"kind": "import-statement",
|
14784
|
+
"external": true
|
14785
|
+
},
|
14786
|
+
{
|
14787
|
+
"path": "@100mslive/react-icons",
|
14788
|
+
"kind": "import-statement",
|
14789
|
+
"external": true
|
14790
|
+
},
|
14791
|
+
{
|
14792
|
+
"path": "react",
|
14793
|
+
"kind": "import-statement",
|
14794
|
+
"external": true
|
14795
|
+
},
|
14679
14796
|
{
|
14680
14797
|
"path": "react-use",
|
14681
14798
|
"kind": "import-statement",
|
@@ -16512,7 +16629,7 @@
|
|
16512
16629
|
"external": true
|
16513
16630
|
},
|
16514
16631
|
{
|
16515
|
-
"path": "dist/HLSView-
|
16632
|
+
"path": "dist/HLSView-XZDT3RRC.js",
|
16516
16633
|
"kind": "dynamic-import"
|
16517
16634
|
},
|
16518
16635
|
{
|
@@ -16575,6 +16692,16 @@
|
|
16575
16692
|
"kind": "import-statement",
|
16576
16693
|
"external": true
|
16577
16694
|
},
|
16695
|
+
{
|
16696
|
+
"path": "@100mslive/react-sdk",
|
16697
|
+
"kind": "import-statement",
|
16698
|
+
"external": true
|
16699
|
+
},
|
16700
|
+
{
|
16701
|
+
"path": "react",
|
16702
|
+
"kind": "import-statement",
|
16703
|
+
"external": true
|
16704
|
+
},
|
16578
16705
|
{
|
16579
16706
|
"path": "@100mslive/react-icons",
|
16580
16707
|
"kind": "import-statement",
|
@@ -16993,25 +17120,25 @@
|
|
16993
17120
|
],
|
16994
17121
|
"inputs": {
|
16995
17122
|
"<define:process.env>": {
|
16996
|
-
"bytesInOutput":
|
17123
|
+
"bytesInOutput": 18290
|
16997
17124
|
},
|
16998
17125
|
"../../node_modules/lodash/lodash.js": {
|
16999
17126
|
"bytesInOutput": 224310
|
17000
17127
|
},
|
17001
17128
|
"../../node_modules/ua-parser-js/src/ua-parser.js": {
|
17002
|
-
"bytesInOutput":
|
17129
|
+
"bytesInOutput": 42482
|
17003
17130
|
},
|
17004
17131
|
"../../node_modules/lodash.isequal/index.js": {
|
17005
17132
|
"bytesInOutput": 26591
|
17006
17133
|
},
|
17007
17134
|
"../../node_modules/sdp/sdp.js": {
|
17008
|
-
"bytesInOutput":
|
17135
|
+
"bytesInOutput": 22275
|
17009
17136
|
},
|
17010
17137
|
"../../node_modules/sdp-transform/lib/grammar.js": {
|
17011
17138
|
"bytesInOutput": 16120
|
17012
17139
|
},
|
17013
17140
|
"../../node_modules/sdp-transform/lib/parser.js": {
|
17014
|
-
"bytesInOutput":
|
17141
|
+
"bytesInOutput": 3488
|
17015
17142
|
},
|
17016
17143
|
"../../node_modules/sdp-transform/lib/writer.js": {
|
17017
17144
|
"bytesInOutput": 3068
|
@@ -17041,7 +17168,7 @@
|
|
17041
17168
|
"bytesInOutput": 5061
|
17042
17169
|
},
|
17043
17170
|
"src/Prebuilt/common/constants.ts": {
|
17044
|
-
"bytesInOutput":
|
17171
|
+
"bytesInOutput": 3607
|
17045
17172
|
},
|
17046
17173
|
"src/Theme/ThemeProvider.tsx": {
|
17047
17174
|
"bytesInOutput": 1926
|
@@ -17248,7 +17375,7 @@
|
|
17248
17375
|
"bytesInOutput": 7828
|
17249
17376
|
},
|
17250
17377
|
"src/Prebuilt/components/AppData/AppData.tsx": {
|
17251
|
-
"bytesInOutput":
|
17378
|
+
"bytesInOutput": 5539
|
17252
17379
|
},
|
17253
17380
|
"src/Prebuilt/components/Settings/LayoutSettings.tsx": {
|
17254
17381
|
"bytesInOutput": 2705
|
@@ -17257,7 +17384,7 @@
|
|
17257
17384
|
"bytesInOutput": 973
|
17258
17385
|
},
|
17259
17386
|
"src/Prebuilt/components/AppData/useUISettings.js": {
|
17260
|
-
"bytesInOutput":
|
17387
|
+
"bytesInOutput": 5558
|
17261
17388
|
},
|
17262
17389
|
"src/Prebuilt/components/hooks/useUserPreferences.jsx": {
|
17263
17390
|
"bytesInOutput": 748
|
@@ -17278,7 +17405,7 @@
|
|
17278
17405
|
"bytesInOutput": 1486
|
17279
17406
|
},
|
17280
17407
|
"src/Prebuilt/common/utils.js": {
|
17281
|
-
"bytesInOutput":
|
17408
|
+
"bytesInOutput": 3211
|
17282
17409
|
},
|
17283
17410
|
"src/Prebuilt/components/AppData/useSidepane.js": {
|
17284
17411
|
"bytesInOutput": 2499
|
@@ -17293,10 +17420,10 @@
|
|
17293
17420
|
"bytesInOutput": 4698
|
17294
17421
|
},
|
17295
17422
|
"src/Prebuilt/components/ConferenceScreen.tsx": {
|
17296
|
-
"bytesInOutput":
|
17423
|
+
"bytesInOutput": 8351
|
17297
17424
|
},
|
17298
17425
|
"src/Prebuilt/components/Footer/Footer.tsx": {
|
17299
|
-
"bytesInOutput":
|
17426
|
+
"bytesInOutput": 3306
|
17300
17427
|
},
|
17301
17428
|
"src/Prebuilt/components/AudioVideoToggle.tsx": {
|
17302
17429
|
"bytesInOutput": 10284
|
@@ -17334,6 +17461,9 @@
|
|
17334
17461
|
"src/Prebuilt/components/Toast/ToastManager.js": {
|
17335
17462
|
"bytesInOutput": 1028
|
17336
17463
|
},
|
17464
|
+
"src/Prebuilt/components/CaptionIcon.tsx": {
|
17465
|
+
"bytesInOutput": 915
|
17466
|
+
},
|
17337
17467
|
"src/Prebuilt/components/EmojiReaction.jsx": {
|
17338
17468
|
"bytesInOutput": 2580
|
17339
17469
|
},
|
@@ -17344,7 +17474,7 @@
|
|
17344
17474
|
"bytesInOutput": 606
|
17345
17475
|
},
|
17346
17476
|
"src/Prebuilt/common/hooks.ts": {
|
17347
|
-
"bytesInOutput":
|
17477
|
+
"bytesInOutput": 5956
|
17348
17478
|
},
|
17349
17479
|
"src/Prebuilt/components/Leave/LeaveRoom.tsx": {
|
17350
17480
|
"bytesInOutput": 2454
|
@@ -17401,7 +17531,7 @@
|
|
17401
17531
|
"bytesInOutput": 7700
|
17402
17532
|
},
|
17403
17533
|
"src/Prebuilt/components/StatsForNerds.jsx": {
|
17404
|
-
"bytesInOutput":
|
17534
|
+
"bytesInOutput": 9845
|
17405
17535
|
},
|
17406
17536
|
"src/Prebuilt/components/MoreSettings/BulkRoleChangeModal.jsx": {
|
17407
17537
|
"bytesInOutput": 5008
|
@@ -17425,16 +17555,16 @@
|
|
17425
17555
|
"bytesInOutput": 1826
|
17426
17556
|
},
|
17427
17557
|
"src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
|
17428
|
-
"bytesInOutput":
|
17558
|
+
"bytesInOutput": 11746
|
17429
17559
|
},
|
17430
17560
|
"src/Prebuilt/components/Header/StreamActions.tsx": {
|
17431
17561
|
"bytesInOutput": 9480
|
17432
17562
|
},
|
17433
17563
|
"../hms-video-store/dist/index.js": {
|
17434
|
-
"bytesInOutput":
|
17564
|
+
"bytesInOutput": 49345
|
17435
17565
|
},
|
17436
17566
|
"../../node_modules/reselect/es/index.js": {
|
17437
|
-
"bytesInOutput":
|
17567
|
+
"bytesInOutput": 2539
|
17438
17568
|
},
|
17439
17569
|
"../../node_modules/webrtc-adapter/src/js/adapter_core.js": {
|
17440
17570
|
"bytesInOutput": 118
|
@@ -17446,10 +17576,10 @@
|
|
17446
17576
|
"bytesInOutput": 6313
|
17447
17577
|
},
|
17448
17578
|
"../../node_modules/webrtc-adapter/src/js/chrome/chrome_shim.js": {
|
17449
|
-
"bytesInOutput":
|
17579
|
+
"bytesInOutput": 22682
|
17450
17580
|
},
|
17451
17581
|
"../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
|
17452
|
-
"bytesInOutput":
|
17582
|
+
"bytesInOutput": 6082
|
17453
17583
|
},
|
17454
17584
|
"../../node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js": {
|
17455
17585
|
"bytesInOutput": 1256
|
@@ -17458,16 +17588,16 @@
|
|
17458
17588
|
"bytesInOutput": 9143
|
17459
17589
|
},
|
17460
17590
|
"../../node_modules/webrtc-adapter/src/js/firefox/getusermedia.js": {
|
17461
|
-
"bytesInOutput":
|
17591
|
+
"bytesInOutput": 2125
|
17462
17592
|
},
|
17463
17593
|
"../../node_modules/webrtc-adapter/src/js/firefox/getdisplaymedia.js": {
|
17464
17594
|
"bytesInOutput": 842
|
17465
17595
|
},
|
17466
17596
|
"../../node_modules/webrtc-adapter/src/js/safari/safari_shim.js": {
|
17467
|
-
"bytesInOutput":
|
17597
|
+
"bytesInOutput": 11868
|
17468
17598
|
},
|
17469
17599
|
"../../node_modules/webrtc-adapter/src/js/common_shim.js": {
|
17470
|
-
"bytesInOutput":
|
17600
|
+
"bytesInOutput": 12460
|
17471
17601
|
},
|
17472
17602
|
"src/Prebuilt/components/Header/AdditionalRoomState.jsx": {
|
17473
17603
|
"bytesInOutput": 6823
|
@@ -17545,7 +17675,7 @@
|
|
17545
17675
|
"bytesInOutput": 1290
|
17546
17676
|
},
|
17547
17677
|
"src/Prebuilt/components/Footer/RoleAccordion.tsx": {
|
17548
|
-
"bytesInOutput":
|
17678
|
+
"bytesInOutput": 5231
|
17549
17679
|
},
|
17550
17680
|
"src/Prebuilt/components/Footer/RoleOptions.tsx": {
|
17551
17681
|
"bytesInOutput": 7326
|
@@ -17578,7 +17708,7 @@
|
|
17578
17708
|
"bytesInOutput": 735
|
17579
17709
|
},
|
17580
17710
|
"src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx": {
|
17581
|
-
"bytesInOutput":
|
17711
|
+
"bytesInOutput": 7999
|
17582
17712
|
},
|
17583
17713
|
"src/Prebuilt/components/Streaming/Common.jsx": {
|
17584
17714
|
"bytesInOutput": 2247
|
@@ -17635,7 +17765,7 @@
|
|
17635
17765
|
"bytesInOutput": 1874
|
17636
17766
|
},
|
17637
17767
|
"src/Prebuilt/components/Polls/Voting/Voting.tsx": {
|
17638
|
-
"bytesInOutput":
|
17768
|
+
"bytesInOutput": 3372
|
17639
17769
|
},
|
17640
17770
|
"src/Prebuilt/components/Polls/Voting/StandardVoting.tsx": {
|
17641
17771
|
"bytesInOutput": 1221
|
@@ -17788,7 +17918,7 @@
|
|
17788
17918
|
"bytesInOutput": 1204
|
17789
17919
|
},
|
17790
17920
|
"src/Prebuilt/components/hooks/useTileLayout.tsx": {
|
17791
|
-
"bytesInOutput":
|
17921
|
+
"bytesInOutput": 3831
|
17792
17922
|
},
|
17793
17923
|
"src/Prebuilt/components/VideoLayouts/RoleProminence.tsx": {
|
17794
17924
|
"bytesInOutput": 2183
|
@@ -17847,6 +17977,9 @@
|
|
17847
17977
|
"src/Prebuilt/components/PreviousRoleInMetadata.tsx": {
|
17848
17978
|
"bytesInOutput": 754
|
17849
17979
|
},
|
17980
|
+
"src/Prebuilt/plugins/CaptionsViewer.tsx": {
|
17981
|
+
"bytesInOutput": 5070
|
17982
|
+
},
|
17850
17983
|
"src/Prebuilt/components/ErrorBoundary.jsx": {
|
17851
17984
|
"bytesInOutput": 3509
|
17852
17985
|
},
|
@@ -17875,7 +18008,7 @@
|
|
17875
18008
|
"bytesInOutput": 27
|
17876
18009
|
},
|
17877
18010
|
"src/Prebuilt/components/Notifications/Notifications.tsx": {
|
17878
|
-
"bytesInOutput":
|
18011
|
+
"bytesInOutput": 7971
|
17879
18012
|
},
|
17880
18013
|
"src/Prebuilt/components/Notifications/AutoplayBlockedModal.tsx": {
|
17881
18014
|
"bytesInOutput": 1053
|
@@ -17953,7 +18086,7 @@
|
|
17953
18086
|
"bytesInOutput": 651
|
17954
18087
|
}
|
17955
18088
|
},
|
17956
|
-
"bytes":
|
18089
|
+
"bytes": 1318999
|
17957
18090
|
}
|
17958
18091
|
}
|
17959
18092
|
}
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.3.8-alpha.
|
13
|
+
"version": "0.3.8-alpha.2",
|
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.3.8-alpha.
|
85
|
+
"@100mslive/hls-player": "0.3.8-alpha.2",
|
86
86
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
87
|
-
"@100mslive/hms-virtual-background": "1.13.8-alpha.
|
88
|
-
"@100mslive/react-icons": "0.10.8-alpha.
|
89
|
-
"@100mslive/react-sdk": "0.10.8-alpha.
|
87
|
+
"@100mslive/hms-virtual-background": "1.13.8-alpha.2",
|
88
|
+
"@100mslive/react-icons": "0.10.8-alpha.2",
|
89
|
+
"@100mslive/react-sdk": "0.10.8-alpha.2",
|
90
90
|
"@100mslive/types-prebuilt": "0.12.8",
|
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": "43ee35cc85faabb5a827f7f41a5affebffcfca18"
|
126
126
|
}
|
@@ -107,6 +107,16 @@ export const useSetSubscribedNotifications = notificationKey => {
|
|
107
107
|
return [value, setValue];
|
108
108
|
};
|
109
109
|
|
110
|
+
export const useIsCaptionEnabled = () => {
|
111
|
+
const isCaptionEnabled = useHMSStore(selectAppDataByPath(APP_DATA.caption));
|
112
|
+
return isCaptionEnabled;
|
113
|
+
};
|
114
|
+
|
115
|
+
export const useSetIsCaptionEnabled = () => {
|
116
|
+
const [value, setValue] = useSetAppDataByKey(APP_DATA.caption);
|
117
|
+
return [value, setValue];
|
118
|
+
};
|
119
|
+
|
110
120
|
export const useSubscribeChatSelector = chatSelectorKey => {
|
111
121
|
const chatSelectorPreference = useHMSStore(selectAppDataByPath(APP_DATA.chatSelector, chatSelectorKey));
|
112
122
|
return chatSelectorPreference;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { selectIsTranscriptionEnabled, useHMSStore } from '@100mslive/react-sdk';
|
3
|
+
import { ClosedCaptionIcon, OpenCaptionIcon } from '@100mslive/react-icons';
|
4
|
+
import { Tooltip } from '../../Tooltip';
|
5
|
+
// @ts-ignore: No implicit Any
|
6
|
+
import IconButton from '../IconButton';
|
7
|
+
// @ts-ignore: No implicit Any
|
8
|
+
import { useSetIsCaptionEnabled } from './AppData/useUISettings.js';
|
9
|
+
|
10
|
+
export const CaptionIcon = () => {
|
11
|
+
const isCaptionPresent = useHMSStore(selectIsTranscriptionEnabled);
|
12
|
+
const [isCaption, setIsCaption] = useSetIsCaptionEnabled();
|
13
|
+
|
14
|
+
const onClick = () => {
|
15
|
+
setIsCaption(!isCaption);
|
16
|
+
};
|
17
|
+
if (!isCaptionPresent) {
|
18
|
+
return null;
|
19
|
+
}
|
20
|
+
return (
|
21
|
+
<Tooltip title={isCaption ? 'Disable caption' : 'Enable caption'}>
|
22
|
+
<IconButton data-testid="caption_btn" onClick={onClick}>
|
23
|
+
{isCaption ? <ClosedCaptionIcon width="20" height="20px" /> : <OpenCaptionIcon width="20" height="20px" />}
|
24
|
+
</IconButton>
|
25
|
+
</Tooltip>
|
26
|
+
);
|
27
|
+
};
|