@placetime/corptime-conference 0.0.1

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.
Files changed (2184) hide show
  1. package/README.md +132 -0
  2. package/android/build.gradle +156 -0
  3. package/android/gradle.properties +5 -0
  4. package/android/src/main/AndroidManifest.xml +3 -0
  5. package/android/src/main/java/org/jitsi/meet/sdk/AndroidSettingsModule.java +56 -0
  6. package/android/src/main/java/org/jitsi/meet/sdk/AppInfoModule.java +150 -0
  7. package/android/src/main/java/org/jitsi/meet/sdk/AudioDeviceHandlerConnectionService.java +185 -0
  8. package/android/src/main/java/org/jitsi/meet/sdk/AudioDeviceHandlerGeneric.java +248 -0
  9. package/android/src/main/java/org/jitsi/meet/sdk/AudioModeModule.java +529 -0
  10. package/android/src/main/java/org/jitsi/meet/sdk/ConnectionService.java +452 -0
  11. package/android/src/main/java/org/jitsi/meet/sdk/JMOngoingConferenceModule.java +117 -0
  12. package/android/src/main/java/org/jitsi/meet/sdk/JMOngoingConferenceService.java +107 -0
  13. package/android/src/main/java/org/jitsi/meet/sdk/JitsiMeetReactNativePackage.java +39 -0
  14. package/android/src/main/java/org/jitsi/meet/sdk/LocaleDetector.java +58 -0
  15. package/android/src/main/java/org/jitsi/meet/sdk/LogBridgeModule.java +73 -0
  16. package/android/src/main/java/org/jitsi/meet/sdk/PictureInPictureModule.java +171 -0
  17. package/android/src/main/java/org/jitsi/meet/sdk/ProximityModule.java +107 -0
  18. package/android/src/main/java/org/jitsi/meet/sdk/RNConnectionService.java +255 -0
  19. package/android/src/main/java/org/jitsi/meet/sdk/RNOngoingNotification.java +108 -0
  20. package/android/src/main/java/org/jitsi/meet/sdk/log/log/JitsiMeetBaseLogHandler.java +49 -0
  21. package/android/src/main/java/org/jitsi/meet/sdk/log/log/JitsiMeetDefaultLogHandler.java +39 -0
  22. package/android/src/main/java/org/jitsi/meet/sdk/log/log/JitsiMeetLogger.java +107 -0
  23. package/android/src/main/java/org/jitsi/meet/sdk/log/net/NAT64AddrInfo.java +238 -0
  24. package/android/src/main/java/org/jitsi/meet/sdk/log/net/NAT64AddrInfoModule.java +123 -0
  25. package/android/src/main/res/drawable-hdpi/ic_notification.png +0 -0
  26. package/android/src/main/res/drawable-mdpi/ic_notification.png +0 -0
  27. package/android/src/main/res/drawable-xhdpi/ic_notification.png +0 -0
  28. package/android/src/main/res/drawable-xxhdpi/ic_notification.png +0 -0
  29. package/android/src/main/res/drawable-xxxhdpi/ic_notification.png +0 -0
  30. package/android/src/main/res/values/colors.xml +5 -0
  31. package/android/src/main/res/values/strings.xml +12 -0
  32. package/android/src/main/res/values/styles.xml +6 -0
  33. package/images/GIPHY_icon.png +0 -0
  34. package/images/GIPHY_logo.png +0 -0
  35. package/images/app-store-badge.png +0 -0
  36. package/images/apple-touch-icon.png +0 -0
  37. package/images/avatar.png +0 -0
  38. package/images/btn_google_signin_dark_normal.png +0 -0
  39. package/images/calendar.svg +21 -0
  40. package/images/chromeLogo.svg +9 -0
  41. package/images/downloadLocalRecording.png +0 -0
  42. package/images/dropboxLogo_square.png +0 -0
  43. package/images/f-droid-badge.png +0 -0
  44. package/images/favicon.svg +4 -0
  45. package/images/flags.png +0 -0
  46. package/images/flags@2x.png +0 -0
  47. package/images/google-play-badge.png +0 -0
  48. package/images/googleLogo.svg +11 -0
  49. package/images/icon-cloud.png +0 -0
  50. package/images/icon-info.png +0 -0
  51. package/images/icon-users.png +0 -0
  52. package/images/jitsilogo.png +0 -0
  53. package/images/logo-deep-linking-mobile.png +0 -0
  54. package/images/logo-deep-linking.png +0 -0
  55. package/images/microsoftLogo.svg +1 -0
  56. package/images/share-audio.gif +0 -0
  57. package/images/virtual-background/background-1.jpg +0 -0
  58. package/images/virtual-background/background-2.jpg +0 -0
  59. package/images/virtual-background/background-3.jpg +0 -0
  60. package/images/virtual-background/background-4.jpg +0 -0
  61. package/images/virtual-background/background-5.jpg +0 -0
  62. package/images/virtual-background/background-6.jpg +0 -0
  63. package/images/virtual-background/background-7.jpg +0 -0
  64. package/images/watermark.svg +5 -0
  65. package/images/welcome-background.png +0 -0
  66. package/index.tsx +182 -0
  67. package/ios/sdk.xcodeproj/project.pbxproj +1042 -0
  68. package/ios/sdk.xcodeproj/xcshareddata/xcschemes/JitsiMeetSDK.xcscheme +76 -0
  69. package/ios/sdk.xcodeproj/xcshareddata/xcschemes/JitsiMeetSDKLite.xcscheme +67 -0
  70. package/ios/src/AppInfo.m +102 -0
  71. package/ios/src/AudioMode.m +430 -0
  72. package/ios/src/InfoPlistUtil.h +23 -0
  73. package/ios/src/InfoPlistUtil.m +52 -0
  74. package/ios/src/JitsiAudioSession+Private.h +24 -0
  75. package/ios/src/JitsiAudioSession.h +26 -0
  76. package/ios/src/JitsiAudioSession.m +34 -0
  77. package/ios/src/LocaleDetector.m +40 -0
  78. package/ios/src/POSIX.m +110 -0
  79. package/ios/src/Proximity.m +44 -0
  80. package/ios/src/callkit/CallKit.m +347 -0
  81. package/ios/src/callkit/JMCallKitEmitter.h +35 -0
  82. package/ios/src/callkit/JMCallKitEmitter.m +117 -0
  83. package/ios/src/callkit/JMCallKitListener.h +34 -0
  84. package/ios/src/callkit/JMCallKitProxy.h +87 -0
  85. package/ios/src/callkit/JMCallKitProxy.m +284 -0
  86. package/ios/src/dropbox/Dropbox.h +27 -0
  87. package/ios/src/dropbox/Dropbox.m +180 -0
  88. package/jitsi-meet-rnsdk.podspec +35 -0
  89. package/lang/languages.json +61 -0
  90. package/lang/main-af.json +710 -0
  91. package/lang/main-ar.json +1357 -0
  92. package/lang/main-be.json +790 -0
  93. package/lang/main-bg.json +1685 -0
  94. package/lang/main-ca.json +1367 -0
  95. package/lang/main-cs.json +1582 -0
  96. package/lang/main-da.json +770 -0
  97. package/lang/main-de.json +1614 -0
  98. package/lang/main-dsb.json +1372 -0
  99. package/lang/main-el.json +1421 -0
  100. package/lang/main-eo.json +1527 -0
  101. package/lang/main-es-US.json +1196 -0
  102. package/lang/main-es.json +1468 -0
  103. package/lang/main-et.json +775 -0
  104. package/lang/main-eu.json +1037 -0
  105. package/lang/main-fa.json +1480 -0
  106. package/lang/main-fi.json +726 -0
  107. package/lang/main-fr-CA.json +1685 -0
  108. package/lang/main-fr.json +1685 -0
  109. package/lang/main-gl.json +755 -0
  110. package/lang/main-he.json +789 -0
  111. package/lang/main-hi.json +977 -0
  112. package/lang/main-hr.json +1364 -0
  113. package/lang/main-hsb.json +1317 -0
  114. package/lang/main-hu.json +1098 -0
  115. package/lang/main-hy.json +705 -0
  116. package/lang/main-id.json +1549 -0
  117. package/lang/main-is.json +1527 -0
  118. package/lang/main-it.json +1700 -0
  119. package/lang/main-ja.json +1258 -0
  120. package/lang/main-kab.json +1166 -0
  121. package/lang/main-ko.json +1581 -0
  122. package/lang/main-lt.json +776 -0
  123. package/lang/main-lv.json +1667 -0
  124. package/lang/main-ml.json +935 -0
  125. package/lang/main-mn.json +1441 -0
  126. package/lang/main-mr.json +786 -0
  127. package/lang/main-nb.json +1583 -0
  128. package/lang/main-nl.json +1111 -0
  129. package/lang/main-no.json +1583 -0
  130. package/lang/main-oc.json +1589 -0
  131. package/lang/main-pl.json +1456 -0
  132. package/lang/main-pt-BR.json +1524 -0
  133. package/lang/main-pt.json +1671 -0
  134. package/lang/main-ro.json +763 -0
  135. package/lang/main-ru.json +1542 -0
  136. package/lang/main-sc.json +1685 -0
  137. package/lang/main-sk.json +917 -0
  138. package/lang/main-sl.json +1167 -0
  139. package/lang/main-sq.json +1581 -0
  140. package/lang/main-sr.json +763 -0
  141. package/lang/main-sv.json +1583 -0
  142. package/lang/main-te.json +994 -0
  143. package/lang/main-tr.json +1572 -0
  144. package/lang/main-uk.json +1432 -0
  145. package/lang/main-vi.json +1538 -0
  146. package/lang/main-zh-CN.json +1631 -0
  147. package/lang/main-zh-TW.json +1631 -0
  148. package/lang/main.json +1690 -0
  149. package/lang/readme.md +55 -0
  150. package/lang/translation-languages.json +112 -0
  151. package/lang/update-translation.js +38 -0
  152. package/modules/API/.eslintrc.js +3 -0
  153. package/modules/API/API.js +2351 -0
  154. package/modules/API/constants.js +31 -0
  155. package/modules/API/external/external_api.js +1508 -0
  156. package/modules/API/external/functions.js +139 -0
  157. package/modules/API/external/index.js +3 -0
  158. package/modules/API/index.js +2 -0
  159. package/modules/UI/UI.js +234 -0
  160. package/modules/UI/UIErrors.js +17 -0
  161. package/modules/UI/audio_levels/AudioLevels.js +66 -0
  162. package/modules/UI/etherpad/Etherpad.js +186 -0
  163. package/modules/UI/util/UIUtil.js +59 -0
  164. package/modules/UI/videolayout/Filmstrip.js +34 -0
  165. package/modules/UI/videolayout/LargeContainer.js +67 -0
  166. package/modules/UI/videolayout/LargeVideoManager.js +780 -0
  167. package/modules/UI/videolayout/VideoContainer.js +676 -0
  168. package/modules/UI/videolayout/VideoLayout.js +317 -0
  169. package/modules/devices/mediaDeviceHelper.js +295 -0
  170. package/modules/recorder/Recorder.js +44 -0
  171. package/modules/translation/translation.js +62 -0
  172. package/modules/transport/.eslintrc.js +3 -0
  173. package/modules/transport/index.js +52 -0
  174. package/modules/util/TaskQueue.js +71 -0
  175. package/modules/util/helpers.js +26 -0
  176. package/package.json +97 -0
  177. package/prepare_sdk.js +202 -0
  178. package/react/.eslintrc-react-native.js +11 -0
  179. package/react/.eslintrc.js +28 -0
  180. package/react/bootstrap.native.js +7 -0
  181. package/react/features/always-on-top/AlwaysOnTop.tsx +281 -0
  182. package/react/features/always-on-top/AudioMuteButton.tsx +180 -0
  183. package/react/features/always-on-top/HangupButton.tsx +60 -0
  184. package/react/features/always-on-top/Toolbar.tsx +137 -0
  185. package/react/features/always-on-top/ToolbarButton.tsx +69 -0
  186. package/react/features/always-on-top/VideoMuteButton.tsx +180 -0
  187. package/react/features/always-on-top/index.tsx +13 -0
  188. package/react/features/analytics/AnalyticsEvents.ts +983 -0
  189. package/react/features/analytics/actionTypes.ts +29 -0
  190. package/react/features/analytics/actions.ts +25 -0
  191. package/react/features/analytics/functions.ts +339 -0
  192. package/react/features/analytics/handlers/AbstractHandler.ts +115 -0
  193. package/react/features/analytics/handlers/AmplitudeHandler.ts +91 -0
  194. package/react/features/analytics/handlers/MatomoHandler.ts +170 -0
  195. package/react/features/analytics/handlers/amplitude/deviceIDStorageUtils.js +0 -0
  196. package/react/features/analytics/handlers/amplitude/fixDeviceID.native.ts +33 -0
  197. package/react/features/analytics/handlers/amplitude/fixDeviceID.web.ts +46 -0
  198. package/react/features/analytics/handlers/amplitude/lib.native.ts +15 -0
  199. package/react/features/analytics/handlers/amplitude/lib.web.ts +38 -0
  200. package/react/features/analytics/logger.ts +3 -0
  201. package/react/features/analytics/middleware.ts +216 -0
  202. package/react/features/analytics/reducer.ts +88 -0
  203. package/react/features/app/actions.any.ts +160 -0
  204. package/react/features/app/actions.native.ts +230 -0
  205. package/react/features/app/actions.web.ts +207 -0
  206. package/react/features/app/components/AbstractApp.ts +89 -0
  207. package/react/features/app/components/App.native.tsx +312 -0
  208. package/react/features/app/components/App.web.tsx +67 -0
  209. package/react/features/app/functions.any.ts +25 -0
  210. package/react/features/app/functions.native.ts +40 -0
  211. package/react/features/app/functions.web.ts +59 -0
  212. package/react/features/app/getRouteToRender.native.ts +18 -0
  213. package/react/features/app/getRouteToRender.web.ts +148 -0
  214. package/react/features/app/logger.ts +3 -0
  215. package/react/features/app/middleware.ts +180 -0
  216. package/react/features/app/middlewares.any.ts +57 -0
  217. package/react/features/app/middlewares.native.ts +17 -0
  218. package/react/features/app/middlewares.web.ts +28 -0
  219. package/react/features/app/reducer.native.ts +28 -0
  220. package/react/features/app/reducers.any.ts +58 -0
  221. package/react/features/app/reducers.native.ts +9 -0
  222. package/react/features/app/reducers.web.ts +22 -0
  223. package/react/features/app/types.ts +180 -0
  224. package/react/features/audio-level-indicator/components/AudioLevelIndicator.tsx +83 -0
  225. package/react/features/authentication/actionTypes.ts +106 -0
  226. package/react/features/authentication/actions.any.ts +257 -0
  227. package/react/features/authentication/actions.native.ts +90 -0
  228. package/react/features/authentication/actions.web.ts +78 -0
  229. package/react/features/authentication/components/index.native.ts +2 -0
  230. package/react/features/authentication/components/index.web.ts +2 -0
  231. package/react/features/authentication/components/native/LoginDialog.tsx +318 -0
  232. package/react/features/authentication/components/native/WaitForOwnerDialog.tsx +116 -0
  233. package/react/features/authentication/components/web/LoginDialog.tsx +299 -0
  234. package/react/features/authentication/components/web/LoginQuestionDialog.tsx +38 -0
  235. package/react/features/authentication/components/web/WaitForOwnerDialog.tsx +119 -0
  236. package/react/features/authentication/functions.any.ts +86 -0
  237. package/react/features/authentication/functions.native.ts +78 -0
  238. package/react/features/authentication/functions.web.ts +122 -0
  239. package/react/features/authentication/logger.ts +3 -0
  240. package/react/features/authentication/middleware.ts +344 -0
  241. package/react/features/authentication/reducer.ts +110 -0
  242. package/react/features/av-moderation/actionTypes.ts +144 -0
  243. package/react/features/av-moderation/actions.ts +386 -0
  244. package/react/features/av-moderation/constants.ts +51 -0
  245. package/react/features/av-moderation/functions.ts +182 -0
  246. package/react/features/av-moderation/middleware.ts +317 -0
  247. package/react/features/av-moderation/reducer.ts +399 -0
  248. package/react/features/av-moderation/sounds.ts +6 -0
  249. package/react/features/base/app/actionTypes.ts +33 -0
  250. package/react/features/base/app/actions.ts +69 -0
  251. package/react/features/base/app/components/BaseApp.tsx +283 -0
  252. package/react/features/base/app/functions.ts +28 -0
  253. package/react/features/base/app/logger.ts +3 -0
  254. package/react/features/base/app/middleware.web.ts +54 -0
  255. package/react/features/base/app/reducer.ts +34 -0
  256. package/react/features/base/app/types.ts +3 -0
  257. package/react/features/base/audio-only/actionTypes.ts +10 -0
  258. package/react/features/base/audio-only/actions.ts +51 -0
  259. package/react/features/base/audio-only/logger.ts +3 -0
  260. package/react/features/base/audio-only/reducer.ts +25 -0
  261. package/react/features/base/avatar/components/Avatar.tsx +295 -0
  262. package/react/features/base/avatar/components/index.native.ts +1 -0
  263. package/react/features/base/avatar/components/index.web.ts +1 -0
  264. package/react/features/base/avatar/components/native/StatelessAvatar.tsx +200 -0
  265. package/react/features/base/avatar/components/native/styles.ts +82 -0
  266. package/react/features/base/avatar/components/styles.ts +5 -0
  267. package/react/features/base/avatar/components/web/StatelessAvatar.tsx +220 -0
  268. package/react/features/base/avatar/constants.ts +4 -0
  269. package/react/features/base/avatar/functions.ts +95 -0
  270. package/react/features/base/avatar/types.ts +32 -0
  271. package/react/features/base/buttons/CopyButton.web.tsx +244 -0
  272. package/react/features/base/color-scheme/ColorSchemeRegistry.ts +162 -0
  273. package/react/features/base/color-scheme/defaultScheme.ts +30 -0
  274. package/react/features/base/color-scheme/functions.ts +11 -0
  275. package/react/features/base/components/themes/participantsPaneTheme.json +5 -0
  276. package/react/features/base/conference/actionTypes.ts +369 -0
  277. package/react/features/base/conference/actions.any.ts +1126 -0
  278. package/react/features/base/conference/actions.native.ts +29 -0
  279. package/react/features/base/conference/actions.web.ts +25 -0
  280. package/react/features/base/conference/constants.ts +47 -0
  281. package/react/features/base/conference/functions.ts +657 -0
  282. package/react/features/base/conference/logger.ts +3 -0
  283. package/react/features/base/conference/middleware.any.ts +830 -0
  284. package/react/features/base/conference/middleware.native.ts +50 -0
  285. package/react/features/base/conference/middleware.web.ts +223 -0
  286. package/react/features/base/conference/reducer.ts +709 -0
  287. package/react/features/base/config/actionTypes.ts +61 -0
  288. package/react/features/base/config/actions.ts +185 -0
  289. package/react/features/base/config/configType.ts +670 -0
  290. package/react/features/base/config/configWhitelist.ts +254 -0
  291. package/react/features/base/config/constants.ts +43 -0
  292. package/react/features/base/config/extraConfigWhitelist.ts +4 -0
  293. package/react/features/base/config/extraInterfaceConfigWhitelist.ts +4 -0
  294. package/react/features/base/config/functions.any.ts +465 -0
  295. package/react/features/base/config/functions.native.ts +53 -0
  296. package/react/features/base/config/functions.web.ts +87 -0
  297. package/react/features/base/config/getRoomName.ts +15 -0
  298. package/react/features/base/config/interfaceConfigWhitelist.ts +57 -0
  299. package/react/features/base/config/isEmbeddedConfigWhitelist.ts +10 -0
  300. package/react/features/base/config/isEmbeddedInterfaceConfigWhitelist.ts +6 -0
  301. package/react/features/base/config/logger.ts +3 -0
  302. package/react/features/base/config/middleware.ts +225 -0
  303. package/react/features/base/config/reducer.ts +603 -0
  304. package/react/features/base/connection/actionTypes.ts +84 -0
  305. package/react/features/base/connection/actions.any.ts +448 -0
  306. package/react/features/base/connection/actions.native.ts +62 -0
  307. package/react/features/base/connection/actions.web.ts +90 -0
  308. package/react/features/base/connection/constants.ts +17 -0
  309. package/react/features/base/connection/functions.ts +101 -0
  310. package/react/features/base/connection/logger.ts +3 -0
  311. package/react/features/base/connection/middleware.web.ts +30 -0
  312. package/react/features/base/connection/reducer.ts +269 -0
  313. package/react/features/base/connection/types.ts +113 -0
  314. package/react/features/base/connection/utils.ts +49 -0
  315. package/react/features/base/devices/actionTypes.ts +96 -0
  316. package/react/features/base/devices/actions.web.ts +356 -0
  317. package/react/features/base/devices/constants.ts +11 -0
  318. package/react/features/base/devices/functions.any.ts +19 -0
  319. package/react/features/base/devices/functions.native.ts +1 -0
  320. package/react/features/base/devices/functions.web.ts +383 -0
  321. package/react/features/base/devices/logger.ts +3 -0
  322. package/react/features/base/devices/middleware.web.ts +349 -0
  323. package/react/features/base/devices/reducer.web.ts +88 -0
  324. package/react/features/base/devices/types.ts +17 -0
  325. package/react/features/base/dialog/actionTypes.ts +41 -0
  326. package/react/features/base/dialog/actions.ts +126 -0
  327. package/react/features/base/dialog/components/AbstractDialogContainer.ts +72 -0
  328. package/react/features/base/dialog/components/functions.native.tsx +57 -0
  329. package/react/features/base/dialog/components/native/AbstractDialog.ts +168 -0
  330. package/react/features/base/dialog/components/native/AlertDialog.tsx +56 -0
  331. package/react/features/base/dialog/components/native/BottomSheet.tsx +150 -0
  332. package/react/features/base/dialog/components/native/BottomSheetContainer.tsx +22 -0
  333. package/react/features/base/dialog/components/native/ConfirmDialog.tsx +172 -0
  334. package/react/features/base/dialog/components/native/DialogContainer.tsx +58 -0
  335. package/react/features/base/dialog/components/native/InputDialog.tsx +170 -0
  336. package/react/features/base/dialog/components/native/PageReloadDialog.tsx +221 -0
  337. package/react/features/base/dialog/components/native/styles.ts +265 -0
  338. package/react/features/base/dialog/components/web/AbstractDialogTab.ts +58 -0
  339. package/react/features/base/dialog/constants.ts +83 -0
  340. package/react/features/base/dialog/functions.ts +45 -0
  341. package/react/features/base/dialog/logger.ts +3 -0
  342. package/react/features/base/dialog/reducer.ts +63 -0
  343. package/react/features/base/environment/checkChromeExtensionsInstalled.native.ts +10 -0
  344. package/react/features/base/environment/checkChromeExtensionsInstalled.web.ts +26 -0
  345. package/react/features/base/environment/environment.ts +122 -0
  346. package/react/features/base/environment/utils.ts +32 -0
  347. package/react/features/base/flags/actionTypes.ts +10 -0
  348. package/react/features/base/flags/actions.ts +27 -0
  349. package/react/features/base/flags/constants.ts +286 -0
  350. package/react/features/base/flags/functions.ts +31 -0
  351. package/react/features/base/flags/reducer.ts +35 -0
  352. package/react/features/base/i18n/BuiltinLanguages.native.ts +189 -0
  353. package/react/features/base/i18n/BuiltinLanguages.web.ts +0 -0
  354. package/react/features/base/i18n/actionTypes.ts +9 -0
  355. package/react/features/base/i18n/configLanguageDetector.ts +28 -0
  356. package/react/features/base/i18n/dateUtil.ts +150 -0
  357. package/react/features/base/i18n/functions.tsx +45 -0
  358. package/react/features/base/i18n/i18next.ts +147 -0
  359. package/react/features/base/i18n/languageDetector.native.ts +43 -0
  360. package/react/features/base/i18n/languageDetector.web.ts +39 -0
  361. package/react/features/base/i18n/logger.ts +3 -0
  362. package/react/features/base/i18n/middleware.ts +49 -0
  363. package/react/features/base/icons/components/Icon.tsx +209 -0
  364. package/react/features/base/icons/components/SvgXmlIcon.native.tsx +17 -0
  365. package/react/features/base/icons/components/SvgXmlIcon.web.tsx +26 -0
  366. package/react/features/base/icons/components/types.native.ts +5 -0
  367. package/react/features/base/icons/components/types.web.ts +5 -0
  368. package/react/features/base/icons/components/withBranding.tsx +32 -0
  369. package/react/features/base/icons/svg/account-record.svg +5 -0
  370. package/react/features/base/icons/svg/add-user.svg +5 -0
  371. package/react/features/base/icons/svg/arrow-back.svg +5 -0
  372. package/react/features/base/icons/svg/arrow-down-large.svg +3 -0
  373. package/react/features/base/icons/svg/arrow-down.svg +3 -0
  374. package/react/features/base/icons/svg/arrow-left.svg +3 -0
  375. package/react/features/base/icons/svg/arrow-right.svg +3 -0
  376. package/react/features/base/icons/svg/arrow-up-large.svg +3 -0
  377. package/react/features/base/icons/svg/arrow-up.svg +3 -0
  378. package/react/features/base/icons/svg/bell.svg +3 -0
  379. package/react/features/base/icons/svg/bluetooth.svg +3 -0
  380. package/react/features/base/icons/svg/calendar.svg +3 -0
  381. package/react/features/base/icons/svg/camera-refresh.svg +3 -0
  382. package/react/features/base/icons/svg/car.svg +3 -0
  383. package/react/features/base/icons/svg/chat-unread.svg +5 -0
  384. package/react/features/base/icons/svg/check.svg +3 -0
  385. package/react/features/base/icons/svg/close-circle.svg +4 -0
  386. package/react/features/base/icons/svg/close-large.svg +3 -0
  387. package/react/features/base/icons/svg/cloud-upload.svg +4 -0
  388. package/react/features/base/icons/svg/code.svg +5 -0
  389. package/react/features/base/icons/svg/connection.svg +3 -0
  390. package/react/features/base/icons/svg/constants.ts +222 -0
  391. package/react/features/base/icons/svg/contact-record.svg +4 -0
  392. package/react/features/base/icons/svg/copy.svg +4 -0
  393. package/react/features/base/icons/svg/dots-horizontal.svg +5 -0
  394. package/react/features/base/icons/svg/download.svg +4 -0
  395. package/react/features/base/icons/svg/e2ee.svg +3 -0
  396. package/react/features/base/icons/svg/edit.svg +3 -0
  397. package/react/features/base/icons/svg/emotions-angry.svg +10 -0
  398. package/react/features/base/icons/svg/emotions-disgusted.svg +10 -0
  399. package/react/features/base/icons/svg/emotions-fearful.svg +10 -0
  400. package/react/features/base/icons/svg/emotions-happy.svg +10 -0
  401. package/react/features/base/icons/svg/emotions-neutral.svg +10 -0
  402. package/react/features/base/icons/svg/emotions-sad.svg +10 -0
  403. package/react/features/base/icons/svg/emotions-surprised.svg +10 -0
  404. package/react/features/base/icons/svg/enlarge.svg +5 -0
  405. package/react/features/base/icons/svg/enter-fullscreen.svg +6 -0
  406. package/react/features/base/icons/svg/envelope.svg +3 -0
  407. package/react/features/base/icons/svg/exclamation-solid.svg +3 -0
  408. package/react/features/base/icons/svg/exclamation-triangle.svg +3 -0
  409. package/react/features/base/icons/svg/exit-fullscreen.svg +6 -0
  410. package/react/features/base/icons/svg/face-smile.svg +6 -0
  411. package/react/features/base/icons/svg/favorite-solid.svg +3 -0
  412. package/react/features/base/icons/svg/favorite.svg +3 -0
  413. package/react/features/base/icons/svg/feedback.svg +3 -0
  414. package/react/features/base/icons/svg/gear.svg +4 -0
  415. package/react/features/base/icons/svg/google.svg +3 -0
  416. package/react/features/base/icons/svg/hangup.svg +3 -0
  417. package/react/features/base/icons/svg/headset.svg +5 -0
  418. package/react/features/base/icons/svg/help.svg +3 -0
  419. package/react/features/base/icons/svg/highlight.svg +3 -0
  420. package/react/features/base/icons/svg/icon-ring-group.svg +3 -0
  421. package/react/features/base/icons/svg/image.svg +4 -0
  422. package/react/features/base/icons/svg/index.ts +233 -0
  423. package/react/features/base/icons/svg/info-circle.svg +5 -0
  424. package/react/features/base/icons/svg/info.svg +3 -0
  425. package/react/features/base/icons/svg/lead-record.svg +5 -0
  426. package/react/features/base/icons/svg/message.svg +6 -0
  427. package/react/features/base/icons/svg/meter.svg +10 -0
  428. package/react/features/base/icons/svg/mic-slash.svg +5 -0
  429. package/react/features/base/icons/svg/mic.svg +4 -0
  430. package/react/features/base/icons/svg/moderator.svg +3 -0
  431. package/react/features/base/icons/svg/ninja.svg +5 -0
  432. package/react/features/base/icons/svg/noise-suppression-off.svg +4 -0
  433. package/react/features/base/icons/svg/noise-suppression-on.svg +3 -0
  434. package/react/features/base/icons/svg/office365.svg +3 -0
  435. package/react/features/base/icons/svg/opportunity-record.svg +5 -0
  436. package/react/features/base/icons/svg/performance.svg +4 -0
  437. package/react/features/base/icons/svg/phone-ringing.svg +5 -0
  438. package/react/features/base/icons/svg/pin.svg +3 -0
  439. package/react/features/base/icons/svg/pinned.svg +3 -0
  440. package/react/features/base/icons/svg/play.svg +3 -0
  441. package/react/features/base/icons/svg/plus.svg +3 -0
  442. package/react/features/base/icons/svg/raise-hand.svg +4 -0
  443. package/react/features/base/icons/svg/record.svg +3 -0
  444. package/react/features/base/icons/svg/reply.svg +3 -0
  445. package/react/features/base/icons/svg/restore.svg +5 -0
  446. package/react/features/base/icons/svg/screenshare.svg +4 -0
  447. package/react/features/base/icons/svg/search.svg +3 -0
  448. package/react/features/base/icons/svg/security-off.svg +4 -0
  449. package/react/features/base/icons/svg/security-on.svg +4 -0
  450. package/react/features/base/icons/svg/send.svg +3 -0
  451. package/react/features/base/icons/svg/share-doc.svg +5 -0
  452. package/react/features/base/icons/svg/share.svg +3 -0
  453. package/react/features/base/icons/svg/shortcuts.svg +6 -0
  454. package/react/features/base/icons/svg/sip.svg +3 -0
  455. package/react/features/base/icons/svg/sites.svg +3 -0
  456. package/react/features/base/icons/svg/start-remote-control.svg +5 -0
  457. package/react/features/base/icons/svg/stop-remote-control.svg +5 -0
  458. package/react/features/base/icons/svg/stop.svg +4 -0
  459. package/react/features/base/icons/svg/subtitles.svg +5 -0
  460. package/react/features/base/icons/svg/tile-view.svg +6 -0
  461. package/react/features/base/icons/svg/trash.svg +1 -0
  462. package/react/features/base/icons/svg/user-deleted.svg +3 -0
  463. package/react/features/base/icons/svg/user.svg +4 -0
  464. package/react/features/base/icons/svg/users.svg +6 -0
  465. package/react/features/base/icons/svg/video-off.svg +4 -0
  466. package/react/features/base/icons/svg/video.svg +3 -0
  467. package/react/features/base/icons/svg/visibility-off.svg +5 -0
  468. package/react/features/base/icons/svg/visibility.svg +5 -0
  469. package/react/features/base/icons/svg/volume-off.svg +4 -0
  470. package/react/features/base/icons/svg/volume-up.svg +5 -0
  471. package/react/features/base/icons/svg/warning-circle.svg +3 -0
  472. package/react/features/base/icons/svg/warning.svg +1 -0
  473. package/react/features/base/icons/svg/whiteboard-hide.svg +4 -0
  474. package/react/features/base/icons/svg/whiteboard.svg +5 -0
  475. package/react/features/base/icons/svg/wifi-1.svg +5 -0
  476. package/react/features/base/icons/svg/wifi-2.svg +5 -0
  477. package/react/features/base/icons/svg/wifi-3.svg +5 -0
  478. package/react/features/base/icons/svg/yahoo.svg +3 -0
  479. package/react/features/base/jitsi-local-storage/logger.ts +3 -0
  480. package/react/features/base/jitsi-local-storage/setup.web.ts +86 -0
  481. package/react/features/base/jwt/actionTypes.ts +30 -0
  482. package/react/features/base/jwt/actions.ts +49 -0
  483. package/react/features/base/jwt/constants.ts +45 -0
  484. package/react/features/base/jwt/functions.ts +241 -0
  485. package/react/features/base/jwt/logger.ts +3 -0
  486. package/react/features/base/jwt/middleware.ts +323 -0
  487. package/react/features/base/jwt/reducer.ts +73 -0
  488. package/react/features/base/known-domains/actionTypes.ts +10 -0
  489. package/react/features/base/known-domains/actions.ts +20 -0
  490. package/react/features/base/known-domains/middleware.ts +55 -0
  491. package/react/features/base/known-domains/reducer.ts +62 -0
  492. package/react/features/base/label/components/native/ExpandedLabel.tsx +102 -0
  493. package/react/features/base/label/components/native/Label.tsx +179 -0
  494. package/react/features/base/label/components/native/styles.ts +68 -0
  495. package/react/features/base/label/components/web/ExpandedLabel.ts +0 -0
  496. package/react/features/base/label/components/web/Label.tsx +134 -0
  497. package/react/features/base/label/constants.ts +5 -0
  498. package/react/features/base/lastn/actionTypes.ts +9 -0
  499. package/react/features/base/lastn/actions.ts +17 -0
  500. package/react/features/base/lastn/functions.ts +24 -0
  501. package/react/features/base/lastn/logger.ts +3 -0
  502. package/react/features/base/lastn/middleware.ts +92 -0
  503. package/react/features/base/lastn/reducer.ts +22 -0
  504. package/react/features/base/lib-jitsi-meet/_.native.ts +7 -0
  505. package/react/features/base/lib-jitsi-meet/_.web.ts +3 -0
  506. package/react/features/base/lib-jitsi-meet/actionTypes.ts +48 -0
  507. package/react/features/base/lib-jitsi-meet/actions.ts +84 -0
  508. package/react/features/base/lib-jitsi-meet/functions.any.ts +99 -0
  509. package/react/features/base/lib-jitsi-meet/functions.native.ts +75 -0
  510. package/react/features/base/lib-jitsi-meet/functions.web.ts +14 -0
  511. package/react/features/base/lib-jitsi-meet/index.ts +24 -0
  512. package/react/features/base/lib-jitsi-meet/logger.ts +3 -0
  513. package/react/features/base/lib-jitsi-meet/middleware.ts +74 -0
  514. package/react/features/base/lib-jitsi-meet/reducer.ts +45 -0
  515. package/react/features/base/logging/ExternalApiLogTransport.ts +18 -0
  516. package/react/features/base/logging/JitsiMeetInMemoryLogStorage.ts +59 -0
  517. package/react/features/base/logging/JitsiMeetLogStorage.ts +69 -0
  518. package/react/features/base/logging/LogTransport.native.ts +68 -0
  519. package/react/features/base/logging/LogTransport.web.ts +1 -0
  520. package/react/features/base/logging/actionTypes.ts +21 -0
  521. package/react/features/base/logging/actions.ts +35 -0
  522. package/react/features/base/logging/functions.ts +44 -0
  523. package/react/features/base/logging/middleware.ts +302 -0
  524. package/react/features/base/logging/reducer.ts +115 -0
  525. package/react/features/base/logging/types.ts +9 -0
  526. package/react/features/base/media/actionTypes.ts +126 -0
  527. package/react/features/base/media/actions.ts +291 -0
  528. package/react/features/base/media/components/AbstractAudio.ts +126 -0
  529. package/react/features/base/media/components/AbstractVideoTrack.tsx +150 -0
  530. package/react/features/base/media/components/index.native.ts +2 -0
  531. package/react/features/base/media/components/index.web.ts +2 -0
  532. package/react/features/base/media/components/native/Audio.ts +114 -0
  533. package/react/features/base/media/components/native/Video.tsx +134 -0
  534. package/react/features/base/media/components/native/VideoTrack.tsx +30 -0
  535. package/react/features/base/media/components/native/VideoTransform.tsx +730 -0
  536. package/react/features/base/media/components/native/styles.ts +35 -0
  537. package/react/features/base/media/components/web/Audio.tsx +111 -0
  538. package/react/features/base/media/components/web/AudioTrack.tsx +314 -0
  539. package/react/features/base/media/components/web/Video.tsx +391 -0
  540. package/react/features/base/media/components/web/VideoTrack.tsx +197 -0
  541. package/react/features/base/media/constants.ts +74 -0
  542. package/react/features/base/media/functions.ts +156 -0
  543. package/react/features/base/media/logger.ts +3 -0
  544. package/react/features/base/media/middleware.any.ts +339 -0
  545. package/react/features/base/media/middleware.native.ts +1 -0
  546. package/react/features/base/media/middleware.web.ts +44 -0
  547. package/react/features/base/media/reducer.ts +379 -0
  548. package/react/features/base/media/subscriber.ts +18 -0
  549. package/react/features/base/media/types.ts +4 -0
  550. package/react/features/base/modal/components/JitsiKeyboardAvoidingView.tsx +106 -0
  551. package/react/features/base/modal/components/JitsiScreen.tsx +94 -0
  552. package/react/features/base/modal/components/functions.native.ts +32 -0
  553. package/react/features/base/modal/components/styles.ts +11 -0
  554. package/react/features/base/net-info/NetworkInfoService.native.ts +70 -0
  555. package/react/features/base/net-info/NetworkInfoService.web.ts +60 -0
  556. package/react/features/base/net-info/actionTypes.ts +13 -0
  557. package/react/features/base/net-info/actions.ts +39 -0
  558. package/react/features/base/net-info/constants.ts +6 -0
  559. package/react/features/base/net-info/events.ts +1 -0
  560. package/react/features/base/net-info/logger.ts +3 -0
  561. package/react/features/base/net-info/middleware.ts +64 -0
  562. package/react/features/base/net-info/reducer.ts +40 -0
  563. package/react/features/base/net-info/selectors.ts +13 -0
  564. package/react/features/base/net-info/types.ts +37 -0
  565. package/react/features/base/participants/actionTypes.ts +248 -0
  566. package/react/features/base/participants/actions.ts +689 -0
  567. package/react/features/base/participants/components/ParticipantView.native.tsx +300 -0
  568. package/react/features/base/participants/components/styles.ts +46 -0
  569. package/react/features/base/participants/constants.ts +82 -0
  570. package/react/features/base/participants/functions.ts +859 -0
  571. package/react/features/base/participants/logger.ts +3 -0
  572. package/react/features/base/participants/middleware.ts +986 -0
  573. package/react/features/base/participants/preloadImage.native.ts +26 -0
  574. package/react/features/base/participants/preloadImage.web.ts +46 -0
  575. package/react/features/base/participants/reducer.ts +694 -0
  576. package/react/features/base/participants/sounds.ts +11 -0
  577. package/react/features/base/participants/subscriber.ts +168 -0
  578. package/react/features/base/participants/types.ts +92 -0
  579. package/react/features/base/popover/components/Popover.native.ts +0 -0
  580. package/react/features/base/popover/components/Popover.web.tsx +554 -0
  581. package/react/features/base/popover/functions.web.ts +153 -0
  582. package/react/features/base/premeeting/actionTypes.ts +15 -0
  583. package/react/features/base/premeeting/actions.web.ts +67 -0
  584. package/react/features/base/premeeting/components/web/ActionButton.tsx +242 -0
  585. package/react/features/base/premeeting/components/web/ConnectionStatus.tsx +236 -0
  586. package/react/features/base/premeeting/components/web/PreMeetingScreen.tsx +315 -0
  587. package/react/features/base/premeeting/components/web/Preview.tsx +99 -0
  588. package/react/features/base/premeeting/components/web/RecordingWarning.tsx +38 -0
  589. package/react/features/base/premeeting/components/web/UnsafeRoomWarning.tsx +53 -0
  590. package/react/features/base/premeeting/constants.ts +8 -0
  591. package/react/features/base/premeeting/functions.ts +271 -0
  592. package/react/features/base/premeeting/logger.ts +3 -0
  593. package/react/features/base/premeeting/reducer.web.ts +42 -0
  594. package/react/features/base/premeeting/types.ts +25 -0
  595. package/react/features/base/react/Platform.native.ts +4 -0
  596. package/react/features/base/react/Platform.web.ts +48 -0
  597. package/react/features/base/react/components/AbstractContainer.ts +120 -0
  598. package/react/features/base/react/components/AbstractPage.ts +22 -0
  599. package/react/features/base/react/components/index.native.ts +2 -0
  600. package/react/features/base/react/components/index.web.ts +2 -0
  601. package/react/features/base/react/components/native/AvatarListItem.tsx +164 -0
  602. package/react/features/base/react/components/native/BaseIndicator.tsx +58 -0
  603. package/react/features/base/react/components/native/Container.tsx +86 -0
  604. package/react/features/base/react/components/native/Image.tsx +39 -0
  605. package/react/features/base/react/components/native/Link.tsx +88 -0
  606. package/react/features/base/react/components/native/Linkify.tsx +79 -0
  607. package/react/features/base/react/components/native/LoadingIndicator.tsx +55 -0
  608. package/react/features/base/react/components/native/Modal.tsx +32 -0
  609. package/react/features/base/react/components/native/NavigateSectionList.tsx +260 -0
  610. package/react/features/base/react/components/native/NavigateSectionListEmptyComponent.tsx +40 -0
  611. package/react/features/base/react/components/native/NavigateSectionListItem.tsx +123 -0
  612. package/react/features/base/react/components/native/NavigateSectionListSectionHeader.tsx +41 -0
  613. package/react/features/base/react/components/native/Pressable.tsx +44 -0
  614. package/react/features/base/react/components/native/SectionList.tsx +92 -0
  615. package/react/features/base/react/components/native/SlidingView.tsx +293 -0
  616. package/react/features/base/react/components/native/Text.ts +1 -0
  617. package/react/features/base/react/components/native/TintedView.tsx +65 -0
  618. package/react/features/base/react/components/native/headerstyles.ts +86 -0
  619. package/react/features/base/react/components/native/indicatorStyles.ts +19 -0
  620. package/react/features/base/react/components/native/slidingviewstyles.ts +29 -0
  621. package/react/features/base/react/components/native/styles.ts +154 -0
  622. package/react/features/base/react/components/web/BaseIndicator.tsx +119 -0
  623. package/react/features/base/react/components/web/Container.ts +20 -0
  624. package/react/features/base/react/components/web/Image.ts +19 -0
  625. package/react/features/base/react/components/web/InlineDialogFailure.tsx +88 -0
  626. package/react/features/base/react/components/web/Linkify.tsx +51 -0
  627. package/react/features/base/react/components/web/LoadingIndicator.ts +1 -0
  628. package/react/features/base/react/components/web/MeetingsList.tsx +278 -0
  629. package/react/features/base/react/components/web/Message.tsx +131 -0
  630. package/react/features/base/react/components/web/MultiSelectAutocomplete.tsx +321 -0
  631. package/react/features/base/react/components/web/NavigateSectionListEmptyComponent.ts +0 -0
  632. package/react/features/base/react/components/web/NavigateSectionListItem.tsx +88 -0
  633. package/react/features/base/react/components/web/NavigateSectionListSectionHeader.tsx +34 -0
  634. package/react/features/base/react/components/web/SectionList.tsx +97 -0
  635. package/react/features/base/react/components/web/Text.ts +27 -0
  636. package/react/features/base/react/components/web/Watermarks.tsx +265 -0
  637. package/react/features/base/react/constants.ts +5 -0
  638. package/react/features/base/react/functions.ts +65 -0
  639. package/react/features/base/react/logger.ts +3 -0
  640. package/react/features/base/react/types.ts +106 -0
  641. package/react/features/base/redux/MiddlewareRegistry.ts +53 -0
  642. package/react/features/base/redux/PersistenceRegistry.ts +244 -0
  643. package/react/features/base/redux/README.md +44 -0
  644. package/react/features/base/redux/ReducerRegistry.ts +62 -0
  645. package/react/features/base/redux/StateListenerRegistry.ts +186 -0
  646. package/react/features/base/redux/functions.ts +145 -0
  647. package/react/features/base/redux/logger.ts +3 -0
  648. package/react/features/base/redux/middleware.ts +43 -0
  649. package/react/features/base/responsive-ui/actionTypes.ts +66 -0
  650. package/react/features/base/responsive-ui/actions.ts +163 -0
  651. package/react/features/base/responsive-ui/components/DimensionsDetector.native.tsx +64 -0
  652. package/react/features/base/responsive-ui/components/DimensionsDetector.web.ts +0 -0
  653. package/react/features/base/responsive-ui/constants.ts +28 -0
  654. package/react/features/base/responsive-ui/functions.ts +21 -0
  655. package/react/features/base/responsive-ui/middleware.native.ts +29 -0
  656. package/react/features/base/responsive-ui/middleware.web.ts +82 -0
  657. package/react/features/base/responsive-ui/reducer.ts +80 -0
  658. package/react/features/base/settings/actionTypes.ts +23 -0
  659. package/react/features/base/settings/actions.ts +32 -0
  660. package/react/features/base/settings/components/native/SettingsButton.tsx +47 -0
  661. package/react/features/base/settings/constants.ts +4 -0
  662. package/react/features/base/settings/functions.any.ts +126 -0
  663. package/react/features/base/settings/functions.native.ts +34 -0
  664. package/react/features/base/settings/functions.web.ts +216 -0
  665. package/react/features/base/settings/logger.ts +3 -0
  666. package/react/features/base/settings/middleware.any.ts +117 -0
  667. package/react/features/base/settings/middleware.native.ts +96 -0
  668. package/react/features/base/settings/middleware.web.ts +85 -0
  669. package/react/features/base/settings/reducer.ts +174 -0
  670. package/react/features/base/sounds/actionTypes.ts +64 -0
  671. package/react/features/base/sounds/actions.ts +155 -0
  672. package/react/features/base/sounds/components/SoundCollection.ts +154 -0
  673. package/react/features/base/sounds/functions.android.ts +9 -0
  674. package/react/features/base/sounds/functions.any.ts +11 -0
  675. package/react/features/base/sounds/functions.ios.ts +12 -0
  676. package/react/features/base/sounds/functions.web.ts +27 -0
  677. package/react/features/base/sounds/logger.ts +3 -0
  678. package/react/features/base/sounds/middleware.any.ts +129 -0
  679. package/react/features/base/sounds/middleware.native.ts +1 -0
  680. package/react/features/base/sounds/middleware.web.ts +23 -0
  681. package/react/features/base/sounds/reducer.ts +144 -0
  682. package/react/features/base/styles/components/styles/BoxModel.ts +15 -0
  683. package/react/features/base/styles/components/styles/ColorPalette.ts +34 -0
  684. package/react/features/base/styles/functions.any.ts +273 -0
  685. package/react/features/base/styles/functions.native.ts +16 -0
  686. package/react/features/base/styles/functions.web.ts +24 -0
  687. package/react/features/base/testing/actionTypes.ts +9 -0
  688. package/react/features/base/testing/actions.ts +28 -0
  689. package/react/features/base/testing/components/AbstractTestHint.ts +62 -0
  690. package/react/features/base/testing/components/TestConnectionInfo.tsx +222 -0
  691. package/react/features/base/testing/components/TestHint.android.tsx +46 -0
  692. package/react/features/base/testing/components/TestHint.ios.tsx +34 -0
  693. package/react/features/base/testing/components/TestHint.web.ts +3 -0
  694. package/react/features/base/testing/functions.ts +144 -0
  695. package/react/features/base/testing/logger.ts +3 -0
  696. package/react/features/base/testing/middleware.ts +123 -0
  697. package/react/features/base/testing/reducer.ts +47 -0
  698. package/react/features/base/toolbox/components/AbstractButton.tsx +408 -0
  699. package/react/features/base/toolbox/components/AbstractHangupButton.ts +32 -0
  700. package/react/features/base/toolbox/components/AbstractToolboxItem.tsx +229 -0
  701. package/react/features/base/toolbox/components/BaseAudioMuteButton.ts +60 -0
  702. package/react/features/base/toolbox/components/BaseVideoMuteButton.ts +59 -0
  703. package/react/features/base/toolbox/components/ToolboxItem.native.tsx +83 -0
  704. package/react/features/base/toolbox/components/ToolboxItem.web.tsx +161 -0
  705. package/react/features/base/toolbox/components/web/ToolboxButtonWithIcon.tsx +162 -0
  706. package/react/features/base/toolbox/components/web/ToolboxButtonWithPopup.tsx +122 -0
  707. package/react/features/base/tooltip/actionTypes.ts +19 -0
  708. package/react/features/base/tooltip/actions.tsx +31 -0
  709. package/react/features/base/tooltip/components/Tooltip.tsx +157 -0
  710. package/react/features/base/tooltip/reducer.ts +50 -0
  711. package/react/features/base/tracks/actionTypes.ts +118 -0
  712. package/react/features/base/tracks/actions.any.ts +828 -0
  713. package/react/features/base/tracks/actions.native.ts +68 -0
  714. package/react/features/base/tracks/actions.web.ts +563 -0
  715. package/react/features/base/tracks/components/web/AllowToggleCameraDialog.tsx +44 -0
  716. package/react/features/base/tracks/constants.ts +5 -0
  717. package/react/features/base/tracks/functions.any.ts +523 -0
  718. package/react/features/base/tracks/functions.native.ts +44 -0
  719. package/react/features/base/tracks/functions.web.ts +253 -0
  720. package/react/features/base/tracks/loadEffects.native.ts +9 -0
  721. package/react/features/base/tracks/loadEffects.web.ts +41 -0
  722. package/react/features/base/tracks/logger.ts +3 -0
  723. package/react/features/base/tracks/middleware.any.ts +200 -0
  724. package/react/features/base/tracks/middleware.native.ts +76 -0
  725. package/react/features/base/tracks/middleware.web.ts +269 -0
  726. package/react/features/base/tracks/reducer.ts +140 -0
  727. package/react/features/base/tracks/subscriber.ts +40 -0
  728. package/react/features/base/tracks/types.ts +90 -0
  729. package/react/features/base/ui/Tokens.ts +241 -0
  730. package/react/features/base/ui/components/BaseTheme.native.ts +12 -0
  731. package/react/features/base/ui/components/BaseTheme.web.ts +11 -0
  732. package/react/features/base/ui/components/GlobalStyles.web.tsx +23 -0
  733. package/react/features/base/ui/components/JitsiThemeProvider.native.tsx +22 -0
  734. package/react/features/base/ui/components/JitsiThemeProvider.web.tsx +50 -0
  735. package/react/features/base/ui/components/native/Button.tsx +120 -0
  736. package/react/features/base/ui/components/native/IconButton.tsx +71 -0
  737. package/react/features/base/ui/components/native/Input.tsx +197 -0
  738. package/react/features/base/ui/components/native/Switch.tsx +60 -0
  739. package/react/features/base/ui/components/native/buttonStyles.ts +76 -0
  740. package/react/features/base/ui/components/native/inputStyles.ts +87 -0
  741. package/react/features/base/ui/components/native/switchStyles.ts +5 -0
  742. package/react/features/base/ui/components/types.ts +113 -0
  743. package/react/features/base/ui/components/updateTheme.native.ts +9 -0
  744. package/react/features/base/ui/components/variables.ts +6 -0
  745. package/react/features/base/ui/components/web/BaseDialog.tsx +217 -0
  746. package/react/features/base/ui/components/web/Button.tsx +223 -0
  747. package/react/features/base/ui/components/web/Checkbox.tsx +185 -0
  748. package/react/features/base/ui/components/web/ClickableIcon.tsx +61 -0
  749. package/react/features/base/ui/components/web/ContextMenu.tsx +412 -0
  750. package/react/features/base/ui/components/web/ContextMenuItem.tsx +272 -0
  751. package/react/features/base/ui/components/web/ContextMenuItemGroup.tsx +68 -0
  752. package/react/features/base/ui/components/web/Dialog.tsx +177 -0
  753. package/react/features/base/ui/components/web/DialogContainer.tsx +96 -0
  754. package/react/features/base/ui/components/web/DialogTransition.tsx +39 -0
  755. package/react/features/base/ui/components/web/DialogWithTabs.tsx +418 -0
  756. package/react/features/base/ui/components/web/HiddenDescription.tsx +29 -0
  757. package/react/features/base/ui/components/web/Input.tsx +290 -0
  758. package/react/features/base/ui/components/web/ListItem.tsx +294 -0
  759. package/react/features/base/ui/components/web/MultiSelect.tsx +179 -0
  760. package/react/features/base/ui/components/web/Select.tsx +198 -0
  761. package/react/features/base/ui/components/web/Spinner.tsx +79 -0
  762. package/react/features/base/ui/components/web/Switch.tsx +138 -0
  763. package/react/features/base/ui/components/web/Tabs.tsx +167 -0
  764. package/react/features/base/ui/components/web/TextWithOverflow.tsx +74 -0
  765. package/react/features/base/ui/constants.any.ts +31 -0
  766. package/react/features/base/ui/constants.native.ts +1 -0
  767. package/react/features/base/ui/constants.web.ts +275 -0
  768. package/react/features/base/ui/functions.any.ts +25 -0
  769. package/react/features/base/ui/functions.native.ts +51 -0
  770. package/react/features/base/ui/functions.web.ts +121 -0
  771. package/react/features/base/ui/hooks/useContextMenu.web.ts +77 -0
  772. package/react/features/base/ui/jitsiTokens.json +14 -0
  773. package/react/features/base/ui/tokens.json +211 -0
  774. package/react/features/base/ui/types.ts +81 -0
  775. package/react/features/base/ui/utils.ts +42 -0
  776. package/react/features/base/user-interaction/actionTypes.ts +9 -0
  777. package/react/features/base/user-interaction/middleware.ts +86 -0
  778. package/react/features/base/user-interaction/reducer.ts +29 -0
  779. package/react/features/base/util/contants.ts +1 -0
  780. package/react/features/base/util/copyText.native.ts +18 -0
  781. package/react/features/base/util/copyText.web.ts +18 -0
  782. package/react/features/base/util/downloadJSON.web.ts +35 -0
  783. package/react/features/base/util/embedUtils.native.ts +26 -0
  784. package/react/features/base/util/embedUtils.web.ts +12 -0
  785. package/react/features/base/util/getUnsafeRoomText.native.ts +32 -0
  786. package/react/features/base/util/getUnsafeRoomText.web.ts +20 -0
  787. package/react/features/base/util/helpers.ts +182 -0
  788. package/react/features/base/util/hooks.ts +12 -0
  789. package/react/features/base/util/httpUtils.ts +81 -0
  790. package/react/features/base/util/isInsecureRoomName.ts +56 -0
  791. package/react/features/base/util/loadScript.native.ts +62 -0
  792. package/react/features/base/util/loadScript.web.ts +18 -0
  793. package/react/features/base/util/logger.ts +3 -0
  794. package/react/features/base/util/math.ts +37 -0
  795. package/react/features/base/util/messageGrouping.ts +79 -0
  796. package/react/features/base/util/openURLInBrowser.native.ts +16 -0
  797. package/react/features/base/util/openURLInBrowser.web.ts +12 -0
  798. package/react/features/base/util/parseURLParams.ts +80 -0
  799. package/react/features/base/util/spot.ts +16 -0
  800. package/react/features/base/util/strings.native.ts +23 -0
  801. package/react/features/base/util/strings.web.ts +20 -0
  802. package/react/features/base/util/timeoutPromise.ts +34 -0
  803. package/react/features/base/util/uri.ts +724 -0
  804. package/react/features/breakout-rooms/actionTypes.ts +15 -0
  805. package/react/features/breakout-rooms/actions.ts +322 -0
  806. package/react/features/breakout-rooms/components/native/AddBreakoutRoomButton.tsx +33 -0
  807. package/react/features/breakout-rooms/components/native/AutoAssignButton.tsx +33 -0
  808. package/react/features/breakout-rooms/components/native/BreakoutRoomContextMenu.tsx +125 -0
  809. package/react/features/breakout-rooms/components/native/BreakoutRoomNamePrompt.tsx +35 -0
  810. package/react/features/breakout-rooms/components/native/BreakoutRoomParticipantItem.tsx +43 -0
  811. package/react/features/breakout-rooms/components/native/BreakoutRooms.tsx +67 -0
  812. package/react/features/breakout-rooms/components/native/BreakoutRoomsButton.tsx +53 -0
  813. package/react/features/breakout-rooms/components/native/CollapsibleRoom.tsx +66 -0
  814. package/react/features/breakout-rooms/components/native/LeaveBreakoutRoomButton.tsx +36 -0
  815. package/react/features/breakout-rooms/components/native/styles.ts +76 -0
  816. package/react/features/breakout-rooms/constants.ts +9 -0
  817. package/react/features/breakout-rooms/functions.ts +216 -0
  818. package/react/features/breakout-rooms/logger.ts +3 -0
  819. package/react/features/breakout-rooms/middleware.ts +107 -0
  820. package/react/features/breakout-rooms/reducer.ts +46 -0
  821. package/react/features/breakout-rooms/types.ts +36 -0
  822. package/react/features/calendar-sync/actionTypes.ts +98 -0
  823. package/react/features/calendar-sync/actions.any.ts +60 -0
  824. package/react/features/calendar-sync/actions.native.ts +45 -0
  825. package/react/features/calendar-sync/actions.web.ts +292 -0
  826. package/react/features/calendar-sync/components/AddMeetingUrlButton.native.ts +21 -0
  827. package/react/features/calendar-sync/components/AddMeetingUrlButton.web.tsx +101 -0
  828. package/react/features/calendar-sync/components/CalendarList.native.tsx +143 -0
  829. package/react/features/calendar-sync/components/CalendarList.web.tsx +269 -0
  830. package/react/features/calendar-sync/components/CalendarListContent.native.tsx +249 -0
  831. package/react/features/calendar-sync/components/CalendarListContent.web.tsx +163 -0
  832. package/react/features/calendar-sync/components/JoinButton.native.ts +21 -0
  833. package/react/features/calendar-sync/components/JoinButton.web.tsx +96 -0
  834. package/react/features/calendar-sync/components/MicrosoftSignInButton.native.ts +0 -0
  835. package/react/features/calendar-sync/components/MicrosoftSignInButton.web.tsx +52 -0
  836. package/react/features/calendar-sync/components/UpdateCalendarEventDialog.native.tsx +65 -0
  837. package/react/features/calendar-sync/components/UpdateCalendarEventDialog.web.ts +0 -0
  838. package/react/features/calendar-sync/components/styles.ts +182 -0
  839. package/react/features/calendar-sync/constants.ts +35 -0
  840. package/react/features/calendar-sync/functions.any.ts +205 -0
  841. package/react/features/calendar-sync/functions.native.ts +151 -0
  842. package/react/features/calendar-sync/functions.web.ts +114 -0
  843. package/react/features/calendar-sync/logger.ts +3 -0
  844. package/react/features/calendar-sync/middleware.ts +75 -0
  845. package/react/features/calendar-sync/reducer.tsx +108 -0
  846. package/react/features/calendar-sync/web/googleCalendar.ts +72 -0
  847. package/react/features/calendar-sync/web/microsoftCalendar.ts +606 -0
  848. package/react/features/chat/actionTypes.ts +174 -0
  849. package/react/features/chat/actions.any.ts +359 -0
  850. package/react/features/chat/actions.native.ts +30 -0
  851. package/react/features/chat/actions.web.ts +97 -0
  852. package/react/features/chat/components/AbstractChatPrivacyDialog.tsx +131 -0
  853. package/react/features/chat/components/AbstractMessageContainer.ts +65 -0
  854. package/react/features/chat/components/AbstractMessageRecipient.ts +99 -0
  855. package/react/features/chat/components/index.native.ts +2 -0
  856. package/react/features/chat/components/index.web.ts +1 -0
  857. package/react/features/chat/components/native/Chat.tsx +158 -0
  858. package/react/features/chat/components/native/ChatButton.ts +78 -0
  859. package/react/features/chat/components/native/ChatInputBar.tsx +209 -0
  860. package/react/features/chat/components/native/ChatMessage.tsx +245 -0
  861. package/react/features/chat/components/native/ChatMessageGroup.tsx +81 -0
  862. package/react/features/chat/components/native/ChatPrivacyDialog.tsx +30 -0
  863. package/react/features/chat/components/native/GifMessage.tsx +28 -0
  864. package/react/features/chat/components/native/MessageContainer.tsx +117 -0
  865. package/react/features/chat/components/native/MessageRecipient.tsx +163 -0
  866. package/react/features/chat/components/native/PrivateMessageButton.tsx +110 -0
  867. package/react/features/chat/components/native/styles.ts +272 -0
  868. package/react/features/chat/components/web/Chat.tsx +623 -0
  869. package/react/features/chat/components/web/ChatButton.tsx +98 -0
  870. package/react/features/chat/components/web/ChatCounter.tsx +74 -0
  871. package/react/features/chat/components/web/ChatHeader.tsx +88 -0
  872. package/react/features/chat/components/web/ChatInput.tsx +356 -0
  873. package/react/features/chat/components/web/ChatMessage.tsx +448 -0
  874. package/react/features/chat/components/web/ChatMessageGroup.tsx +85 -0
  875. package/react/features/chat/components/web/ChatPrivacyDialog.tsx +34 -0
  876. package/react/features/chat/components/web/ClosedCaptionsTab.tsx +182 -0
  877. package/react/features/chat/components/web/DisplayNameForm.tsx +157 -0
  878. package/react/features/chat/components/web/EmojiSelector.tsx +60 -0
  879. package/react/features/chat/components/web/GifMessage.tsx +40 -0
  880. package/react/features/chat/components/web/KeyboardAvoider.tsx +54 -0
  881. package/react/features/chat/components/web/MessageContainer.tsx +337 -0
  882. package/react/features/chat/components/web/MessageMenu.tsx +179 -0
  883. package/react/features/chat/components/web/MessageRecipient.tsx +99 -0
  884. package/react/features/chat/components/web/NewMessagesButton.tsx +89 -0
  885. package/react/features/chat/components/web/PrivateMessageButton.tsx +74 -0
  886. package/react/features/chat/components/web/ReactButton.tsx +87 -0
  887. package/react/features/chat/components/web/SmileysPanel.tsx +120 -0
  888. package/react/features/chat/components/web/SubtitleMessage.tsx +96 -0
  889. package/react/features/chat/components/web/SubtitlesGroup.tsx +76 -0
  890. package/react/features/chat/components/web/SubtitlesMessagesContainer.tsx +154 -0
  891. package/react/features/chat/constants.ts +59 -0
  892. package/react/features/chat/functions.ts +295 -0
  893. package/react/features/chat/middleware.ts +780 -0
  894. package/react/features/chat/reducer.ts +298 -0
  895. package/react/features/chat/smileys.ts +22 -0
  896. package/react/features/chat/sounds.ts +7 -0
  897. package/react/features/chat/subscriber.native.ts +0 -0
  898. package/react/features/chat/subscriber.web.ts +73 -0
  899. package/react/features/chat/types.ts +83 -0
  900. package/react/features/chrome-extension-banner/components/ChromeExtensionBanner.native.ts +0 -0
  901. package/react/features/chrome-extension-banner/components/ChromeExtensionBanner.web.tsx +352 -0
  902. package/react/features/chrome-extension-banner/logger.ts +3 -0
  903. package/react/features/conference/actionTypes.ts +8 -0
  904. package/react/features/conference/actions.native.ts +78 -0
  905. package/react/features/conference/actions.web.ts +91 -0
  906. package/react/features/conference/components/AbstractConference.ts +80 -0
  907. package/react/features/conference/components/AbstractInsecureRoomNameLabel.tsx +58 -0
  908. package/react/features/conference/components/ConferenceTimer.tsx +107 -0
  909. package/react/features/conference/components/constants.ts +15 -0
  910. package/react/features/conference/components/functions.any.ts +22 -0
  911. package/react/features/conference/components/functions.native.ts +32 -0
  912. package/react/features/conference/components/functions.web.ts +12 -0
  913. package/react/features/conference/components/index.native.ts +1 -0
  914. package/react/features/conference/components/index.web.ts +1 -0
  915. package/react/features/conference/components/native/AlwaysOnLabels.tsx +68 -0
  916. package/react/features/conference/components/native/Conference.tsx +603 -0
  917. package/react/features/conference/components/native/ConferenceTimerDisplay.tsx +21 -0
  918. package/react/features/conference/components/native/ExpandedLabelPopup.tsx +36 -0
  919. package/react/features/conference/components/native/InsecureRoomNameExpandedLabel.tsx +51 -0
  920. package/react/features/conference/components/native/InsecureRoomNameLabel.tsx +29 -0
  921. package/react/features/conference/components/native/Labels.tsx +54 -0
  922. package/react/features/conference/components/native/LonelyMeetingExperience.tsx +159 -0
  923. package/react/features/conference/components/native/RaisedHandsCountExpandedLabel.ts +24 -0
  924. package/react/features/conference/components/native/RaisedHandsCountLabel.tsx +25 -0
  925. package/react/features/conference/components/native/TitleBar.tsx +157 -0
  926. package/react/features/conference/components/native/carmode/AudioIcon.tsx +17 -0
  927. package/react/features/conference/components/native/carmode/CarMode.tsx +76 -0
  928. package/react/features/conference/components/native/carmode/CarModeFooter.tsx +30 -0
  929. package/react/features/conference/components/native/carmode/EndMeetingButton.tsx +39 -0
  930. package/react/features/conference/components/native/carmode/EndMeetingIcon.tsx +17 -0
  931. package/react/features/conference/components/native/carmode/MicrophoneButton.tsx +91 -0
  932. package/react/features/conference/components/native/carmode/SoundDeviceButton.tsx +36 -0
  933. package/react/features/conference/components/native/carmode/TitleBar.tsx +86 -0
  934. package/react/features/conference/components/native/carmode/styles.ts +173 -0
  935. package/react/features/conference/components/native/constants.ts +66 -0
  936. package/react/features/conference/components/native/styles.ts +212 -0
  937. package/react/features/conference/components/web/Conference.tsx +497 -0
  938. package/react/features/conference/components/web/ConferenceInfo.tsx +226 -0
  939. package/react/features/conference/components/web/ConferenceInfoContainer.tsx +31 -0
  940. package/react/features/conference/components/web/ConferenceTimerDisplay.tsx +36 -0
  941. package/react/features/conference/components/web/InsecureRoomNameLabel.tsx +34 -0
  942. package/react/features/conference/components/web/LeaveReasonDialog.web.tsx +62 -0
  943. package/react/features/conference/components/web/Notice.tsx +43 -0
  944. package/react/features/conference/components/web/RaisedHandsCountLabel.tsx +45 -0
  945. package/react/features/conference/components/web/SpeakerStatsLabel.tsx +51 -0
  946. package/react/features/conference/components/web/SubjectText.tsx +54 -0
  947. package/react/features/conference/components/web/ToggleTopPanelLabel.tsx +28 -0
  948. package/react/features/conference/constants.ts +12 -0
  949. package/react/features/conference/extraConstants.ts +5 -0
  950. package/react/features/conference/functions.any.ts +38 -0
  951. package/react/features/conference/functions.native.ts +1 -0
  952. package/react/features/conference/functions.web.ts +33 -0
  953. package/react/features/conference/logger.ts +3 -0
  954. package/react/features/conference/middleware.any.ts +350 -0
  955. package/react/features/conference/middleware.native.ts +28 -0
  956. package/react/features/conference/middleware.web.ts +46 -0
  957. package/react/features/connection-indicator/actions.web.ts +19 -0
  958. package/react/features/connection-indicator/components/AbstractConnectionIndicator.ts +225 -0
  959. package/react/features/connection-indicator/components/native/ConnectionIndicator.tsx +206 -0
  960. package/react/features/connection-indicator/components/native/styles.ts +29 -0
  961. package/react/features/connection-indicator/components/web/BandwidthSettingsDialog.tsx +142 -0
  962. package/react/features/connection-indicator/components/web/ConnectionIndicator.tsx +405 -0
  963. package/react/features/connection-indicator/components/web/ConnectionIndicatorContent.tsx +376 -0
  964. package/react/features/connection-indicator/components/web/ConnectionIndicatorIcon.tsx +111 -0
  965. package/react/features/connection-indicator/functions.ts +38 -0
  966. package/react/features/connection-indicator/middleware.ts +23 -0
  967. package/react/features/connection-indicator/statsEmitter.ts +201 -0
  968. package/react/features/connection-stats/components/ConnectionStatsTable.tsx +834 -0
  969. package/react/features/deep-linking/actionTypes.ts +18 -0
  970. package/react/features/deep-linking/actions.ts +33 -0
  971. package/react/features/deep-linking/components/DeepLinkingDesktopPage.native.ts +1 -0
  972. package/react/features/deep-linking/components/DeepLinkingDesktopPage.web.tsx +177 -0
  973. package/react/features/deep-linking/components/DeepLinkingMobilePage.native.ts +1 -0
  974. package/react/features/deep-linking/components/DeepLinkingMobilePage.web.tsx +219 -0
  975. package/react/features/deep-linking/components/NoMobileApp.native.ts +1 -0
  976. package/react/features/deep-linking/components/NoMobileApp.web.tsx +77 -0
  977. package/react/features/deep-linking/constants.ts +6 -0
  978. package/react/features/deep-linking/functions.web.ts +96 -0
  979. package/react/features/deep-linking/middleware.web.ts +20 -0
  980. package/react/features/deep-linking/openDesktopApp.web.ts +29 -0
  981. package/react/features/deep-linking/reducer.ts +20 -0
  982. package/react/features/desktop-picker/actions.ts +25 -0
  983. package/react/features/desktop-picker/components/DesktopPicker.tsx +426 -0
  984. package/react/features/desktop-picker/components/DesktopPickerPane.tsx +131 -0
  985. package/react/features/desktop-picker/components/DesktopSourcePreview.tsx +145 -0
  986. package/react/features/desktop-picker/constants.ts +9 -0
  987. package/react/features/desktop-picker/functions.ts +52 -0
  988. package/react/features/desktop-picker/logger.ts +3 -0
  989. package/react/features/device-selection/actions.web.ts +122 -0
  990. package/react/features/device-selection/components/AudioDevicesSelection.web.tsx +473 -0
  991. package/react/features/device-selection/components/AudioInputPreview.web.tsx +102 -0
  992. package/react/features/device-selection/components/AudioOutputPreview.web.tsx +136 -0
  993. package/react/features/device-selection/components/DeviceHidContainer.web.tsx +107 -0
  994. package/react/features/device-selection/components/DeviceSelector.native.ts +0 -0
  995. package/react/features/device-selection/components/DeviceSelector.web.tsx +154 -0
  996. package/react/features/device-selection/components/VideoDeviceSelection.web.tsx +384 -0
  997. package/react/features/device-selection/components/VideoInputPreview.web.tsx +74 -0
  998. package/react/features/device-selection/functions.web.ts +287 -0
  999. package/react/features/device-selection/logger.ts +3 -0
  1000. package/react/features/device-selection/middleware.ts +24 -0
  1001. package/react/features/display-name/actions.ts +21 -0
  1002. package/react/features/display-name/components/index.native.ts +1 -0
  1003. package/react/features/display-name/components/index.web.ts +1 -0
  1004. package/react/features/display-name/components/native/DisplayNameLabel.tsx +82 -0
  1005. package/react/features/display-name/components/native/DisplayNamePrompt.tsx +44 -0
  1006. package/react/features/display-name/components/native/styles.ts +20 -0
  1007. package/react/features/display-name/components/web/DisplayName.tsx +158 -0
  1008. package/react/features/display-name/components/web/DisplayNameBadge.tsx +41 -0
  1009. package/react/features/display-name/components/web/DisplayNamePrompt.tsx +125 -0
  1010. package/react/features/display-name/components/web/StageParticipantNameLabel.tsx +118 -0
  1011. package/react/features/display-name/components/web/styles.ts +123 -0
  1012. package/react/features/display-name/functions.ts +78 -0
  1013. package/react/features/display-name/middleware.ts +25 -0
  1014. package/react/features/display-name/types.ts +25 -0
  1015. package/react/features/dropbox/actionTypes.ts +9 -0
  1016. package/react/features/dropbox/actions.ts +56 -0
  1017. package/react/features/dropbox/functions.any.ts +48 -0
  1018. package/react/features/dropbox/functions.native.ts +74 -0
  1019. package/react/features/dropbox/functions.web.ts +152 -0
  1020. package/react/features/dropbox/logger.ts +3 -0
  1021. package/react/features/dropbox/reducer.ts +34 -0
  1022. package/react/features/dynamic-branding/actionTypes.ts +19 -0
  1023. package/react/features/dynamic-branding/actions.any.ts +78 -0
  1024. package/react/features/dynamic-branding/actions.native.ts +56 -0
  1025. package/react/features/dynamic-branding/components/native/BrandingImageBackground.tsx +76 -0
  1026. package/react/features/dynamic-branding/components/native/styles.ts +15 -0
  1027. package/react/features/dynamic-branding/functions.any.ts +96 -0
  1028. package/react/features/dynamic-branding/functions.native.ts +9 -0
  1029. package/react/features/dynamic-branding/functions.web.ts +127 -0
  1030. package/react/features/dynamic-branding/logger.ts +3 -0
  1031. package/react/features/dynamic-branding/middleware.any.ts +103 -0
  1032. package/react/features/dynamic-branding/middleware.native.ts +35 -0
  1033. package/react/features/dynamic-branding/middleware.web.ts +27 -0
  1034. package/react/features/dynamic-branding/reducer.ts +290 -0
  1035. package/react/features/e2ee/actionTypes.ts +30 -0
  1036. package/react/features/e2ee/actions.ts +85 -0
  1037. package/react/features/e2ee/components/E2EELabel.tsx +59 -0
  1038. package/react/features/e2ee/components/E2EESection.tsx +174 -0
  1039. package/react/features/e2ee/components/ParticipantVerificationDialog.tsx +123 -0
  1040. package/react/features/e2ee/constants.ts +53 -0
  1041. package/react/features/e2ee/functions.ts +120 -0
  1042. package/react/features/e2ee/logger.ts +3 -0
  1043. package/react/features/e2ee/middleware.ts +215 -0
  1044. package/react/features/e2ee/reducer.ts +44 -0
  1045. package/react/features/e2ee/sounds.ts +13 -0
  1046. package/react/features/embed-meeting/components/EmbedMeetingButton.ts +50 -0
  1047. package/react/features/embed-meeting/components/EmbedMeetingDialog.tsx +81 -0
  1048. package/react/features/embed-meeting/hooks.ts +25 -0
  1049. package/react/features/etherpad/actionTypes.ts +27 -0
  1050. package/react/features/etherpad/actions.ts +51 -0
  1051. package/react/features/etherpad/components/SharedDocumentButton.native.ts +63 -0
  1052. package/react/features/etherpad/components/SharedDocumentButton.web.ts +81 -0
  1053. package/react/features/etherpad/components/native/SharedDocument.tsx +101 -0
  1054. package/react/features/etherpad/components/native/styles.ts +26 -0
  1055. package/react/features/etherpad/functions.ts +33 -0
  1056. package/react/features/etherpad/hooks.ts +24 -0
  1057. package/react/features/etherpad/middleware.ts +73 -0
  1058. package/react/features/etherpad/reducer.ts +48 -0
  1059. package/react/features/external-api/middleware.ts +278 -0
  1060. package/react/features/external-api/subscriber.ts +73 -0
  1061. package/react/features/face-landmarks/FaceLandmarksDetector.ts +355 -0
  1062. package/react/features/face-landmarks/FaceLandmarksHelper.ts +250 -0
  1063. package/react/features/face-landmarks/actionTypes.ts +40 -0
  1064. package/react/features/face-landmarks/actions.ts +48 -0
  1065. package/react/features/face-landmarks/constants.ts +83 -0
  1066. package/react/features/face-landmarks/faceLandmarksWorker.ts +26 -0
  1067. package/react/features/face-landmarks/functions.ts +163 -0
  1068. package/react/features/face-landmarks/logger.ts +3 -0
  1069. package/react/features/face-landmarks/middleware.ts +130 -0
  1070. package/react/features/face-landmarks/reducer.ts +61 -0
  1071. package/react/features/face-landmarks/types.ts +39 -0
  1072. package/react/features/feedback/actionTypes.ts +29 -0
  1073. package/react/features/feedback/actions.web.ts +197 -0
  1074. package/react/features/feedback/components/FeedbackButton.native.ts +0 -0
  1075. package/react/features/feedback/components/FeedbackButton.web.ts +57 -0
  1076. package/react/features/feedback/components/FeedbackDialog.native.ts +3 -0
  1077. package/react/features/feedback/components/FeedbackDialog.web.tsx +330 -0
  1078. package/react/features/feedback/functions.web.ts +70 -0
  1079. package/react/features/feedback/hooks.web.ts +23 -0
  1080. package/react/features/feedback/logger.ts +3 -0
  1081. package/react/features/feedback/reducer.ts +51 -0
  1082. package/react/features/file-sharing/actionTypes.ts +70 -0
  1083. package/react/features/file-sharing/actions.ts +77 -0
  1084. package/react/features/file-sharing/components/web/FileSharing.tsx +460 -0
  1085. package/react/features/file-sharing/constants.ts +4 -0
  1086. package/react/features/file-sharing/functions.any.ts +157 -0
  1087. package/react/features/file-sharing/logger.ts +3 -0
  1088. package/react/features/file-sharing/middleware.web.ts +295 -0
  1089. package/react/features/file-sharing/reducer.ts +68 -0
  1090. package/react/features/file-sharing/types.ts +12 -0
  1091. package/react/features/file-sharing/utils.ts +27 -0
  1092. package/react/features/filmstrip/actionTypes.ts +231 -0
  1093. package/react/features/filmstrip/actions.any.ts +75 -0
  1094. package/react/features/filmstrip/actions.native.ts +85 -0
  1095. package/react/features/filmstrip/actions.web.ts +591 -0
  1096. package/react/features/filmstrip/components/native/AudioMutedIndicator.tsx +20 -0
  1097. package/react/features/filmstrip/components/native/Filmstrip.tsx +337 -0
  1098. package/react/features/filmstrip/components/native/LocalThumbnail.tsx +19 -0
  1099. package/react/features/filmstrip/components/native/ModeratorIndicator.tsx +13 -0
  1100. package/react/features/filmstrip/components/native/PinnedIndicator.tsx +15 -0
  1101. package/react/features/filmstrip/components/native/RaisedHandIndicator.tsx +78 -0
  1102. package/react/features/filmstrip/components/native/ScreenShareIndicator.tsx +15 -0
  1103. package/react/features/filmstrip/components/native/Thumbnail.tsx +444 -0
  1104. package/react/features/filmstrip/components/native/TileView.tsx +299 -0
  1105. package/react/features/filmstrip/components/native/styles.ts +182 -0
  1106. package/react/features/filmstrip/components/web/AudioMutedIndicator.tsx +33 -0
  1107. package/react/features/filmstrip/components/web/AudioTracksContainer.tsx +69 -0
  1108. package/react/features/filmstrip/components/web/Filmstrip.tsx +1151 -0
  1109. package/react/features/filmstrip/components/web/MainFilmstrip.tsx +209 -0
  1110. package/react/features/filmstrip/components/web/ModeratorIndicator.tsx +31 -0
  1111. package/react/features/filmstrip/components/web/PinnedIndicator.tsx +81 -0
  1112. package/react/features/filmstrip/components/web/RaisedHandIndicator.tsx +78 -0
  1113. package/react/features/filmstrip/components/web/ScreenShareIndicator.tsx +30 -0
  1114. package/react/features/filmstrip/components/web/ScreenshareFilmstrip.tsx +132 -0
  1115. package/react/features/filmstrip/components/web/StageFilmstrip.tsx +160 -0
  1116. package/react/features/filmstrip/components/web/StatusIndicators.tsx +123 -0
  1117. package/react/features/filmstrip/components/web/Thumbnail.tsx +1397 -0
  1118. package/react/features/filmstrip/components/web/ThumbnailAudioIndicator.tsx +46 -0
  1119. package/react/features/filmstrip/components/web/ThumbnailBottomIndicators.tsx +96 -0
  1120. package/react/features/filmstrip/components/web/ThumbnailTopIndicators.tsx +158 -0
  1121. package/react/features/filmstrip/components/web/ThumbnailWrapper.tsx +292 -0
  1122. package/react/features/filmstrip/components/web/VideoMenuTriggerButton.tsx +76 -0
  1123. package/react/features/filmstrip/components/web/VirtualScreenshareParticipant.tsx +183 -0
  1124. package/react/features/filmstrip/constants.ts +300 -0
  1125. package/react/features/filmstrip/functions.any.ts +110 -0
  1126. package/react/features/filmstrip/functions.native.ts +289 -0
  1127. package/react/features/filmstrip/functions.web.ts +832 -0
  1128. package/react/features/filmstrip/logger.ts +3 -0
  1129. package/react/features/filmstrip/middleware.native.ts +37 -0
  1130. package/react/features/filmstrip/middleware.web.ts +346 -0
  1131. package/react/features/filmstrip/reducer.ts +418 -0
  1132. package/react/features/filmstrip/subscriber.any.ts +35 -0
  1133. package/react/features/filmstrip/subscriber.native.ts +42 -0
  1134. package/react/features/filmstrip/subscriber.web.ts +237 -0
  1135. package/react/features/follow-me/actionTypes.ts +43 -0
  1136. package/react/features/follow-me/actions.ts +73 -0
  1137. package/react/features/follow-me/constants.ts +6 -0
  1138. package/react/features/follow-me/functions.ts +28 -0
  1139. package/react/features/follow-me/logger.ts +3 -0
  1140. package/react/features/follow-me/middleware.ts +238 -0
  1141. package/react/features/follow-me/reducer.ts +54 -0
  1142. package/react/features/follow-me/subscriber.ts +141 -0
  1143. package/react/features/gifs/actionTypes.ts +46 -0
  1144. package/react/features/gifs/actions.ts +74 -0
  1145. package/react/features/gifs/components/native/GifsMenu.tsx +63 -0
  1146. package/react/features/gifs/components/native/GifsMenuFooter.tsx +27 -0
  1147. package/react/features/gifs/components/native/styles.ts +36 -0
  1148. package/react/features/gifs/components/web/GifsMenu.tsx +253 -0
  1149. package/react/features/gifs/components/web/GifsMenuButton.tsx +41 -0
  1150. package/react/features/gifs/constants.ts +14 -0
  1151. package/react/features/gifs/function.any.ts +150 -0
  1152. package/react/features/gifs/functions.native.ts +1 -0
  1153. package/react/features/gifs/functions.web.ts +13 -0
  1154. package/react/features/gifs/middleware.any.ts +61 -0
  1155. package/react/features/gifs/middleware.native.ts +3 -0
  1156. package/react/features/gifs/middleware.web.ts +2 -0
  1157. package/react/features/gifs/reducer.ts +75 -0
  1158. package/react/features/gifs/subscriber.native.ts +20 -0
  1159. package/react/features/google-api/actionTypes.ts +19 -0
  1160. package/react/features/google-api/actions.ts +226 -0
  1161. package/react/features/google-api/components/GoogleSignInButton.native.tsx +81 -0
  1162. package/react/features/google-api/components/GoogleSignInButton.web.tsx +61 -0
  1163. package/react/features/google-api/components/styles.ts +39 -0
  1164. package/react/features/google-api/constants.ts +76 -0
  1165. package/react/features/google-api/googleApi.native.js +191 -0
  1166. package/react/features/google-api/googleApi.web.js +461 -0
  1167. package/react/features/google-api/logger.ts +3 -0
  1168. package/react/features/google-api/reducer.ts +45 -0
  1169. package/react/features/invite/_utils.ts +83 -0
  1170. package/react/features/invite/actionTypes.ts +72 -0
  1171. package/react/features/invite/actions.any.ts +297 -0
  1172. package/react/features/invite/actions.native.ts +25 -0
  1173. package/react/features/invite/actions.web.ts +1 -0
  1174. package/react/features/invite/components/add-people-dialog/AbstractAddPeopleDialog.tsx +323 -0
  1175. package/react/features/invite/components/add-people-dialog/native/AddPeopleDialog.tsx +585 -0
  1176. package/react/features/invite/components/add-people-dialog/native/styles.ts +120 -0
  1177. package/react/features/invite/components/add-people-dialog/web/AddPeopleDialog.tsx +238 -0
  1178. package/react/features/invite/components/add-people-dialog/web/CopyMeetingLinkSection.tsx +50 -0
  1179. package/react/features/invite/components/add-people-dialog/web/DialInLimit.tsx +55 -0
  1180. package/react/features/invite/components/add-people-dialog/web/DialInNumber.tsx +138 -0
  1181. package/react/features/invite/components/add-people-dialog/web/DialInSection.tsx +71 -0
  1182. package/react/features/invite/components/add-people-dialog/web/InviteButton.ts +33 -0
  1183. package/react/features/invite/components/add-people-dialog/web/InviteByEmailSection.tsx +204 -0
  1184. package/react/features/invite/components/add-people-dialog/web/InviteContactsForm.tsx +517 -0
  1185. package/react/features/invite/components/add-people-dialog/web/InviteContactsSection.tsx +23 -0
  1186. package/react/features/invite/components/add-people-dialog/web/LiveStreamSection.tsx +110 -0
  1187. package/react/features/invite/components/callee-info/CalleeInfo.tsx +167 -0
  1188. package/react/features/invite/components/callee-info/CalleeInfoContainer.tsx +64 -0
  1189. package/react/features/invite/components/callee-info/styles.native.ts +50 -0
  1190. package/react/features/invite/components/callee-info/styles.web.ts +1 -0
  1191. package/react/features/invite/components/dial-in-info-page/DialInInfoApp.native.ts +0 -0
  1192. package/react/features/invite/components/dial-in-info-page/DialInInfoApp.web.tsx +41 -0
  1193. package/react/features/invite/components/dial-in-info-page/NoRoomError.native.ts +0 -0
  1194. package/react/features/invite/components/dial-in-info-page/NoRoomError.web.tsx +26 -0
  1195. package/react/features/invite/components/dial-in-summary/native/DialInSummary.tsx +137 -0
  1196. package/react/features/invite/components/dial-in-summary/native/DialInSummaryErrorDialog.tsx +26 -0
  1197. package/react/features/invite/components/dial-in-summary/native/styles.ts +25 -0
  1198. package/react/features/invite/components/dial-in-summary/web/ConferenceID.tsx +78 -0
  1199. package/react/features/invite/components/dial-in-summary/web/DialInSummary.tsx +312 -0
  1200. package/react/features/invite/components/dial-in-summary/web/DialInSummaryApp.tsx +71 -0
  1201. package/react/features/invite/components/dial-in-summary/web/NumbersList.tsx +210 -0
  1202. package/react/features/invite/constants.ts +60 -0
  1203. package/react/features/invite/functions.ts +985 -0
  1204. package/react/features/invite/logger.ts +3 -0
  1205. package/react/features/invite/middleware.any.ts +206 -0
  1206. package/react/features/invite/middleware.native.ts +0 -0
  1207. package/react/features/invite/middleware.web.ts +66 -0
  1208. package/react/features/invite/reducer.ts +107 -0
  1209. package/react/features/invite/sounds.ts +44 -0
  1210. package/react/features/invite/types.ts +20 -0
  1211. package/react/features/jaas/actionTypes.ts +4 -0
  1212. package/react/features/jaas/actions.any.ts +46 -0
  1213. package/react/features/jaas/actions.native.ts +11 -0
  1214. package/react/features/jaas/actions.web.ts +25 -0
  1215. package/react/features/jaas/components/web/PremiumFeatureDialog.tsx +56 -0
  1216. package/react/features/jaas/constants.ts +17 -0
  1217. package/react/features/jaas/functions.ts +170 -0
  1218. package/react/features/jaas/logger.ts +3 -0
  1219. package/react/features/jaas/middleware.any.ts +39 -0
  1220. package/react/features/jaas/middleware.native.ts +0 -0
  1221. package/react/features/jaas/middleware.web.ts +47 -0
  1222. package/react/features/jaas/reducer.ts +32 -0
  1223. package/react/features/keyboard-shortcuts/actionTypes.ts +24 -0
  1224. package/react/features/keyboard-shortcuts/actions.ts +240 -0
  1225. package/react/features/keyboard-shortcuts/components/KeyboardShortcutsButton.ts +49 -0
  1226. package/react/features/keyboard-shortcuts/functions.ts +31 -0
  1227. package/react/features/keyboard-shortcuts/hooks.ts +25 -0
  1228. package/react/features/keyboard-shortcuts/logger.ts +3 -0
  1229. package/react/features/keyboard-shortcuts/middleware.ts +52 -0
  1230. package/react/features/keyboard-shortcuts/reducer.ts +72 -0
  1231. package/react/features/keyboard-shortcuts/types.ts +23 -0
  1232. package/react/features/keyboard-shortcuts/utils.ts +79 -0
  1233. package/react/features/large-video/actionTypes.ts +43 -0
  1234. package/react/features/large-video/actions.any.ts +197 -0
  1235. package/react/features/large-video/actions.native.ts +1 -0
  1236. package/react/features/large-video/actions.web.ts +102 -0
  1237. package/react/features/large-video/components/LargeVideo.native.tsx +266 -0
  1238. package/react/features/large-video/components/LargeVideo.web.tsx +406 -0
  1239. package/react/features/large-video/components/LargeVideoBackground.native.ts +0 -0
  1240. package/react/features/large-video/components/LargeVideoBackground.web.tsx +260 -0
  1241. package/react/features/large-video/components/ScreenSharePlaceholder.web.tsx +100 -0
  1242. package/react/features/large-video/components/styles.ts +4 -0
  1243. package/react/features/large-video/functions.ts +30 -0
  1244. package/react/features/large-video/logger.ts +3 -0
  1245. package/react/features/large-video/middleware.ts +74 -0
  1246. package/react/features/large-video/reducer.ts +64 -0
  1247. package/react/features/large-video/subscriber.any.ts +26 -0
  1248. package/react/features/large-video/subscriber.native.ts +1 -0
  1249. package/react/features/large-video/subscriber.web.ts +39 -0
  1250. package/react/features/lobby/actionTypes.ts +39 -0
  1251. package/react/features/lobby/actions.any.ts +429 -0
  1252. package/react/features/lobby/actions.native.ts +23 -0
  1253. package/react/features/lobby/actions.web.ts +18 -0
  1254. package/react/features/lobby/components/AbstractLobbyScreen.tsx +484 -0
  1255. package/react/features/lobby/components/native/LobbyChatScreen.tsx +44 -0
  1256. package/react/features/lobby/components/native/LobbyScreen.tsx +323 -0
  1257. package/react/features/lobby/components/native/styles.ts +58 -0
  1258. package/react/features/lobby/components/web/LobbyScreen.tsx +319 -0
  1259. package/react/features/lobby/components/web/LobbySection.tsx +122 -0
  1260. package/react/features/lobby/constants.ts +25 -0
  1261. package/react/features/lobby/functions.ts +105 -0
  1262. package/react/features/lobby/logger.ts +3 -0
  1263. package/react/features/lobby/middleware.ts +436 -0
  1264. package/react/features/lobby/reducer.ts +166 -0
  1265. package/react/features/lobby/sounds.ts +5 -0
  1266. package/react/features/lobby/types.ts +5 -0
  1267. package/react/features/mobile/audio-mode/actionTypes.ts +23 -0
  1268. package/react/features/mobile/audio-mode/components/AudioDeviceToggleButton.ts +30 -0
  1269. package/react/features/mobile/audio-mode/components/AudioRoutePickerDialog.tsx +329 -0
  1270. package/react/features/mobile/audio-mode/components/styles.ts +46 -0
  1271. package/react/features/mobile/audio-mode/logger.ts +3 -0
  1272. package/react/features/mobile/audio-mode/middleware.ts +185 -0
  1273. package/react/features/mobile/audio-mode/reducer.ts +36 -0
  1274. package/react/features/mobile/background/actionTypes.ts +26 -0
  1275. package/react/features/mobile/background/actions.ts +39 -0
  1276. package/react/features/mobile/background/logger.ts +3 -0
  1277. package/react/features/mobile/background/middleware.native.ts +83 -0
  1278. package/react/features/mobile/background/reducer.ts +37 -0
  1279. package/react/features/mobile/call-integration/CallKit.ts +66 -0
  1280. package/react/features/mobile/call-integration/CallKitIcon.png +0 -0
  1281. package/react/features/mobile/call-integration/ConnectionService.ts +33 -0
  1282. package/react/features/mobile/call-integration/actionTypes.ts +13 -0
  1283. package/react/features/mobile/call-integration/functions.ts +20 -0
  1284. package/react/features/mobile/call-integration/middleware.ts +520 -0
  1285. package/react/features/mobile/call-integration/reducer.ts +21 -0
  1286. package/react/features/mobile/external-api/actionTypes.ts +20 -0
  1287. package/react/features/mobile/external-api/actions.ts +33 -0
  1288. package/react/features/mobile/external-api/functions.ts +47 -0
  1289. package/react/features/mobile/external-api/logger.ts +3 -0
  1290. package/react/features/mobile/external-api/middleware.ts +881 -0
  1291. package/react/features/mobile/external-api/reducer.ts +25 -0
  1292. package/react/features/mobile/navigation/actionTypes.ts +1 -0
  1293. package/react/features/mobile/navigation/components/ConnectingPage.tsx +30 -0
  1294. package/react/features/mobile/navigation/components/HeaderNavigationButton.tsx +103 -0
  1295. package/react/features/mobile/navigation/components/RootNavigationContainer.tsx +130 -0
  1296. package/react/features/mobile/navigation/components/TabBarLabelCounter.tsx +39 -0
  1297. package/react/features/mobile/navigation/components/chat/components/ChatAndPollsNavigator.tsx +62 -0
  1298. package/react/features/mobile/navigation/components/conference/ConferenceNavigationContainerRef.ts +35 -0
  1299. package/react/features/mobile/navigation/components/conference/components/ConferenceNavigationContainer.tsx +232 -0
  1300. package/react/features/mobile/navigation/components/lobby/LobbyNavigationContainerRef.ts +24 -0
  1301. package/react/features/mobile/navigation/components/lobby/components/LobbyNavigationContainer.tsx +52 -0
  1302. package/react/features/mobile/navigation/components/settings/SettingsNavigationContainerRef.ts +24 -0
  1303. package/react/features/mobile/navigation/components/settings/components/SettingsNavigationContainer.tsx +91 -0
  1304. package/react/features/mobile/navigation/components/styles.ts +114 -0
  1305. package/react/features/mobile/navigation/components/welcome/components/WelcomePageTabs.tsx +120 -0
  1306. package/react/features/mobile/navigation/functions.tsx +88 -0
  1307. package/react/features/mobile/navigation/middleware.ts +38 -0
  1308. package/react/features/mobile/navigation/rootNavigationContainerRef.ts +51 -0
  1309. package/react/features/mobile/navigation/routes.ts +55 -0
  1310. package/react/features/mobile/navigation/screenOptions.ts +260 -0
  1311. package/react/features/mobile/permissions/functions.ts +29 -0
  1312. package/react/features/mobile/permissions/middleware.ts +66 -0
  1313. package/react/features/mobile/picture-in-picture/actionTypes.ts +11 -0
  1314. package/react/features/mobile/picture-in-picture/actions.ts +42 -0
  1315. package/react/features/mobile/picture-in-picture/components/PictureInPictureButton.ts +65 -0
  1316. package/react/features/mobile/picture-in-picture/functions.ts +36 -0
  1317. package/react/features/mobile/picture-in-picture/logger.ts +3 -0
  1318. package/react/features/mobile/polyfills/RTCPeerConnection.js +19 -0
  1319. package/react/features/mobile/polyfills/Storage.js +192 -0
  1320. package/react/features/mobile/polyfills/browser.js +338 -0
  1321. package/react/features/mobile/polyfills/custom.js +4 -0
  1322. package/react/features/mobile/polyfills/index.js +2 -0
  1323. package/react/features/mobile/polyfills/ipv6utils.js +197 -0
  1324. package/react/features/mobile/polyfills/querySelectorPolyfill.js +282 -0
  1325. package/react/features/mobile/polyfills/webrtc.js +11 -0
  1326. package/react/features/mobile/proximity/middleware.ts +34 -0
  1327. package/react/features/mobile/react-native-sdk/functions.js +13 -0
  1328. package/react/features/mobile/react-native-sdk/middleware.js +108 -0
  1329. package/react/features/mobile/wake-lock/middleware.ts +35 -0
  1330. package/react/features/no-audio-signal/actionTypes.ts +11 -0
  1331. package/react/features/no-audio-signal/actions.ts +19 -0
  1332. package/react/features/no-audio-signal/components/DialInLink.tsx +73 -0
  1333. package/react/features/no-audio-signal/constants.ts +6 -0
  1334. package/react/features/no-audio-signal/middleware.tsx +126 -0
  1335. package/react/features/no-audio-signal/reducer.ts +20 -0
  1336. package/react/features/no-audio-signal/sounds.ts +6 -0
  1337. package/react/features/noise-detection/actionTypes.ts +11 -0
  1338. package/react/features/noise-detection/actions.ts +19 -0
  1339. package/react/features/noise-detection/constants.ts +6 -0
  1340. package/react/features/noise-detection/middleware.ts +57 -0
  1341. package/react/features/noise-detection/reducer.ts +21 -0
  1342. package/react/features/noise-detection/sounds.ts +6 -0
  1343. package/react/features/noise-suppression/actionTypes.ts +9 -0
  1344. package/react/features/noise-suppression/actions.ts +98 -0
  1345. package/react/features/noise-suppression/components/NoiseSuppressionButton.tsx +67 -0
  1346. package/react/features/noise-suppression/functions.ts +49 -0
  1347. package/react/features/noise-suppression/logger.ts +3 -0
  1348. package/react/features/noise-suppression/reducer.ts +36 -0
  1349. package/react/features/notifications/actionTypes.ts +45 -0
  1350. package/react/features/notifications/actions.ts +346 -0
  1351. package/react/features/notifications/components/NotificationsTransition.tsx +70 -0
  1352. package/react/features/notifications/components/index.native.ts +1 -0
  1353. package/react/features/notifications/components/index.web.ts +1 -0
  1354. package/react/features/notifications/components/native/Notification.tsx +236 -0
  1355. package/react/features/notifications/components/native/NotificationsContainer.tsx +239 -0
  1356. package/react/features/notifications/components/native/styles.ts +141 -0
  1357. package/react/features/notifications/components/web/Notification.tsx +378 -0
  1358. package/react/features/notifications/components/web/NotificationsContainer.tsx +117 -0
  1359. package/react/features/notifications/constants.ts +137 -0
  1360. package/react/features/notifications/functions.ts +41 -0
  1361. package/react/features/notifications/middleware.ts +210 -0
  1362. package/react/features/notifications/reducer.ts +131 -0
  1363. package/react/features/notifications/types.ts +23 -0
  1364. package/react/features/old-client-notification/components/OldElectronAPPNotificationDescription.tsx +37 -0
  1365. package/react/features/old-client-notification/functions.ts +27 -0
  1366. package/react/features/old-client-notification/middleware.tsx +41 -0
  1367. package/react/features/overlay/actionTypes.ts +19 -0
  1368. package/react/features/overlay/actions.native.ts +21 -0
  1369. package/react/features/overlay/actions.web.ts +54 -0
  1370. package/react/features/overlay/components/web/AbstractBasePageOverlay.tsx +32 -0
  1371. package/react/features/overlay/components/web/AbstractConferenceNotFoundOverlay.tsx +32 -0
  1372. package/react/features/overlay/components/web/AbstractPageReloadOverlay.tsx +281 -0
  1373. package/react/features/overlay/components/web/AbstractSuspendedOverlay.ts +22 -0
  1374. package/react/features/overlay/components/web/BasePageOverlay.tsx +60 -0
  1375. package/react/features/overlay/components/web/ConferenceNotFoundOverlay.tsx +69 -0
  1376. package/react/features/overlay/components/web/OverlayContainer.tsx +59 -0
  1377. package/react/features/overlay/components/web/OverlayFrame.tsx +49 -0
  1378. package/react/features/overlay/components/web/PageReloadOverlay.tsx +55 -0
  1379. package/react/features/overlay/components/web/ReloadButton.tsx +43 -0
  1380. package/react/features/overlay/components/web/SuspendedOverlay.tsx +39 -0
  1381. package/react/features/overlay/functions.web.ts +33 -0
  1382. package/react/features/overlay/logger.ts +3 -0
  1383. package/react/features/overlay/middleware.ts +130 -0
  1384. package/react/features/overlay/reducer.ts +70 -0
  1385. package/react/features/participants-pane/actionTypes.ts +14 -0
  1386. package/react/features/participants-pane/actions.any.ts +12 -0
  1387. package/react/features/participants-pane/actions.native.ts +105 -0
  1388. package/react/features/participants-pane/actions.web.ts +14 -0
  1389. package/react/features/participants-pane/components/breakout-rooms/components/web/AddBreakoutRoomButton.tsx +36 -0
  1390. package/react/features/participants-pane/components/breakout-rooms/components/web/AutoAssignButton.tsx +30 -0
  1391. package/react/features/participants-pane/components/breakout-rooms/components/web/BreakoutRoomNamePrompt.tsx +47 -0
  1392. package/react/features/participants-pane/components/breakout-rooms/components/web/CollapsibleRoom.tsx +195 -0
  1393. package/react/features/participants-pane/components/breakout-rooms/components/web/JoinQuickActionButton.tsx +52 -0
  1394. package/react/features/participants-pane/components/breakout-rooms/components/web/LeaveButton.tsx +33 -0
  1395. package/react/features/participants-pane/components/breakout-rooms/components/web/RenameButton.tsx +53 -0
  1396. package/react/features/participants-pane/components/breakout-rooms/components/web/RoomActionEllipsis.tsx +27 -0
  1397. package/react/features/participants-pane/components/breakout-rooms/components/web/RoomContextMenu.tsx +122 -0
  1398. package/react/features/participants-pane/components/breakout-rooms/components/web/RoomList.tsx +110 -0
  1399. package/react/features/participants-pane/components/breakout-rooms/components/web/RoomParticipantContextMenu.tsx +135 -0
  1400. package/react/features/participants-pane/components/native/CollapsibleList.tsx +54 -0
  1401. package/react/features/participants-pane/components/native/ContextMenuLobbyParticipantReject.tsx +67 -0
  1402. package/react/features/participants-pane/components/native/ContextMenuMore.tsx +124 -0
  1403. package/react/features/participants-pane/components/native/LobbyParticipantItem.tsx +45 -0
  1404. package/react/features/participants-pane/components/native/LobbyParticipantList.tsx +57 -0
  1405. package/react/features/participants-pane/components/native/MeetingParticipantItem.tsx +195 -0
  1406. package/react/features/participants-pane/components/native/MeetingParticipantList.tsx +121 -0
  1407. package/react/features/participants-pane/components/native/ParticipantItem.tsx +145 -0
  1408. package/react/features/participants-pane/components/native/ParticipantsConter.tsx +15 -0
  1409. package/react/features/participants-pane/components/native/ParticipantsPane.tsx +50 -0
  1410. package/react/features/participants-pane/components/native/ParticipantsPaneButton.tsx +90 -0
  1411. package/react/features/participants-pane/components/native/ParticipantsPaneFooter.tsx +95 -0
  1412. package/react/features/participants-pane/components/native/RaisedHandIndicator.tsx +16 -0
  1413. package/react/features/participants-pane/components/native/RoomParticipantMenu.tsx +145 -0
  1414. package/react/features/participants-pane/components/native/VisitorsItem.tsx +46 -0
  1415. package/react/features/participants-pane/components/native/VisitorsList.tsx +90 -0
  1416. package/react/features/participants-pane/components/native/styles.ts +293 -0
  1417. package/react/features/participants-pane/components/web/CurrentVisitorsList.tsx +172 -0
  1418. package/react/features/participants-pane/components/web/FooterContextMenu.tsx +198 -0
  1419. package/react/features/participants-pane/components/web/InviteButton.tsx +46 -0
  1420. package/react/features/participants-pane/components/web/LobbyParticipantItem.tsx +140 -0
  1421. package/react/features/participants-pane/components/web/LobbyParticipantItems.tsx +59 -0
  1422. package/react/features/participants-pane/components/web/LobbyParticipants.tsx +135 -0
  1423. package/react/features/participants-pane/components/web/MeetingParticipantContextMenu.tsx +143 -0
  1424. package/react/features/participants-pane/components/web/MeetingParticipantItem.tsx +318 -0
  1425. package/react/features/participants-pane/components/web/MeetingParticipantItems.tsx +106 -0
  1426. package/react/features/participants-pane/components/web/MeetingParticipants.tsx +192 -0
  1427. package/react/features/participants-pane/components/web/ParticipantActionEllipsis.tsx +30 -0
  1428. package/react/features/participants-pane/components/web/ParticipantItem.tsx +199 -0
  1429. package/react/features/participants-pane/components/web/ParticipantQuickAction.tsx +170 -0
  1430. package/react/features/participants-pane/components/web/ParticipantsCounter.tsx +33 -0
  1431. package/react/features/participants-pane/components/web/ParticipantsPane.tsx +247 -0
  1432. package/react/features/participants-pane/components/web/ParticipantsPaneButton.tsx +138 -0
  1433. package/react/features/participants-pane/components/web/RaisedHandIndicator.tsx +29 -0
  1434. package/react/features/participants-pane/components/web/VisitorsItem.tsx +80 -0
  1435. package/react/features/participants-pane/components/web/VisitorsList.tsx +139 -0
  1436. package/react/features/participants-pane/constants.tsx +123 -0
  1437. package/react/features/participants-pane/functions.ts +327 -0
  1438. package/react/features/participants-pane/hooks.web.ts +81 -0
  1439. package/react/features/participants-pane/middleware.ts +28 -0
  1440. package/react/features/participants-pane/reducer.ts +54 -0
  1441. package/react/features/participants-pane/types.ts +36 -0
  1442. package/react/features/polls/actionTypes.ts +93 -0
  1443. package/react/features/polls/actions.ts +164 -0
  1444. package/react/features/polls/components/AbstractPollAnswer.tsx +116 -0
  1445. package/react/features/polls/components/AbstractPollCreate.tsx +182 -0
  1446. package/react/features/polls/components/AbstractPollResults.tsx +119 -0
  1447. package/react/features/polls/components/AbstractPollsPane.tsx +47 -0
  1448. package/react/features/polls/components/native/PollAnswer.tsx +120 -0
  1449. package/react/features/polls/components/native/PollCreate.tsx +219 -0
  1450. package/react/features/polls/components/native/PollItem.tsx +45 -0
  1451. package/react/features/polls/components/native/PollResults.tsx +149 -0
  1452. package/react/features/polls/components/native/PollsList.tsx +70 -0
  1453. package/react/features/polls/components/native/PollsPane.tsx +78 -0
  1454. package/react/features/polls/components/native/styles.ts +239 -0
  1455. package/react/features/polls/components/web/PollAnswer.tsx +156 -0
  1456. package/react/features/polls/components/web/PollCreate.tsx +284 -0
  1457. package/react/features/polls/components/web/PollItem.tsx +42 -0
  1458. package/react/features/polls/components/web/PollResults.tsx +182 -0
  1459. package/react/features/polls/components/web/PollsList.tsx +93 -0
  1460. package/react/features/polls/components/web/PollsPane.tsx +55 -0
  1461. package/react/features/polls/constants.ts +2 -0
  1462. package/react/features/polls/functions.ts +87 -0
  1463. package/react/features/polls/logger.ts +3 -0
  1464. package/react/features/polls/middleware.ts +134 -0
  1465. package/react/features/polls/reducer.ts +186 -0
  1466. package/react/features/polls/types.ts +119 -0
  1467. package/react/features/polls-history/actionTypes.ts +23 -0
  1468. package/react/features/polls-history/actions.ts +47 -0
  1469. package/react/features/polls-history/middleware.ts +46 -0
  1470. package/react/features/polls-history/reducer.ts +52 -0
  1471. package/react/features/power-monitor/actionTypes.ts +19 -0
  1472. package/react/features/power-monitor/actions.ts +37 -0
  1473. package/react/features/power-monitor/middleware.ts +68 -0
  1474. package/react/features/power-monitor/reducer.ts +56 -0
  1475. package/react/features/prejoin/actionTypes.ts +50 -0
  1476. package/react/features/prejoin/actions.native.ts +23 -0
  1477. package/react/features/prejoin/actions.web.ts +464 -0
  1478. package/react/features/prejoin/components/native/Prejoin.tsx +234 -0
  1479. package/react/features/prejoin/components/native/RecordingWarning.tsx +28 -0
  1480. package/react/features/prejoin/components/native/UnsafeRoomWarning.tsx +122 -0
  1481. package/react/features/prejoin/components/native/styles.ts +184 -0
  1482. package/react/features/prejoin/components/web/Label.tsx +46 -0
  1483. package/react/features/prejoin/components/web/Prejoin.tsx +533 -0
  1484. package/react/features/prejoin/components/web/PrejoinApp.tsx +96 -0
  1485. package/react/features/prejoin/components/web/PrejoinThirdParty.tsx +81 -0
  1486. package/react/features/prejoin/components/web/country-picker/CountryDropdown.tsx +47 -0
  1487. package/react/features/prejoin/components/web/country-picker/CountryPicker.tsx +163 -0
  1488. package/react/features/prejoin/components/web/country-picker/CountryRow.tsx +66 -0
  1489. package/react/features/prejoin/components/web/country-picker/CountrySelector.tsx +76 -0
  1490. package/react/features/prejoin/components/web/dialogs/CallingDialog.tsx +82 -0
  1491. package/react/features/prejoin/components/web/dialogs/DialInDialog.tsx +172 -0
  1492. package/react/features/prejoin/components/web/dialogs/DialOutDialog.tsx +100 -0
  1493. package/react/features/prejoin/components/web/dialogs/JoinByPhoneDialog.tsx +239 -0
  1494. package/react/features/prejoin/components/web/preview/DeviceStatus.tsx +78 -0
  1495. package/react/features/prejoin/functions.any.ts +215 -0
  1496. package/react/features/prejoin/functions.native.ts +1 -0
  1497. package/react/features/prejoin/functions.web.ts +32 -0
  1498. package/react/features/prejoin/logger.ts +3 -0
  1499. package/react/features/prejoin/middleware.web.ts +93 -0
  1500. package/react/features/prejoin/reducer.ts +179 -0
  1501. package/react/features/prejoin/types.ts +3 -0
  1502. package/react/features/prejoin/utils.ts +805 -0
  1503. package/react/features/presence-status/components/PresenceLabel.tsx +129 -0
  1504. package/react/features/presence-status/constants.ts +127 -0
  1505. package/react/features/presence-status/functions.ts +8 -0
  1506. package/react/features/reactions/actionTypes.ts +65 -0
  1507. package/react/features/reactions/actions.any.ts +114 -0
  1508. package/react/features/reactions/actions.native.ts +1 -0
  1509. package/react/features/reactions/actions.web.ts +17 -0
  1510. package/react/features/reactions/components/native/RaiseHandButton.tsx +192 -0
  1511. package/react/features/reactions/components/native/RaiseHandContainerButtons.tsx +20 -0
  1512. package/react/features/reactions/components/native/ReactionButton.tsx +105 -0
  1513. package/react/features/reactions/components/native/ReactionEmoji.tsx +94 -0
  1514. package/react/features/reactions/components/native/ReactionMenu.tsx +76 -0
  1515. package/react/features/reactions/components/native/ReactionMenuDialog.tsx +141 -0
  1516. package/react/features/reactions/components/native/ReactionsMenuButton.ts +85 -0
  1517. package/react/features/reactions/components/native/styles.ts +11 -0
  1518. package/react/features/reactions/components/web/RaiseHandButton.ts +95 -0
  1519. package/react/features/reactions/components/web/RaiseHandContainerButtons.tsx +26 -0
  1520. package/react/features/reactions/components/web/ReactionButton.tsx +231 -0
  1521. package/react/features/reactions/components/web/ReactionEmoji.tsx +94 -0
  1522. package/react/features/reactions/components/web/ReactionsAnimations.tsx +29 -0
  1523. package/react/features/reactions/components/web/ReactionsMenu.tsx +259 -0
  1524. package/react/features/reactions/components/web/ReactionsMenuButton.tsx +188 -0
  1525. package/react/features/reactions/constants.ts +196 -0
  1526. package/react/features/reactions/functions.any.ts +174 -0
  1527. package/react/features/reactions/functions.native.ts +1 -0
  1528. package/react/features/reactions/functions.web.ts +27 -0
  1529. package/react/features/reactions/hooks.web.ts +23 -0
  1530. package/react/features/reactions/logger.ts +3 -0
  1531. package/react/features/reactions/middleware.ts +271 -0
  1532. package/react/features/reactions/reducer.ts +121 -0
  1533. package/react/features/reactions/sounds.ts +55 -0
  1534. package/react/features/reactions/types.ts +5 -0
  1535. package/react/features/recent-list/actionTypes.ts +34 -0
  1536. package/react/features/recent-list/actions.ts +58 -0
  1537. package/react/features/recent-list/components/AbstractRecentList.tsx +97 -0
  1538. package/react/features/recent-list/components/DeleteItemButton.native.ts +37 -0
  1539. package/react/features/recent-list/components/RecentList.native.tsx +128 -0
  1540. package/react/features/recent-list/components/RecentList.web.tsx +105 -0
  1541. package/react/features/recent-list/components/RecentListItemMenu.native.tsx +102 -0
  1542. package/react/features/recent-list/components/ShowDialInInfoButton.native.tsx +40 -0
  1543. package/react/features/recent-list/components/styles.native.ts +45 -0
  1544. package/react/features/recent-list/components/styles.web.ts +4 -0
  1545. package/react/features/recent-list/functions.native.ts +157 -0
  1546. package/react/features/recent-list/functions.web.ts +33 -0
  1547. package/react/features/recent-list/logger.ts +3 -0
  1548. package/react/features/recent-list/middleware.ts +151 -0
  1549. package/react/features/recent-list/reducer.ts +153 -0
  1550. package/react/features/recent-list/types.ts +5 -0
  1551. package/react/features/recording/actionTypes.ts +104 -0
  1552. package/react/features/recording/actions.any.ts +493 -0
  1553. package/react/features/recording/actions.native.ts +72 -0
  1554. package/react/features/recording/actions.web.tsx +83 -0
  1555. package/react/features/recording/components/AbstractRecordingLabel.ts +96 -0
  1556. package/react/features/recording/components/LiveStream/AbstractLiveStreamButton.ts +157 -0
  1557. package/react/features/recording/components/LiveStream/AbstractStartLiveStreamDialog.ts +251 -0
  1558. package/react/features/recording/components/LiveStream/AbstractStopLiveStreamDialog.ts +84 -0
  1559. package/react/features/recording/components/LiveStream/AbstractStreamKeyForm.ts +179 -0
  1560. package/react/features/recording/components/LiveStream/constants.ts +26 -0
  1561. package/react/features/recording/components/LiveStream/functions.ts +28 -0
  1562. package/react/features/recording/components/LiveStream/native/GoogleSigninForm.tsx +229 -0
  1563. package/react/features/recording/components/LiveStream/native/LiveStreamButton.ts +63 -0
  1564. package/react/features/recording/components/LiveStream/native/StartLiveStreamDialog.tsx +160 -0
  1565. package/react/features/recording/components/LiveStream/native/StopLiveStreamDialog.tsx +33 -0
  1566. package/react/features/recording/components/LiveStream/native/StreamKeyForm.tsx +164 -0
  1567. package/react/features/recording/components/LiveStream/native/StreamKeyPicker.tsx +168 -0
  1568. package/react/features/recording/components/LiveStream/native/styles.ts +146 -0
  1569. package/react/features/recording/components/LiveStream/web/LiveStreamButton.ts +65 -0
  1570. package/react/features/recording/components/LiveStream/web/StartLiveStreamDialog.tsx +361 -0
  1571. package/react/features/recording/components/LiveStream/web/StopLiveStreamDialog.tsx +36 -0
  1572. package/react/features/recording/components/LiveStream/web/StreamKeyForm.tsx +112 -0
  1573. package/react/features/recording/components/LiveStream/web/StreamKeyPicker.tsx +126 -0
  1574. package/react/features/recording/components/Recording/AbstractHighlightButton.ts +126 -0
  1575. package/react/features/recording/components/Recording/AbstractRecordButton.ts +138 -0
  1576. package/react/features/recording/components/Recording/AbstractStartRecordingDialog.ts +484 -0
  1577. package/react/features/recording/components/Recording/AbstractStartRecordingDialogContent.tsx +432 -0
  1578. package/react/features/recording/components/Recording/AbstractStopRecordingDialog.ts +152 -0
  1579. package/react/features/recording/components/Recording/LocalRecordingManager.native.ts +64 -0
  1580. package/react/features/recording/components/Recording/LocalRecordingManager.web.ts +378 -0
  1581. package/react/features/recording/components/Recording/index.native.ts +2 -0
  1582. package/react/features/recording/components/Recording/index.web.ts +2 -0
  1583. package/react/features/recording/components/Recording/native/HighlightButton.tsx +58 -0
  1584. package/react/features/recording/components/Recording/native/HighlightDialog.tsx +51 -0
  1585. package/react/features/recording/components/Recording/native/RecordButton.ts +68 -0
  1586. package/react/features/recording/components/Recording/native/RecordingConsentDialog.tsx +64 -0
  1587. package/react/features/recording/components/Recording/native/StartRecordingDialog.tsx +170 -0
  1588. package/react/features/recording/components/Recording/native/StartRecordingDialogContent.tsx +383 -0
  1589. package/react/features/recording/components/Recording/native/StopRecordingDialog.tsx +33 -0
  1590. package/react/features/recording/components/Recording/styles.native.ts +167 -0
  1591. package/react/features/recording/components/Recording/styles.web.ts +16 -0
  1592. package/react/features/recording/components/Recording/web/HighlightButton.tsx +225 -0
  1593. package/react/features/recording/components/Recording/web/RecordButton.ts +60 -0
  1594. package/react/features/recording/components/Recording/web/RecordingConsentDialog.tsx +58 -0
  1595. package/react/features/recording/components/Recording/web/StartRecordingDialog.tsx +137 -0
  1596. package/react/features/recording/components/Recording/web/StartRecordingDialogContent.tsx +486 -0
  1597. package/react/features/recording/components/Recording/web/StopRecordingDialog.tsx +48 -0
  1598. package/react/features/recording/components/native/RecordingExpandedLabel.ts +103 -0
  1599. package/react/features/recording/components/native/RecordingLabel.tsx +51 -0
  1600. package/react/features/recording/components/native/styles.ts +18 -0
  1601. package/react/features/recording/components/web/RecordingLabel.tsx +85 -0
  1602. package/react/features/recording/components/web/RecordingLimitNotificationDescription.tsx +76 -0
  1603. package/react/features/recording/constants.ts +64 -0
  1604. package/react/features/recording/functions.ts +485 -0
  1605. package/react/features/recording/hooks.web.ts +61 -0
  1606. package/react/features/recording/logger.ts +3 -0
  1607. package/react/features/recording/middleware.ts +432 -0
  1608. package/react/features/recording/reducer.ts +156 -0
  1609. package/react/features/recording/sounds.ts +27 -0
  1610. package/react/features/rejoin/middleware.ts +27 -0
  1611. package/react/features/remote-control/actionTypes.ts +68 -0
  1612. package/react/features/remote-control/actions.ts +770 -0
  1613. package/react/features/remote-control/components/RemoteControlAuthorizationDialog.tsx +170 -0
  1614. package/react/features/remote-control/constants.ts +86 -0
  1615. package/react/features/remote-control/functions.ts +131 -0
  1616. package/react/features/remote-control/keycodes.ts +176 -0
  1617. package/react/features/remote-control/logger.ts +3 -0
  1618. package/react/features/remote-control/middleware.ts +92 -0
  1619. package/react/features/remote-control/reducer.ts +88 -0
  1620. package/react/features/remote-control/subscriber.ts +53 -0
  1621. package/react/features/room-lock/actions.ts +112 -0
  1622. package/react/features/room-lock/components/PasswordRequiredPrompt.native.tsx +165 -0
  1623. package/react/features/room-lock/components/PasswordRequiredPrompt.web.tsx +159 -0
  1624. package/react/features/room-lock/constants.ts +15 -0
  1625. package/react/features/room-lock/logger.ts +3 -0
  1626. package/react/features/room-lock/middleware.ts +149 -0
  1627. package/react/features/rtcstats/RTCStats.ts +126 -0
  1628. package/react/features/rtcstats/functions.ts +29 -0
  1629. package/react/features/rtcstats/logger.ts +3 -0
  1630. package/react/features/rtcstats/middleware.ts +92 -0
  1631. package/react/features/rtcstats/types.ts +12 -0
  1632. package/react/features/salesforce/actions.ts +36 -0
  1633. package/react/features/salesforce/components/index.native.ts +2 -0
  1634. package/react/features/salesforce/components/index.web.ts +1 -0
  1635. package/react/features/salesforce/components/native/RecordItem.tsx +83 -0
  1636. package/react/features/salesforce/components/native/SalesforceLinkDialog.tsx +186 -0
  1637. package/react/features/salesforce/components/native/styles.ts +148 -0
  1638. package/react/features/salesforce/components/web/RecordItem.tsx +107 -0
  1639. package/react/features/salesforce/components/web/SalesforceLinkDialog.tsx +284 -0
  1640. package/react/features/salesforce/constants.ts +41 -0
  1641. package/react/features/salesforce/functions.ts +114 -0
  1642. package/react/features/salesforce/useSalesforceLinkDialog.ts +156 -0
  1643. package/react/features/screen-share/actionTypes.ts +27 -0
  1644. package/react/features/screen-share/actions.any.ts +19 -0
  1645. package/react/features/screen-share/actions.web.ts +104 -0
  1646. package/react/features/screen-share/components/web/ShareAudioButton.ts +71 -0
  1647. package/react/features/screen-share/components/web/ShareAudioDialog.tsx +117 -0
  1648. package/react/features/screen-share/components/web/ShareScreenWarningDialog.tsx +95 -0
  1649. package/react/features/screen-share/functions.ts +58 -0
  1650. package/react/features/screen-share/logger.ts +3 -0
  1651. package/react/features/screen-share/middleware.ts +72 -0
  1652. package/react/features/screen-share/reducer.ts +44 -0
  1653. package/react/features/screenshot-capture/CameraCaptureDialog.tsx +154 -0
  1654. package/react/features/screenshot-capture/ScreenshotCaptureSummary.tsx +214 -0
  1655. package/react/features/screenshot-capture/actionTypes.ts +29 -0
  1656. package/react/features/screenshot-capture/actions.ts +86 -0
  1657. package/react/features/screenshot-capture/constants.ts +51 -0
  1658. package/react/features/screenshot-capture/functions.tsx +55 -0
  1659. package/react/features/screenshot-capture/logger.ts +3 -0
  1660. package/react/features/screenshot-capture/processScreenshot.js +10 -0
  1661. package/react/features/screenshot-capture/reducer.ts +30 -0
  1662. package/react/features/screenshot-capture/worker.ts +132 -0
  1663. package/react/features/security/actions.ts +15 -0
  1664. package/react/features/security/components/security-dialog/AbstractSecurityDialogButton.ts +92 -0
  1665. package/react/features/security/components/security-dialog/index.native.ts +2 -0
  1666. package/react/features/security/components/security-dialog/index.web.ts +1 -0
  1667. package/react/features/security/components/security-dialog/native/SecurityDialog.tsx +533 -0
  1668. package/react/features/security/components/security-dialog/native/SecurityDialogButton.ts +27 -0
  1669. package/react/features/security/components/security-dialog/native/styles.ts +95 -0
  1670. package/react/features/security/components/security-dialog/web/PasswordForm.tsx +115 -0
  1671. package/react/features/security/components/security-dialog/web/PasswordSection.tsx +189 -0
  1672. package/react/features/security/components/security-dialog/web/SecurityDialog.tsx +65 -0
  1673. package/react/features/security/components/security-dialog/web/SecurityDialogButton.ts +28 -0
  1674. package/react/features/security/functions.ts +28 -0
  1675. package/react/features/security/hooks.web.ts +45 -0
  1676. package/react/features/settings/actionTypes.ts +19 -0
  1677. package/react/features/settings/actions.native.ts +38 -0
  1678. package/react/features/settings/actions.web.ts +375 -0
  1679. package/react/features/settings/components/native/AdvancedSection.tsx +114 -0
  1680. package/react/features/settings/components/native/ConferenceSection.tsx +101 -0
  1681. package/react/features/settings/components/native/FormRow.tsx +146 -0
  1682. package/react/features/settings/components/native/FormSection.tsx +42 -0
  1683. package/react/features/settings/components/native/GeneralSection.tsx +61 -0
  1684. package/react/features/settings/components/native/LanguageSelectView.tsx +79 -0
  1685. package/react/features/settings/components/native/LinksSection.tsx +57 -0
  1686. package/react/features/settings/components/native/LogoutDialog.tsx +21 -0
  1687. package/react/features/settings/components/native/ModeratorSection.tsx +144 -0
  1688. package/react/features/settings/components/native/NotificationsSection.tsx +139 -0
  1689. package/react/features/settings/components/native/ProfileView.tsx +165 -0
  1690. package/react/features/settings/components/native/SettingsView.tsx +101 -0
  1691. package/react/features/settings/components/native/constants.ts +1 -0
  1692. package/react/features/settings/components/native/styles.ts +244 -0
  1693. package/react/features/settings/components/web/CalendarTab.tsx +307 -0
  1694. package/react/features/settings/components/web/LogoutDialog.tsx +38 -0
  1695. package/react/features/settings/components/web/ModeratorTab.tsx +281 -0
  1696. package/react/features/settings/components/web/MoreTab.tsx +283 -0
  1697. package/react/features/settings/components/web/NotificationsTab.tsx +273 -0
  1698. package/react/features/settings/components/web/ProfileTab.tsx +251 -0
  1699. package/react/features/settings/components/web/SettingsButton.ts +50 -0
  1700. package/react/features/settings/components/web/SettingsDialog.tsx +331 -0
  1701. package/react/features/settings/components/web/ShortcutsTab.tsx +178 -0
  1702. package/react/features/settings/components/web/VirtualBackgroundTab.tsx +102 -0
  1703. package/react/features/settings/components/web/audio/AudioSettingsContent.tsx +357 -0
  1704. package/react/features/settings/components/web/audio/AudioSettingsPopup.tsx +164 -0
  1705. package/react/features/settings/components/web/audio/Meter.tsx +45 -0
  1706. package/react/features/settings/components/web/audio/MicrophoneEntry.tsx +223 -0
  1707. package/react/features/settings/components/web/audio/SpeakerEntry.tsx +176 -0
  1708. package/react/features/settings/components/web/video/VideoSettingsContent.tsx +358 -0
  1709. package/react/features/settings/components/web/video/VideoSettingsPopup.tsx +128 -0
  1710. package/react/features/settings/constants.ts +21 -0
  1711. package/react/features/settings/functions.any.ts +282 -0
  1712. package/react/features/settings/functions.native.ts +38 -0
  1713. package/react/features/settings/functions.web.ts +175 -0
  1714. package/react/features/settings/logger.ts +3 -0
  1715. package/react/features/settings/middleware.web.ts +33 -0
  1716. package/react/features/settings/reducer.ts +43 -0
  1717. package/react/features/share-room/actionTypes.ts +33 -0
  1718. package/react/features/share-room/actions.ts +69 -0
  1719. package/react/features/share-room/functions.ts +18 -0
  1720. package/react/features/share-room/logger.ts +3 -0
  1721. package/react/features/share-room/middleware.ts +71 -0
  1722. package/react/features/share-room/reducer.ts +23 -0
  1723. package/react/features/shared-video/actionTypes.ts +38 -0
  1724. package/react/features/shared-video/actions.ts +203 -0
  1725. package/react/features/shared-video/components/AbstractSharedVideoDialog.tsx +68 -0
  1726. package/react/features/shared-video/components/index.native.ts +4 -0
  1727. package/react/features/shared-video/components/index.web.ts +3 -0
  1728. package/react/features/shared-video/components/native/AbstractVideoManager.ts +266 -0
  1729. package/react/features/shared-video/components/native/ShareVideoConfirmDialog.tsx +38 -0
  1730. package/react/features/shared-video/components/native/SharedVideo.tsx +167 -0
  1731. package/react/features/shared-video/components/native/SharedVideoButton.ts +113 -0
  1732. package/react/features/shared-video/components/native/SharedVideoDialog.tsx +86 -0
  1733. package/react/features/shared-video/components/native/VideoManager.tsx +196 -0
  1734. package/react/features/shared-video/components/native/YoutubeVideoManager.tsx +203 -0
  1735. package/react/features/shared-video/components/native/styles.ts +11 -0
  1736. package/react/features/shared-video/components/web/AbstractVideoManager.ts +490 -0
  1737. package/react/features/shared-video/components/web/ShareVideoConfirmDialog.tsx +39 -0
  1738. package/react/features/shared-video/components/web/SharedVideo.tsx +185 -0
  1739. package/react/features/shared-video/components/web/SharedVideoButton.ts +97 -0
  1740. package/react/features/shared-video/components/web/SharedVideoDialog.tsx +118 -0
  1741. package/react/features/shared-video/components/web/VideoManager.tsx +184 -0
  1742. package/react/features/shared-video/components/web/YoutubeVideoManager.tsx +230 -0
  1743. package/react/features/shared-video/constants.ts +50 -0
  1744. package/react/features/shared-video/functions.ts +166 -0
  1745. package/react/features/shared-video/hooks.ts +24 -0
  1746. package/react/features/shared-video/logger.ts +3 -0
  1747. package/react/features/shared-video/middleware.ts +290 -0
  1748. package/react/features/shared-video/reducer.ts +66 -0
  1749. package/react/features/speaker-stats/actionTypes.ts +80 -0
  1750. package/react/features/speaker-stats/actions.any.ts +231 -0
  1751. package/react/features/speaker-stats/actions.native.ts +1 -0
  1752. package/react/features/speaker-stats/actions.web.ts +1 -0
  1753. package/react/features/speaker-stats/components/AbstractSpeakerStatsButton.tsx +14 -0
  1754. package/react/features/speaker-stats/components/AbstractSpeakerStatsList.ts +114 -0
  1755. package/react/features/speaker-stats/components/native/SpeakerStats.tsx +32 -0
  1756. package/react/features/speaker-stats/components/native/SpeakerStatsButton.ts +50 -0
  1757. package/react/features/speaker-stats/components/native/SpeakerStatsItem.tsx +76 -0
  1758. package/react/features/speaker-stats/components/native/SpeakerStatsList.tsx +23 -0
  1759. package/react/features/speaker-stats/components/native/SpeakerStatsSearch.tsx +48 -0
  1760. package/react/features/speaker-stats/components/native/TimeElapsed.tsx +50 -0
  1761. package/react/features/speaker-stats/components/native/styles.ts +55 -0
  1762. package/react/features/speaker-stats/components/timeFunctions.ts +88 -0
  1763. package/react/features/speaker-stats/components/web/FaceExpressionsSwitch.tsx +61 -0
  1764. package/react/features/speaker-stats/components/web/SpeakerStats.tsx +283 -0
  1765. package/react/features/speaker-stats/components/web/SpeakerStatsButton.tsx +45 -0
  1766. package/react/features/speaker-stats/components/web/SpeakerStatsItem.tsx +116 -0
  1767. package/react/features/speaker-stats/components/web/SpeakerStatsLabels.tsx +56 -0
  1768. package/react/features/speaker-stats/components/web/SpeakerStatsList.tsx +65 -0
  1769. package/react/features/speaker-stats/components/web/SpeakerStatsSearch.tsx +128 -0
  1770. package/react/features/speaker-stats/components/web/TimeElapsed.tsx +36 -0
  1771. package/react/features/speaker-stats/components/web/Timeline.tsx +207 -0
  1772. package/react/features/speaker-stats/components/web/TimelineAxis.tsx +187 -0
  1773. package/react/features/speaker-stats/constants.ts +28 -0
  1774. package/react/features/speaker-stats/functions.ts +274 -0
  1775. package/react/features/speaker-stats/hooks.web.ts +23 -0
  1776. package/react/features/speaker-stats/middleware.ts +101 -0
  1777. package/react/features/speaker-stats/reducer.ts +188 -0
  1778. package/react/features/stream-effects/audio-mixer/AudioMixerEffect.ts +113 -0
  1779. package/react/features/stream-effects/noise-suppression/NoiseSuppressionEffect.ts +277 -0
  1780. package/react/features/stream-effects/noise-suppression/NoiseSuppressorWorklet.ts +177 -0
  1781. package/react/features/stream-effects/noise-suppression/logger.ts +3 -0
  1782. package/react/features/stream-effects/rnnoise/RnnoiseProcessor.ts +186 -0
  1783. package/react/features/stream-effects/rnnoise/index.ts +24 -0
  1784. package/react/features/stream-effects/virtual-background/JitsiStreamBackgroundEffect.ts +269 -0
  1785. package/react/features/stream-effects/virtual-background/TimerWorker.ts +67 -0
  1786. package/react/features/stream-effects/virtual-background/index.ts +106 -0
  1787. package/react/features/stream-effects/virtual-background/vendor/README.md +24 -0
  1788. package/react/features/stream-effects/virtual-background/vendor/models/selfie_segmentation_landscape.tflite +0 -0
  1789. package/react/features/stream-effects/virtual-background/vendor/tflite/tflite-simd.js +17 -0
  1790. package/react/features/stream-effects/virtual-background/vendor/tflite/tflite-simd.wasm +0 -0
  1791. package/react/features/stream-effects/virtual-background/vendor/tflite/tflite.js +17 -0
  1792. package/react/features/stream-effects/virtual-background/vendor/tflite/tflite.wasm +0 -0
  1793. package/react/features/subtitles/actionTypes.ts +72 -0
  1794. package/react/features/subtitles/actions.any.ts +139 -0
  1795. package/react/features/subtitles/actions.native.ts +1 -0
  1796. package/react/features/subtitles/actions.web.ts +17 -0
  1797. package/react/features/subtitles/components/AbstractCaptions.tsx +143 -0
  1798. package/react/features/subtitles/components/AbstractClosedCaptionButton.tsx +128 -0
  1799. package/react/features/subtitles/components/AbstractLanguageSelectorDialog.tsx +67 -0
  1800. package/react/features/subtitles/components/native/Captions.tsx +65 -0
  1801. package/react/features/subtitles/components/native/ClosedCaptionButton.tsx +59 -0
  1802. package/react/features/subtitles/components/native/LanguageList.tsx +43 -0
  1803. package/react/features/subtitles/components/native/LanguageListItem.tsx +67 -0
  1804. package/react/features/subtitles/components/native/LanguageSelectorDialog.tsx +38 -0
  1805. package/react/features/subtitles/components/native/styles.ts +63 -0
  1806. package/react/features/subtitles/components/web/Captions.tsx +169 -0
  1807. package/react/features/subtitles/components/web/ClosedCaptionButton.tsx +92 -0
  1808. package/react/features/subtitles/components/web/LanguageList.tsx +52 -0
  1809. package/react/features/subtitles/components/web/LanguageListItem.tsx +77 -0
  1810. package/react/features/subtitles/components/web/LanguageSelector.tsx +103 -0
  1811. package/react/features/subtitles/components/web/LanguageSelectorDialog.tsx +78 -0
  1812. package/react/features/subtitles/constants.ts +4 -0
  1813. package/react/features/subtitles/functions.any.ts +71 -0
  1814. package/react/features/subtitles/functions.native.ts +30 -0
  1815. package/react/features/subtitles/functions.web.ts +35 -0
  1816. package/react/features/subtitles/hooks.web.ts +31 -0
  1817. package/react/features/subtitles/logger.ts +3 -0
  1818. package/react/features/subtitles/middleware.ts +401 -0
  1819. package/react/features/subtitles/reducer.ts +180 -0
  1820. package/react/features/subtitles/types.ts +23 -0
  1821. package/react/features/talk-while-muted/actionTypes.ts +12 -0
  1822. package/react/features/talk-while-muted/actions.ts +19 -0
  1823. package/react/features/talk-while-muted/constants.ts +6 -0
  1824. package/react/features/talk-while-muted/middleware.ts +75 -0
  1825. package/react/features/talk-while-muted/reducer.ts +21 -0
  1826. package/react/features/talk-while-muted/sounds.ts +6 -0
  1827. package/react/features/toolbox/actionTypes.ts +168 -0
  1828. package/react/features/toolbox/actions.any.ts +189 -0
  1829. package/react/features/toolbox/actions.native.ts +45 -0
  1830. package/react/features/toolbox/actions.web.ts +280 -0
  1831. package/react/features/toolbox/components/AbstractAudioMuteButton.tsx +95 -0
  1832. package/react/features/toolbox/components/AbstractVideoMuteButton.tsx +94 -0
  1833. package/react/features/toolbox/components/DownloadButton.ts +59 -0
  1834. package/react/features/toolbox/components/HangupButton.ts +50 -0
  1835. package/react/features/toolbox/components/HelpButton.ts +62 -0
  1836. package/react/features/toolbox/components/index.native.ts +1 -0
  1837. package/react/features/toolbox/components/index.web.ts +1 -0
  1838. package/react/features/toolbox/components/native/AudioMuteButton.tsx +6 -0
  1839. package/react/features/toolbox/components/native/AudioOnlyButton.ts +96 -0
  1840. package/react/features/toolbox/components/native/CustomOptionButton.tsx +75 -0
  1841. package/react/features/toolbox/components/native/HangupContainerButtons.tsx +21 -0
  1842. package/react/features/toolbox/components/native/HangupMenu.tsx +73 -0
  1843. package/react/features/toolbox/components/native/HangupMenuButton.tsx +32 -0
  1844. package/react/features/toolbox/components/native/LinkToSalesforceButton.ts +48 -0
  1845. package/react/features/toolbox/components/native/OpenCarmodeButton.tsx +49 -0
  1846. package/react/features/toolbox/components/native/OverflowMenu.tsx +316 -0
  1847. package/react/features/toolbox/components/native/OverflowMenuButton.ts +50 -0
  1848. package/react/features/toolbox/components/native/RaiseHandButton.ts +99 -0
  1849. package/react/features/toolbox/components/native/ScreenSharingAndroidButton.ts +91 -0
  1850. package/react/features/toolbox/components/native/ScreenSharingButton.tsx +36 -0
  1851. package/react/features/toolbox/components/native/ScreenSharingIosButton.tsx +148 -0
  1852. package/react/features/toolbox/components/native/ToggleCameraButton.ts +79 -0
  1853. package/react/features/toolbox/components/native/ToggleSelfViewButton.ts +74 -0
  1854. package/react/features/toolbox/components/native/Toolbox.tsx +142 -0
  1855. package/react/features/toolbox/components/native/VideoMuteButton.tsx +7 -0
  1856. package/react/features/toolbox/components/native/styles.ts +216 -0
  1857. package/react/features/toolbox/components/web/AudioMuteButton.tsx +205 -0
  1858. package/react/features/toolbox/components/web/AudioSettingsButton.tsx +180 -0
  1859. package/react/features/toolbox/components/web/CustomOptionButton.tsx +40 -0
  1860. package/react/features/toolbox/components/web/DialogPortal.ts +126 -0
  1861. package/react/features/toolbox/components/web/Drawer.tsx +172 -0
  1862. package/react/features/toolbox/components/web/EndConferenceButton.tsx +55 -0
  1863. package/react/features/toolbox/components/web/FullscreenButton.ts +77 -0
  1864. package/react/features/toolbox/components/web/HangupContextMenuItem.tsx +73 -0
  1865. package/react/features/toolbox/components/web/HangupMenuButton.tsx +134 -0
  1866. package/react/features/toolbox/components/web/HangupToggleButton.tsx +57 -0
  1867. package/react/features/toolbox/components/web/JitsiPortal.tsx +58 -0
  1868. package/react/features/toolbox/components/web/LeaveConferenceButton.tsx +54 -0
  1869. package/react/features/toolbox/components/web/LinkToSalesforceButton.ts +48 -0
  1870. package/react/features/toolbox/components/web/OverflowMenuButton.tsx +262 -0
  1871. package/react/features/toolbox/components/web/OverflowToggleButton.ts +59 -0
  1872. package/react/features/toolbox/components/web/ProfileButton.ts +116 -0
  1873. package/react/features/toolbox/components/web/ProfileButtonAvatar.tsx +62 -0
  1874. package/react/features/toolbox/components/web/Separator.tsx +3 -0
  1875. package/react/features/toolbox/components/web/ShareDesktopButton.ts +116 -0
  1876. package/react/features/toolbox/components/web/ToggleCameraButton.ts +76 -0
  1877. package/react/features/toolbox/components/web/Toolbox.tsx +353 -0
  1878. package/react/features/toolbox/components/web/VideoMuteButton.tsx +203 -0
  1879. package/react/features/toolbox/components/web/VideoSettingsButton.tsx +197 -0
  1880. package/react/features/toolbox/constants.ts +214 -0
  1881. package/react/features/toolbox/functions.any.ts +95 -0
  1882. package/react/features/toolbox/functions.native.ts +125 -0
  1883. package/react/features/toolbox/functions.web.ts +248 -0
  1884. package/react/features/toolbox/hooks.native.ts +181 -0
  1885. package/react/features/toolbox/hooks.web.ts +642 -0
  1886. package/react/features/toolbox/middleware.native.ts +46 -0
  1887. package/react/features/toolbox/middleware.web.ts +172 -0
  1888. package/react/features/toolbox/reducer.ts +215 -0
  1889. package/react/features/toolbox/subscriber.web.ts +106 -0
  1890. package/react/features/toolbox/types.ts +107 -0
  1891. package/react/features/transcribing/actionTypes.ts +22 -0
  1892. package/react/features/transcribing/actions.ts +40 -0
  1893. package/react/features/transcribing/functions.ts +83 -0
  1894. package/react/features/transcribing/jitsi-bcp47-map.json +52 -0
  1895. package/react/features/transcribing/logger.ts +3 -0
  1896. package/react/features/transcribing/middleware.ts +25 -0
  1897. package/react/features/transcribing/reducer.ts +79 -0
  1898. package/react/features/transcribing/subscriber.ts +87 -0
  1899. package/react/features/transcribing/transcriber-langs.json +90 -0
  1900. package/react/features/unsupported-browser/components/DefaultUnsupportedDesktopBrowser.tsx +31 -0
  1901. package/react/features/unsupported-browser/components/JaasUnsupportedDesktopBrowser.ts +1 -0
  1902. package/react/features/unsupported-browser/components/PageSelector.tsx +19 -0
  1903. package/react/features/unsupported-browser/components/UnsupportedDesktopBrowser.tsx +1 -0
  1904. package/react/features/unsupported-browser/components/browserLinks.ts +35 -0
  1905. package/react/features/video-layout/actionTypes.ts +30 -0
  1906. package/react/features/video-layout/actions.any.ts +60 -0
  1907. package/react/features/video-layout/actions.native.ts +19 -0
  1908. package/react/features/video-layout/actions.web.ts +1 -0
  1909. package/react/features/video-layout/components/TileViewButton.ts +96 -0
  1910. package/react/features/video-layout/constants.ts +29 -0
  1911. package/react/features/video-layout/functions.any.ts +238 -0
  1912. package/react/features/video-layout/functions.native.ts +1 -0
  1913. package/react/features/video-layout/functions.web.ts +86 -0
  1914. package/react/features/video-layout/hooks.ts +26 -0
  1915. package/react/features/video-layout/logger.ts +3 -0
  1916. package/react/features/video-layout/middleware.any.ts +129 -0
  1917. package/react/features/video-layout/middleware.native.ts +34 -0
  1918. package/react/features/video-layout/middleware.web.ts +72 -0
  1919. package/react/features/video-layout/reducer.ts +63 -0
  1920. package/react/features/video-layout/subscriber.ts +35 -0
  1921. package/react/features/video-menu/actions.any.ts +105 -0
  1922. package/react/features/video-menu/actions.native.ts +1 -0
  1923. package/react/features/video-menu/actions.web.ts +17 -0
  1924. package/react/features/video-menu/components/AbstractGrantModeratorButton.ts +59 -0
  1925. package/react/features/video-menu/components/AbstractGrantModeratorDialog.ts +77 -0
  1926. package/react/features/video-menu/components/AbstractKickButton.ts +34 -0
  1927. package/react/features/video-menu/components/AbstractKickRemoteParticipantDialog.ts +57 -0
  1928. package/react/features/video-menu/components/AbstractMuteButton.ts +90 -0
  1929. package/react/features/video-menu/components/AbstractMuteEveryoneDialog.ts +131 -0
  1930. package/react/features/video-menu/components/AbstractMuteEveryoneElseButton.ts +37 -0
  1931. package/react/features/video-menu/components/AbstractMuteEveryoneElsesVideoButton.ts +37 -0
  1932. package/react/features/video-menu/components/AbstractMuteEveryonesDesktopDialog.ts +130 -0
  1933. package/react/features/video-menu/components/AbstractMuteEveryonesVideoDialog.ts +130 -0
  1934. package/react/features/video-menu/components/AbstractMuteRemoteParticipantsDesktopDialog.ts +81 -0
  1935. package/react/features/video-menu/components/AbstractMuteRemoteParticipantsVideoDialog.ts +81 -0
  1936. package/react/features/video-menu/components/AbstractMuteVideoButton.ts +90 -0
  1937. package/react/features/video-menu/components/index.native.ts +13 -0
  1938. package/react/features/video-menu/components/index.web.ts +6 -0
  1939. package/react/features/video-menu/components/native/AskUnmuteButton.ts +100 -0
  1940. package/react/features/video-menu/components/native/ConnectionStatusButton.ts +36 -0
  1941. package/react/features/video-menu/components/native/ConnectionStatusComponent.tsx +476 -0
  1942. package/react/features/video-menu/components/native/DemoteToVisitorButton.ts +52 -0
  1943. package/react/features/video-menu/components/native/DemoteToVisitorDialog.tsx +38 -0
  1944. package/react/features/video-menu/components/native/GrantModeratorButton.ts +8 -0
  1945. package/react/features/video-menu/components/native/GrantModeratorDialog.tsx +31 -0
  1946. package/react/features/video-menu/components/native/KickButton.ts +20 -0
  1947. package/react/features/video-menu/components/native/KickRemoteParticipantDialog.tsx +32 -0
  1948. package/react/features/video-menu/components/native/LocalVideoMenu.tsx +154 -0
  1949. package/react/features/video-menu/components/native/LowerHandButton.tsx +71 -0
  1950. package/react/features/video-menu/components/native/MuteButton.ts +22 -0
  1951. package/react/features/video-menu/components/native/MuteEveryoneDialog.tsx +58 -0
  1952. package/react/features/video-menu/components/native/MuteEveryoneElseButton.ts +20 -0
  1953. package/react/features/video-menu/components/native/MuteEveryonesVideoDialog.tsx +58 -0
  1954. package/react/features/video-menu/components/native/MuteRemoteParticipantsVideoDialog.tsx +32 -0
  1955. package/react/features/video-menu/components/native/MuteVideoButton.ts +22 -0
  1956. package/react/features/video-menu/components/native/PinButton.ts +59 -0
  1957. package/react/features/video-menu/components/native/RemoteVideoMenu.tsx +287 -0
  1958. package/react/features/video-menu/components/native/SendToBreakoutRoom.ts +71 -0
  1959. package/react/features/video-menu/components/native/SharedVideoMenu.tsx +149 -0
  1960. package/react/features/video-menu/components/native/VolumeSlider.tsx +175 -0
  1961. package/react/features/video-menu/components/native/styles.ts +89 -0
  1962. package/react/features/video-menu/components/web/AskToUnmuteButton.tsx +76 -0
  1963. package/react/features/video-menu/components/web/ConnectionStatusButton.tsx +42 -0
  1964. package/react/features/video-menu/components/web/CustomOptionButton.tsx +27 -0
  1965. package/react/features/video-menu/components/web/DemoteToVisitorButton.tsx +63 -0
  1966. package/react/features/video-menu/components/web/DemoteToVisitorDialog.tsx +40 -0
  1967. package/react/features/video-menu/components/web/FakeParticipantContextMenu.tsx +178 -0
  1968. package/react/features/video-menu/components/web/FlipLocalVideoButton.tsx +125 -0
  1969. package/react/features/video-menu/components/web/GrantModeratorButton.tsx +56 -0
  1970. package/react/features/video-menu/components/web/GrantModeratorDialog.tsx +32 -0
  1971. package/react/features/video-menu/components/web/HideSelfViewVideoButton.tsx +124 -0
  1972. package/react/features/video-menu/components/web/KickButton.tsx +46 -0
  1973. package/react/features/video-menu/components/web/KickRemoteParticipantDialog.tsx +32 -0
  1974. package/react/features/video-menu/components/web/LocalVideoMenuTriggerButton.tsx +305 -0
  1975. package/react/features/video-menu/components/web/LowerHandButton.tsx +56 -0
  1976. package/react/features/video-menu/components/web/MuteButton.tsx +65 -0
  1977. package/react/features/video-menu/components/web/MuteDesktopButton.tsx +67 -0
  1978. package/react/features/video-menu/components/web/MuteEveryoneDialog.tsx +55 -0
  1979. package/react/features/video-menu/components/web/MuteEveryoneElseButton.tsx +48 -0
  1980. package/react/features/video-menu/components/web/MuteEveryoneElsesDesktopButton.tsx +48 -0
  1981. package/react/features/video-menu/components/web/MuteEveryoneElsesVideoButton.tsx +48 -0
  1982. package/react/features/video-menu/components/web/MuteEveryonesDesktopDialog.tsx +52 -0
  1983. package/react/features/video-menu/components/web/MuteEveryonesVideoDialog.tsx +52 -0
  1984. package/react/features/video-menu/components/web/MuteRemoteParticipantsDesktopDialog.tsx +40 -0
  1985. package/react/features/video-menu/components/web/MuteRemoteParticipantsVideoDialog.tsx +40 -0
  1986. package/react/features/video-menu/components/web/MuteVideoButton.tsx +66 -0
  1987. package/react/features/video-menu/components/web/ParticipantContextMenu.tsx +388 -0
  1988. package/react/features/video-menu/components/web/PrivateMessageMenuButton.tsx +112 -0
  1989. package/react/features/video-menu/components/web/RemoteControlButton.tsx +148 -0
  1990. package/react/features/video-menu/components/web/RemoteVideoMenuTriggerButton.tsx +273 -0
  1991. package/react/features/video-menu/components/web/SendToRoomButton.tsx +57 -0
  1992. package/react/features/video-menu/components/web/TogglePinToStageButton.tsx +67 -0
  1993. package/react/features/video-menu/components/web/VerifyParticipantButton.tsx +45 -0
  1994. package/react/features/video-menu/components/web/VolumeSlider.tsx +111 -0
  1995. package/react/features/video-menu/constants.ts +41 -0
  1996. package/react/features/video-menu/logger.ts +3 -0
  1997. package/react/features/video-menu/types.ts +18 -0
  1998. package/react/features/video-quality/actionTypes.ts +72 -0
  1999. package/react/features/video-quality/actions.ts +135 -0
  2000. package/react/features/video-quality/components/Slider.web.tsx +168 -0
  2001. package/react/features/video-quality/components/VideoQualityButton.native.ts +0 -0
  2002. package/react/features/video-quality/components/VideoQualityButton.web.ts +58 -0
  2003. package/react/features/video-quality/components/VideoQualityDialog.native.ts +0 -0
  2004. package/react/features/video-quality/components/VideoQualityDialog.web.tsx +30 -0
  2005. package/react/features/video-quality/components/VideoQualityExpandedLabel.native.ts +34 -0
  2006. package/react/features/video-quality/components/VideoQualityExpandedLabel.web.ts +0 -0
  2007. package/react/features/video-quality/components/VideoQualityLabel.native.tsx +75 -0
  2008. package/react/features/video-quality/components/VideoQualityLabel.web.tsx +66 -0
  2009. package/react/features/video-quality/components/VideoQualitySlider.native.ts +0 -0
  2010. package/react/features/video-quality/components/VideoQualitySlider.web.tsx +385 -0
  2011. package/react/features/video-quality/components/styles.ts +20 -0
  2012. package/react/features/video-quality/constants.ts +55 -0
  2013. package/react/features/video-quality/functions.ts +65 -0
  2014. package/react/features/video-quality/logger.ts +3 -0
  2015. package/react/features/video-quality/middleware.ts +45 -0
  2016. package/react/features/video-quality/reducer.ts +130 -0
  2017. package/react/features/video-quality/selector.ts +31 -0
  2018. package/react/features/video-quality/subscriber.ts +517 -0
  2019. package/react/features/videosipgw/actionTypes.ts +23 -0
  2020. package/react/features/videosipgw/actions.ts +20 -0
  2021. package/react/features/videosipgw/logger.ts +3 -0
  2022. package/react/features/videosipgw/middleware.ts +179 -0
  2023. package/react/features/videosipgw/reducer.ts +21 -0
  2024. package/react/features/videosipgw/types.ts +10 -0
  2025. package/react/features/virtual-background/actionTypes.ts +23 -0
  2026. package/react/features/virtual-background/actions.ts +105 -0
  2027. package/react/features/virtual-background/components/UploadImageButton.tsx +152 -0
  2028. package/react/features/virtual-background/components/VideoBackgroundButton.ts +77 -0
  2029. package/react/features/virtual-background/components/VirtualBackgroundPreview.tsx +305 -0
  2030. package/react/features/virtual-background/components/VirtualBackgrounds.tsx +503 -0
  2031. package/react/features/virtual-background/constants.ts +61 -0
  2032. package/react/features/virtual-background/functions.ts +119 -0
  2033. package/react/features/virtual-background/hooks.ts +27 -0
  2034. package/react/features/virtual-background/logger.ts +3 -0
  2035. package/react/features/virtual-background/reducer.ts +54 -0
  2036. package/react/features/visitors/VisitorsListWebsocketClient.ts +175 -0
  2037. package/react/features/visitors/actionTypes.ts +81 -0
  2038. package/react/features/visitors/actions.ts +262 -0
  2039. package/react/features/visitors/components/index.native.ts +1 -0
  2040. package/react/features/visitors/components/index.web.ts +1 -0
  2041. package/react/features/visitors/components/native/JoinMeetingDialog.tsx +40 -0
  2042. package/react/features/visitors/components/native/VisitorsCountLabel.tsx +38 -0
  2043. package/react/features/visitors/components/native/VisitorsQueue.tsx +43 -0
  2044. package/react/features/visitors/components/native/styles.ts +34 -0
  2045. package/react/features/visitors/components/web/JoinMeetingDialog.tsx +72 -0
  2046. package/react/features/visitors/components/web/VisitorsCountLabel.tsx +37 -0
  2047. package/react/features/visitors/components/web/VisitorsQueue.tsx +107 -0
  2048. package/react/features/visitors/functions.ts +153 -0
  2049. package/react/features/visitors/logger.ts +3 -0
  2050. package/react/features/visitors/middleware.ts +479 -0
  2051. package/react/features/visitors/reducer.ts +132 -0
  2052. package/react/features/visitors/types.ts +15 -0
  2053. package/react/features/visitors/websocket-client.ts +169 -0
  2054. package/react/features/web-hid/actionTypes.ts +20 -0
  2055. package/react/features/web-hid/actions.ts +51 -0
  2056. package/react/features/web-hid/functions.ts +121 -0
  2057. package/react/features/web-hid/logger.ts +3 -0
  2058. package/react/features/web-hid/middleware.ts +145 -0
  2059. package/react/features/web-hid/reducer.ts +43 -0
  2060. package/react/features/web-hid/types.ts +44 -0
  2061. package/react/features/web-hid/utils.ts +52 -0
  2062. package/react/features/web-hid/webhid-manager.ts +1018 -0
  2063. package/react/features/welcome/components/AbstractWelcomePage.ts +298 -0
  2064. package/react/features/welcome/components/BlankPage.web.ts +1 -0
  2065. package/react/features/welcome/components/TabIcon.tsx +35 -0
  2066. package/react/features/welcome/components/Tabs.tsx +111 -0
  2067. package/react/features/welcome/components/WelcomePage.native.tsx +417 -0
  2068. package/react/features/welcome/components/WelcomePage.web.tsx +517 -0
  2069. package/react/features/welcome/components/styles.native.ts +231 -0
  2070. package/react/features/welcome/constants.tsx +44 -0
  2071. package/react/features/welcome/functions.ts +33 -0
  2072. package/react/features/whiteboard/actionTypes.ts +25 -0
  2073. package/react/features/whiteboard/actions.any.ts +71 -0
  2074. package/react/features/whiteboard/actions.native.ts +26 -0
  2075. package/react/features/whiteboard/actions.web.ts +48 -0
  2076. package/react/features/whiteboard/components/native/Whiteboard.tsx +247 -0
  2077. package/react/features/whiteboard/components/native/WhiteboardButton.tsx +43 -0
  2078. package/react/features/whiteboard/components/native/WhiteboardErrorDialog.tsx +15 -0
  2079. package/react/features/whiteboard/components/native/WhiteboardLimitDialog.tsx +43 -0
  2080. package/react/features/whiteboard/components/native/styles.ts +37 -0
  2081. package/react/features/whiteboard/components/web/NoWhiteboardError.tsx +25 -0
  2082. package/react/features/whiteboard/components/web/Whiteboard.tsx +165 -0
  2083. package/react/features/whiteboard/components/web/WhiteboardApp.tsx +94 -0
  2084. package/react/features/whiteboard/components/web/WhiteboardButton.tsx +71 -0
  2085. package/react/features/whiteboard/components/web/WhiteboardLimitDialog.tsx +39 -0
  2086. package/react/features/whiteboard/components/web/WhiteboardWrapper.tsx +70 -0
  2087. package/react/features/whiteboard/constants.ts +71 -0
  2088. package/react/features/whiteboard/functions.ts +217 -0
  2089. package/react/features/whiteboard/hooks.ts +23 -0
  2090. package/react/features/whiteboard/logger.ts +3 -0
  2091. package/react/features/whiteboard/middleware.any.ts +94 -0
  2092. package/react/features/whiteboard/middleware.native.ts +84 -0
  2093. package/react/features/whiteboard/middleware.web.ts +162 -0
  2094. package/react/features/whiteboard/reducer.ts +66 -0
  2095. package/react/features/whiteboard/types.ts +13 -0
  2096. package/react/index.native.js +35 -0
  2097. package/react/index.web.js +85 -0
  2098. package/sdk_instructions.js +2 -0
  2099. package/sounds/README.md +2 -0
  2100. package/sounds/asked-unmute.mp3 +0 -0
  2101. package/sounds/asked-unmute.opus +0 -0
  2102. package/sounds/e2eeOff.mp3 +0 -0
  2103. package/sounds/e2eeOff.opus +0 -0
  2104. package/sounds/e2eeOff_fr.mp3 +0 -0
  2105. package/sounds/e2eeOff_fr.opus +0 -0
  2106. package/sounds/e2eeOff_frCA.mp3 +0 -0
  2107. package/sounds/e2eeOff_frCA.opus +0 -0
  2108. package/sounds/e2eeOn.mp3 +0 -0
  2109. package/sounds/e2eeOn.opus +0 -0
  2110. package/sounds/e2eeOn_fr.mp3 +0 -0
  2111. package/sounds/e2eeOn_fr.opus +0 -0
  2112. package/sounds/e2eeOn_frCA.mp3 +0 -0
  2113. package/sounds/e2eeOn_frCA.opus +0 -0
  2114. package/sounds/incomingMessage.mp3 +0 -0
  2115. package/sounds/incomingMessage.opus +0 -0
  2116. package/sounds/incomingMessage.wav +0 -0
  2117. package/sounds/joined.mp3 +0 -0
  2118. package/sounds/joined.opus +0 -0
  2119. package/sounds/joined.wav +0 -0
  2120. package/sounds/knock.mp3 +0 -0
  2121. package/sounds/knock.opus +0 -0
  2122. package/sounds/left.mp3 +0 -0
  2123. package/sounds/left.opus +0 -0
  2124. package/sounds/left.wav +0 -0
  2125. package/sounds/liveStreamingOff.mp3 +0 -0
  2126. package/sounds/liveStreamingOff.opus +0 -0
  2127. package/sounds/liveStreamingOff_fr.mp3 +0 -0
  2128. package/sounds/liveStreamingOff_fr.opus +0 -0
  2129. package/sounds/liveStreamingOff_frCA.mp3 +0 -0
  2130. package/sounds/liveStreamingOff_frCA.opus +0 -0
  2131. package/sounds/liveStreamingOn.mp3 +0 -0
  2132. package/sounds/liveStreamingOn.opus +0 -0
  2133. package/sounds/liveStreamingOn_fr.mp3 +0 -0
  2134. package/sounds/liveStreamingOn_fr.opus +0 -0
  2135. package/sounds/liveStreamingOn_frCA.mp3 +0 -0
  2136. package/sounds/liveStreamingOn_frCA.opus +0 -0
  2137. package/sounds/noAudioSignal.mp3 +0 -0
  2138. package/sounds/noAudioSignal.opus +0 -0
  2139. package/sounds/noisyAudioInput.mp3 +0 -0
  2140. package/sounds/noisyAudioInput.opus +0 -0
  2141. package/sounds/outgoingRinging.mp3 +0 -0
  2142. package/sounds/outgoingRinging.opus +0 -0
  2143. package/sounds/outgoingRinging.wav +0 -0
  2144. package/sounds/outgoingStart.mp3 +0 -0
  2145. package/sounds/outgoingStart.opus +0 -0
  2146. package/sounds/outgoingStart.wav +0 -0
  2147. package/sounds/reactions-applause.mp3 +0 -0
  2148. package/sounds/reactions-applause.opus +0 -0
  2149. package/sounds/reactions-boo.mp3 +0 -0
  2150. package/sounds/reactions-boo.opus +0 -0
  2151. package/sounds/reactions-crickets.mp3 +0 -0
  2152. package/sounds/reactions-crickets.opus +0 -0
  2153. package/sounds/reactions-laughter.mp3 +0 -0
  2154. package/sounds/reactions-laughter.opus +0 -0
  2155. package/sounds/reactions-love.mp3 +0 -0
  2156. package/sounds/reactions-love.opus +0 -0
  2157. package/sounds/reactions-raised-hand.mp3 +0 -0
  2158. package/sounds/reactions-raised-hand.opus +0 -0
  2159. package/sounds/reactions-surprise.mp3 +0 -0
  2160. package/sounds/reactions-surprise.opus +0 -0
  2161. package/sounds/reactions-thumbs-up.mp3 +0 -0
  2162. package/sounds/reactions-thumbs-up.opus +0 -0
  2163. package/sounds/recordingOff.mp3 +0 -0
  2164. package/sounds/recordingOff.opus +0 -0
  2165. package/sounds/recordingOff_fr.mp3 +0 -0
  2166. package/sounds/recordingOff_fr.opus +0 -0
  2167. package/sounds/recordingOff_frCA.mp3 +0 -0
  2168. package/sounds/recordingOff_frCA.opus +0 -0
  2169. package/sounds/recordingOn.mp3 +0 -0
  2170. package/sounds/recordingOn.opus +0 -0
  2171. package/sounds/recordingOn_fr.mp3 +0 -0
  2172. package/sounds/recordingOn_fr.opus +0 -0
  2173. package/sounds/recordingOn_frCA.mp3 +0 -0
  2174. package/sounds/recordingOn_frCA.opus +0 -0
  2175. package/sounds/rejected.mp3 +0 -0
  2176. package/sounds/rejected.opus +0 -0
  2177. package/sounds/rejected.wav +0 -0
  2178. package/sounds/ring.mp3 +0 -0
  2179. package/sounds/ring.opus +0 -0
  2180. package/sounds/ring.wav +0 -0
  2181. package/sounds/talkWhileMuted.mp3 +0 -0
  2182. package/sounds/talkWhileMuted.opus +0 -0
  2183. package/update_dependencies.js +110 -0
  2184. package/update_sdk_dependencies.js +59 -0
package/README.md ADDED
@@ -0,0 +1,132 @@
1
+ # <p align="center">Jitsi Meet React Native SDK</p>
2
+
3
+
4
+ ## Installation
5
+ Inside your project, run;
6
+ ```console
7
+ npm i @jitsi/react-native-sdk
8
+ ```
9
+ If there are conflicts, you can use ```--force```
10
+ <br/>Additionally, if not already installed, some dependencies will need to be added.
11
+
12
+ This can be done by running the following script:
13
+ ```console
14
+ node node_modules/@jitsi/react-native-sdk/update_dependencies.js
15
+ ```
16
+ This will check and update all your dependencies.<br/><br/>
17
+ After that you need to ```npm i```, if some dependency versions were updated.
18
+
19
+ [comment]: # (These deps definitely need to be added manually, more could be neccesary)
20
+
21
+ Because of SVG use in react native, you need to update metro.config your project's file:
22
+
23
+ ```javascript
24
+ const { getDefaultConfig } = require('metro-config');
25
+
26
+ module.exports = (async () => {
27
+ const {
28
+ resolver: {
29
+ sourceExts,
30
+ assetExts
31
+ }
32
+ } = await getDefaultConfig();
33
+
34
+ return {
35
+ transformer: {
36
+ babelTransformerPath: require.resolve('react-native-svg-transformer'),
37
+ getTransformOptions: async () => ({
38
+ transform: {
39
+ experimentalImportSupport: false,
40
+ inlineRequires: true,
41
+ },
42
+ }),
43
+ },
44
+ resolver: {
45
+ assetExts: assetExts.filter(ext => ext !== 'svg'),
46
+ sourceExts: [...sourceExts, 'svg']
47
+ }
48
+ }
49
+ })();
50
+ ```
51
+
52
+ ## iOS
53
+
54
+ #### Project Info.plist
55
+ - Add a *Privacy - Camera Usage Description*
56
+ - Add a *Privacy - Microphone Usage Description*
57
+
58
+ #### General
59
+ - Signing & capabilites:
60
+ - Add Background modes
61
+ - Audio
62
+ - Voice over IP
63
+ - Background fetch
64
+
65
+ Run;
66
+ ```console
67
+ cd ios && pod install && cd ..
68
+ ```
69
+
70
+ ## Android
71
+
72
+ - In your build.gradle have at least `minSdkVersion = 26`
73
+ - In your build.gradle have `gradlePluginVersion = "8.4.2"` or higher
74
+ - In `android/app/src/debug/AndroidManifest.xml` and `android/app/src/main/AndroidManifest.xml`, under the `</application>` tag, include
75
+ ```xml
76
+ <uses-permission android:name="android.permission.RECORD_AUDIO" />
77
+ <uses-permission android:name="android.permission.CAMERA" />
78
+ ```
79
+ ### Services
80
+ #### Screen share
81
+
82
+ - Go to your `MainApplication.java` file and add:
83
+ 1. `import com.oney.WebRTCModule.WebRTCModuleOptions;` that comes from `react-native-webrtc` dependency.
84
+
85
+ 2. `WebRTCModuleOptions options = WebRTCModuleOptions.getInstance();` instance it.
86
+ 3. `options.enableMediaProjectionService = true;` enable foreground service that takes care of screen-sharing feature.
87
+
88
+ - Go to your `android/app/src/main/AndroidManifest.xml`, under the `</application>` tag and include
89
+ ```xml
90
+ <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
91
+ <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />
92
+ ```
93
+
94
+ If you want to test all the steps before applying them to your app, you can check our React Native SDK sample app here:
95
+ https://github.com/jitsi/jitsi-meet-sdk-samples/tree/master/react-native
96
+
97
+
98
+ ## Using JWT tokens
99
+ - If you are planning to use tokens or another domain, you can do that by updating the following props, as shown below.
100
+ - For example:
101
+ ```javascript
102
+ <JitsiMeeting
103
+ room = { 'ThisIsNotATestRoomName' }
104
+ serverURL = { 'https://meet.jit.si/' }
105
+ token={ 'dkhalhfajhflahlfaahalhfahfsl' } />
106
+ ```
107
+
108
+ ## Using custom overflow menu buttons
109
+ - If you are planning to add custom overflow menu buttons, you can do that by updating the ```config``` prop, as shown below.
110
+ - For example:
111
+ ```javascript
112
+ <JitsiMeeting
113
+ config = {{
114
+ customToolbarButtons: [
115
+ {
116
+ icon: "https://w7.pngwing.com/pngs/987/537/png-transparent-download-downloading-save-basic-user-interface-icon-thumbnail.png",
117
+ id: "btn1",
118
+ text: "Button one"
119
+ }, {
120
+ icon: "https://w7.pngwing.com/pngs/987/537/png-transparent-download-downloading-save-basic-user-interface-icon-thumbnail.png",
121
+ id: "btn2",
122
+ text: "Button two"
123
+ }
124
+ ]
125
+ }}
126
+ room = { 'ThisIsNotATestRoomName' }
127
+ serverURL = { 'https://meet.jit.si/' }
128
+ token = { 'dkhalhfajhflahlfaahalhfahfsl' } />
129
+ ```
130
+
131
+ For more details on how you can use React Native SDK with React Native app, you can follow this link:
132
+ https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-react-native-sdk
@@ -0,0 +1,156 @@
1
+ buildscript {
2
+ repositories {
3
+ google()
4
+ mavenCentral()
5
+ }
6
+
7
+ dependencies {
8
+ classpath "com.android.tools.build:gradle:$rootProject.ext.gradlePluginVersion"
9
+ }
10
+ }
11
+
12
+ def isNewArchitectureEnabled() {
13
+ return rootProject.hasProperty("newArchEnabled") && rootProject.getProperty("newArchEnabled") == "true"
14
+ }
15
+
16
+ apply plugin: 'com.android.library'
17
+
18
+ if (isNewArchitectureEnabled()) {
19
+ apply plugin: 'com.facebook.react'
20
+ }
21
+
22
+ def getExtOrDefault(name) {
23
+ return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties['JitsiMeetReactNative_' + name]
24
+ }
25
+
26
+ def getExtOrIntegerDefault(name) {
27
+ return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties['JitsiMeetReactNative_' + name]).toInteger()
28
+ }
29
+
30
+ android {
31
+ namespace 'org.jitsi.meet.sdk'
32
+ compileSdkVersion getExtOrIntegerDefault('compileSdkVersion')
33
+
34
+ defaultConfig {
35
+ minSdkVersion getExtOrIntegerDefault('minSdkVersion')
36
+ targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
37
+ buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
38
+ }
39
+ buildTypes {
40
+ release {
41
+ minifyEnabled false
42
+ }
43
+ }
44
+
45
+ lintOptions {
46
+ disable 'GradleCompatible'
47
+ }
48
+
49
+ compileOptions {
50
+ sourceCompatibility JavaVersion.VERSION_17
51
+ targetCompatibility JavaVersion.VERSION_17
52
+ }
53
+ }
54
+
55
+ repositories {
56
+ mavenCentral()
57
+ google()
58
+
59
+ def found = false
60
+ def defaultDir = null
61
+ def androidSourcesName = 'React Native sources'
62
+
63
+ if (rootProject.ext.has('reactNativeAndroidRoot')) {
64
+ defaultDir = rootProject.ext.get('reactNativeAndroidRoot')
65
+ } else {
66
+ defaultDir = new File(
67
+ projectDir,
68
+ '/../../../node_modules/react-native/android'
69
+ )
70
+ }
71
+
72
+ if (defaultDir.exists()) {
73
+ maven {
74
+ url defaultDir.toString()
75
+ name androidSourcesName
76
+ }
77
+
78
+ logger.info(":${project.name}:reactNativeAndroidRoot ${defaultDir.canonicalPath}")
79
+ found = true
80
+ } else {
81
+ def parentDir = rootProject.projectDir
82
+
83
+ 1.upto(5, {
84
+ if (found) return true
85
+ parentDir = parentDir.parentFile
86
+
87
+ def androidSourcesDir = new File(
88
+ parentDir,
89
+ 'node_modules/react-native'
90
+ )
91
+
92
+ def androidPrebuiltBinaryDir = new File(
93
+ parentDir,
94
+ 'node_modules/react-native/android'
95
+ )
96
+
97
+ if (androidPrebuiltBinaryDir.exists()) {
98
+ maven {
99
+ url androidPrebuiltBinaryDir.toString()
100
+ name androidSourcesName
101
+ }
102
+
103
+ logger.info(":${project.name}:reactNativeAndroidRoot ${androidPrebuiltBinaryDir.canonicalPath}")
104
+ found = true
105
+ } else if (androidSourcesDir.exists()) {
106
+ maven {
107
+ url androidSourcesDir.toString()
108
+ name androidSourcesName
109
+ }
110
+
111
+ logger.info(":${project.name}:reactNativeAndroidRoot ${androidSourcesDir.canonicalPath}")
112
+ found = true
113
+ }
114
+ })
115
+ }
116
+
117
+ if (!found) {
118
+ throw new GradleException(
119
+ "${project.name}: unable to locate React Native android sources. " +
120
+ "Ensure you have you installed React Native as a dependency in your project and try again."
121
+ )
122
+ }
123
+ }
124
+
125
+
126
+ dependencies {
127
+ // noinspection GradleDynamicVersion
128
+ implementation "com.facebook.react:react-native:+"
129
+ implementation 'com.dropbox.core:dropbox-core-sdk:4.0.1'
130
+ implementation 'com.jakewharton.timber:timber:4.7.1'
131
+ // From node_modules
132
+ }
133
+
134
+ if (isNewArchitectureEnabled()) {
135
+ react {
136
+ jsRootDir = file("../")
137
+ libraryName = "JitsiMeetReactNative"
138
+ codegenJavaPackageName = "org.jitsi.meet.sdk"
139
+ }
140
+ }
141
+
142
+ // Copy sounds to assets directory
143
+ android.libraryVariants.all { def variant ->
144
+ def mergeAssetsTask = variant.mergeAssetsProvider.get()
145
+ def mergeResourcesTask = variant.mergeResourcesProvider.get()
146
+ mergeAssetsTask.doLast {
147
+ def assetsDir = mergeAssetsTask.outputDir.get()
148
+ def soundsDir = "${projectDir}/../sounds"
149
+ copy {
150
+ from("${soundsDir}")
151
+ include("*.wav")
152
+ include("*.mp3")
153
+ into("${assetsDir}/sounds")
154
+ }
155
+ }
156
+ }
@@ -0,0 +1,5 @@
1
+ JitsiMeetReactNative_kotlinVersion=2.0.21
2
+ JitsiMeetReactNative_minSdkVersion=26
3
+ JitsiMeetReactNative_targetSdkVersion=34
4
+ JitsiMeetReactNative_compileSdkVersion=34
5
+ JitsiMeetReactNative_ndkversion=27.1.12297006
@@ -0,0 +1,3 @@
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
+
3
+ </manifest>
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Adapted from
3
+ * {@link https://github.com/Aleksandern/react-native-android-settings-library}.
4
+ */
5
+
6
+ package org.jitsi.meet.sdk;
7
+
8
+ import android.content.ActivityNotFoundException;
9
+ import android.content.Context;
10
+ import android.content.Intent;
11
+ import android.net.Uri;
12
+ import android.provider.Settings;
13
+
14
+ import com.facebook.react.bridge.Promise;
15
+ import com.facebook.react.bridge.ReactApplicationContext;
16
+ import com.facebook.react.bridge.ReactContextBaseJavaModule;
17
+ import com.facebook.react.bridge.ReactMethod;
18
+ import com.facebook.react.module.annotations.ReactModule;
19
+
20
+ @ReactModule(name = AndroidSettingsModule.NAME)
21
+ class AndroidSettingsModule
22
+ extends ReactContextBaseJavaModule {
23
+
24
+ public static final String NAME = "AndroidSettings";
25
+
26
+ public AndroidSettingsModule(ReactApplicationContext reactContext) {
27
+ super(reactContext);
28
+ }
29
+
30
+ @Override
31
+ public String getName() {
32
+ return NAME;
33
+ }
34
+
35
+ @ReactMethod
36
+ public void open(Promise promise) {
37
+ Context context = getReactApplicationContext();
38
+ Intent intent = new Intent();
39
+
40
+ intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
41
+ intent.setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
42
+ intent.setData(
43
+ Uri.fromParts("package", context.getPackageName(), null));
44
+
45
+ try {
46
+ context.startActivity(intent);
47
+ } catch (ActivityNotFoundException e) {
48
+ // Some devices may give an error here.
49
+ // https://developer.android.com/reference/android/provider/Settings.html#ACTION_APPLICATION_DETAILS_SETTINGS
50
+ promise.reject(e);
51
+ return;
52
+ }
53
+
54
+ promise.resolve(null);
55
+ }
56
+ }
@@ -0,0 +1,150 @@
1
+ /*
2
+ * Copyright @ 2017-present 8x8, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ package org.jitsi.meet.sdk;
18
+
19
+ import android.content.Context;
20
+ import android.content.pm.ApplicationInfo;
21
+ import android.content.pm.PackageInfo;
22
+ import android.content.pm.PackageManager;
23
+
24
+ import com.facebook.react.bridge.ReactApplicationContext;
25
+ import com.facebook.react.bridge.ReactContextBaseJavaModule;
26
+ import com.facebook.react.module.annotations.ReactModule;
27
+
28
+ import java.lang.reflect.Field;
29
+ import java.util.HashMap;
30
+ import java.util.Map;
31
+
32
+ @ReactModule(name = AppInfoModule.NAME)
33
+ class AppInfoModule
34
+ extends ReactContextBaseJavaModule {
35
+
36
+ private static final String BUILD_CONFIG = "org.jitsi.meet.sdk.BuildConfig";
37
+ public static final String NAME = "AppInfo";
38
+ public static final boolean GOOGLE_SERVICES_ENABLED = getGoogleServicesEnabled();
39
+ public static final boolean LIBRE_BUILD = getLibreBuild();
40
+ public static final String SDK_VERSION = getSdkVersion();
41
+
42
+ public AppInfoModule(ReactApplicationContext reactContext) {
43
+ super(reactContext);
44
+ }
45
+
46
+ /**
47
+ * Gets a {@code Map} of constants this module exports to JS. Supports JSON
48
+ * types.
49
+ *
50
+ * @return a {@link Map} of constants this module exports to JS
51
+ */
52
+ @Override
53
+ public Map<String, Object> getConstants() {
54
+ Context context = getReactApplicationContext();
55
+ PackageManager packageManager = context.getPackageManager();
56
+ ApplicationInfo applicationInfo;
57
+ PackageInfo packageInfo;
58
+
59
+ try {
60
+ String packageName = context.getPackageName();
61
+
62
+ applicationInfo
63
+ = packageManager.getApplicationInfo(packageName, 0);
64
+ packageInfo = packageManager.getPackageInfo(packageName, 0);
65
+ } catch (PackageManager.NameNotFoundException e) {
66
+ applicationInfo = null;
67
+ packageInfo = null;
68
+ }
69
+
70
+ Map<String, Object> constants = new HashMap<>();
71
+
72
+ constants.put(
73
+ "buildNumber",
74
+ packageInfo == null ? "" : String.valueOf(packageInfo.versionCode));
75
+ constants.put(
76
+ "name",
77
+ applicationInfo == null
78
+ ? ""
79
+ : packageManager.getApplicationLabel(applicationInfo));
80
+ constants.put(
81
+ "version",
82
+ packageInfo == null ? "" : packageInfo.versionName);
83
+ constants.put("sdkVersion", SDK_VERSION);
84
+ constants.put("LIBRE_BUILD", LIBRE_BUILD);
85
+ constants.put("GOOGLE_SERVICES_ENABLED", GOOGLE_SERVICES_ENABLED);
86
+
87
+ return constants;
88
+ }
89
+
90
+ @Override
91
+ public String getName() {
92
+ return NAME;
93
+ }
94
+
95
+ /**
96
+ * Checks if libre google services object is null based on build configuration.
97
+ */
98
+ private static boolean getGoogleServicesEnabled() {
99
+ Object googleServicesEnabled = getBuildConfigValue("GOOGLE_SERVICES_ENABLED");
100
+
101
+ if (googleServicesEnabled !=null) {
102
+ return (Boolean) googleServicesEnabled;
103
+ }
104
+
105
+ return false;
106
+ }
107
+
108
+ /**
109
+ * Checks if libre build field is null based on build configuration.
110
+ */
111
+ private static boolean getLibreBuild() {
112
+ Object libreBuild = getBuildConfigValue("LIBRE_BUILD");
113
+
114
+ if (libreBuild !=null) {
115
+ return (Boolean) libreBuild;
116
+ }
117
+
118
+ return false;
119
+ }
120
+
121
+ /**
122
+ * Gets the SDK version.
123
+ */
124
+ private static String getSdkVersion() {
125
+ Object sdkVersion = getBuildConfigValue("SDK_VERSION");
126
+
127
+ if (sdkVersion !=null) {
128
+ return (String) sdkVersion;
129
+ }
130
+
131
+ return "";
132
+ }
133
+
134
+ /**
135
+ * Gets build config value of a certain field.
136
+ *
137
+ * @param fieldName Field from build config.
138
+ */
139
+ private static Object getBuildConfigValue(String fieldName) {
140
+ try {
141
+ Class<?> c = Class.forName(BUILD_CONFIG);
142
+ Field f = c.getDeclaredField(fieldName);
143
+ f.setAccessible(true);
144
+ return f.get(null);
145
+ } catch (Exception e) {
146
+ e.printStackTrace();
147
+ return null;
148
+ }
149
+ }
150
+ }
@@ -0,0 +1,185 @@
1
+ /*
2
+ * Copyright @ 2017-present 8x8, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ package org.jitsi.meet.sdk;
18
+
19
+ import android.content.Context;
20
+ import android.media.AudioManager;
21
+ import android.telecom.CallAudioState;
22
+ import androidx.annotation.RequiresApi;
23
+
24
+ import com.facebook.react.bridge.ReactContext;
25
+
26
+ import java.util.HashSet;
27
+ import java.util.Set;
28
+
29
+ import org.jitsi.meet.sdk.log.JitsiMeetLogger;
30
+
31
+
32
+ /**
33
+ * {@link AudioModeModule.AudioDeviceHandlerInterface} module implementing device handling for
34
+ * Android versions >= O when ConnectionService is enabled.
35
+ */
36
+ class AudioDeviceHandlerConnectionService implements
37
+ AudioModeModule.AudioDeviceHandlerInterface,
38
+ RNConnectionService.CallAudioStateListener {
39
+
40
+ private final static String TAG = AudioDeviceHandlerConnectionService.class.getSimpleName();
41
+
42
+ /**
43
+ * {@link AudioManager} instance used to interact with the Android audio subsystem.
44
+ */
45
+ private AudioManager audioManager;
46
+
47
+ /**
48
+ * Reference to the main {@code AudioModeModule}.
49
+ */
50
+ private AudioModeModule module;
51
+
52
+ private RNConnectionService rcs;
53
+
54
+ /**
55
+ * Converts any of the "DEVICE_" constants into the corresponding
56
+ * {@link android.telecom.CallAudioState} "ROUTE_" number.
57
+ *
58
+ * @param audioDevice one of the "DEVICE_" constants.
59
+ * @return a route number {@link android.telecom.CallAudioState#ROUTE_EARPIECE} if
60
+ * no match is found.
61
+ */
62
+ private static int audioDeviceToRouteInt(String audioDevice) {
63
+ if (audioDevice == null) {
64
+ return CallAudioState.ROUTE_SPEAKER;
65
+ }
66
+ switch (audioDevice) {
67
+ case AudioModeModule.DEVICE_BLUETOOTH:
68
+ return CallAudioState.ROUTE_BLUETOOTH;
69
+ case AudioModeModule.DEVICE_EARPIECE:
70
+ return CallAudioState.ROUTE_EARPIECE;
71
+ case AudioModeModule.DEVICE_HEADPHONES:
72
+ return CallAudioState.ROUTE_WIRED_HEADSET;
73
+ case AudioModeModule.DEVICE_SPEAKER:
74
+ return CallAudioState.ROUTE_SPEAKER;
75
+ default:
76
+ JitsiMeetLogger.e(TAG + " Unsupported device name: " + audioDevice);
77
+ return CallAudioState.ROUTE_SPEAKER;
78
+ }
79
+ }
80
+
81
+ /**
82
+ * Populates given route mask into the "DEVICE_" list.
83
+ *
84
+ * @param supportedRouteMask an integer coming from
85
+ * {@link android.telecom.CallAudioState#getSupportedRouteMask()}.
86
+ * @return a list of device names.
87
+ */
88
+ private static Set<String> routesToDeviceNames(int supportedRouteMask) {
89
+ Set<String> devices = new HashSet<>();
90
+ if ((supportedRouteMask & CallAudioState.ROUTE_EARPIECE) == CallAudioState.ROUTE_EARPIECE) {
91
+ devices.add(AudioModeModule.DEVICE_EARPIECE);
92
+ }
93
+ if ((supportedRouteMask & CallAudioState.ROUTE_BLUETOOTH) == CallAudioState.ROUTE_BLUETOOTH) {
94
+ devices.add(AudioModeModule.DEVICE_BLUETOOTH);
95
+ }
96
+ if ((supportedRouteMask & CallAudioState.ROUTE_SPEAKER) == CallAudioState.ROUTE_SPEAKER) {
97
+ devices.add(AudioModeModule.DEVICE_SPEAKER);
98
+ }
99
+ if ((supportedRouteMask & CallAudioState.ROUTE_WIRED_HEADSET) == CallAudioState.ROUTE_WIRED_HEADSET) {
100
+ devices.add(AudioModeModule.DEVICE_HEADPHONES);
101
+ }
102
+ return devices;
103
+ }
104
+
105
+ /**
106
+ * Used to store the most recently reported audio devices.
107
+ * Makes it easier to compare for a change, because the devices are stored
108
+ * as a mask in the {@link android.telecom.CallAudioState}. The mask is populated into
109
+ * the {@code availableDevices} on each update.
110
+ */
111
+ private int supportedRouteMask = -1;
112
+
113
+ public AudioDeviceHandlerConnectionService(AudioManager audioManager) {
114
+ this.audioManager = audioManager;
115
+ }
116
+
117
+ @Override
118
+ public void onCallAudioStateChange(final CallAudioState state) {
119
+ module.runInAudioThread(new Runnable() {
120
+ @Override
121
+ public void run() {
122
+ boolean audioRouteChanged
123
+ = audioDeviceToRouteInt(module.getSelectedDevice()) != state.getRoute();
124
+ int newSupportedRoutes = state.getSupportedRouteMask();
125
+ boolean audioDevicesChanged = supportedRouteMask != newSupportedRoutes;
126
+ if (audioDevicesChanged) {
127
+ supportedRouteMask = newSupportedRoutes;
128
+ Set<String> devices = routesToDeviceNames(supportedRouteMask);
129
+ module.replaceDevices(devices);
130
+ JitsiMeetLogger.i(TAG + " Available audio devices: " + devices.toString());
131
+ }
132
+
133
+ if (audioRouteChanged || audioDevicesChanged) {
134
+ module.resetSelectedDevice();
135
+ module.updateAudioRoute();
136
+ }
137
+ }
138
+ });
139
+ }
140
+
141
+ @Override
142
+ public void start(AudioModeModule audioModeModule) {
143
+ JitsiMeetLogger.i("Using " + TAG + " as the audio device handler");
144
+
145
+ module = audioModeModule;
146
+ rcs = module.getContext().getNativeModule(RNConnectionService.class);
147
+
148
+ if (rcs != null) {
149
+ rcs.setCallAudioStateListener(this);
150
+ } else {
151
+ JitsiMeetLogger.w(TAG + " Couldn't set call audio state listener, module is null");
152
+ }
153
+ }
154
+
155
+ @Override
156
+ public void stop() {
157
+ if (rcs != null) {
158
+ rcs.setCallAudioStateListener(null);
159
+ rcs = null;
160
+ } else {
161
+ JitsiMeetLogger.w(TAG + " Couldn't set call audio state listener, module is null");
162
+ }
163
+ }
164
+
165
+ public void setAudioRoute(String audioDevice) {
166
+ int newAudioRoute = audioDeviceToRouteInt(audioDevice);
167
+
168
+ RNConnectionService.setAudioRoute(newAudioRoute);
169
+ }
170
+
171
+ @Override
172
+ public boolean setMode(int mode) {
173
+ if (mode != AudioModeModule.DEFAULT) {
174
+ // This shouldn't be needed when using ConnectionService, but some devices have been
175
+ // observed not doing it.
176
+ try {
177
+ audioManager.setMicrophoneMute(false);
178
+ } catch (Throwable tr) {
179
+ JitsiMeetLogger.w(tr, TAG + " Failed to unmute the microphone");
180
+ }
181
+ }
182
+
183
+ return true;
184
+ }
185
+ }