@100mslive/react-native-room-kit 1.1.9 → 1.2.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 (578) hide show
  1. package/lib/commonjs/HMSRoomSetup.js +1 -1
  2. package/lib/commonjs/HMSRoomSetup.js.map +1 -1
  3. package/lib/commonjs/Icons/100ms/index.js +2 -2
  4. package/lib/commonjs/Icons/100ms/index.js.map +1 -1
  5. package/lib/commonjs/Icons/Add/index.js +2 -2
  6. package/lib/commonjs/Icons/Add/index.js.map +1 -1
  7. package/lib/commonjs/Icons/AddImage/index.js +2 -2
  8. package/lib/commonjs/Icons/AddImage/index.js.map +1 -1
  9. package/lib/commonjs/Icons/Alert/index.js +2 -2
  10. package/lib/commonjs/Icons/Alert/index.js.map +1 -1
  11. package/lib/commonjs/Icons/AlertTriangle/index.js +2 -2
  12. package/lib/commonjs/Icons/AlertTriangle/index.js.map +1 -1
  13. package/lib/commonjs/Icons/AnswerPhone/index.js +2 -2
  14. package/lib/commonjs/Icons/AnswerPhone/index.js.map +1 -1
  15. package/lib/commonjs/Icons/BRB/index.js +2 -2
  16. package/lib/commonjs/Icons/BRB/index.js.map +1 -1
  17. package/lib/commonjs/Icons/Bluetooth/index.js +2 -2
  18. package/lib/commonjs/Icons/Bluetooth/index.js.map +1 -1
  19. package/lib/commonjs/Icons/BlurPeople/index.js +2 -2
  20. package/lib/commonjs/Icons/BlurPeople/index.js.map +1 -1
  21. package/lib/commonjs/Icons/CC/index.js +2 -2
  22. package/lib/commonjs/Icons/CC/index.js.map +1 -1
  23. package/lib/commonjs/Icons/Camera/index.js +2 -2
  24. package/lib/commonjs/Icons/Camera/index.js.map +1 -1
  25. package/lib/commonjs/Icons/Chat/index.js +2 -2
  26. package/lib/commonjs/Icons/Chat/index.js.map +1 -1
  27. package/lib/commonjs/Icons/Check/index.js +2 -2
  28. package/lib/commonjs/Icons/Check/index.js.map +1 -1
  29. package/lib/commonjs/Icons/CheckBox/index.js +2 -2
  30. package/lib/commonjs/Icons/CheckBox/index.js.map +1 -1
  31. package/lib/commonjs/Icons/Chevron/index.js +2 -2
  32. package/lib/commonjs/Icons/Chevron/index.js.map +1 -1
  33. package/lib/commonjs/Icons/Clock/index.js +2 -2
  34. package/lib/commonjs/Icons/Clock/index.js.map +1 -1
  35. package/lib/commonjs/Icons/Close/index.js +2 -2
  36. package/lib/commonjs/Icons/Close/index.js.map +1 -1
  37. package/lib/commonjs/Icons/CrossCircle/index.js +2 -2
  38. package/lib/commonjs/Icons/CrossCircle/index.js.map +1 -1
  39. package/lib/commonjs/Icons/End/index.js +2 -2
  40. package/lib/commonjs/Icons/End/index.js.map +1 -1
  41. package/lib/commonjs/Icons/Eye/index.js +2 -2
  42. package/lib/commonjs/Icons/Eye/index.js.map +1 -1
  43. package/lib/commonjs/Icons/GenericLogo/index.js +2 -2
  44. package/lib/commonjs/Icons/GenericLogo/index.js.map +1 -1
  45. package/lib/commonjs/Icons/Hamburger/index.js +2 -2
  46. package/lib/commonjs/Icons/Hamburger/index.js.map +1 -1
  47. package/lib/commonjs/Icons/Hand/index.js +2 -2
  48. package/lib/commonjs/Icons/Hand/index.js.map +1 -1
  49. package/lib/commonjs/Icons/Headphones/index.js +2 -2
  50. package/lib/commonjs/Icons/Headphones/index.js.map +1 -1
  51. package/lib/commonjs/Icons/Leave/index.js +2 -2
  52. package/lib/commonjs/Icons/Leave/index.js.map +1 -1
  53. package/lib/commonjs/Icons/Maximize/index.js +2 -2
  54. package/lib/commonjs/Icons/Maximize/index.js.map +1 -1
  55. package/lib/commonjs/Icons/Mic/index.js +2 -2
  56. package/lib/commonjs/Icons/Mic/index.js.map +1 -1
  57. package/lib/commonjs/Icons/Minimize/index.js +2 -2
  58. package/lib/commonjs/Icons/Minimize/index.js.map +1 -1
  59. package/lib/commonjs/Icons/NetworkQuality/index.js +2 -2
  60. package/lib/commonjs/Icons/NetworkQuality/index.js.map +1 -1
  61. package/lib/commonjs/Icons/NoEntry/index.js +2 -2
  62. package/lib/commonjs/Icons/NoEntry/index.js.map +1 -1
  63. package/lib/commonjs/Icons/Participants/index.js +2 -2
  64. package/lib/commonjs/Icons/Participants/index.js.map +1 -1
  65. package/lib/commonjs/Icons/Pause/index.js +2 -2
  66. package/lib/commonjs/Icons/Pause/index.js.map +1 -1
  67. package/lib/commonjs/Icons/PauseCircle/index.js +2 -2
  68. package/lib/commonjs/Icons/PauseCircle/index.js.map +1 -1
  69. package/lib/commonjs/Icons/Pencil/index.js +2 -2
  70. package/lib/commonjs/Icons/Pencil/index.js.map +1 -1
  71. package/lib/commonjs/Icons/Person/index.js +2 -2
  72. package/lib/commonjs/Icons/Person/index.js.map +1 -1
  73. package/lib/commonjs/Icons/Pin/index.js +2 -2
  74. package/lib/commonjs/Icons/Pin/index.js.map +1 -1
  75. package/lib/commonjs/Icons/Play/index.js +2 -2
  76. package/lib/commonjs/Icons/Play/index.js.map +1 -1
  77. package/lib/commonjs/Icons/Poll/index.js +2 -2
  78. package/lib/commonjs/Icons/Poll/index.js.map +1 -1
  79. package/lib/commonjs/Icons/PollVote/index.js +2 -2
  80. package/lib/commonjs/Icons/PollVote/index.js.map +1 -1
  81. package/lib/commonjs/Icons/Quiz/index.js +2 -2
  82. package/lib/commonjs/Icons/Quiz/index.js.map +1 -1
  83. package/lib/commonjs/Icons/Radio/index.js +2 -2
  84. package/lib/commonjs/Icons/Radio/index.js.map +1 -1
  85. package/lib/commonjs/Icons/Recording/index.js +2 -2
  86. package/lib/commonjs/Icons/Recording/index.js.map +1 -1
  87. package/lib/commonjs/Icons/RotateCamera/index.js +2 -2
  88. package/lib/commonjs/Icons/RotateCamera/index.js.map +1 -1
  89. package/lib/commonjs/Icons/ScreenShare/index.js +2 -2
  90. package/lib/commonjs/Icons/ScreenShare/index.js.map +1 -1
  91. package/lib/commonjs/Icons/Search/index.js +2 -2
  92. package/lib/commonjs/Icons/Search/index.js.map +1 -1
  93. package/lib/commonjs/Icons/SeekArrow/index.js +2 -2
  94. package/lib/commonjs/Icons/SeekArrow/index.js.map +1 -1
  95. package/lib/commonjs/Icons/Send/index.js +2 -2
  96. package/lib/commonjs/Icons/Send/index.js.map +1 -1
  97. package/lib/commonjs/Icons/Settings/index.js +2 -2
  98. package/lib/commonjs/Icons/Settings/index.js.map +1 -1
  99. package/lib/commonjs/Icons/Speaker/index.js +2 -2
  100. package/lib/commonjs/Icons/Speaker/index.js.map +1 -1
  101. package/lib/commonjs/Icons/Star/index.js +2 -2
  102. package/lib/commonjs/Icons/Star/index.js.map +1 -1
  103. package/lib/commonjs/Icons/Stop/index.js +2 -2
  104. package/lib/commonjs/Icons/Stop/index.js.map +1 -1
  105. package/lib/commonjs/Icons/ThreeDots/index.js +2 -2
  106. package/lib/commonjs/Icons/ThreeDots/index.js.map +1 -1
  107. package/lib/commonjs/Icons/TrashBin/index.js +2 -2
  108. package/lib/commonjs/Icons/TrashBin/index.js.map +1 -1
  109. package/lib/commonjs/Icons/VirtualBackground/index.js +2 -2
  110. package/lib/commonjs/Icons/VirtualBackground/index.js.map +1 -1
  111. package/lib/commonjs/Icons/Wave/index.js +2 -2
  112. package/lib/commonjs/Icons/Wave/index.js.map +1 -1
  113. package/lib/commonjs/Icons/WelcomeHand/index.js +2 -2
  114. package/lib/commonjs/Icons/WelcomeHand/index.js.map +1 -1
  115. package/lib/commonjs/components/BottomSheet.js +2 -2
  116. package/lib/commonjs/components/BottomSheet.js.map +1 -1
  117. package/lib/commonjs/components/CaptionsModalContent.js +163 -0
  118. package/lib/commonjs/components/CaptionsModalContent.js.map +1 -0
  119. package/lib/commonjs/components/ChangeNameModalContent.js.map +1 -1
  120. package/lib/commonjs/components/Chat/ChatBanner.js +8 -7
  121. package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -1
  122. package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -1
  123. package/lib/commonjs/components/Chat/ChatFilterItem.js.map +1 -1
  124. package/lib/commonjs/components/Chat/ChatFilterView.js +4 -1
  125. package/lib/commonjs/components/Chat/ChatFilterView.js.map +1 -1
  126. package/lib/commonjs/components/Chat/ChatMessage.js.map +1 -1
  127. package/lib/commonjs/components/Chat/ChatMoreActionsView.js.map +1 -1
  128. package/lib/commonjs/components/Chat/ChatPaused.js.map +1 -1
  129. package/lib/commonjs/components/Chat/MessageOptionsView.js.map +1 -1
  130. package/lib/commonjs/components/Chat/PeerBlockedFromChat.js.map +1 -1
  131. package/lib/commonjs/components/Chat/PinnedMessages.js.map +1 -1
  132. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -1
  133. package/lib/commonjs/components/CheckboxInputRow.js +1 -1
  134. package/lib/commonjs/components/CheckboxInputRow.js.map +1 -1
  135. package/lib/commonjs/components/CompanyLogo.js +2 -2
  136. package/lib/commonjs/components/CompanyLogo.js.map +1 -1
  137. package/lib/commonjs/components/CreatePoll.js.map +1 -1
  138. package/lib/commonjs/components/CustomButton.js +3 -1
  139. package/lib/commonjs/components/CustomButton.js.map +1 -1
  140. package/lib/commonjs/components/DefaultModal.js +1 -1
  141. package/lib/commonjs/components/DefaultModal.js.map +1 -1
  142. package/lib/commonjs/components/DisplayView.js +1 -1
  143. package/lib/commonjs/components/DisplayView.js.map +1 -1
  144. package/lib/commonjs/components/EndRoomModalContent.js.map +1 -1
  145. package/lib/commonjs/components/FullScreenIndicator.js +1 -1
  146. package/lib/commonjs/components/FullScreenIndicator.js.map +1 -1
  147. package/lib/commonjs/components/FullScreenVideoView.js +1 -1
  148. package/lib/commonjs/components/FullScreenVideoView.js.map +1 -1
  149. package/lib/commonjs/components/FullScreenWhiteboard.js +1 -1
  150. package/lib/commonjs/components/FullScreenWhiteboard.js.map +1 -1
  151. package/lib/commonjs/components/GridView.js.map +1 -1
  152. package/lib/commonjs/components/HLSChatHeaderView.js.map +1 -1
  153. package/lib/commonjs/components/HLSCloseMeetingControl.js +1 -1
  154. package/lib/commonjs/components/HLSCloseMeetingControl.js.map +1 -1
  155. package/lib/commonjs/components/HLSDescriptionPane.js.map +1 -1
  156. package/lib/commonjs/components/HLSDescriptionPaneHeader.js.map +1 -1
  157. package/lib/commonjs/components/HLSDistanceFromLive.js +1 -1
  158. package/lib/commonjs/components/HLSDistanceFromLive.js.map +1 -1
  159. package/lib/commonjs/components/HLSFullScreenControl.js +1 -1
  160. package/lib/commonjs/components/HLSFullScreenControl.js.map +1 -1
  161. package/lib/commonjs/components/HLSGoLiveControl.js +1 -1
  162. package/lib/commonjs/components/HLSGoLiveControl.js.map +1 -1
  163. package/lib/commonjs/components/HLSPlayer.js +1 -1
  164. package/lib/commonjs/components/HLSPlayer.js.map +1 -1
  165. package/lib/commonjs/components/HLSPlayerContainer.js +1 -1
  166. package/lib/commonjs/components/HLSPlayerContainer.js.map +1 -1
  167. package/lib/commonjs/components/HLSPlayerControls.js +1 -1
  168. package/lib/commonjs/components/HLSPlayerControls.js.map +1 -1
  169. package/lib/commonjs/components/HLSPlayerEmoticons.js +1 -1
  170. package/lib/commonjs/components/HLSPlayerEmoticons.js.map +1 -1
  171. package/lib/commonjs/components/HLSPlayerStatsView.js +1 -1
  172. package/lib/commonjs/components/HLSPlayerStatsView.js.map +1 -1
  173. package/lib/commonjs/components/HLSSeekbackwardControl.js.map +1 -1
  174. package/lib/commonjs/components/HLSSeekforwardControl.js.map +1 -1
  175. package/lib/commonjs/components/HLSStreamStartedTime.js.map +1 -1
  176. package/lib/commonjs/components/HLSViewerScreenContent.js +1 -1
  177. package/lib/commonjs/components/HLSViewerScreenContent.js.map +1 -1
  178. package/lib/commonjs/components/HMSDangerButton.js.map +1 -1
  179. package/lib/commonjs/components/HMSHLSMessage.js.map +1 -1
  180. package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -1
  181. package/lib/commonjs/components/HMSHLSStreamLoading.js.map +1 -1
  182. package/lib/commonjs/components/HMSHandRaiseNotification.js.map +1 -1
  183. package/lib/commonjs/components/HMSKeyboardAvoidingView.android.js +1 -1
  184. package/lib/commonjs/components/HMSKeyboardAvoidingView.android.js.map +1 -1
  185. package/lib/commonjs/components/HMSLiveIndicator.js.map +1 -1
  186. package/lib/commonjs/components/HMSLiveViewerCount.js.map +1 -1
  187. package/lib/commonjs/components/HMSManageAudioOutput.js +1 -1
  188. package/lib/commonjs/components/HMSManageAudioOutput.js.map +1 -1
  189. package/lib/commonjs/components/HMSManageNoiseCancellation.js +1 -1
  190. package/lib/commonjs/components/HMSManageNoiseCancellation.js.map +1 -1
  191. package/lib/commonjs/components/HMSNotification.js +7 -0
  192. package/lib/commonjs/components/HMSNotification.js.map +1 -1
  193. package/lib/commonjs/components/HMSNotifications.js +1 -1
  194. package/lib/commonjs/components/HMSNotifications.js.map +1 -1
  195. package/lib/commonjs/components/HMSOverlayChatView.js +1 -1
  196. package/lib/commonjs/components/HMSOverlayChatView.js.map +1 -1
  197. package/lib/commonjs/components/HMSOverlayMessageView.js.map +1 -1
  198. package/lib/commonjs/components/HMSPollsQuizzesNotification.js.map +1 -1
  199. package/lib/commonjs/components/HMSPreviewHLSLiveIndicator.js +2 -0
  200. package/lib/commonjs/components/HMSPreviewHLSLiveIndicator.js.map +1 -1
  201. package/lib/commonjs/components/HMSPreviewPeersList.js.map +1 -1
  202. package/lib/commonjs/components/HMSPreviewSubtitle.js.map +1 -1
  203. package/lib/commonjs/components/HMSPreviewTile.js.map +1 -1
  204. package/lib/commonjs/components/HMSPreviewTitle.js.map +1 -1
  205. package/lib/commonjs/components/HMSPrimaryButton.js.map +1 -1
  206. package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js.map +1 -1
  207. package/lib/commonjs/components/HMSRoomOptions.js +6 -0
  208. package/lib/commonjs/components/HMSRoomOptions.js.map +1 -1
  209. package/lib/commonjs/components/HMSSecondaryButton.js.map +1 -1
  210. package/lib/commonjs/components/HMSTerminalErrorNotification.js.map +1 -1
  211. package/lib/commonjs/components/HMSTextInput.js +1 -1
  212. package/lib/commonjs/components/HMSTextInput.js.map +1 -1
  213. package/lib/commonjs/components/HMSVideoView.js +1 -1
  214. package/lib/commonjs/components/HMSVideoView.js.map +1 -1
  215. package/lib/commonjs/components/LeaderboardEntry.js.map +1 -1
  216. package/lib/commonjs/components/LeaveRoomBottomSheet.js.map +1 -1
  217. package/lib/commonjs/components/MeetingScreenContent.js +18 -2
  218. package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
  219. package/lib/commonjs/components/MenuModal/Menu.js +1 -1
  220. package/lib/commonjs/components/MenuModal/Menu.js.map +1 -1
  221. package/lib/commonjs/components/MenuModal/MenuDivider.js +3 -1
  222. package/lib/commonjs/components/MenuModal/MenuDivider.js.map +1 -1
  223. package/lib/commonjs/components/MenuModal/MenuItem.js +2 -2
  224. package/lib/commonjs/components/MenuModal/MenuItem.js.map +1 -1
  225. package/lib/commonjs/components/Modals.js +1 -1
  226. package/lib/commonjs/components/Modals.js.map +1 -1
  227. package/lib/commonjs/components/OverlayContainer.js +1 -1
  228. package/lib/commonjs/components/OverlayContainer.js.map +1 -1
  229. package/lib/commonjs/components/Participants/MultiRoleParticipantsList.js.map +1 -1
  230. package/lib/commonjs/components/Participants/ParticipantsAccordian.js.map +1 -1
  231. package/lib/commonjs/components/Participants/ParticipantsGroupFooter.js.map +1 -1
  232. package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js.map +1 -1
  233. package/lib/commonjs/components/Participants/ParticipantsItem.js.map +1 -1
  234. package/lib/commonjs/components/Participants/ParticipantsItemOption.js.map +1 -1
  235. package/lib/commonjs/components/Participants/ParticipantsItemOptions.js.map +1 -1
  236. package/lib/commonjs/components/Participants/ParticipantsList.js +4 -1
  237. package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -1
  238. package/lib/commonjs/components/ParticipantsCount.js.map +1 -1
  239. package/lib/commonjs/components/PeerDisplayView.js +2 -2
  240. package/lib/commonjs/components/PeerDisplayView.js.map +1 -1
  241. package/lib/commonjs/components/PeerMinimizedView.js.map +1 -1
  242. package/lib/commonjs/components/PeerRTCStatsContainer.js +1 -1
  243. package/lib/commonjs/components/PeerRTCStatsContainer.js.map +1 -1
  244. package/lib/commonjs/components/PeerRTCStatsView.js +1 -1
  245. package/lib/commonjs/components/PeerRTCStatsView.js.map +1 -1
  246. package/lib/commonjs/components/PeerSettingsModalContent.js +1 -1
  247. package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -1
  248. package/lib/commonjs/components/PeerVideoTile/AvatarView.js.map +1 -1
  249. package/lib/commonjs/components/PeerVideoTile/PeerAudioIndicator.js +1 -1
  250. package/lib/commonjs/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -1
  251. package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
  252. package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js +2 -2
  253. package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
  254. package/lib/commonjs/components/PeerVideoTile/VideoView.js.map +1 -1
  255. package/lib/commonjs/components/PollAndQuizQuestionResponseCard.js.map +1 -1
  256. package/lib/commonjs/components/PollAndQuizVoting.js.map +1 -1
  257. package/lib/commonjs/components/PollAndQuizzStateLabel.js.map +1 -1
  258. package/lib/commonjs/components/PollQuestion.js.map +1 -1
  259. package/lib/commonjs/components/PollQuestionDeleteConfirmation.js.map +1 -1
  260. package/lib/commonjs/components/PollQuestions.js.map +1 -1
  261. package/lib/commonjs/components/PollResponseProgressView.js.map +1 -1
  262. package/lib/commonjs/components/PollsAndQuizzesCard.js.map +1 -1
  263. package/lib/commonjs/components/PollsConfigAndList.js.map +1 -1
  264. package/lib/commonjs/components/PressableIcon.js +1 -1
  265. package/lib/commonjs/components/PressableIcon.js.map +1 -1
  266. package/lib/commonjs/components/Preview.js +1 -1
  267. package/lib/commonjs/components/Preview.js.map +1 -1
  268. package/lib/commonjs/components/PreviewForRoleChangeModal.js +1 -1
  269. package/lib/commonjs/components/PreviewForRoleChangeModal.js.map +1 -1
  270. package/lib/commonjs/components/PreviousPollsAndQuizzesList.js.map +1 -1
  271. package/lib/commonjs/components/QuizEndOptionsView.js.map +1 -1
  272. package/lib/commonjs/components/QuizLeaderboardEntriesScreen.js.map +1 -1
  273. package/lib/commonjs/components/QuizLeaderboardScreen.js.map +1 -1
  274. package/lib/commonjs/components/QuizLeaderboardSummary.js.map +1 -1
  275. package/lib/commonjs/components/RadioInput.js +1 -1
  276. package/lib/commonjs/components/RadioInput.js.map +1 -1
  277. package/lib/commonjs/components/RadioInputRow.js +1 -1
  278. package/lib/commonjs/components/RadioInputRow.js.map +1 -1
  279. package/lib/commonjs/components/ReconnectionView.js.map +1 -1
  280. package/lib/commonjs/components/RoomSettingsModalContent.js +42 -0
  281. package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
  282. package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js +1 -1
  283. package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js.map +1 -1
  284. package/lib/commonjs/components/StatusBar.js +1 -1
  285. package/lib/commonjs/components/StatusBar.js.map +1 -1
  286. package/lib/commonjs/components/StopRecordingModalContent.js.map +1 -1
  287. package/lib/commonjs/components/SwitchRow.js +1 -1
  288. package/lib/commonjs/components/SwitchRow.js.map +1 -1
  289. package/lib/commonjs/components/Tile.js +1 -1
  290. package/lib/commonjs/components/Tile.js.map +1 -1
  291. package/lib/commonjs/components/TilesContainer.js +1 -1
  292. package/lib/commonjs/components/TilesContainer.js.map +1 -1
  293. package/lib/commonjs/components/VirtualBackgroundModalContent.js +1 -1
  294. package/lib/commonjs/components/VirtualBackgroundModalContent.js.map +1 -1
  295. package/lib/commonjs/components/VoterParticipationSummary.js.map +1 -1
  296. package/lib/commonjs/components/WebrtcTranscriptOverlayView.js +121 -0
  297. package/lib/commonjs/components/WebrtcTranscriptOverlayView.js.map +1 -0
  298. package/lib/commonjs/components/WebrtcView.js +5 -2
  299. package/lib/commonjs/components/WebrtcView.js.map +1 -1
  300. package/lib/commonjs/components/WelcomeInMeeting.js.map +1 -1
  301. package/lib/commonjs/components/Whiteboard.js +1 -1
  302. package/lib/commonjs/components/Whiteboard.js.map +1 -1
  303. package/lib/commonjs/hooks-util.js +65 -8
  304. package/lib/commonjs/hooks-util.js.map +1 -1
  305. package/lib/commonjs/redux/actionTypes.js +3 -1
  306. package/lib/commonjs/redux/actionTypes.js.map +1 -1
  307. package/lib/commonjs/redux/actions/index.js +9 -2
  308. package/lib/commonjs/redux/actions/index.js.map +1 -1
  309. package/lib/commonjs/redux/index.js +1 -1
  310. package/lib/commonjs/redux/index.js.map +1 -1
  311. package/lib/commonjs/redux/reducers/appState.js +9 -1
  312. package/lib/commonjs/redux/reducers/appState.js.map +1 -1
  313. package/lib/commonjs/redux/reducers/index.js +1 -1
  314. package/lib/commonjs/redux/reducers/index.js.map +1 -1
  315. package/lib/commonjs/utils/functions.js +1 -1
  316. package/lib/commonjs/utils/functions.js.map +1 -1
  317. package/lib/commonjs/utils/hooks.js.map +1 -1
  318. package/lib/commonjs/utils/theme.js.map +1 -1
  319. package/lib/commonjs/utils/types.js +1 -0
  320. package/lib/commonjs/utils/types.js.map +1 -1
  321. package/lib/module/HMSRoomSetup.js.map +1 -1
  322. package/lib/module/Icons/100ms/index.js +1 -1
  323. package/lib/module/Icons/Add/index.js +1 -1
  324. package/lib/module/Icons/AddImage/index.js +1 -1
  325. package/lib/module/Icons/Alert/index.js +1 -1
  326. package/lib/module/Icons/AlertTriangle/index.js +1 -1
  327. package/lib/module/Icons/AnswerPhone/index.js +1 -1
  328. package/lib/module/Icons/BRB/index.js +1 -1
  329. package/lib/module/Icons/Bluetooth/index.js +1 -1
  330. package/lib/module/Icons/BlurPeople/index.js +1 -1
  331. package/lib/module/Icons/CC/index.js +1 -1
  332. package/lib/module/Icons/Camera/index.js +1 -1
  333. package/lib/module/Icons/Chat/index.js +1 -1
  334. package/lib/module/Icons/Check/index.js +1 -1
  335. package/lib/module/Icons/CheckBox/index.js +1 -1
  336. package/lib/module/Icons/Chevron/index.js +1 -1
  337. package/lib/module/Icons/Clock/index.js +1 -1
  338. package/lib/module/Icons/Close/index.js +1 -1
  339. package/lib/module/Icons/CrossCircle/index.js +1 -1
  340. package/lib/module/Icons/End/index.js +1 -1
  341. package/lib/module/Icons/Eye/index.js +1 -1
  342. package/lib/module/Icons/GenericLogo/index.js +1 -1
  343. package/lib/module/Icons/Hamburger/index.js +1 -1
  344. package/lib/module/Icons/Hand/index.js +1 -1
  345. package/lib/module/Icons/Headphones/index.js +1 -1
  346. package/lib/module/Icons/Leave/index.js +1 -1
  347. package/lib/module/Icons/Maximize/index.js +1 -1
  348. package/lib/module/Icons/Mic/index.js +1 -1
  349. package/lib/module/Icons/Minimize/index.js +1 -1
  350. package/lib/module/Icons/NetworkQuality/index.js +1 -1
  351. package/lib/module/Icons/NoEntry/index.js +1 -1
  352. package/lib/module/Icons/Participants/index.js +1 -1
  353. package/lib/module/Icons/Pause/index.js +1 -1
  354. package/lib/module/Icons/PauseCircle/index.js +1 -1
  355. package/lib/module/Icons/Pencil/index.js +1 -1
  356. package/lib/module/Icons/Person/index.js +1 -1
  357. package/lib/module/Icons/Pin/index.js +1 -1
  358. package/lib/module/Icons/Play/index.js +1 -1
  359. package/lib/module/Icons/Poll/index.js +1 -1
  360. package/lib/module/Icons/PollVote/index.js +1 -1
  361. package/lib/module/Icons/Quiz/index.js +1 -1
  362. package/lib/module/Icons/Radio/index.js +1 -1
  363. package/lib/module/Icons/Recording/index.js +1 -1
  364. package/lib/module/Icons/RotateCamera/index.js +1 -1
  365. package/lib/module/Icons/ScreenShare/index.js +1 -1
  366. package/lib/module/Icons/Search/index.js +1 -1
  367. package/lib/module/Icons/SeekArrow/index.js +1 -1
  368. package/lib/module/Icons/Send/index.js +1 -1
  369. package/lib/module/Icons/Settings/index.js +1 -1
  370. package/lib/module/Icons/Speaker/index.js +1 -1
  371. package/lib/module/Icons/Star/index.js +1 -1
  372. package/lib/module/Icons/Stop/index.js +1 -1
  373. package/lib/module/Icons/ThreeDots/index.js +1 -1
  374. package/lib/module/Icons/TrashBin/index.js +1 -1
  375. package/lib/module/Icons/VirtualBackground/index.js +1 -1
  376. package/lib/module/Icons/Wave/index.js +1 -1
  377. package/lib/module/Icons/WelcomeHand/index.js +1 -1
  378. package/lib/module/components/BottomSheet.js +1 -1
  379. package/lib/module/components/BottomSheet.js.map +1 -1
  380. package/lib/module/components/CaptionsModalContent.js +154 -0
  381. package/lib/module/components/CaptionsModalContent.js.map +1 -0
  382. package/lib/module/components/ChangeNameModalContent.js.map +1 -1
  383. package/lib/module/components/Chat/ChatBanner.js +2 -1
  384. package/lib/module/components/Chat/ChatBanner.js.map +1 -1
  385. package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -1
  386. package/lib/module/components/Chat/ChatFilterItem.js.map +1 -1
  387. package/lib/module/components/Chat/ChatFilterView.js +4 -1
  388. package/lib/module/components/Chat/ChatFilterView.js.map +1 -1
  389. package/lib/module/components/Chat/ChatMessage.js.map +1 -1
  390. package/lib/module/components/Chat/ChatMoreActionsView.js.map +1 -1
  391. package/lib/module/components/Chat/ChatPaused.js.map +1 -1
  392. package/lib/module/components/Chat/MessageOptionsView.js.map +1 -1
  393. package/lib/module/components/Chat/PeerBlockedFromChat.js.map +1 -1
  394. package/lib/module/components/Chat/PinnedMessages.js.map +1 -1
  395. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -1
  396. package/lib/module/components/CheckboxInputRow.js.map +1 -1
  397. package/lib/module/components/CompanyLogo.js +1 -1
  398. package/lib/module/components/CreatePoll.js.map +1 -1
  399. package/lib/module/components/CustomButton.js +1 -0
  400. package/lib/module/components/CustomButton.js.map +1 -1
  401. package/lib/module/components/DisplayView.js +2 -2
  402. package/lib/module/components/DisplayView.js.map +1 -1
  403. package/lib/module/components/EndRoomModalContent.js.map +1 -1
  404. package/lib/module/components/GridView.js.map +1 -1
  405. package/lib/module/components/HLSChatHeaderView.js.map +1 -1
  406. package/lib/module/components/HLSDescriptionPane.js.map +1 -1
  407. package/lib/module/components/HLSDescriptionPaneHeader.js.map +1 -1
  408. package/lib/module/components/HLSDistanceFromLive.js.map +1 -1
  409. package/lib/module/components/HLSGoLiveControl.js.map +1 -1
  410. package/lib/module/components/HLSPlayer.js.map +1 -1
  411. package/lib/module/components/HLSPlayerEmoticons.js.map +1 -1
  412. package/lib/module/components/HLSSeekbackwardControl.js.map +1 -1
  413. package/lib/module/components/HLSSeekforwardControl.js.map +1 -1
  414. package/lib/module/components/HLSStreamStartedTime.js.map +1 -1
  415. package/lib/module/components/HMSDangerButton.js.map +1 -1
  416. package/lib/module/components/HMSHLSMessage.js.map +1 -1
  417. package/lib/module/components/HMSHLSNotStarted.js.map +1 -1
  418. package/lib/module/components/HMSHLSStreamLoading.js.map +1 -1
  419. package/lib/module/components/HMSHandRaiseNotification.js.map +1 -1
  420. package/lib/module/components/HMSLiveIndicator.js.map +1 -1
  421. package/lib/module/components/HMSLiveViewerCount.js.map +1 -1
  422. package/lib/module/components/HMSManageAudioOutput.js.map +1 -1
  423. package/lib/module/components/HMSNotification.js +8 -1
  424. package/lib/module/components/HMSNotification.js.map +1 -1
  425. package/lib/module/components/HMSNotifications.js +1 -1
  426. package/lib/module/components/HMSNotifications.js.map +1 -1
  427. package/lib/module/components/HMSOverlayMessageView.js.map +1 -1
  428. package/lib/module/components/HMSPollsQuizzesNotification.js.map +1 -1
  429. package/lib/module/components/HMSPreviewHLSLiveIndicator.js +1 -0
  430. package/lib/module/components/HMSPreviewHLSLiveIndicator.js.map +1 -1
  431. package/lib/module/components/HMSPreviewPeersList.js.map +1 -1
  432. package/lib/module/components/HMSPreviewSubtitle.js.map +1 -1
  433. package/lib/module/components/HMSPreviewTile.js.map +1 -1
  434. package/lib/module/components/HMSPreviewTitle.js.map +1 -1
  435. package/lib/module/components/HMSPrimaryButton.js.map +1 -1
  436. package/lib/module/components/HMSRoleChangeDeclinedNotification.js.map +1 -1
  437. package/lib/module/components/HMSRoomOptions.js +6 -0
  438. package/lib/module/components/HMSRoomOptions.js.map +1 -1
  439. package/lib/module/components/HMSSecondaryButton.js.map +1 -1
  440. package/lib/module/components/HMSTerminalErrorNotification.js.map +1 -1
  441. package/lib/module/components/HMSTextInput.js +1 -1
  442. package/lib/module/components/HMSTextInput.js.map +1 -1
  443. package/lib/module/components/HMSVideoView.js +1 -1
  444. package/lib/module/components/LeaderboardEntry.js.map +1 -1
  445. package/lib/module/components/LeaveRoomBottomSheet.js.map +1 -1
  446. package/lib/module/components/MeetingScreenContent.js +18 -2
  447. package/lib/module/components/MeetingScreenContent.js.map +1 -1
  448. package/lib/module/components/MenuModal/MenuDivider.js +1 -0
  449. package/lib/module/components/MenuModal/MenuDivider.js.map +1 -1
  450. package/lib/module/components/MenuModal/MenuItem.js +1 -1
  451. package/lib/module/components/Modals.js.map +1 -1
  452. package/lib/module/components/Participants/MultiRoleParticipantsList.js.map +1 -1
  453. package/lib/module/components/Participants/ParticipantsAccordian.js.map +1 -1
  454. package/lib/module/components/Participants/ParticipantsGroupFooter.js.map +1 -1
  455. package/lib/module/components/Participants/ParticipantsGroupHeader.js.map +1 -1
  456. package/lib/module/components/Participants/ParticipantsItem.js.map +1 -1
  457. package/lib/module/components/Participants/ParticipantsItemOption.js.map +1 -1
  458. package/lib/module/components/Participants/ParticipantsItemOptions.js.map +1 -1
  459. package/lib/module/components/Participants/ParticipantsList.js +4 -1
  460. package/lib/module/components/Participants/ParticipantsList.js.map +1 -1
  461. package/lib/module/components/ParticipantsCount.js.map +1 -1
  462. package/lib/module/components/PeerDisplayView.js +1 -1
  463. package/lib/module/components/PeerDisplayView.js.map +1 -1
  464. package/lib/module/components/PeerMinimizedView.js.map +1 -1
  465. package/lib/module/components/PeerSettingsModalContent.js.map +1 -1
  466. package/lib/module/components/PeerVideoTile/AvatarView.js.map +1 -1
  467. package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
  468. package/lib/module/components/PeerVideoTile/PeerVideoTileView.js +2 -2
  469. package/lib/module/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
  470. package/lib/module/components/PeerVideoTile/VideoView.js.map +1 -1
  471. package/lib/module/components/PollAndQuizQuestionResponseCard.js.map +1 -1
  472. package/lib/module/components/PollAndQuizVoting.js.map +1 -1
  473. package/lib/module/components/PollAndQuizzStateLabel.js.map +1 -1
  474. package/lib/module/components/PollQuestion.js.map +1 -1
  475. package/lib/module/components/PollQuestionDeleteConfirmation.js.map +1 -1
  476. package/lib/module/components/PollQuestions.js.map +1 -1
  477. package/lib/module/components/PollResponseProgressView.js.map +1 -1
  478. package/lib/module/components/PollsAndQuizzesCard.js.map +1 -1
  479. package/lib/module/components/PollsConfigAndList.js.map +1 -1
  480. package/lib/module/components/PressableIcon.js +1 -1
  481. package/lib/module/components/PreviewForRoleChangeModal.js.map +1 -1
  482. package/lib/module/components/PreviousPollsAndQuizzesList.js.map +1 -1
  483. package/lib/module/components/QuizEndOptionsView.js.map +1 -1
  484. package/lib/module/components/QuizLeaderboardEntriesScreen.js.map +1 -1
  485. package/lib/module/components/QuizLeaderboardScreen.js.map +1 -1
  486. package/lib/module/components/QuizLeaderboardSummary.js.map +1 -1
  487. package/lib/module/components/RadioInputRow.js.map +1 -1
  488. package/lib/module/components/ReconnectionView.js.map +1 -1
  489. package/lib/module/components/RoomSettingsModalContent.js +45 -3
  490. package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
  491. package/lib/module/components/RoomSettingsModalDebugModeContent.js.map +1 -1
  492. package/lib/module/components/StatusBar.js +1 -1
  493. package/lib/module/components/StopRecordingModalContent.js.map +1 -1
  494. package/lib/module/components/VirtualBackgroundModalContent.js +1 -1
  495. package/lib/module/components/VirtualBackgroundModalContent.js.map +1 -1
  496. package/lib/module/components/VoterParticipationSummary.js.map +1 -1
  497. package/lib/module/components/WebrtcTranscriptOverlayView.js +113 -0
  498. package/lib/module/components/WebrtcTranscriptOverlayView.js.map +1 -0
  499. package/lib/module/components/WebrtcView.js +5 -2
  500. package/lib/module/components/WebrtcView.js.map +1 -1
  501. package/lib/module/components/WelcomeInMeeting.js.map +1 -1
  502. package/lib/module/components/Whiteboard.js +1 -1
  503. package/lib/module/hooks-util.js +69 -15
  504. package/lib/module/hooks-util.js.map +1 -1
  505. package/lib/module/redux/actionTypes.js +3 -1
  506. package/lib/module/redux/actionTypes.js.map +1 -1
  507. package/lib/module/redux/actions/index.js +6 -0
  508. package/lib/module/redux/actions/index.js.map +1 -1
  509. package/lib/module/redux/reducers/appState.js +9 -1
  510. package/lib/module/redux/reducers/appState.js.map +1 -1
  511. package/lib/module/utils/hooks.js.map +1 -1
  512. package/lib/module/utils/theme.js.map +1 -1
  513. package/lib/module/utils/types.js +1 -0
  514. package/lib/module/utils/types.js.map +1 -1
  515. package/lib/typescript/components/CaptionsModalContent.d.ts +6 -0
  516. package/lib/typescript/components/CaptionsModalContent.d.ts.map +1 -0
  517. package/lib/typescript/components/Chat/ChatBanner.d.ts +1 -1
  518. package/lib/typescript/components/Chat/ChatBanner.d.ts.map +1 -1
  519. package/lib/typescript/components/CustomButton.d.ts.map +1 -1
  520. package/lib/typescript/components/HMSPreviewHLSLiveIndicator.d.ts.map +1 -1
  521. package/lib/typescript/components/HMSRoomOptions.d.ts.map +1 -1
  522. package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -1
  523. package/lib/typescript/components/MenuModal/MenuDivider.d.ts.map +1 -1
  524. package/lib/typescript/components/Modals.d.ts +1 -1
  525. package/lib/typescript/components/Modals.d.ts.map +1 -1
  526. package/lib/typescript/components/Participants/ParticipantsList.d.ts.map +1 -1
  527. package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -1
  528. package/lib/typescript/components/WebrtcTranscriptOverlayView.d.ts +7 -0
  529. package/lib/typescript/components/WebrtcTranscriptOverlayView.d.ts.map +1 -0
  530. package/lib/typescript/components/WebrtcView.d.ts.map +1 -1
  531. package/lib/typescript/hooks-sdk-selectors.d.ts +2 -2
  532. package/lib/typescript/hooks-sdk.d.ts.map +1 -1
  533. package/lib/typescript/hooks-util.d.ts +8 -9
  534. package/lib/typescript/hooks-util.d.ts.map +1 -1
  535. package/lib/typescript/redux/actionTypes.d.ts +1 -0
  536. package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
  537. package/lib/typescript/redux/actions/index.d.ts +45 -39
  538. package/lib/typescript/redux/actions/index.d.ts.map +1 -1
  539. package/lib/typescript/redux/index.d.ts +14 -15
  540. package/lib/typescript/redux/index.d.ts.map +1 -1
  541. package/lib/typescript/redux/reducers/appState.d.ts +1 -0
  542. package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
  543. package/lib/typescript/redux/reducers/index.d.ts +14 -15
  544. package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
  545. package/lib/typescript/types.d.ts +3 -3
  546. package/lib/typescript/types.d.ts.map +1 -1
  547. package/lib/typescript/utils/dimension.d.ts.map +1 -1
  548. package/lib/typescript/utils/functions.d.ts +1 -1
  549. package/lib/typescript/utils/functions.d.ts.map +1 -1
  550. package/lib/typescript/utils/hooks.d.ts +2 -2
  551. package/lib/typescript/utils/types.d.ts +1 -0
  552. package/lib/typescript/utils/types.d.ts.map +1 -1
  553. package/lib/typescript/utils.d.ts.map +1 -1
  554. package/package.json +2 -2
  555. package/src/components/CaptionsModalContent.tsx +217 -0
  556. package/src/components/Chat/ChatBanner.tsx +2 -2
  557. package/src/components/Chat/ChatFilterView.tsx +1 -1
  558. package/src/components/CustomButton.tsx +1 -0
  559. package/src/components/DisplayView.tsx +2 -2
  560. package/src/components/HMSNotification.tsx +3 -2
  561. package/src/components/HMSNotifications.tsx +1 -1
  562. package/src/components/HMSPreviewHLSLiveIndicator.tsx +1 -0
  563. package/src/components/HMSRoomOptions.tsx +8 -0
  564. package/src/components/MeetingScreenContent.tsx +23 -2
  565. package/src/components/MenuModal/MenuDivider.tsx +1 -0
  566. package/src/components/Participants/ParticipantsList.tsx +3 -1
  567. package/src/components/PeerDisplayView.tsx +1 -1
  568. package/src/components/PeerVideoTile/PeerVideoTileView.tsx +2 -2
  569. package/src/components/RoomSettingsModalContent.tsx +61 -2
  570. package/src/components/VirtualBackgroundModalContent.tsx +1 -1
  571. package/src/components/WebrtcTranscriptOverlayView.tsx +176 -0
  572. package/src/components/WebrtcView.tsx +5 -2
  573. package/src/hooks-util.ts +113 -40
  574. package/src/redux/actionTypes.ts +3 -0
  575. package/src/redux/actions/index.ts +5 -0
  576. package/src/redux/reducers/appState.ts +8 -0
  577. package/src/types.ts +8 -3
  578. package/src/utils/types.ts +1 -0
@@ -1,21 +1,18 @@
1
- import { HMSConfig, HMSMessage, HMSMessageRecipientType, HMSPIPListenerActions, HMSPeerUpdate, HMSRoomUpdate, HMSTrackSource, HMSTrackType, HMSTrackUpdate, HMSUpdateListenerActions, HMSMessageRecipient, useHMSHLSPlayerResolution, useHmsViewsResolutionsState, setSoftInputMode, getSoftInputMode, WindowController, useHMSHLSPlayerCue, HMSPollUpdateType, useHMSHLSPlayerPlaybackState, HMSHLSPlayerPlaybackState } from '@100mslive/react-native-hms';
2
- import { SoftInputModes } from '@100mslive/react-native-hms';
1
+ import { getSoftInputMode, HMSConfig, HMSHLSPlayerPlaybackState, HMSMessage, HMSMessageRecipient, HMSMessageRecipientType, HMSPeerUpdate, HMSPIPListenerActions, HMSPollUpdateType, HMSRoomUpdate, HMSTrackSource, HMSTrackType, HMSTrackUpdate, HMSUpdateListenerActions, HMSVideoViewMode, setSoftInputMode, SoftInputModes, TranscriptionsMode, TranscriptionState, useHMSHLSPlayerCue, useHMSHLSPlayerPlaybackState, useHMSHLSPlayerResolution, useHmsViewsResolutionsState, WindowController } from '@100mslive/react-native-hms';
3
2
  import Toast from 'react-native-simple-toast';
4
- import { useRef, useCallback, useEffect, useState, useMemo, useContext } from 'react';
5
- import { MaxTilesInOnePage, ModalTypes, OnLeaveReason, PeerListRefreshInterval, PipModes } from './utils/types';
6
- import { ChatBroadcastFilter } from './utils/types';
3
+ import { useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';
4
+ import { ChatBroadcastFilter, MaxTilesInOnePage, ModalTypes, OnLeaveReason, PeerListRefreshInterval, PipModes } from './utils/types';
7
5
  import { createPeerTrackNode, parseMetadata } from './utils/functions';
8
6
  import { batch, shallowEqual, useDispatch, useSelector, useStore } from 'react-redux';
9
- import { addCuedPollId, addMessage, addNotification, addParticipant, addParticipants, addPinnedMessages, addScreenshareTile, addUpdateParticipant, changeMeetingState, changePipModeStatus, changeStartingHLSStream, clearStore, filterOutMsgsFromBlockedPeers, removeNotification, removeParticipant, removeParticipants, removeScreenshareTile, replaceParticipantsList, saveUserData, setActiveChatBottomSheetTab, setActiveSpeakers, setAndroidHLSStreamPaused, setAutoEnterPipMode, setChatPeerBlacklist, setChatState, setEditUsernameDisabled, setFullScreenPeerTrackNode, setHMSLocalPeerState, setHMSRoleState, setHMSRoomState, setHandleBackButton, setIsLocalAudioMutedState, setIsLocalVideoMutedState, setLayoutConfig, setLocalPeerTrackNode, setMiniViewPeerTrackNode, setModalType, setOnLeaveHandler, setPrebuiltData, setReconnecting, setRoleChangeRequest, setStartingOrStoppingRecording, updateFullScreenPeerTrackNode, updateLocalPeerTrackNode, updateMiniViewPeerTrackNode, updateScreenshareTile } from './redux/actions';
7
+ import { addCuedPollId, addMessage, addNotification, addParticipant, addParticipants, addPinnedMessages, addScreenshareTile, addUpdateParticipant, changeMeetingState, changePipModeStatus, changeStartingHLSStream, clearStore, filterOutMsgsFromBlockedPeers, removeNotification, removeParticipant, removeParticipants, removeScreenshareTile, replaceParticipantsList, saveUserData, setActiveChatBottomSheetTab, setActiveSpeakers, setAndroidHLSStreamPaused, setAutoEnterPipMode, setChatPeerBlacklist, setChatState, setEditUsernameDisabled, setFullScreenPeerTrackNode, setHandleBackButton, setHMSLocalPeerState, setHMSRoleState, setHMSRoomState, setIsLocalAudioMutedState, setIsLocalVideoMutedState, setLayoutConfig, setLocalPeerTrackNode, setMiniViewPeerTrackNode, setModalType, setOnLeaveHandler, setPrebuiltData, setReconnecting, setRoleChangeRequest, setStartingOrStoppingRecording, updateFullScreenPeerTrackNode, updateLocalPeerTrackNode, updateMiniViewPeerTrackNode, updateScreenshareTile } from './redux/actions';
10
8
  import { createPeerTrackNodeUniqueId, degradeOrRestorePeerTrackNodes, peerTrackNodeExistForPeer, peerTrackNodeExistForPeerAndTrack, removePeerTrackNodes, removePeerTrackNodesWithTrack, replacePeerTrackNodes, replacePeerTrackNodesWithTrack } from './peerTrackNodeUtils';
11
- import { MeetingState } from './types';
9
+ import { MeetingState, NotificationTypes } from './types';
12
10
  import { BackHandler, InteractionManager, Keyboard, Platform } from 'react-native';
13
11
  import { NavigationContext } from '@react-navigation/native';
14
12
  import { useIsLandscapeOrientation, useIsPortraitOrientation } from './utils/dimension';
15
13
  import { selectChatLayoutConfig, selectConferencingScreenConfig, selectIsHLSViewer, selectLayoutConfigForRole, selectShouldGoLive, selectVideoTileLayoutConfig } from './hooks-util-selectors';
16
14
  import { getRoomLayout } from './modules/HMSManager';
17
15
  import { DEFAULT_THEME, DEFAULT_TYPOGRAPHY } from './utils/theme';
18
- import { NotificationTypes } from './types';
19
16
  import { KeyboardState, useSharedValue } from 'react-native-reanimated';
20
17
  import { useCanPublishAudio, useCanPublishScreen, useCanPublishVideo, useHMSActions } from './hooks-sdk';
21
18
  import { useSafeAreaFrame, useSafeAreaInsets } from 'react-native-safe-area-context';
@@ -44,6 +41,43 @@ const useHMSRoomUpdate = hmsInstance => {
44
41
  }
45
42
  } else if (type === HMSRoomUpdate.HLS_STREAMING_STATE_UPDATED) {
46
43
  dispatch(changeStartingHLSStream(false));
44
+ } else if (type === HMSRoomUpdate.TRANSCRIPTIONS_UPDATED) {
45
+ var _room$transcriptions;
46
+ const captionTranscription = (_room$transcriptions = room.transcriptions) === null || _room$transcriptions === void 0 ? void 0 : _room$transcriptions.find(transcription => transcription.mode === TranscriptionsMode.CAPTION);
47
+ if ((captionTranscription === null || captionTranscription === void 0 ? void 0 : captionTranscription.state) === TranscriptionState.STARTED) {
48
+ batch(() => {
49
+ dispatch(removeNotification('enable-cc'));
50
+ dispatch(addNotification({
51
+ id: Math.random().toString(16).slice(2),
52
+ type: NotificationTypes.INFO,
53
+ icon: 'cc',
54
+ title: 'Closed Captioning enabled for everyone'
55
+ }));
56
+ });
57
+ } else if ((captionTranscription === null || captionTranscription === void 0 ? void 0 : captionTranscription.state) === TranscriptionState.STOPPED) {
58
+ batch(() => {
59
+ dispatch(removeNotification('disable-cc'));
60
+ dispatch(addNotification({
61
+ id: Math.random().toString(16).slice(2),
62
+ type: NotificationTypes.INFO,
63
+ icon: 'cc',
64
+ title: 'Closed Captioning disabled for everyone'
65
+ }));
66
+ });
67
+ } else if ((captionTranscription === null || captionTranscription === void 0 ? void 0 : captionTranscription.state) === TranscriptionState.FAILED) {
68
+ const transcriptionError = captionTranscription.error;
69
+ batch(() => {
70
+ dispatch(removeNotification('enable-cc'));
71
+ dispatch(removeNotification('disable-cc'));
72
+ if (transcriptionError !== undefined) {
73
+ dispatch(addNotification({
74
+ id: Math.random().toString(16).slice(2),
75
+ title: transcriptionError.message || 'Failed to enable/disable Closed Captions',
76
+ type: NotificationTypes.ERROR
77
+ }));
78
+ }
79
+ });
80
+ }
47
81
  }
48
82
  };
49
83
  hmsInstance.addEventListener(HMSUpdateListenerActions.ON_ROOM_UPDATE, roomUpdateHandler);
@@ -429,6 +463,7 @@ const useHMSTrackUpdate = (hmsInstance, updateLocalPeer, setPeerTrackNodes) => {
429
463
  var _peer$audioTrack, _peer$videoTrack;
430
464
  if (track.source === HMSTrackSource.SCREEN) {
431
465
  if (!peer.isLocal && track.type === HMSTrackType.VIDEO) {
466
+ hmsInstance.setActiveSpeakerInIOSPIP(true);
432
467
  const screensharePeerTrackNodes = reduxState.app.screensharePeerTrackNodes;
433
468
  const nodeToRemove = screensharePeerTrackNodes.find(node => {
434
469
  var _node$track;
@@ -982,10 +1017,20 @@ export const useHMSNetworkQualityUpdate = () => {
982
1017
  return () => hmsInstance.disableNetworkQualityUpdates();
983
1018
  }, [hmsInstance]);
984
1019
  };
1020
+ const pipConfig = {
1021
+ scaleType: HMSVideoViewMode.ASPECT_FILL,
1022
+ aspectRatio: [9, 16],
1023
+ autoEnterPipMode: true,
1024
+ useActiveSpeaker: true,
1025
+ endButton: false,
1026
+ audioButton: false,
1027
+ videoButton: false
1028
+ };
985
1029
  export const useEnableAutoPip = () => {
986
1030
  const hmsInstance = useHMSInstance();
987
1031
  const enableAutoPip = useCallback(data => {
988
1032
  hmsInstance.setPipParams({
1033
+ ...pipConfig,
989
1034
  ...data,
990
1035
  autoEnterPipMode: true
991
1036
  });
@@ -996,6 +1041,7 @@ export const useDisableAutoPip = () => {
996
1041
  const hmsInstance = useHMSInstance();
997
1042
  const disableAutoPip = useCallback(data => {
998
1043
  hmsInstance.setPipParams({
1044
+ ...pipConfig,
999
1045
  ...data,
1000
1046
  autoEnterPipMode: false
1001
1047
  });
@@ -1014,9 +1060,12 @@ export const useAutoPip = oneToOneCall => {
1014
1060
  useEffect(() => {
1015
1061
  if (autoEnterPipMode && remotePeersPresent) {
1016
1062
  enableAutoPip({
1063
+ scaleType: HMSVideoViewMode.ASPECT_FILL,
1017
1064
  aspectRatio: [numerator, denominator]
1018
1065
  });
1019
- return disableAutoPip;
1066
+ return () => {
1067
+ disableAutoPip({});
1068
+ };
1020
1069
  }
1021
1070
  }, [remotePeersPresent, numerator, denominator, autoEnterPipMode, enableAutoPip, disableAutoPip]);
1022
1071
  };
@@ -1034,7 +1083,7 @@ export const usePipAspectRatio = oneToOneCall => {
1034
1083
  if (isHLSViewer && hlsPlayerResolution) {
1035
1084
  return [hlsPlayerResolution.width, hlsPlayerResolution.height];
1036
1085
  }
1037
- // When user is hlsviewer and we don't have stream resolution
1086
+ // When user is hlsviewer, and we don't have stream resolution
1038
1087
  if (isHLSViewer) {
1039
1088
  return [9, 16];
1040
1089
  }
@@ -1047,7 +1096,11 @@ export const usePipAspectRatio = oneToOneCall => {
1047
1096
  return [9, 16];
1048
1097
  }
1049
1098
  // default aspect ratio
1050
- return [16, 9];
1099
+ return Platform.select({
1100
+ ios: [9, 16],
1101
+ android: [16, 9],
1102
+ default: [16, 9]
1103
+ });
1051
1104
  }, [isHLSViewer, firstSSNodeId, oneToOneCall, ssResolution, hlsPlayerResolution]);
1052
1105
  return aspectRatio;
1053
1106
  };
@@ -1400,7 +1453,10 @@ export const useFilteredParticipants = filterText => {
1400
1453
  const filteredHandRaisedPeers = [];
1401
1454
  sortedRoles.forEach(role => {
1402
1455
  const list = groupedParticipants[role.name];
1403
- const filteredList = Array.isArray(list) && formattedSearchText.length > 0 ? list.filter(peer => peer.name.toLowerCase().includes(formattedSearchText)) : list;
1456
+ const filteredList = Array.isArray(list) && formattedSearchText.length > 0 ? list.filter(peer => {
1457
+ var _peer$name;
1458
+ return (_peer$name = peer.name) === null || _peer$name === void 0 ? void 0 : _peer$name.toLowerCase().includes(formattedSearchText);
1459
+ }) : list;
1404
1460
  if (Array.isArray(filteredList) && filteredList.length > 0) {
1405
1461
  filteredHandRaisedPeers.push(filteredList);
1406
1462
  const offStageRoleTotalCount = offStageParticipantsTotalCounts[role.name];
@@ -1789,9 +1845,7 @@ export const useSavePropsToStore = (props, dispatch) => {
1789
1845
  }
1790
1846
  }, [handleBackButton]);
1791
1847
  useEffect(() => {
1792
- if (Platform.OS === 'android') {
1793
- dispatch(setAutoEnterPipMode(autoEnterPipMode));
1794
- }
1848
+ dispatch(setAutoEnterPipMode(autoEnterPipMode));
1795
1849
  }, [autoEnterPipMode]);
1796
1850
  };
1797
1851
  export const useStartRecording = () => {