@100mslive/react-native-room-kit 1.1.5 → 1.1.7

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 (504) hide show
  1. package/lib/commonjs/Icons/CC/assets/cc-off-med.png +0 -0
  2. package/lib/commonjs/Icons/CC/assets/cc-off-med@2x.png +0 -0
  3. package/lib/commonjs/Icons/CC/assets/cc-off-med@3x.png +0 -0
  4. package/lib/commonjs/Icons/CC/assets/cc-on-med.png +0 -0
  5. package/lib/commonjs/Icons/CC/assets/cc-on-med@2x.png +0 -0
  6. package/lib/commonjs/Icons/CC/assets/cc-on-med@3x.png +0 -0
  7. package/lib/commonjs/Icons/CC/index.js +39 -0
  8. package/lib/commonjs/Icons/CC/index.js.map +1 -0
  9. package/lib/commonjs/Icons/Close/assets/close-med.png +0 -0
  10. package/lib/commonjs/Icons/Close/assets/close-med@2x.png +0 -0
  11. package/lib/commonjs/Icons/Close/assets/close-med@3x.png +0 -0
  12. package/lib/commonjs/Icons/Close/index.js +7 -2
  13. package/lib/commonjs/Icons/Close/index.js.map +1 -1
  14. package/lib/commonjs/Icons/Maximize/assets/maximize-med.png +0 -0
  15. package/lib/commonjs/Icons/Maximize/assets/maximize-med@2x.png +0 -0
  16. package/lib/commonjs/Icons/Maximize/assets/maximize-med@3x.png +0 -0
  17. package/lib/commonjs/Icons/Maximize/index.js +7 -2
  18. package/lib/commonjs/Icons/Maximize/index.js.map +1 -1
  19. package/lib/commonjs/Icons/Minimize/assets/minimize-med.png +0 -0
  20. package/lib/commonjs/Icons/Minimize/assets/minimize-med@2x.png +0 -0
  21. package/lib/commonjs/Icons/Minimize/assets/minimize-med@3x.png +0 -0
  22. package/lib/commonjs/Icons/Minimize/index.js +7 -2
  23. package/lib/commonjs/Icons/Minimize/index.js.map +1 -1
  24. package/lib/commonjs/Icons/Pause/assets/pause-med.png +0 -0
  25. package/lib/commonjs/Icons/Pause/assets/pause-med@2x.png +0 -0
  26. package/lib/commonjs/Icons/Pause/assets/pause-med@3x.png +0 -0
  27. package/lib/commonjs/Icons/Pause/index.js +35 -0
  28. package/lib/commonjs/Icons/Pause/index.js.map +1 -0
  29. package/lib/commonjs/Icons/Play/assets/play-med.png +0 -0
  30. package/lib/commonjs/Icons/Play/assets/play-med@2x.png +0 -0
  31. package/lib/commonjs/Icons/Play/assets/play-med@3x.png +0 -0
  32. package/lib/commonjs/Icons/Play/index.js +35 -0
  33. package/lib/commonjs/Icons/Play/index.js.map +1 -0
  34. package/lib/commonjs/Icons/SeekArrow/assets/seek-backward-arrow.png +0 -0
  35. package/lib/commonjs/Icons/SeekArrow/assets/seek-backward-arrow@2x.png +0 -0
  36. package/lib/commonjs/Icons/SeekArrow/assets/seek-backward-arrow@3x.png +0 -0
  37. package/lib/commonjs/Icons/SeekArrow/assets/seek-forward-arrow.png +0 -0
  38. package/lib/commonjs/Icons/SeekArrow/assets/seek-forward-arrow@2x.png +0 -0
  39. package/lib/commonjs/Icons/SeekArrow/assets/seek-forward-arrow@3x.png +0 -0
  40. package/lib/commonjs/Icons/SeekArrow/index.js +34 -0
  41. package/lib/commonjs/Icons/SeekArrow/index.js.map +1 -0
  42. package/lib/commonjs/Icons/index.js +44 -0
  43. package/lib/commonjs/Icons/index.js.map +1 -1
  44. package/lib/commonjs/components/AnimatedHeader.js +1 -11
  45. package/lib/commonjs/components/AnimatedHeader.js.map +1 -1
  46. package/lib/commonjs/components/Chat/ChatBanner.js +1 -0
  47. package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -1
  48. package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js +10 -7
  49. package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -1
  50. package/lib/commonjs/components/Chat/ChatList.js +4 -2
  51. package/lib/commonjs/components/Chat/ChatList.js.map +1 -1
  52. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js +2 -1
  53. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -1
  54. package/lib/commonjs/components/DisplayView.js +1 -9
  55. package/lib/commonjs/components/DisplayView.js.map +1 -1
  56. package/lib/commonjs/components/Footer.js +7 -44
  57. package/lib/commonjs/components/Footer.js.map +1 -1
  58. package/lib/commonjs/components/HLSAnimatedDescriptionPane.js +30 -0
  59. package/lib/commonjs/components/HLSAnimatedDescriptionPane.js.map +1 -0
  60. package/lib/commonjs/components/HLSChatFooterView.js +51 -0
  61. package/lib/commonjs/components/HLSChatFooterView.js.map +1 -0
  62. package/lib/commonjs/components/HLSChatHeaderView.js +130 -0
  63. package/lib/commonjs/components/HLSChatHeaderView.js.map +1 -0
  64. package/lib/commonjs/components/HLSChatMessages.js +54 -0
  65. package/lib/commonjs/components/HLSChatMessages.js.map +1 -0
  66. package/lib/commonjs/components/HLSChatView.js +49 -0
  67. package/lib/commonjs/components/HLSChatView.js.map +1 -0
  68. package/lib/commonjs/components/HLSCloseMeetingControl.js +41 -0
  69. package/lib/commonjs/components/HLSCloseMeetingControl.js.map +1 -0
  70. package/lib/commonjs/components/HLSClosedCaptionControl.js +109 -0
  71. package/lib/commonjs/components/HLSClosedCaptionControl.js.map +1 -0
  72. package/lib/commonjs/components/HLSDescriptionPane.js +145 -0
  73. package/lib/commonjs/components/HLSDescriptionPane.js.map +1 -0
  74. package/lib/commonjs/components/HLSDescriptionPaneHeader.js +70 -0
  75. package/lib/commonjs/components/HLSDescriptionPaneHeader.js.map +1 -0
  76. package/lib/commonjs/components/HLSDistanceFromLive.js +56 -0
  77. package/lib/commonjs/components/HLSDistanceFromLive.js.map +1 -0
  78. package/lib/commonjs/components/HLSFooter.js +1 -1
  79. package/lib/commonjs/components/HLSFooter.js.map +1 -1
  80. package/lib/commonjs/components/HLSFullScreenControl.js +42 -0
  81. package/lib/commonjs/components/HLSFullScreenControl.js.map +1 -0
  82. package/lib/commonjs/components/HLSGoLiveControl.js +78 -0
  83. package/lib/commonjs/components/HLSGoLiveControl.js.map +1 -0
  84. package/lib/commonjs/components/HLSHandRaiseButton.js +38 -0
  85. package/lib/commonjs/components/HLSHandRaiseButton.js.map +1 -0
  86. package/lib/commonjs/components/HLSManageChatTextInput.js +90 -0
  87. package/lib/commonjs/components/HLSManageChatTextInput.js.map +1 -0
  88. package/lib/commonjs/components/HLSNotifications.js +32 -0
  89. package/lib/commonjs/components/HLSNotifications.js.map +1 -0
  90. package/lib/commonjs/components/HLSPlayPauseControl.js +62 -0
  91. package/lib/commonjs/components/HLSPlayPauseControl.js.map +1 -0
  92. package/lib/commonjs/components/HLSPlayer.js +193 -0
  93. package/lib/commonjs/components/HLSPlayer.js.map +1 -0
  94. package/lib/commonjs/components/HLSPlayerContainer.js +123 -0
  95. package/lib/commonjs/components/HLSPlayerContainer.js.map +1 -0
  96. package/lib/commonjs/components/HLSPlayerControls.js +130 -0
  97. package/lib/commonjs/components/HLSPlayerControls.js.map +1 -0
  98. package/lib/commonjs/components/HLSRecordingStatusText.js +31 -0
  99. package/lib/commonjs/components/HLSRecordingStatusText.js.map +1 -0
  100. package/lib/commonjs/components/HLSRoomOptionsButton.js +25 -0
  101. package/lib/commonjs/components/HLSRoomOptionsButton.js.map +1 -0
  102. package/lib/commonjs/components/HLSSeekbackwardControl.js +67 -0
  103. package/lib/commonjs/components/HLSSeekbackwardControl.js.map +1 -0
  104. package/lib/commonjs/components/HLSSeekbar.js +285 -0
  105. package/lib/commonjs/components/HLSSeekbar.js.map +1 -0
  106. package/lib/commonjs/components/HLSSeekforwardControl.js +71 -0
  107. package/lib/commonjs/components/HLSSeekforwardControl.js.map +1 -0
  108. package/lib/commonjs/components/HLSStreamStartedTime.js +69 -0
  109. package/lib/commonjs/components/HLSStreamStartedTime.js.map +1 -0
  110. package/lib/commonjs/components/HLSViewerScreenContent.js +61 -0
  111. package/lib/commonjs/components/HLSViewerScreenContent.js.map +1 -0
  112. package/lib/commonjs/components/HMSHLSMessage.js +19 -41
  113. package/lib/commonjs/components/HMSHLSMessage.js.map +1 -1
  114. package/lib/commonjs/components/HMSHLSMessageList.js +2 -2
  115. package/lib/commonjs/components/HMSHLSMessageList.js.map +1 -1
  116. package/lib/commonjs/components/HMSHLSNotStarted.js +15 -7
  117. package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -1
  118. package/lib/commonjs/components/HMSKeyboardAvoidingView.js +5 -1
  119. package/lib/commonjs/components/HMSKeyboardAvoidingView.js.map +1 -1
  120. package/lib/commonjs/components/HMSLiveViewerCount.js +2 -4
  121. package/lib/commonjs/components/HMSLiveViewerCount.js.map +1 -1
  122. package/lib/commonjs/components/HMSNotification.js +3 -2
  123. package/lib/commonjs/components/HMSNotification.js.map +1 -1
  124. package/lib/commonjs/components/HMSNotifications.js +3 -1
  125. package/lib/commonjs/components/HMSNotifications.js.map +1 -1
  126. package/lib/commonjs/components/HMSOverlayChatView.js +7 -4
  127. package/lib/commonjs/components/HMSOverlayChatView.js.map +1 -1
  128. package/lib/commonjs/components/HMSOverlayMessageView.js +150 -0
  129. package/lib/commonjs/components/HMSOverlayMessageView.js.map +1 -0
  130. package/lib/commonjs/components/Meeting.js +3 -1
  131. package/lib/commonjs/components/Meeting.js.map +1 -1
  132. package/lib/commonjs/components/MeetingScreenContent.js +2 -9
  133. package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
  134. package/lib/commonjs/components/OverlayedViews.js +1 -1
  135. package/lib/commonjs/components/OverlayedViews.js.map +1 -1
  136. package/lib/commonjs/components/Participants/ParticipantsList.js +4 -4
  137. package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -1
  138. package/lib/commonjs/components/PressableIcon.js +1 -2
  139. package/lib/commonjs/components/PressableIcon.js.map +1 -1
  140. package/lib/commonjs/hooks-util.js +156 -5
  141. package/lib/commonjs/hooks-util.js.map +1 -1
  142. package/lib/commonjs/redux/actionTypes.js +6 -0
  143. package/lib/commonjs/redux/actionTypes.js.map +1 -1
  144. package/lib/commonjs/redux/actions/index.js +24 -3
  145. package/lib/commonjs/redux/actions/index.js.map +1 -1
  146. package/lib/commonjs/redux/reducers/appState.js +25 -1
  147. package/lib/commonjs/redux/reducers/appState.js.map +1 -1
  148. package/lib/module/Icons/CC/assets/cc-off-med.png +0 -0
  149. package/lib/module/Icons/CC/assets/cc-off-med@2x.png +0 -0
  150. package/lib/module/Icons/CC/assets/cc-off-med@3x.png +0 -0
  151. package/lib/module/Icons/CC/assets/cc-on-med.png +0 -0
  152. package/lib/module/Icons/CC/assets/cc-on-med@2x.png +0 -0
  153. package/lib/module/Icons/CC/assets/cc-on-med@3x.png +0 -0
  154. package/lib/module/Icons/CC/index.js +31 -0
  155. package/lib/module/Icons/CC/index.js.map +1 -0
  156. package/lib/module/Icons/Close/assets/close-med.png +0 -0
  157. package/lib/module/Icons/Close/assets/close-med@2x.png +0 -0
  158. package/lib/module/Icons/Close/assets/close-med@3x.png +0 -0
  159. package/lib/module/Icons/Close/index.js +7 -2
  160. package/lib/module/Icons/Close/index.js.map +1 -1
  161. package/lib/module/Icons/Maximize/assets/maximize-med.png +0 -0
  162. package/lib/module/Icons/Maximize/assets/maximize-med@2x.png +0 -0
  163. package/lib/module/Icons/Maximize/assets/maximize-med@3x.png +0 -0
  164. package/lib/module/Icons/Maximize/index.js +7 -2
  165. package/lib/module/Icons/Maximize/index.js.map +1 -1
  166. package/lib/module/Icons/Minimize/assets/minimize-med.png +0 -0
  167. package/lib/module/Icons/Minimize/assets/minimize-med@2x.png +0 -0
  168. package/lib/module/Icons/Minimize/assets/minimize-med@3x.png +0 -0
  169. package/lib/module/Icons/Minimize/index.js +7 -2
  170. package/lib/module/Icons/Minimize/index.js.map +1 -1
  171. package/lib/module/Icons/Pause/assets/pause-med.png +0 -0
  172. package/lib/module/Icons/Pause/assets/pause-med@2x.png +0 -0
  173. package/lib/module/Icons/Pause/assets/pause-med@3x.png +0 -0
  174. package/lib/module/Icons/Pause/index.js +27 -0
  175. package/lib/module/Icons/Pause/index.js.map +1 -0
  176. package/lib/module/Icons/Play/assets/play-med.png +0 -0
  177. package/lib/module/Icons/Play/assets/play-med@2x.png +0 -0
  178. package/lib/module/Icons/Play/assets/play-med@3x.png +0 -0
  179. package/lib/module/Icons/Play/index.js +27 -0
  180. package/lib/module/Icons/Play/index.js.map +1 -0
  181. package/lib/module/Icons/SeekArrow/assets/seek-backward-arrow.png +0 -0
  182. package/lib/module/Icons/SeekArrow/assets/seek-backward-arrow@2x.png +0 -0
  183. package/lib/module/Icons/SeekArrow/assets/seek-backward-arrow@3x.png +0 -0
  184. package/lib/module/Icons/SeekArrow/assets/seek-forward-arrow.png +0 -0
  185. package/lib/module/Icons/SeekArrow/assets/seek-forward-arrow@2x.png +0 -0
  186. package/lib/module/Icons/SeekArrow/assets/seek-forward-arrow@3x.png +0 -0
  187. package/lib/module/Icons/SeekArrow/index.js +26 -0
  188. package/lib/module/Icons/SeekArrow/index.js.map +1 -0
  189. package/lib/module/Icons/index.js +4 -0
  190. package/lib/module/Icons/index.js.map +1 -1
  191. package/lib/module/components/AnimatedHeader.js +1 -11
  192. package/lib/module/components/AnimatedHeader.js.map +1 -1
  193. package/lib/module/components/Chat/ChatBanner.js +1 -0
  194. package/lib/module/components/Chat/ChatBanner.js.map +1 -1
  195. package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js +10 -7
  196. package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -1
  197. package/lib/module/components/Chat/ChatList.js +4 -2
  198. package/lib/module/components/Chat/ChatList.js.map +1 -1
  199. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js +3 -2
  200. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -1
  201. package/lib/module/components/DisplayView.js +3 -11
  202. package/lib/module/components/DisplayView.js.map +1 -1
  203. package/lib/module/components/Footer.js +9 -46
  204. package/lib/module/components/Footer.js.map +1 -1
  205. package/lib/module/components/HLSAnimatedDescriptionPane.js +21 -0
  206. package/lib/module/components/HLSAnimatedDescriptionPane.js.map +1 -0
  207. package/lib/module/components/HLSChatFooterView.js +42 -0
  208. package/lib/module/components/HLSChatFooterView.js.map +1 -0
  209. package/lib/module/components/HLSChatHeaderView.js +121 -0
  210. package/lib/module/components/HLSChatHeaderView.js.map +1 -0
  211. package/lib/module/components/HLSChatMessages.js +45 -0
  212. package/lib/module/components/HLSChatMessages.js.map +1 -0
  213. package/lib/module/components/HLSChatView.js +40 -0
  214. package/lib/module/components/HLSChatView.js.map +1 -0
  215. package/lib/module/components/HLSCloseMeetingControl.js +33 -0
  216. package/lib/module/components/HLSCloseMeetingControl.js.map +1 -0
  217. package/lib/module/components/HLSClosedCaptionControl.js +100 -0
  218. package/lib/module/components/HLSClosedCaptionControl.js.map +1 -0
  219. package/lib/module/components/HLSDescriptionPane.js +136 -0
  220. package/lib/module/components/HLSDescriptionPane.js.map +1 -0
  221. package/lib/module/components/HLSDescriptionPaneHeader.js +61 -0
  222. package/lib/module/components/HLSDescriptionPaneHeader.js.map +1 -0
  223. package/lib/module/components/HLSDistanceFromLive.js +48 -0
  224. package/lib/module/components/HLSDistanceFromLive.js.map +1 -0
  225. package/lib/module/components/HLSFooter.js +2 -2
  226. package/lib/module/components/HLSFooter.js.map +1 -1
  227. package/lib/module/components/HLSFullScreenControl.js +34 -0
  228. package/lib/module/components/HLSFullScreenControl.js.map +1 -0
  229. package/lib/module/components/HLSGoLiveControl.js +70 -0
  230. package/lib/module/components/HLSGoLiveControl.js.map +1 -0
  231. package/lib/module/components/HLSHandRaiseButton.js +29 -0
  232. package/lib/module/components/HLSHandRaiseButton.js.map +1 -0
  233. package/lib/module/components/HLSManageChatTextInput.js +81 -0
  234. package/lib/module/components/HLSManageChatTextInput.js.map +1 -0
  235. package/lib/module/components/HLSNotifications.js +24 -0
  236. package/lib/module/components/HLSNotifications.js.map +1 -0
  237. package/lib/module/components/HLSPlayPauseControl.js +54 -0
  238. package/lib/module/components/HLSPlayPauseControl.js.map +1 -0
  239. package/lib/module/components/HLSPlayer.js +185 -0
  240. package/lib/module/components/HLSPlayer.js.map +1 -0
  241. package/lib/module/components/HLSPlayerContainer.js +115 -0
  242. package/lib/module/components/HLSPlayerContainer.js.map +1 -0
  243. package/lib/module/components/HLSPlayerControls.js +120 -0
  244. package/lib/module/components/HLSPlayerControls.js.map +1 -0
  245. package/lib/module/components/HLSRecordingStatusText.js +22 -0
  246. package/lib/module/components/HLSRecordingStatusText.js.map +1 -0
  247. package/lib/module/components/HLSRoomOptionsButton.js +16 -0
  248. package/lib/module/components/HLSRoomOptionsButton.js.map +1 -0
  249. package/lib/module/components/HLSSeekbackwardControl.js +59 -0
  250. package/lib/module/components/HLSSeekbackwardControl.js.map +1 -0
  251. package/lib/module/components/HLSSeekbar.js +276 -0
  252. package/lib/module/components/HLSSeekbar.js.map +1 -0
  253. package/lib/module/components/HLSSeekforwardControl.js +63 -0
  254. package/lib/module/components/HLSSeekforwardControl.js.map +1 -0
  255. package/lib/module/components/HLSStreamStartedTime.js +60 -0
  256. package/lib/module/components/HLSStreamStartedTime.js.map +1 -0
  257. package/lib/module/components/HLSViewerScreenContent.js +53 -0
  258. package/lib/module/components/HLSViewerScreenContent.js.map +1 -0
  259. package/lib/module/components/HMSHLSMessage.js +19 -41
  260. package/lib/module/components/HMSHLSMessage.js.map +1 -1
  261. package/lib/module/components/HMSHLSMessageList.js +2 -2
  262. package/lib/module/components/HMSHLSMessageList.js.map +1 -1
  263. package/lib/module/components/HMSHLSNotStarted.js +15 -7
  264. package/lib/module/components/HMSHLSNotStarted.js.map +1 -1
  265. package/lib/module/components/HMSKeyboardAvoidingView.js +5 -1
  266. package/lib/module/components/HMSKeyboardAvoidingView.js.map +1 -1
  267. package/lib/module/components/HMSLiveViewerCount.js +3 -5
  268. package/lib/module/components/HMSLiveViewerCount.js.map +1 -1
  269. package/lib/module/components/HMSNotification.js +4 -3
  270. package/lib/module/components/HMSNotification.js.map +1 -1
  271. package/lib/module/components/HMSNotifications.js +3 -1
  272. package/lib/module/components/HMSNotifications.js.map +1 -1
  273. package/lib/module/components/HMSOverlayChatView.js +5 -2
  274. package/lib/module/components/HMSOverlayChatView.js.map +1 -1
  275. package/lib/module/components/HMSOverlayMessageView.js +142 -0
  276. package/lib/module/components/HMSOverlayMessageView.js.map +1 -0
  277. package/lib/module/components/Meeting.js +4 -2
  278. package/lib/module/components/Meeting.js.map +1 -1
  279. package/lib/module/components/MeetingScreenContent.js +3 -10
  280. package/lib/module/components/MeetingScreenContent.js.map +1 -1
  281. package/lib/module/components/OverlayedViews.js +2 -2
  282. package/lib/module/components/OverlayedViews.js.map +1 -1
  283. package/lib/module/components/Participants/ParticipantsList.js +4 -4
  284. package/lib/module/components/Participants/ParticipantsList.js.map +1 -1
  285. package/lib/module/components/PressableIcon.js +1 -2
  286. package/lib/module/components/PressableIcon.js.map +1 -1
  287. package/lib/module/hooks-util.js +154 -7
  288. package/lib/module/hooks-util.js.map +1 -1
  289. package/lib/module/redux/actionTypes.js +6 -0
  290. package/lib/module/redux/actionTypes.js.map +1 -1
  291. package/lib/module/redux/actions/index.js +18 -0
  292. package/lib/module/redux/actions/index.js.map +1 -1
  293. package/lib/module/redux/reducers/appState.js +25 -1
  294. package/lib/module/redux/reducers/appState.js.map +1 -1
  295. package/lib/typescript/Icons/CC/index.d.ts +9 -0
  296. package/lib/typescript/Icons/CC/index.d.ts.map +1 -0
  297. package/lib/typescript/Icons/Close/index.d.ts +1 -0
  298. package/lib/typescript/Icons/Close/index.d.ts.map +1 -1
  299. package/lib/typescript/Icons/Maximize/index.d.ts +1 -0
  300. package/lib/typescript/Icons/Maximize/index.d.ts.map +1 -1
  301. package/lib/typescript/Icons/Minimize/index.d.ts +1 -0
  302. package/lib/typescript/Icons/Minimize/index.d.ts.map +1 -1
  303. package/lib/typescript/Icons/Pause/index.d.ts +8 -0
  304. package/lib/typescript/Icons/Pause/index.d.ts.map +1 -0
  305. package/lib/typescript/Icons/Play/index.d.ts +8 -0
  306. package/lib/typescript/Icons/Play/index.d.ts.map +1 -0
  307. package/lib/typescript/Icons/SeekArrow/index.d.ts +8 -0
  308. package/lib/typescript/Icons/SeekArrow/index.d.ts.map +1 -0
  309. package/lib/typescript/Icons/index.d.ts +4 -0
  310. package/lib/typescript/Icons/index.d.ts.map +1 -1
  311. package/lib/typescript/components/AnimatedHeader.d.ts.map +1 -1
  312. package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts +4 -1
  313. package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts.map +1 -1
  314. package/lib/typescript/components/Chat/ChatList.d.ts +4 -1
  315. package/lib/typescript/components/Chat/ChatList.d.ts.map +1 -1
  316. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts.map +1 -1
  317. package/lib/typescript/components/CustomButton.d.ts +5 -5
  318. package/lib/typescript/components/CustomButton.d.ts.map +1 -1
  319. package/lib/typescript/components/DisplayView.d.ts.map +1 -1
  320. package/lib/typescript/components/Footer.d.ts.map +1 -1
  321. package/lib/typescript/components/HLSAnimatedDescriptionPane.d.ts +10 -0
  322. package/lib/typescript/components/HLSAnimatedDescriptionPane.d.ts.map +1 -0
  323. package/lib/typescript/components/HLSChatFooterView.d.ts +3 -0
  324. package/lib/typescript/components/HLSChatFooterView.d.ts.map +1 -0
  325. package/lib/typescript/components/HLSChatHeaderView.d.ts +7 -0
  326. package/lib/typescript/components/HLSChatHeaderView.d.ts.map +1 -0
  327. package/lib/typescript/components/HLSChatMessages.d.ts +3 -0
  328. package/lib/typescript/components/HLSChatMessages.d.ts.map +1 -0
  329. package/lib/typescript/components/HLSChatView.d.ts +3 -0
  330. package/lib/typescript/components/HLSChatView.d.ts.map +1 -0
  331. package/lib/typescript/components/HLSCloseMeetingControl.d.ts +8 -0
  332. package/lib/typescript/components/HLSCloseMeetingControl.d.ts.map +1 -0
  333. package/lib/typescript/components/HLSClosedCaptionControl.d.ts +10 -0
  334. package/lib/typescript/components/HLSClosedCaptionControl.d.ts.map +1 -0
  335. package/lib/typescript/components/HLSDescriptionPane.d.ts +6 -0
  336. package/lib/typescript/components/HLSDescriptionPane.d.ts.map +1 -0
  337. package/lib/typescript/components/HLSDescriptionPaneHeader.d.ts +9 -0
  338. package/lib/typescript/components/HLSDescriptionPaneHeader.d.ts.map +1 -0
  339. package/lib/typescript/components/HLSDistanceFromLive.d.ts +8 -0
  340. package/lib/typescript/components/HLSDistanceFromLive.d.ts.map +1 -0
  341. package/lib/typescript/components/HLSFullScreenControl.d.ts +8 -0
  342. package/lib/typescript/components/HLSFullScreenControl.d.ts.map +1 -0
  343. package/lib/typescript/components/HLSGoLiveControl.d.ts +10 -0
  344. package/lib/typescript/components/HLSGoLiveControl.d.ts.map +1 -0
  345. package/lib/typescript/components/HLSHandRaiseButton.d.ts +3 -0
  346. package/lib/typescript/components/HLSHandRaiseButton.d.ts.map +1 -0
  347. package/lib/typescript/components/HLSManageChatTextInput.d.ts +3 -0
  348. package/lib/typescript/components/HLSManageChatTextInput.d.ts.map +1 -0
  349. package/lib/typescript/components/HLSNotifications.d.ts +3 -0
  350. package/lib/typescript/components/HLSNotifications.d.ts.map +1 -0
  351. package/lib/typescript/components/HLSPlayPauseControl.d.ts +8 -0
  352. package/lib/typescript/components/HLSPlayPauseControl.d.ts.map +1 -0
  353. package/lib/typescript/components/HLSPlayer.d.ts +6 -0
  354. package/lib/typescript/components/HLSPlayer.d.ts.map +1 -0
  355. package/lib/typescript/components/HLSPlayerContainer.d.ts +4 -0
  356. package/lib/typescript/components/HLSPlayerContainer.d.ts.map +1 -0
  357. package/lib/typescript/components/HLSPlayerControls.d.ts +14 -0
  358. package/lib/typescript/components/HLSPlayerControls.d.ts.map +1 -0
  359. package/lib/typescript/components/HLSRecordingStatusText.d.ts +9 -0
  360. package/lib/typescript/components/HLSRecordingStatusText.d.ts.map +1 -0
  361. package/lib/typescript/components/HLSRoomOptionsButton.d.ts +3 -0
  362. package/lib/typescript/components/HLSRoomOptionsButton.d.ts.map +1 -0
  363. package/lib/typescript/components/HLSSeekbackwardControl.d.ts +8 -0
  364. package/lib/typescript/components/HLSSeekbackwardControl.d.ts.map +1 -0
  365. package/lib/typescript/components/HLSSeekbar.d.ts +66 -0
  366. package/lib/typescript/components/HLSSeekbar.d.ts.map +1 -0
  367. package/lib/typescript/components/HLSSeekforwardControl.d.ts +8 -0
  368. package/lib/typescript/components/HLSSeekforwardControl.d.ts.map +1 -0
  369. package/lib/typescript/components/HLSStreamStartedTime.d.ts +6 -0
  370. package/lib/typescript/components/HLSStreamStartedTime.d.ts.map +1 -0
  371. package/lib/typescript/components/HLSViewerScreenContent.d.ts +6 -0
  372. package/lib/typescript/components/HLSViewerScreenContent.d.ts.map +1 -0
  373. package/lib/typescript/components/HMSHLSMessage.d.ts.map +1 -1
  374. package/lib/typescript/components/HMSHLSNotStarted.d.ts.map +1 -1
  375. package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts +2 -0
  376. package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts.map +1 -1
  377. package/lib/typescript/components/HMSLiveViewerCount.d.ts.map +1 -1
  378. package/lib/typescript/components/HMSNotification.d.ts.map +1 -1
  379. package/lib/typescript/components/HMSNotifications.d.ts.map +1 -1
  380. package/lib/typescript/components/HMSOverlayChatView.d.ts +2 -2
  381. package/lib/typescript/components/HMSOverlayChatView.d.ts.map +1 -1
  382. package/lib/typescript/components/HMSOverlayMessageView.d.ts +8 -0
  383. package/lib/typescript/components/HMSOverlayMessageView.d.ts.map +1 -0
  384. package/lib/typescript/components/Meeting.d.ts.map +1 -1
  385. package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -1
  386. package/lib/typescript/components/Modals.d.ts +3 -3
  387. package/lib/typescript/components/Modals.d.ts.map +1 -1
  388. package/lib/typescript/components/Participants/ParticipantsList.d.ts.map +1 -1
  389. package/lib/typescript/components/PressableIcon.d.ts.map +1 -1
  390. package/lib/typescript/components/Preview.d.ts.map +1 -1
  391. package/lib/typescript/hooks-util.d.ts +32 -8
  392. package/lib/typescript/hooks-util.d.ts.map +1 -1
  393. package/lib/typescript/redux/actionTypes.d.ts +3 -0
  394. package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
  395. package/lib/typescript/redux/actions/index.d.ts +18 -0
  396. package/lib/typescript/redux/actions/index.d.ts.map +1 -1
  397. package/lib/typescript/redux/index.d.ts +19 -16
  398. package/lib/typescript/redux/index.d.ts.map +1 -1
  399. package/lib/typescript/redux/reducers/appState.d.ts +3 -0
  400. package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
  401. package/lib/typescript/redux/reducers/index.d.ts +19 -16
  402. package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
  403. package/package.json +3 -3
  404. package/src/Icons/CC/assets/cc-off-med.png +0 -0
  405. package/src/Icons/CC/assets/cc-off-med@2x.png +0 -0
  406. package/src/Icons/CC/assets/cc-off-med@3x.png +0 -0
  407. package/src/Icons/CC/assets/cc-on-med.png +0 -0
  408. package/src/Icons/CC/assets/cc-on-med@2x.png +0 -0
  409. package/src/Icons/CC/assets/cc-on-med@3x.png +0 -0
  410. package/src/Icons/CC/index.tsx +51 -0
  411. package/src/Icons/Close/assets/close-med.png +0 -0
  412. package/src/Icons/Close/assets/close-med@2x.png +0 -0
  413. package/src/Icons/Close/assets/close-med@3x.png +0 -0
  414. package/src/Icons/Close/index.tsx +19 -3
  415. package/src/Icons/Maximize/assets/maximize-med.png +0 -0
  416. package/src/Icons/Maximize/assets/maximize-med@2x.png +0 -0
  417. package/src/Icons/Maximize/assets/maximize-med@3x.png +0 -0
  418. package/src/Icons/Maximize/index.tsx +19 -3
  419. package/src/Icons/Minimize/assets/minimize-med.png +0 -0
  420. package/src/Icons/Minimize/assets/minimize-med@2x.png +0 -0
  421. package/src/Icons/Minimize/assets/minimize-med@3x.png +0 -0
  422. package/src/Icons/Minimize/index.tsx +19 -3
  423. package/src/Icons/Pause/assets/pause-med.png +0 -0
  424. package/src/Icons/Pause/assets/pause-med@2x.png +0 -0
  425. package/src/Icons/Pause/assets/pause-med@3x.png +0 -0
  426. package/src/Icons/Pause/index.tsx +36 -0
  427. package/src/Icons/Play/assets/play-med.png +0 -0
  428. package/src/Icons/Play/assets/play-med@2x.png +0 -0
  429. package/src/Icons/Play/assets/play-med@3x.png +0 -0
  430. package/src/Icons/Play/index.tsx +36 -0
  431. package/src/Icons/SeekArrow/assets/seek-backward-arrow.png +0 -0
  432. package/src/Icons/SeekArrow/assets/seek-backward-arrow@2x.png +0 -0
  433. package/src/Icons/SeekArrow/assets/seek-backward-arrow@3x.png +0 -0
  434. package/src/Icons/SeekArrow/assets/seek-forward-arrow.png +0 -0
  435. package/src/Icons/SeekArrow/assets/seek-forward-arrow@2x.png +0 -0
  436. package/src/Icons/SeekArrow/assets/seek-forward-arrow@3x.png +0 -0
  437. package/src/Icons/SeekArrow/index.tsx +40 -0
  438. package/src/Icons/index.ts +4 -0
  439. package/src/components/AnimatedHeader.tsx +1 -9
  440. package/src/components/Chat/ChatBanner.tsx +1 -0
  441. package/src/components/Chat/ChatFilterBottomSheetOpener.tsx +16 -8
  442. package/src/components/Chat/ChatList.tsx +4 -1
  443. package/src/components/ChatAndParticipants/ChatAndParticipantsView.tsx +6 -1
  444. package/src/components/DisplayView.tsx +9 -23
  445. package/src/components/Footer.tsx +8 -77
  446. package/src/components/HLSAnimatedDescriptionPane.tsx +36 -0
  447. package/src/components/HLSChatFooterView.tsx +53 -0
  448. package/src/components/HLSChatHeaderView.tsx +165 -0
  449. package/src/components/HLSChatMessages.tsx +60 -0
  450. package/src/components/HLSChatView.tsx +55 -0
  451. package/src/components/HLSCloseMeetingControl.tsx +39 -0
  452. package/src/components/HLSClosedCaptionControl.tsx +140 -0
  453. package/src/components/HLSDescriptionPane.tsx +168 -0
  454. package/src/components/HLSDescriptionPaneHeader.tsx +78 -0
  455. package/src/components/HLSDistanceFromLive.tsx +69 -0
  456. package/src/components/HLSFooter.tsx +2 -2
  457. package/src/components/HLSFullScreenControl.tsx +46 -0
  458. package/src/components/HLSGoLiveControl.tsx +104 -0
  459. package/src/components/HLSHandRaiseButton.tsx +41 -0
  460. package/src/components/HLSManageChatTextInput.tsx +98 -0
  461. package/src/components/HLSNotifications.tsx +33 -0
  462. package/src/components/HLSPlayPauseControl.tsx +69 -0
  463. package/src/components/HLSPlayer.tsx +264 -0
  464. package/src/components/HLSPlayerContainer.tsx +134 -0
  465. package/src/components/HLSPlayerControls.tsx +180 -0
  466. package/src/components/HLSRecordingStatusText.tsx +50 -0
  467. package/src/components/HLSRoomOptionsButton.tsx +19 -0
  468. package/src/components/HLSSeekbackwardControl.tsx +88 -0
  469. package/src/components/HLSSeekbar.tsx +381 -0
  470. package/src/components/HLSSeekforwardControl.tsx +97 -0
  471. package/src/components/HLSStreamStartedTime.tsx +79 -0
  472. package/src/components/HLSViewerScreenContent.tsx +96 -0
  473. package/src/components/HMSHLSMessage.tsx +32 -49
  474. package/src/components/HMSHLSMessageList.tsx +2 -2
  475. package/src/components/HMSHLSNotStarted.tsx +18 -7
  476. package/src/components/HMSKeyboardAvoidingView.tsx +16 -6
  477. package/src/components/HMSLiveViewerCount.tsx +2 -8
  478. package/src/components/HMSNotification.tsx +20 -14
  479. package/src/components/HMSNotifications.tsx +3 -1
  480. package/src/components/HMSOverlayChatView.tsx +10 -3
  481. package/src/components/HMSOverlayMessageView.tsx +189 -0
  482. package/src/components/Meeting.tsx +9 -1
  483. package/src/components/MeetingScreenContent.tsx +3 -7
  484. package/src/components/OverlayedViews.tsx +2 -2
  485. package/src/components/Participants/ParticipantsList.tsx +12 -10
  486. package/src/components/PressableIcon.tsx +1 -3
  487. package/src/hooks-util.ts +223 -6
  488. package/src/redux/actionTypes.ts +9 -0
  489. package/src/redux/actions/index.ts +15 -0
  490. package/src/redux/reducers/appState.ts +24 -0
  491. package/lib/commonjs/components/CustomHLSPlayerControls.js +0 -80
  492. package/lib/commonjs/components/CustomHLSPlayerControls.js.map +0 -1
  493. package/lib/commonjs/components/HLSView.js +0 -195
  494. package/lib/commonjs/components/HLSView.js.map +0 -1
  495. package/lib/module/components/CustomHLSPlayerControls.js +0 -72
  496. package/lib/module/components/CustomHLSPlayerControls.js.map +0 -1
  497. package/lib/module/components/HLSView.js +0 -186
  498. package/lib/module/components/HLSView.js.map +0 -1
  499. package/lib/typescript/components/CustomHLSPlayerControls.d.ts +0 -7
  500. package/lib/typescript/components/CustomHLSPlayerControls.d.ts.map +0 -1
  501. package/lib/typescript/components/HLSView.d.ts +0 -4
  502. package/lib/typescript/components/HLSView.d.ts.map +0 -1
  503. package/src/components/CustomHLSPlayerControls.tsx +0 -92
  504. package/src/components/HLSView.tsx +0 -251
@@ -0,0 +1,130 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports._HLSChatHeaderView = exports.HLSChatHeaderView = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _reactRedux = require("react-redux");
10
+ var _CompanyLogo = require("./CompanyLogo");
11
+ var _hooksUtil = require("../hooks-util");
12
+ var _HLSRecordingStatusText = require("./HLSRecordingStatusText");
13
+ var _hooksSdk = require("../hooks-sdk");
14
+ var _HLSStreamStartedTime = require("./HLSStreamStartedTime");
15
+ var _actions = require("../redux/actions");
16
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
17
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
+ const _HLSChatHeaderView = ({
19
+ expanded = false
20
+ }) => {
21
+ const dispatch = (0, _reactRedux.useDispatch)();
22
+ const isHLSStreaming = (0, _hooksSdk.useIsHLSStreamingOn)();
23
+ const peerCount = (0, _reactRedux.useSelector)(state => {
24
+ var _state$hmsStates$room;
25
+ return (_state$hmsStates$room = state.hmsStates.room) === null || _state$hmsStates$room === void 0 ? void 0 : _state$hmsStates$room.peerCount;
26
+ });
27
+ const headerTitle = (0, _hooksUtil.useHMSConferencingScreenConfig)(confScreenConfig => {
28
+ var _confScreenConfig$ele;
29
+ return confScreenConfig === null || confScreenConfig === void 0 || (_confScreenConfig$ele = confScreenConfig.elements) === null || _confScreenConfig$ele === void 0 || (_confScreenConfig$ele = _confScreenConfig$ele.header) === null || _confScreenConfig$ele === void 0 ? void 0 : _confScreenConfig$ele.title;
30
+ });
31
+ const isValidHeaderDescription = (0, _hooksUtil.useHMSConferencingScreenConfig)(confScreenConfig => {
32
+ var _confScreenConfig$ele2;
33
+ return !!(confScreenConfig !== null && confScreenConfig !== void 0 && (_confScreenConfig$ele2 = confScreenConfig.elements) !== null && _confScreenConfig$ele2 !== void 0 && (_confScreenConfig$ele2 = _confScreenConfig$ele2.header) !== null && _confScreenConfig$ele2 !== void 0 && _confScreenConfig$ele2.description);
34
+ });
35
+ const showDescriptionPane = () => {
36
+ dispatch((0, _actions.setHlsDescriptionPaneVisible)(true));
37
+ };
38
+ const hmsRoomStyles = (0, _hooksUtil.useHMSRoomStyleSheet)((theme, typography) => ({
39
+ container: {
40
+ backgroundColor: theme.palette.surface_dim,
41
+ borderBottomColor: theme.palette.border_bright
42
+ },
43
+ semiBoldSecondaryHigh: {
44
+ fontFamily: `${typography.font_family}-SemiBold`,
45
+ color: theme.palette.on_secondary_high
46
+ },
47
+ semiBoldSurfaceHigh: {
48
+ fontFamily: `${typography.font_family}-SemiBold`,
49
+ color: theme.palette.on_surface_high
50
+ },
51
+ regularSurfaceMedium: {
52
+ fontFamily: `${typography.font_family}-Regular`,
53
+ color: theme.palette.on_surface_medium
54
+ },
55
+ regularSurfaceLow: {
56
+ fontFamily: `${typography.font_family}-Regular`,
57
+ color: theme.palette.on_surface_low
58
+ }
59
+ }));
60
+ return /*#__PURE__*/React.createElement(_reactNative.View, {
61
+ style: [styles.container, hmsRoomStyles.container, expanded ? {
62
+ borderBottomWidth: 0
63
+ } : null]
64
+ }, /*#__PURE__*/React.createElement(_CompanyLogo.CompanyLogo, {
65
+ style: styles.logo
66
+ }), /*#__PURE__*/React.createElement(_reactNative.View, {
67
+ style: {
68
+ flexShrink: 1
69
+ }
70
+ }, headerTitle ? /*#__PURE__*/React.createElement(_reactNative.Text, {
71
+ numberOfLines: expanded ? undefined : 2,
72
+ style: [styles.title, hmsRoomStyles.semiBoldSecondaryHigh]
73
+ }, headerTitle) : null, /*#__PURE__*/React.createElement(_reactNative.View, {
74
+ style: {
75
+ flexDirection: 'row',
76
+ alignItems: 'center'
77
+ }
78
+ }, /*#__PURE__*/React.createElement(_reactNative.Text, {
79
+ style: [styles.subtitle, hmsRoomStyles.regularSurfaceMedium]
80
+ }, peerCount, " ", isHLSStreaming ? 'watching' : 'joined'), isHLSStreaming ? /*#__PURE__*/React.createElement(_HLSStreamStartedTime.HLSStreamStartedTime, {
81
+ prefix: /*#__PURE__*/React.createElement(_reactNative.Text, {
82
+ style: [styles.subtitleDivider, hmsRoomStyles.regularSurfaceLow]
83
+ }, "\u25CF")
84
+ }) : null, isValidHeaderDescription && !expanded ? /*#__PURE__*/React.createElement(_reactNative.Pressable, {
85
+ onPress: showDescriptionPane,
86
+ hitSlop: {
87
+ top: 8,
88
+ bottom: 8,
89
+ left: 8,
90
+ right: 8
91
+ }
92
+ }, /*#__PURE__*/React.createElement(_reactNative.Text, {
93
+ style: [styles.subtitle, {
94
+ marginLeft: 8
95
+ }, hmsRoomStyles.semiBoldSurfaceHigh]
96
+ }, "...more")) : /*#__PURE__*/React.createElement(_HLSRecordingStatusText.HLSRecordingStatusText, {
97
+ style: [styles.subtitle, hmsRoomStyles.regularSurfaceMedium],
98
+ prefix: /*#__PURE__*/React.createElement(_reactNative.Text, {
99
+ style: [styles.subtitleDivider, hmsRoomStyles.regularSurfaceLow]
100
+ }, "\u25CF")
101
+ }))));
102
+ };
103
+ exports._HLSChatHeaderView = _HLSChatHeaderView;
104
+ const HLSChatHeaderView = exports.HLSChatHeaderView = /*#__PURE__*/React.memo(_HLSChatHeaderView);
105
+ const styles = _reactNative.StyleSheet.create({
106
+ container: {
107
+ padding: 16,
108
+ flexDirection: 'row',
109
+ alignItems: 'center',
110
+ borderBottomWidth: 1
111
+ },
112
+ logo: {
113
+ marginRight: 12
114
+ },
115
+ title: {
116
+ fontSize: 14,
117
+ lineHeight: 20,
118
+ marginBottom: 4
119
+ },
120
+ subtitle: {
121
+ fontSize: 12,
122
+ lineHeight: 16
123
+ },
124
+ subtitleDivider: {
125
+ fontSize: 6,
126
+ lineHeight: 16,
127
+ marginHorizontal: 8
128
+ }
129
+ });
130
+ //# sourceMappingURL=HLSChatHeaderView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_reactRedux","_CompanyLogo","_hooksUtil","_HLSRecordingStatusText","_hooksSdk","_HLSStreamStartedTime","_actions","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_HLSChatHeaderView","expanded","dispatch","useDispatch","isHLSStreaming","useIsHLSStreamingOn","peerCount","useSelector","state","_state$hmsStates$room","hmsStates","room","headerTitle","useHMSConferencingScreenConfig","confScreenConfig","_confScreenConfig$ele","elements","header","title","isValidHeaderDescription","_confScreenConfig$ele2","description","showDescriptionPane","setHlsDescriptionPaneVisible","hmsRoomStyles","useHMSRoomStyleSheet","theme","typography","container","backgroundColor","palette","surface_dim","borderBottomColor","border_bright","semiBoldSecondaryHigh","fontFamily","font_family","color","on_secondary_high","semiBoldSurfaceHigh","on_surface_high","regularSurfaceMedium","on_surface_medium","regularSurfaceLow","on_surface_low","createElement","View","style","styles","borderBottomWidth","CompanyLogo","logo","flexShrink","Text","numberOfLines","undefined","flexDirection","alignItems","subtitle","HLSStreamStartedTime","prefix","subtitleDivider","Pressable","onPress","hitSlop","top","bottom","left","right","marginLeft","HLSRecordingStatusText","exports","HLSChatHeaderView","memo","StyleSheet","create","padding","marginRight","fontSize","lineHeight","marginBottom","marginHorizontal"],"sourceRoot":"../../../src","sources":["components/HLSChatHeaderView.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAEA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AAKA,IAAAK,uBAAA,GAAAL,OAAA;AACA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,qBAAA,GAAAP,OAAA;AACA,IAAAQ,QAAA,GAAAR,OAAA;AAAgE,SAAAS,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAX,wBAAAW,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,CAAA,SAAAG,CAAA,GAA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,0 +1,54 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.HLSChatMessages = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _reactRedux = require("react-redux");
10
+ var _HMSHLSMessage = require("./HMSHLSMessage");
11
+ var _Chat = require("./Chat");
12
+ var _MessageOptionsBottomSheet = require("./Chat/MessageOptionsBottomSheet");
13
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
14
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
15
+ const HLSChatMessages = () => {
16
+ const messages = (0, _reactRedux.useSelector)(state => state.messages.messages);
17
+ const _keyExtractor = React.useCallback(item => item.messageId, []);
18
+ const _renderItem = React.useCallback(data => {
19
+ return /*#__PURE__*/React.createElement(_HMSHLSMessage.HMSHLSMessage, {
20
+ message: data.item
21
+ });
22
+ }, []);
23
+ return /*#__PURE__*/React.createElement(_reactNative.View, {
24
+ style: {
25
+ flex: 1,
26
+ paddingHorizontal: 16
27
+ }
28
+ }, /*#__PURE__*/React.createElement(_reactNative.View, {
29
+ style: styles.container
30
+ }, /*#__PURE__*/React.createElement(_Chat.PinnedMessages, null), messages.length > 0 ? /*#__PURE__*/React.createElement(_reactNative.FlatList, {
31
+ inverted: true,
32
+ data: messages,
33
+ contentContainerStyle: {
34
+ flexGrow: 1,
35
+ justifyContent: 'flex-end'
36
+ },
37
+ showsVerticalScrollIndicator: _reactNative.Platform.OS !== 'android'
38
+ // contentContainerStyle={styles.listContentContainer} // Bug: Android inverted flashlist will apply padding on left when `paddingRight: 12` is applied
39
+ ,
40
+ keyboardShouldPersistTaps: "always"
41
+ // ListEmptyComponent={ChatBanner}
42
+ // ItemSeparatorComponent={() => <View style={{ height: 16 }} />} // TODO: There is a bug related to this: https://github.com/Shopify/flash-list/issues/638
43
+ ,
44
+ renderItem: _renderItem,
45
+ keyExtractor: _keyExtractor
46
+ }) : /*#__PURE__*/React.createElement(_Chat.ChatBanner, null)), /*#__PURE__*/React.createElement(_MessageOptionsBottomSheet.MessageOptionsBottomSheet, null));
47
+ };
48
+ exports.HLSChatMessages = HLSChatMessages;
49
+ const styles = _reactNative.StyleSheet.create({
50
+ container: {
51
+ flex: 1
52
+ }
53
+ });
54
+ //# sourceMappingURL=HLSChatMessages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_reactRedux","_HMSHLSMessage","_Chat","_MessageOptionsBottomSheet","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","HLSChatMessages","messages","useSelector","state","_keyExtractor","useCallback","item","messageId","_renderItem","data","createElement","HMSHLSMessage","message","View","style","flex","paddingHorizontal","styles","container","PinnedMessages","length","FlatList","inverted","contentContainerStyle","flexGrow","justifyContent","showsVerticalScrollIndicator","Platform","OS","keyboardShouldPersistTaps","renderItem","keyExtractor","ChatBanner","MessageOptionsBottomSheet","exports","StyleSheet","create"],"sourceRoot":"../../../src","sources":["components/HLSChatMessages.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAIA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,K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,CAAAlC,eAAA,GAAAA,eAAA;AAEF,MAAMiB,MAAM,GAAGkB,uBAAU,CAACC,MAAM,CAAC;EAC/BlB,SAAS,EAAE;IACTH,IAAI,EAAE;EACR;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.HLSChatView = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _reactRedux = require("react-redux");
10
+ var _hooksUtil = require("../hooks-util");
11
+ var _HLSChatHeaderView = require("./HLSChatHeaderView");
12
+ var _HLSChatFooterView = require("./HLSChatFooterView");
13
+ var _HLSChatMessages = require("./HLSChatMessages");
14
+ var _HLSDescriptionPane = require("./HLSDescriptionPane");
15
+ var _dimension = require("../utils/dimension");
16
+ var _HLSNotifications = require("./HLSNotifications");
17
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
18
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
19
+ const HLSChatView = () => {
20
+ const isLandscapeOrientation = (0, _dimension.useIsLandscapeOrientation)();
21
+ const {
22
+ chatWrapperConstraints
23
+ } = (0, _hooksUtil.useHLSViewsConstraints)();
24
+ const hlsFullScreen = (0, _reactRedux.useSelector)(state => state.app.hlsFullScreen);
25
+ const hmsRoomStyles = (0, _hooksUtil.useHMSRoomStyleSheet)(theme => ({
26
+ wrapper: {
27
+ backgroundColor: theme.palette.surface_dim
28
+ }
29
+ }));
30
+ if (hlsFullScreen) {
31
+ return null;
32
+ }
33
+ return /*#__PURE__*/React.createElement(_reactNative.View, {
34
+ style: {
35
+ position: 'absolute',
36
+ bottom: isLandscapeOrientation ? undefined : 0,
37
+ right: 0,
38
+ width: chatWrapperConstraints.width,
39
+ height: chatWrapperConstraints.height
40
+ }
41
+ }, /*#__PURE__*/React.createElement(_reactNative.View, {
42
+ style: [{
43
+ flex: 1,
44
+ position: 'relative'
45
+ }, hmsRoomStyles.wrapper]
46
+ }, isLandscapeOrientation ? null : /*#__PURE__*/React.createElement(_HLSChatHeaderView.HLSChatHeaderView, null), /*#__PURE__*/React.createElement(_HLSChatMessages.HLSChatMessages, null), /*#__PURE__*/React.createElement(_HLSChatFooterView.HLSChatFooterView, null), /*#__PURE__*/React.createElement(_HLSNotifications.HLSNotifications, null), isLandscapeOrientation ? null : /*#__PURE__*/React.createElement(_HLSDescriptionPane.HLSDescriptionPane, null)));
47
+ };
48
+ exports.HLSChatView = HLSChatView;
49
+ //# sourceMappingURL=HLSChatView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_reactRedux","_hooksUtil","_HLSChatHeaderView","_HLSChatFooterView","_HLSChatMessages","_HLSDescriptionPane","_dimension","_HLSNotifications","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","HLSChatView","isLandscapeOrientation","useIsLandscapeOrientation","chatWrapperConstraints","useHLSViewsConstraints","hlsFullScreen","useSelector","state","app","hmsRoomStyles","useHMSRoomStyleSheet","theme","wrapper","backgroundColor","palette","surface_dim","createElement","View","style","position","bottom","undefined","right","width","height","flex","HLSChatHeaderView","HLSChatMessages","HLSChatFooterView","HLSNotifications","HLSDescriptionPane","exports"],"sourceRoot":"../../../src","sources":["components/HLSCh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KAAA,CAAAgD,aAAA,CAACxC,gBAAA,CAAAmD,eAAe,MAAE,CAAC,eAEnB3D,KAAA,CAAAgD,aAAA,CAACzC,kBAAA,CAAAqD,iBAAiB,MAAE,CAAC,eAErB5D,KAAA,CAAAgD,aAAA,CAACrC,iBAAA,CAAAkD,gBAAgB,MAAE,CAAC,EAGnB5B,sBAAsB,GAAG,IAAI,gBAAGjC,KAAA,CAAAgD,aAAA,CAACvC,mBAAA,CAAAqD,kBAAkB,MAAE,CAClD,CACF,CAAC;AAEX,CAAC;AAACC,OAAA,CAAA/B,WAAA,GAAAA,WAAA","ignoreList":[]}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports._HLSCloseMeetingControl = exports.HLSCloseMeetingControl = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _reactNativeGestureHandler = require("react-native-gesture-handler");
10
+ var _Icons = require("../Icons");
11
+ var _types = require("../utils/types");
12
+ var _hooksUtil = require("../hooks-util");
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
+ const _HLSCloseMeetingControl = ({
15
+ onPress
16
+ }) => {
17
+ const {
18
+ handleModalVisibleType
19
+ } = (0, _hooksUtil.useModalType)();
20
+ const handleCloseBtnPress = () => {
21
+ onPress === null || onPress === void 0 || onPress();
22
+ handleModalVisibleType(_types.ModalTypes.LEAVE_ROOM);
23
+ };
24
+ return /*#__PURE__*/_react.default.createElement(_reactNativeGestureHandler.GestureDetector, {
25
+ gesture: _reactNativeGestureHandler.Gesture.Tap()
26
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
27
+ onPress: handleCloseBtnPress,
28
+ style: styles.icon
29
+ }, /*#__PURE__*/_react.default.createElement(_Icons.CloseIcon, {
30
+ size: "medium"
31
+ })));
32
+ };
33
+ exports._HLSCloseMeetingControl = _HLSCloseMeetingControl;
34
+ const HLSCloseMeetingControl = exports.HLSCloseMeetingControl = /*#__PURE__*/_react.default.memo(_HLSCloseMeetingControl);
35
+ const styles = _reactNative.StyleSheet.create({
36
+ icon: {
37
+ padding: 4,
38
+ alignSelf: 'flex-start'
39
+ }
40
+ });
41
+ //# sourceMappingURL=HLSCloseMeetingControl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeGestureHandler","_Icons","_types","_hooksUtil","obj","__esModule","default","_HLSCloseMeetingControl","onPress","handleModalVisibleType","useModalType","handleCloseBtnPress","ModalTypes","LEAVE_ROOM","createElement","GestureDetector","gesture","Gesture","Tap","TouchableOpacity","style","styles","icon","CloseIcon","size","exports","HLSCloseMeetingControl","React","memo","StyleSheet","create","padding","alignSelf"],"sourceRoot":"../../../src","sources":["components/HLSCloseMeetingControl.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,0BAAA,GAAAF,OAAA;AAEA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AAA6C,SAAAD,uBAAAO,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAMtC,MAAMG,uBAAyD,GAAGA,CAAC;EACxEC;AACF,CAAC,KAAK;EACJ,MAAM;IAAEC;EAAuB,CAAC,GAAG,IAAAC,uBAAY,EAAC,CAAC;EAEjD,MAAMC,mBAAmB,GAAGA,CAAA,KAAM;IAChCH,OAAO,aAAPA,OAAO,eAAPA,OAAO,CAAG,CAAC;IACXC,sBAAsB,CAACG,iBAAU,CAACC,UAAU,CAAC;EAC/C,CAAC;EAED,oBACEjB,MAAA,CAAAU,OAAA,CAAAQ,aAAA,CAACd,0BAAA,CAAAe,eAAe;IAACC,OAAO,EAAEC,kCAAO,CAACC,GAAG,CAAC;EAAE,gBACtCtB,MAAA,CAAAU,OAAA,CAAAQ,aAAA,CAACf,YAAA,CAAAoB,gBAAgB;IAACX,OAAO,EAAEG,mBAAoB;IAACS,KAAK,EAAEC,MAAM,CAACC;EAAK,gBACjE1B,MAAA,CAAAU,OAAA,CAAAQ,aAAA,CAACb,MAAA,CAAAsB,SAAS;IAACC,IAAI,EAAC;EAAQ,CAAE,CACV,CACH,CAAC;AAEtB,CAAC;AAACC,OAAA,CAAAlB,uBAAA,GAAAA,uBAAA;AAEK,MAAMmB,sBAAsB,GAAAD,OAAA,CAAAC,sBAAA,gBAAGC,cAAK,CAACC,IAAI,CAACrB,uBAAuB,CAAC;AAEzE,MAAMc,MAAM,GAAGQ,uBAAU,CAACC,MAAM,CAAC;EAC/BR,IAAI,EAAE;IACJS,OAAO,EAAE,CAAC;IACVC,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,109 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports._HLSClosedCaptionControl = exports.HLSClosedCaptionControl = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _reactRedux = require("react-redux");
10
+ var _reactNativeHms = require("@100mslive/react-native-hms");
11
+ var _reactNativeGestureHandler = require("react-native-gesture-handler");
12
+ var _Icons = require("../Icons");
13
+ var _hooksSdk = require("../hooks-sdk");
14
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
15
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
16
+ const _HLSClosedCaptionControl = ({
17
+ playerRef,
18
+ onPress
19
+ }) => {
20
+ const isHLSStreamingOn = (0, _hooksSdk.useIsHLSStreamingOn)();
21
+ const isStreamUrlPresent = (0, _reactRedux.useSelector)(state => {
22
+ var _state$hmsStates$room;
23
+ return !!((_state$hmsStates$room = state.hmsStates.room) !== null && _state$hmsStates$room !== void 0 && (_state$hmsStates$room = _state$hmsStates$room.hlsStreamingState.variants) !== null && _state$hmsStates$room !== void 0 && (_state$hmsStates$room = _state$hmsStates$room[0]) !== null && _state$hmsStates$room !== void 0 && _state$hmsStates$room.hlsStreamUrl);
24
+ });
25
+ let startedPlayingFirstTimeRef = (0, _react.useRef)(false);
26
+ let prevPlaybackStateRef = (0, _react.useRef)(_reactNativeHms.HMSHLSPlayerPlaybackState.UNKNOWN);
27
+ const playbackState = (0, _reactNativeHms.useHMSHLSPlayerPlaybackState)();
28
+ if (prevPlaybackStateRef.current === _reactNativeHms.HMSHLSPlayerPlaybackState.UNKNOWN && playbackState === _reactNativeHms.HMSHLSPlayerPlaybackState.PLAYING) {
29
+ prevPlaybackStateRef.current = playbackState;
30
+ startedPlayingFirstTimeRef.current = true;
31
+ }
32
+ const [isCCSupported, setIsCCSupported] = (0, _react.useState)(false);
33
+ const [isCCEnabled, setIsCCEnabled] = (0, _react.useState)(true);
34
+ const handleCCBtnPress = () => {
35
+ if (!isCCSupported || !playerRef.current) {
36
+ return;
37
+ }
38
+ onPress === null || onPress === void 0 || onPress();
39
+ if (isCCEnabled) {
40
+ playerRef.current.disableClosedCaption();
41
+ setIsCCEnabled(false);
42
+ } else {
43
+ playerRef.current.enableClosedCaption();
44
+ setIsCCEnabled(true);
45
+ }
46
+ };
47
+ _react.default.useEffect(() => {
48
+ if (isHLSStreamingOn && isStreamUrlPresent && startedPlayingFirstTimeRef.current && playerRef.current) {
49
+ let mounted = true;
50
+ playerRef.current.isClosedCaptionSupported().then(supported => {
51
+ if (mounted) {
52
+ setIsCCSupported(supported);
53
+ }
54
+ }).catch(() => {});
55
+ playerRef.current.isClosedCaptionEnabled().then(enabled => {
56
+ if (mounted) {
57
+ setIsCCEnabled(enabled);
58
+ }
59
+ }).catch(() => {});
60
+ return () => {
61
+ mounted = false;
62
+ };
63
+ }
64
+ }, [isHLSStreamingOn, isStreamUrlPresent, startedPlayingFirstTimeRef.current]);
65
+ if (!isCCSupported) {
66
+ return null;
67
+ }
68
+ return /*#__PURE__*/_react.default.createElement(_reactNativeGestureHandler.GestureDetector, {
69
+ gesture: _reactNativeGestureHandler.Gesture.Tap()
70
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
71
+ onPress: handleCCBtnPress,
72
+ style: [styles.icon, styles.gap]
73
+ }, /*#__PURE__*/_react.default.createElement(_Icons.CCIcon, {
74
+ size: "medium",
75
+ enabled: isCCEnabled
76
+ })));
77
+ };
78
+ exports._HLSClosedCaptionControl = _HLSClosedCaptionControl;
79
+ const HLSClosedCaptionControl = exports.HLSClosedCaptionControl = /*#__PURE__*/_react.default.memo(_HLSClosedCaptionControl);
80
+ const styles = _reactNative.StyleSheet.create({
81
+ detectorContainer: {
82
+ position: 'absolute',
83
+ width: '100%',
84
+ height: '100%',
85
+ zIndex: 5
86
+ },
87
+ container: {
88
+ flex: 1,
89
+ justifyContent: 'space-between'
90
+ },
91
+ controlsRow: {
92
+ flexDirection: 'row',
93
+ alignItems: 'center',
94
+ justifyContent: 'space-between',
95
+ marginHorizontal: 8
96
+ },
97
+ normalRow: {
98
+ flexDirection: 'row',
99
+ alignItems: 'center'
100
+ },
101
+ icon: {
102
+ padding: 4,
103
+ alignSelf: 'flex-start'
104
+ },
105
+ gap: {
106
+ marginLeft: 16
107
+ }
108
+ });
109
+ //# sourceMappingURL=HLSClosedCaptionControl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactRedux","_reactNativeHms","_reactNativeGestureHandler","_Icons","_hooksSdk","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_HLSClosedCaptionControl","playerRef","onPress","isHLSStreamingOn","useIsHLSStreamingOn","isStreamUrlPresent","useSelector","state","_state$hmsStates$room","hmsStates","room","hlsStreamingState","variants","hlsStreamUrl","startedPlayingFirstTimeRef","useRef","prevPlaybackStateRef","HMSHLSPlayerPlaybackState","UNKNOWN","playbackState","useHMSHLSPlayerPlaybackState","current","PLAYING","isCCSupported","setIsCCSupported","useState","isCCEnabled","setIsCCEnabled","handleCCBtnPress","disableClosedCaption","enableClosedCaption","React","useEffect","mounted","isClosedCaptionSupported","then","supported","catch","isClosedCaptionEnabled","enabled","createElement","GestureDetector","gesture","Gesture","Tap","TouchableOpacity","style","styles","icon","gap","CCIcon","size","exports","HLSClosedCaptionControl","memo","StyleSheet","create","detectorContainer","position","width","height","zIndex","container","flex","justifyContent","controlsRow","flexDirection","alignItems","marginHorizontal","normalRow","padding","alignSelf","marginLeft"],"sourceRoot":"../../../src","sources":["components/HLSClosedCaptionControl.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAH,OAAA;AAKA,IAAAI,0BAAA,GAAAJ,OAAA;AAEA,IAAAK,MAAA,GAAAL,OAAA;AAEA,IAAAM,SAAA,GAAAN,OAAA;AAAmD,SAAAO,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GA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AGtB,cAAK,CAACuB,IAAI,CAACtD,wBAAwB,CAAC;AAE3E,MAAM+C,MAAM,GAAGQ,uBAAU,CAACC,MAAM,CAAC;EAC/BC,iBAAiB,EAAE;IACjBC,QAAQ,EAAE,UAAU;IACpBC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,MAAM;IACdC,MAAM,EAAE;EACV,CAAC;EACDC,SAAS,EAAE;IACTC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE;EAClB,CAAC;EACDC,WAAW,EAAE;IACXC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBH,cAAc,EAAE,eAAe;IAC/BI,gBAAgB,EAAE;EACpB,CAAC;EACDC,SAAS,EAAE;IACTH,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE;EACd,CAAC;EACDnB,IAAI,EAAE;IACJsB,OAAO,EAAE,CAAC;IACVC,SAAS,EAAE;EACb,CAAC;EACDtB,GAAG,EAAE;IACHuB,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,145 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.HLSDescriptionPane = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _reactRedux = require("react-redux");
9
+ var _reactNative = require("react-native");
10
+ var _reactNativeReanimated = require("react-native-reanimated");
11
+ var _hooksUtil = require("../hooks-util");
12
+ var _HLSChatHeaderView = require("./HLSChatHeaderView");
13
+ var _HLSDescriptionPaneHeader = require("./HLSDescriptionPaneHeader");
14
+ var _HLSAnimatedDescriptionPane = require("./HLSAnimatedDescriptionPane");
15
+ var _actions = require("../redux/actions");
16
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
17
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
+ const HLSDescriptionPane = () => {
19
+ const dispatch = (0, _reactRedux.useDispatch)();
20
+ const paneVisible = (0, _reactRedux.useSelector)(state => state.app.hlsDescriptionPaneVisible);
21
+ const hmsRoomStyles = (0, _hooksUtil.useHMSRoomStyleSheet)((theme, typography) => ({
22
+ wrapper: {
23
+ backgroundColor: theme.palette.surface_dim
24
+ },
25
+ regularSurfaceMedium: {
26
+ fontFamily: `${typography.font_family}-Regular`,
27
+ color: theme.palette.on_surface_medium
28
+ },
29
+ link: {
30
+ color: theme.palette.primary_bright
31
+ }
32
+ }));
33
+ const {
34
+ descriptionPaneConstraints
35
+ } = (0, _hooksUtil.useHLSViewsConstraints)();
36
+ const descriptionPaneContentHeight = descriptionPaneConstraints.height - _HLSDescriptionPaneHeader.HLSDescriptionPaneHeaderHeight;
37
+ const desPaneTranslationValue = (0, _reactNativeReanimated.useSharedValue)(0);
38
+ const _closeDescriptionPane = () => {
39
+ dispatch((0, _actions.setHlsDescriptionPaneVisible)(false));
40
+ };
41
+ const hideDescriptionPane = () => {
42
+ if (paneVisible) {
43
+ desPaneTranslationValue.value = (0, _reactNativeReanimated.withTiming)(0, {
44
+ duration: 280
45
+ }, () => {
46
+ (0, _reactNativeReanimated.runOnJS)(_closeDescriptionPane)();
47
+ });
48
+ }
49
+ };
50
+ React.useEffect(() => {
51
+ if (!paneVisible) {
52
+ return;
53
+ }
54
+ desPaneTranslationValue.value = (0, _reactNativeReanimated.withTiming)(1, {
55
+ duration: 280
56
+ });
57
+ return () => {
58
+ cancelAnimationFrame(desPaneTranslationValue.value);
59
+ };
60
+ }, [paneVisible]);
61
+ const description = (0, _hooksUtil.useHMSConferencingScreenConfig)(confScreenConfig => {
62
+ var _confScreenConfig$ele;
63
+ return confScreenConfig === null || confScreenConfig === void 0 || (_confScreenConfig$ele = confScreenConfig.elements) === null || _confScreenConfig$ele === void 0 || (_confScreenConfig$ele = _confScreenConfig$ele.header) === null || _confScreenConfig$ele === void 0 ? void 0 : _confScreenConfig$ele.description;
64
+ });
65
+ const handleLinkPress = async url => {
66
+ const canOpen = await _reactNative.Linking.canOpenURL(url);
67
+ if (canOpen) {
68
+ _reactNative.Linking.openURL(url);
69
+ }
70
+ };
71
+ if (!paneVisible) {
72
+ return null;
73
+ }
74
+
75
+ // TODO: for links to work, add query in manifest.xml
76
+
77
+ return /*#__PURE__*/React.createElement(_reactNative.View, {
78
+ style: {
79
+ position: 'absolute',
80
+ bottom: 0,
81
+ width: descriptionPaneConstraints.width,
82
+ height: descriptionPaneConstraints.height,
83
+ zIndex: 10
84
+ }
85
+ }, /*#__PURE__*/React.createElement(_HLSDescriptionPaneHeader.HLSDescriptionPaneHeader, {
86
+ close: hideDescriptionPane,
87
+ animatedValue: desPaneTranslationValue
88
+ }), /*#__PURE__*/React.createElement(_reactNative.View, {
89
+ style: {
90
+ flex: 1,
91
+ overflow: 'hidden'
92
+ }
93
+ }, /*#__PURE__*/React.createElement(_HLSAnimatedDescriptionPane.HLSAnimatedDescriptionPane, {
94
+ height: descriptionPaneContentHeight,
95
+ sharedValue: desPaneTranslationValue
96
+ }, /*#__PURE__*/React.createElement(_reactNative.ScrollView, {
97
+ style: hmsRoomStyles.wrapper,
98
+ contentContainerStyle: {
99
+ paddingBottom: 40
100
+ }
101
+ }, /*#__PURE__*/React.createElement(_HLSChatHeaderView.HLSChatHeaderView, {
102
+ expanded: true
103
+ }), description ? /*#__PURE__*/React.createElement(_reactNative.Text, {
104
+ style: [styles.description, hmsRoomStyles.regularSurfaceMedium]
105
+ }, splitLinksAndContent(description, {
106
+ pressHandler: handleLinkPress,
107
+ style: hmsRoomStyles.link
108
+ })) : null))));
109
+ };
110
+ exports.HLSDescriptionPane = HLSDescriptionPane;
111
+ const styles = _reactNative.StyleSheet.create({
112
+ description: {
113
+ fontSize: 14,
114
+ lineHeight: 20,
115
+ marginHorizontal: 16
116
+ }
117
+ });
118
+ function splitLinksAndContent(text, {
119
+ pressHandler,
120
+ style
121
+ }) {
122
+ // Regular expression to find links in a string
123
+ const pattern = /http[s]?:\/\/\S+/g;
124
+
125
+ // Find all links in the text
126
+ const links = text.match(pattern) || [];
127
+ if (links.length <= 0) {
128
+ return text;
129
+ }
130
+
131
+ // Split the text into an array of links and content
132
+ const parts = text.replace(pattern, '^<link>^').split('^');
133
+ return parts.map((p, i) => {
134
+ if (p !== '<link>') {
135
+ return p;
136
+ }
137
+ const link = links.pop();
138
+ return link ? /*#__PURE__*/React.createElement(_reactNative.Text, {
139
+ key: link + i,
140
+ onPress: () => pressHandler(link),
141
+ style: style
142
+ }, link) : p;
143
+ });
144
+ }
145
+ //# sourceMappingURL=HLSDescriptionPane.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_reactRedux","_reactNative","_reactNativeReanimated","_hooksUtil","_HLSChatHeaderView","_HLSDescriptionPaneHeader","_HLSAnimatedDescriptionPane","_actions","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","HLSDescriptionPane","dispatch","useDispatch","paneVisible","useSelector","state","app","hlsDescriptionPaneVisible","hmsRoomStyles","useHMSRoomStyleSheet","theme","typography","wrapper","backgroundColor","palette","surface_dim","regularSurfaceMedium","fontFamily","font_family","color","on_surface_medium","link","primary_bright","descriptionPaneConstraints","useHLSViewsConstraints","descriptionPaneContentHeight","height","HLSDescriptionPaneHeaderHeight","desPaneTranslationValue","useSharedValue","_closeDescriptionPane","setHlsDescriptionPaneVisible","hideDescriptionPane","value","withTiming","duration","runOnJS","useEffect","cancelAnimationFrame","description","useHMSConferencingScreenConfig","confScreenConfig","_confScreenConfig$ele","elements","header","handleLinkPress","url","canOpen","Linking","canOpenURL","openURL","createElement","View","style","position","bottom","width","zIndex","HLSDescriptionPaneHeader","close","animatedValue","flex","overflow","HLSAnimatedDescriptionPane","sharedValue","ScrollView","contentContainerStyle","paddingBottom","HLSChatHeaderView","expanded","Text","styles","splitLinksAndContent","pressHandler","exports","StyleSheet","create","fontSize","lineHeight","marginHorizontal","text","pattern","links","match","length","parts","replace","split","map","p","pop","key","onPress"],"sourceRoot":"../../../src","sources":["components/HLSDescriptionPane.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,sBAAA,GAAAH,OAAA;AAEA,IAAAI,UAAA,GAAAJ,OAAA;AAKA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,yBAAA,GAAAN,OAAA;AAIA,IAAAO,2BAAA,GAAAP,OAAA;AACA,IAAAQ,QAAA,GAAAR,OAAA;AAAgE,SAAAS,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAX,wBAAAW,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SA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