@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
@@ -1,251 +0,0 @@
1
- import React, { useRef } from 'react';
2
- import type { ComponentRef } from 'react';
3
- import { useDispatch, useSelector } from 'react-redux';
4
- import {
5
- View,
6
- Text,
7
- StyleSheet,
8
- Platform,
9
- useWindowDimensions,
10
- } from 'react-native';
11
- import {
12
- HMSHLSPlayer,
13
- HMSHLSPlayerPlaybackState,
14
- useHMSHLSPlayerPlaybackState,
15
- useHMSHLSPlayerResolution,
16
- } from '@100mslive/react-native-hms';
17
-
18
- import type { RootState } from '../redux';
19
- import { changeShowHLSStats } from '../redux/actions';
20
- import { HLSPlayerStatsView } from './HLSPlayerStatsView';
21
- import { HLSPlayerEmoticons } from './HLSPlayerEmoticons';
22
- import { CustomControls } from './CustomHLSPlayerControls';
23
- import { COLORS, hexToRgbA } from '../utils/theme';
24
- import { HMSHLSNotStarted } from './HMSHLSNotStarted';
25
- import { CrossCircleIcon } from '../Icons';
26
- import { useHMSRoomStyleSheet } from '../hooks-util';
27
- import { useIsHLSStreamingOn } from '../hooks-sdk';
28
- import { useIsLandscapeOrientation } from '../utils/dimension';
29
-
30
- export const _HLSView: React.FC = () => {
31
- const dispatch = useDispatch();
32
- const isHLSStreaming = useIsHLSStreamingOn();
33
- const isStreamUrlPresent = useSelector(
34
- (state: RootState) =>
35
- !!state.hmsStates.room?.hlsStreamingState.variants?.[0]?.hlsStreamUrl
36
- );
37
- const { width, height } = useWindowDimensions();
38
- const hmsHlsPlayerRef = useRef<ComponentRef<typeof HMSHLSPlayer>>(null);
39
- const showHLSStats = useSelector(
40
- (state: RootState) => state.app.joinConfig.showHLSStats
41
- );
42
- const showCustomHLSPlayerControls = useSelector(
43
- (state: RootState) => state.app.joinConfig.showCustomHLSPlayerControls
44
- );
45
- const enableHLSPlayerControls = useSelector(
46
- (state: RootState) => state.app.joinConfig.enableHLSPlayerControls
47
- );
48
-
49
- const handleClosePress = () => {
50
- dispatch(changeShowHLSStats(false));
51
- };
52
-
53
- const hlsPlayerActions = <
54
- T extends
55
- | 'play'
56
- | 'stop'
57
- | 'pause'
58
- | 'resume'
59
- | 'seekForward'
60
- | 'seekBackward'
61
- | 'seekToLive'
62
- | 'setVolume',
63
- >(
64
- action: T,
65
- ...args: any[]
66
- ) => {
67
- switch (action) {
68
- case 'play': {
69
- hmsHlsPlayerRef.current?.play(args[0]);
70
- break;
71
- }
72
- case 'stop': {
73
- hmsHlsPlayerRef.current?.stop();
74
- break;
75
- }
76
- case 'pause': {
77
- hmsHlsPlayerRef.current?.pause();
78
- break;
79
- }
80
- case 'resume': {
81
- hmsHlsPlayerRef.current?.resume();
82
- break;
83
- }
84
- case 'seekForward': {
85
- hmsHlsPlayerRef.current?.seekForward(args[0]);
86
- break;
87
- }
88
- case 'seekBackward': {
89
- hmsHlsPlayerRef.current?.seekBackward(args[0]);
90
- break;
91
- }
92
- case 'seekToLive': {
93
- hmsHlsPlayerRef.current?.seekToLivePosition();
94
- break;
95
- }
96
- case 'setVolume': {
97
- hmsHlsPlayerRef.current?.setVolume(args[0]);
98
- break;
99
- }
100
- }
101
- };
102
-
103
- const [playerKey, setPlayerKey] = React.useState(1);
104
-
105
- const prevReconnectingRef = React.useRef<null | boolean>(null);
106
- const reconnecting = useSelector(
107
- (state: RootState) => state.hmsStates.reconnecting
108
- );
109
-
110
- const hlsPlayerPlaybackState = useHMSHLSPlayerPlaybackState();
111
- const resolution = useHMSHLSPlayerResolution();
112
- const isLandscapeOrientation = useIsLandscapeOrientation();
113
-
114
- const isPlaybackFailed =
115
- hlsPlayerPlaybackState === HMSHLSPlayerPlaybackState.FAILED;
116
-
117
- React.useEffect(() => {
118
- const prevReconnecting = prevReconnectingRef.current;
119
-
120
- if (
121
- Platform.OS === 'android' &&
122
- prevReconnecting && // previously were in reconnection state
123
- reconnecting === false && // now in reconnected state
124
- isPlaybackFailed // and player playback is in failed state
125
- ) {
126
- // Recreate the HLS PLayer instance
127
- setPlayerKey((prevKey) => (prevKey += 1));
128
- }
129
-
130
- prevReconnectingRef.current = reconnecting;
131
- }, [reconnecting, isPlaybackFailed]);
132
-
133
- const hmsRoomStyles = useHMSRoomStyleSheet((theme, typography) => ({
134
- failedContainer: {
135
- backgroundColor: theme.palette.background_dim
136
- ? hexToRgbA(theme.palette.background_dim, 0.7)
137
- : COLORS.LOADING_BACKDROP,
138
- },
139
- failedText: {
140
- color: theme.palette.on_surface_high,
141
- fontFamily: `${typography.font_family}-Regular`,
142
- },
143
- }));
144
-
145
- return (
146
- <View style={styles.hlsView}>
147
- {isHLSStreaming ? (
148
- isStreamUrlPresent ? (
149
- <View style={styles.hlsPlayerContainer}>
150
- <HMSHLSPlayer
151
- key={playerKey}
152
- ref={hmsHlsPlayerRef}
153
- enableStats={showHLSStats}
154
- enableControls={enableHLSPlayerControls}
155
- style={
156
- isLandscapeOrientation
157
- ? {
158
- height,
159
- width: resolution
160
- ? height * (resolution.width / resolution.height)
161
- : width,
162
- }
163
- : {
164
- width,
165
- height: resolution
166
- ? width / (resolution.width / resolution.height)
167
- : height,
168
- }
169
- }
170
- />
171
-
172
- <HLSPlayerEmoticons />
173
-
174
- {showHLSStats ? (
175
- <HLSPlayerStatsView onClosePress={handleClosePress} />
176
- ) : null}
177
-
178
- {showCustomHLSPlayerControls ? (
179
- <CustomControls handleControlPress={hlsPlayerActions} />
180
- ) : null}
181
-
182
- {isPlaybackFailed ? (
183
- <View
184
- style={[
185
- styles.playbackFailedContainer,
186
- hmsRoomStyles.failedContainer,
187
- ]}
188
- >
189
- <CrossCircleIcon />
190
-
191
- <Text style={[styles.playbackFailed, hmsRoomStyles.failedText]}>
192
- Playback Failed
193
- </Text>
194
- </View>
195
- ) : null}
196
- </View>
197
- ) : (
198
- <View style={styles.textContainer}>
199
- <Text style={styles.warningSubtitle}>Stream URL not found!</Text>
200
- </View>
201
- )
202
- ) : (
203
- <HMSHLSNotStarted />
204
- )}
205
- </View>
206
- );
207
- };
208
-
209
- export const HLSView = React.memo(_HLSView);
210
-
211
- const styles = StyleSheet.create({
212
- hlsView: {
213
- flex: 1,
214
- },
215
- hlsPlayerContainer: {
216
- flex: 1,
217
- position: 'relative',
218
- },
219
- textContainer: {
220
- flex: 1,
221
- paddingHorizontal: 24,
222
- alignItems: 'center',
223
- justifyContent: 'center',
224
- },
225
- warningSubtitle: {
226
- color: COLORS.INDICATORS.WARNING,
227
- fontFamily: 'Inter',
228
- fontSize: 20,
229
- fontWeight: '600',
230
- letterSpacing: 0.25,
231
- textAlign: 'center',
232
- },
233
- taleLessSpaceAsYouCan: {
234
- flex: 0,
235
- },
236
- playbackFailedContainer: {
237
- flex: 1,
238
- width: '100%',
239
- height: '100%',
240
- alignItems: 'center',
241
- justifyContent: 'center',
242
- position: 'absolute',
243
- },
244
- playbackFailed: {
245
- fontSize: 24,
246
- lineHeight: 32,
247
- letterSpacing: 0.5,
248
- textAlign: 'center',
249
- marginTop: 8,
250
- },
251
- });