@stream-io/video-react-native-sdk 1.10.4 → 1.10.6

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 (785) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/commonjs/components/Call/CallContent/CallContent.js +21 -31
  3. package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
  4. package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js +2 -3
  5. package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
  6. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +6 -10
  7. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -1
  8. package/dist/commonjs/components/Call/CallControls/CallControls.js +6 -8
  9. package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
  10. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +8 -11
  11. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -1
  12. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +6 -10
  13. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -1
  14. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +9 -11
  15. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -1
  16. package/dist/commonjs/components/Call/CallControls/LobbyControls.js +3 -5
  17. package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -1
  18. package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js +9 -12
  19. package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
  20. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js +15 -22
  21. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -1
  22. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +6 -10
  23. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -1
  24. package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js +11 -15
  25. package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
  26. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +9 -13
  27. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
  28. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +13 -18
  29. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
  30. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +12 -17
  31. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
  32. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +9 -13
  33. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
  34. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +12 -17
  35. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
  36. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +34 -39
  37. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  38. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +8 -10
  39. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  40. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +18 -22
  41. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  42. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +21 -25
  43. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  44. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +7 -10
  45. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -1
  46. package/dist/commonjs/components/Call/Lobby/Lobby.js +33 -43
  47. package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
  48. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js +16 -21
  49. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js.map +1 -1
  50. package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js +1 -2
  51. package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
  52. package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js +1 -2
  53. package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
  54. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +22 -33
  55. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
  56. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +25 -35
  57. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
  58. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +8 -12
  59. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  60. package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js +22 -28
  61. package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
  62. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +22 -25
  63. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -1
  64. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +26 -31
  65. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
  66. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +12 -16
  67. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
  68. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +12 -16
  69. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
  70. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +14 -19
  71. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
  72. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js +3 -5
  73. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
  74. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +16 -19
  75. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
  76. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +14 -19
  77. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
  78. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +12 -16
  79. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
  80. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +9 -12
  81. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
  82. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +12 -14
  83. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
  84. package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +3 -5
  85. package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
  86. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +12 -16
  87. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
  88. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +12 -16
  89. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
  90. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +13 -18
  91. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
  92. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +7 -10
  93. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
  94. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +13 -18
  95. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
  96. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +15 -19
  97. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
  98. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +15 -18
  99. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
  100. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +18 -20
  101. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  102. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +33 -39
  103. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
  104. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +43 -54
  105. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
  106. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +27 -30
  107. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
  108. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +7 -11
  109. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  110. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +14 -17
  111. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
  112. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +20 -23
  113. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  114. package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js +7 -8
  115. package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
  116. package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer.js +11 -13
  117. package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer.js.map +1 -1
  118. package/dist/commonjs/components/utility/Avatar.js +15 -18
  119. package/dist/commonjs/components/utility/Avatar.js.map +1 -1
  120. package/dist/commonjs/components/utility/ScreenShareOverlay.js +29 -35
  121. package/dist/commonjs/components/utility/ScreenShareOverlay.js.map +1 -1
  122. package/dist/commonjs/contexts/BackgroundFilters.js +3 -5
  123. package/dist/commonjs/contexts/BackgroundFilters.js.map +1 -1
  124. package/dist/commonjs/contexts/StreamVideoContext.js +5 -6
  125. package/dist/commonjs/contexts/StreamVideoContext.js.map +1 -1
  126. package/dist/commonjs/contexts/ThemeContext.js +3 -5
  127. package/dist/commonjs/contexts/ThemeContext.js.map +1 -1
  128. package/dist/commonjs/hooks/push/useProcessPushCallEffect.js +1 -1
  129. package/dist/commonjs/hooks/push/useProcessPushCallEffect.js.map +1 -1
  130. package/dist/commonjs/hooks/useAndroidKeepCallAliveEffect.js +4 -3
  131. package/dist/commonjs/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
  132. package/dist/commonjs/icons/Back.js +6 -8
  133. package/dist/commonjs/icons/Back.js.map +1 -1
  134. package/dist/commonjs/icons/CameraSwitch.js +6 -8
  135. package/dist/commonjs/icons/CameraSwitch.js.map +1 -1
  136. package/dist/commonjs/icons/EndStreamIcon.js +6 -8
  137. package/dist/commonjs/icons/EndStreamIcon.js.map +1 -1
  138. package/dist/commonjs/icons/Eye.js +6 -8
  139. package/dist/commonjs/icons/Eye.js.map +1 -1
  140. package/dist/commonjs/icons/IconWrapper.js +3 -5
  141. package/dist/commonjs/icons/IconWrapper.js.map +1 -1
  142. package/dist/commonjs/icons/LeaveStreamIcon.js +6 -8
  143. package/dist/commonjs/icons/LeaveStreamIcon.js.map +1 -1
  144. package/dist/commonjs/icons/Lock.js +6 -8
  145. package/dist/commonjs/icons/Lock.js.map +1 -1
  146. package/dist/commonjs/icons/Mic.js +6 -8
  147. package/dist/commonjs/icons/Mic.js.map +1 -1
  148. package/dist/commonjs/icons/MicOff.js +6 -8
  149. package/dist/commonjs/icons/MicOff.js.map +1 -1
  150. package/dist/commonjs/icons/Phone.js +6 -8
  151. package/dist/commonjs/icons/Phone.js.map +1 -1
  152. package/dist/commonjs/icons/PhoneDown.js +6 -8
  153. package/dist/commonjs/icons/PhoneDown.js.map +1 -1
  154. package/dist/commonjs/icons/PinVertical.js +6 -8
  155. package/dist/commonjs/icons/PinVertical.js.map +1 -1
  156. package/dist/commonjs/icons/Reaction.js +6 -8
  157. package/dist/commonjs/icons/Reaction.js.map +1 -1
  158. package/dist/commonjs/icons/ScreenShare.js +6 -8
  159. package/dist/commonjs/icons/ScreenShare.js.map +1 -1
  160. package/dist/commonjs/icons/ScreenShareIndicator.js +18 -21
  161. package/dist/commonjs/icons/ScreenShareIndicator.js.map +1 -1
  162. package/dist/commonjs/icons/Settings.js +5 -7
  163. package/dist/commonjs/icons/Settings.js.map +1 -1
  164. package/dist/commonjs/icons/ShieldBadge.js +6 -8
  165. package/dist/commonjs/icons/ShieldBadge.js.map +1 -1
  166. package/dist/commonjs/icons/Spotlight.js +8 -10
  167. package/dist/commonjs/icons/Spotlight.js.map +1 -1
  168. package/dist/commonjs/icons/StartStreamIcon.js +6 -8
  169. package/dist/commonjs/icons/StartStreamIcon.js.map +1 -1
  170. package/dist/commonjs/icons/StopScreenShare.js +9 -11
  171. package/dist/commonjs/icons/StopScreenShare.js.map +1 -1
  172. package/dist/commonjs/icons/ThreeDots.js +18 -20
  173. package/dist/commonjs/icons/ThreeDots.js.map +1 -1
  174. package/dist/commonjs/icons/TopViewBackground.js +19 -24
  175. package/dist/commonjs/icons/TopViewBackground.js.map +1 -1
  176. package/dist/commonjs/icons/Video.js +6 -8
  177. package/dist/commonjs/icons/Video.js.map +1 -1
  178. package/dist/commonjs/icons/VideoSlash.js +6 -8
  179. package/dist/commonjs/icons/VideoSlash.js.map +1 -1
  180. package/dist/commonjs/providers/StreamCall/index.js +3 -5
  181. package/dist/commonjs/providers/StreamCall/index.js.map +1 -1
  182. package/dist/commonjs/providers/StreamVideo.js +5 -10
  183. package/dist/commonjs/providers/StreamVideo.js.map +1 -1
  184. package/dist/commonjs/theme/theme.js.map +1 -1
  185. package/dist/commonjs/utils/push/ios.js +1 -0
  186. package/dist/commonjs/utils/push/ios.js.map +1 -1
  187. package/dist/commonjs/utils/push/libs/notifee/index.js.map +1 -1
  188. package/dist/commonjs/version.js +1 -1
  189. package/dist/module/components/Call/CallContent/CallContent.js +21 -33
  190. package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
  191. package/dist/module/components/Call/CallContent/RTCViewPipIOS.js +2 -5
  192. package/dist/module/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
  193. package/dist/module/components/Call/CallContent/index.js +0 -2
  194. package/dist/module/components/Call/CallContent/index.js.map +1 -1
  195. package/dist/module/components/Call/CallControls/AcceptCallButton.js +7 -12
  196. package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -1
  197. package/dist/module/components/Call/CallControls/CallControls.js +7 -10
  198. package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
  199. package/dist/module/components/Call/CallControls/CallControlsButton.js +8 -13
  200. package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -1
  201. package/dist/module/components/Call/CallControls/HangupCallButton.js +7 -12
  202. package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -1
  203. package/dist/module/components/Call/CallControls/IncomingCallControls.js +10 -13
  204. package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -1
  205. package/dist/module/components/Call/CallControls/LobbyControls.js +3 -7
  206. package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -1
  207. package/dist/module/components/Call/CallControls/OutgoingCallControls.js +10 -14
  208. package/dist/module/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
  209. package/dist/module/components/Call/CallControls/ReactionsButton.js +16 -24
  210. package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -1
  211. package/dist/module/components/Call/CallControls/RejectCallButton.js +7 -12
  212. package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -1
  213. package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js +12 -17
  214. package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
  215. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +10 -15
  216. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
  217. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +14 -20
  218. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
  219. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +13 -19
  220. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
  221. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +10 -15
  222. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
  223. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +13 -19
  224. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
  225. package/dist/module/components/Call/CallControls/index.js +0 -2
  226. package/dist/module/components/Call/CallControls/index.js.map +1 -1
  227. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +34 -41
  228. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  229. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +9 -12
  230. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  231. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +19 -24
  232. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  233. package/dist/module/components/Call/CallLayout/index.js +0 -2
  234. package/dist/module/components/Call/CallLayout/index.js.map +1 -1
  235. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +21 -27
  236. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  237. package/dist/module/components/Call/CallParticipantsList/index.js +0 -2
  238. package/dist/module/components/Call/CallParticipantsList/index.js.map +1 -1
  239. package/dist/module/components/Call/Lobby/JoinCallButton.js +8 -12
  240. package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -1
  241. package/dist/module/components/Call/Lobby/Lobby.js +34 -45
  242. package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
  243. package/dist/module/components/Call/Lobby/LobbyFooter.js +17 -23
  244. package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -1
  245. package/dist/module/components/Call/Lobby/index.js +0 -2
  246. package/dist/module/components/Call/Lobby/index.js.map +1 -1
  247. package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js +1 -4
  248. package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
  249. package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js +1 -4
  250. package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
  251. package/dist/module/components/Call/RingingCallContent/IncomingCall.js +23 -35
  252. package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
  253. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +26 -37
  254. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
  255. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +9 -14
  256. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  257. package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js +22 -30
  258. package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
  259. package/dist/module/components/Call/RingingCallContent/UserInfo.js +22 -27
  260. package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -1
  261. package/dist/module/components/Call/RingingCallContent/index.js +0 -2
  262. package/dist/module/components/Call/RingingCallContent/index.js.map +1 -1
  263. package/dist/module/components/Call/index.js +0 -2
  264. package/dist/module/components/Call/index.js.map +1 -1
  265. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +27 -33
  266. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
  267. package/dist/module/components/Livestream/HostLivestream/index.js +0 -2
  268. package/dist/module/components/Livestream/HostLivestream/index.js.map +1 -1
  269. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +13 -18
  270. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
  271. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +13 -18
  272. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
  273. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +14 -21
  274. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
  275. package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js +4 -7
  276. package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
  277. package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +16 -21
  278. package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
  279. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +14 -21
  280. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
  281. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +13 -18
  282. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
  283. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +10 -14
  284. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
  285. package/dist/module/components/Livestream/LivestreamControls/index.js +0 -2
  286. package/dist/module/components/Livestream/LivestreamControls/index.js.map +1 -1
  287. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +13 -16
  288. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
  289. package/dist/module/components/Livestream/LivestreamLayout/index.js +0 -2
  290. package/dist/module/components/Livestream/LivestreamLayout/index.js.map +1 -1
  291. package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +3 -7
  292. package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
  293. package/dist/module/components/Livestream/LivestreamPlayer/index.js +0 -2
  294. package/dist/module/components/Livestream/LivestreamPlayer/index.js.map +1 -1
  295. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +13 -18
  296. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
  297. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +13 -18
  298. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
  299. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +14 -20
  300. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
  301. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +8 -12
  302. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
  303. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +14 -20
  304. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
  305. package/dist/module/components/Livestream/LivestreamTopView/index.js +0 -2
  306. package/dist/module/components/Livestream/LivestreamTopView/index.js.map +1 -1
  307. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +16 -21
  308. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
  309. package/dist/module/components/Livestream/ViewerLivestream/index.js +0 -2
  310. package/dist/module/components/Livestream/ViewerLivestream/index.js.map +1 -1
  311. package/dist/module/components/Livestream/index.js +0 -2
  312. package/dist/module/components/Livestream/index.js.map +1 -1
  313. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +15 -20
  314. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
  315. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +18 -22
  316. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  317. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js +0 -2
  318. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js.map +1 -1
  319. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js +0 -2
  320. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js.map +1 -1
  321. package/dist/module/components/Participant/FloatingParticipantView/index.js +34 -41
  322. package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
  323. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +44 -56
  324. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
  325. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +28 -32
  326. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
  327. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +8 -13
  328. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  329. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +15 -19
  330. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
  331. package/dist/module/components/Participant/ParticipantView/ParticipantView.js +21 -25
  332. package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  333. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js +8 -10
  334. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
  335. package/dist/module/components/Participant/ParticipantView/VideoRenderer.js +11 -15
  336. package/dist/module/components/Participant/ParticipantView/VideoRenderer.js.map +1 -1
  337. package/dist/module/components/Participant/ParticipantView/index.js +0 -2
  338. package/dist/module/components/Participant/ParticipantView/index.js.map +1 -1
  339. package/dist/module/components/Participant/index.js +0 -2
  340. package/dist/module/components/Participant/index.js.map +1 -1
  341. package/dist/module/components/index.js +0 -2
  342. package/dist/module/components/index.js.map +1 -1
  343. package/dist/module/components/utility/Avatar.js +16 -20
  344. package/dist/module/components/utility/Avatar.js.map +1 -1
  345. package/dist/module/components/utility/ScreenShareOverlay.js +30 -37
  346. package/dist/module/components/utility/ScreenShareOverlay.js.map +1 -1
  347. package/dist/module/components/utility/index.js +0 -2
  348. package/dist/module/components/utility/index.js.map +1 -1
  349. package/dist/module/constants/TestIds.js +0 -2
  350. package/dist/module/constants/TestIds.js.map +1 -1
  351. package/dist/module/constants/index.js +0 -2
  352. package/dist/module/constants/index.js.map +1 -1
  353. package/dist/module/contexts/BackgroundFilters.js +3 -7
  354. package/dist/module/contexts/BackgroundFilters.js.map +1 -1
  355. package/dist/module/contexts/StreamVideoContext.js +3 -7
  356. package/dist/module/contexts/StreamVideoContext.js.map +1 -1
  357. package/dist/module/contexts/ThemeContext.js +3 -7
  358. package/dist/module/contexts/ThemeContext.js.map +1 -1
  359. package/dist/module/contexts/index.js +0 -2
  360. package/dist/module/contexts/index.js.map +1 -1
  361. package/dist/module/hooks/index.js +0 -2
  362. package/dist/module/hooks/index.js.map +1 -1
  363. package/dist/module/hooks/internal/useCallMediaStreamCleanup.js +0 -2
  364. package/dist/module/hooks/internal/useCallMediaStreamCleanup.js.map +1 -1
  365. package/dist/module/hooks/push/index.js +0 -2
  366. package/dist/module/hooks/push/index.js.map +1 -1
  367. package/dist/module/hooks/push/useInitAndroidTokenAndRest.js +0 -2
  368. package/dist/module/hooks/push/useInitAndroidTokenAndRest.js.map +1 -1
  369. package/dist/module/hooks/push/useIosCallKeepEventsSetupEffect.js +0 -2
  370. package/dist/module/hooks/push/useIosCallKeepEventsSetupEffect.js.map +1 -1
  371. package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js +0 -2
  372. package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js.map +1 -1
  373. package/dist/module/hooks/push/useIosInitRemoteNotifications.js +0 -2
  374. package/dist/module/hooks/push/useIosInitRemoteNotifications.js.map +1 -1
  375. package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js +0 -2
  376. package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
  377. package/dist/module/hooks/push/useProcessPushCallEffect.js +1 -3
  378. package/dist/module/hooks/push/useProcessPushCallEffect.js.map +1 -1
  379. package/dist/module/hooks/push/useProcessPushNonRingingCallEffect.js +0 -2
  380. package/dist/module/hooks/push/useProcessPushNonRingingCallEffect.js.map +1 -1
  381. package/dist/module/hooks/useAndroidKeepCallAliveEffect.js +4 -5
  382. package/dist/module/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
  383. package/dist/module/hooks/useApplyDefaultMediaStreamSettings.js +0 -2
  384. package/dist/module/hooks/useApplyDefaultMediaStreamSettings.js.map +1 -1
  385. package/dist/module/hooks/useAutoEnterPiPEffect.js +0 -2
  386. package/dist/module/hooks/useAutoEnterPiPEffect.js.map +1 -1
  387. package/dist/module/hooks/useIsInPiPMode.js +0 -2
  388. package/dist/module/hooks/useIsInPiPMode.js.map +1 -1
  389. package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js +0 -2
  390. package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js.map +1 -1
  391. package/dist/module/hooks/usePaginatedLayoutSortPreset.js +0 -2
  392. package/dist/module/hooks/usePaginatedLayoutSortPreset.js.map +1 -1
  393. package/dist/module/hooks/usePermissionNotification.js +0 -2
  394. package/dist/module/hooks/usePermissionNotification.js.map +1 -1
  395. package/dist/module/hooks/usePermissionRequest.js +0 -2
  396. package/dist/module/hooks/usePermissionRequest.js.map +1 -1
  397. package/dist/module/hooks/useScreenShareButton.js +0 -2
  398. package/dist/module/hooks/useScreenShareButton.js.map +1 -1
  399. package/dist/module/hooks/useTrackDimensions.js +0 -2
  400. package/dist/module/hooks/useTrackDimensions.js.map +1 -1
  401. package/dist/module/icons/Back.js +6 -10
  402. package/dist/module/icons/Back.js.map +1 -1
  403. package/dist/module/icons/CameraSwitch.js +6 -10
  404. package/dist/module/icons/CameraSwitch.js.map +1 -1
  405. package/dist/module/icons/EndStreamIcon.js +6 -10
  406. package/dist/module/icons/EndStreamIcon.js.map +1 -1
  407. package/dist/module/icons/Eye.js +6 -10
  408. package/dist/module/icons/Eye.js.map +1 -1
  409. package/dist/module/icons/IconWrapper.js +3 -7
  410. package/dist/module/icons/IconWrapper.js.map +1 -1
  411. package/dist/module/icons/LeaveStreamIcon.js +6 -10
  412. package/dist/module/icons/LeaveStreamIcon.js.map +1 -1
  413. package/dist/module/icons/Lock.js +6 -10
  414. package/dist/module/icons/Lock.js.map +1 -1
  415. package/dist/module/icons/Mic.js +6 -10
  416. package/dist/module/icons/Mic.js.map +1 -1
  417. package/dist/module/icons/MicOff.js +6 -10
  418. package/dist/module/icons/MicOff.js.map +1 -1
  419. package/dist/module/icons/Phone.js +6 -10
  420. package/dist/module/icons/Phone.js.map +1 -1
  421. package/dist/module/icons/PhoneDown.js +6 -10
  422. package/dist/module/icons/PhoneDown.js.map +1 -1
  423. package/dist/module/icons/PinVertical.js +6 -10
  424. package/dist/module/icons/PinVertical.js.map +1 -1
  425. package/dist/module/icons/Reaction.js +6 -10
  426. package/dist/module/icons/Reaction.js.map +1 -1
  427. package/dist/module/icons/ScreenShare.js +6 -10
  428. package/dist/module/icons/ScreenShare.js.map +1 -1
  429. package/dist/module/icons/ScreenShareIndicator.js +18 -23
  430. package/dist/module/icons/ScreenShareIndicator.js.map +1 -1
  431. package/dist/module/icons/Settings.js +5 -9
  432. package/dist/module/icons/Settings.js.map +1 -1
  433. package/dist/module/icons/ShieldBadge.js +6 -10
  434. package/dist/module/icons/ShieldBadge.js.map +1 -1
  435. package/dist/module/icons/Spotlight.js +8 -12
  436. package/dist/module/icons/Spotlight.js.map +1 -1
  437. package/dist/module/icons/StartStreamIcon.js +6 -10
  438. package/dist/module/icons/StartStreamIcon.js.map +1 -1
  439. package/dist/module/icons/StopScreenShare.js +9 -13
  440. package/dist/module/icons/StopScreenShare.js.map +1 -1
  441. package/dist/module/icons/ThreeDots.js +18 -22
  442. package/dist/module/icons/ThreeDots.js.map +1 -1
  443. package/dist/module/icons/TopViewBackground.js +19 -26
  444. package/dist/module/icons/TopViewBackground.js.map +1 -1
  445. package/dist/module/icons/Video.js +6 -10
  446. package/dist/module/icons/Video.js.map +1 -1
  447. package/dist/module/icons/VideoSlash.js +6 -10
  448. package/dist/module/icons/VideoSlash.js.map +1 -1
  449. package/dist/module/icons/index.js +0 -2
  450. package/dist/module/icons/index.js.map +1 -1
  451. package/dist/module/index.js +0 -2
  452. package/dist/module/index.js.map +1 -1
  453. package/dist/module/providers/StreamCall/AppStateListener.js +0 -2
  454. package/dist/module/providers/StreamCall/AppStateListener.js.map +1 -1
  455. package/dist/module/providers/StreamCall/DeviceStats.js +0 -2
  456. package/dist/module/providers/StreamCall/DeviceStats.js.map +1 -1
  457. package/dist/module/providers/StreamCall/index.js +4 -7
  458. package/dist/module/providers/StreamCall/index.js.map +1 -1
  459. package/dist/module/providers/StreamVideo.js +5 -12
  460. package/dist/module/providers/StreamVideo.js.map +1 -1
  461. package/dist/module/theme/colors.js +0 -2
  462. package/dist/module/theme/colors.js.map +1 -1
  463. package/dist/module/theme/constants.js +0 -2
  464. package/dist/module/theme/constants.js.map +1 -1
  465. package/dist/module/theme/index.js +0 -2
  466. package/dist/module/theme/index.js.map +1 -1
  467. package/dist/module/theme/theme.js +0 -2
  468. package/dist/module/theme/theme.js.map +1 -1
  469. package/dist/module/theme/types.js +0 -2
  470. package/dist/module/translations/index.js +0 -2
  471. package/dist/module/translations/index.js.map +1 -1
  472. package/dist/module/utils/StreamVideoRN/index.js +0 -2
  473. package/dist/module/utils/StreamVideoRN/index.js.map +1 -1
  474. package/dist/module/utils/StreamVideoRN/types.js +0 -2
  475. package/dist/module/utils/enterPiPAndroid.js +0 -2
  476. package/dist/module/utils/enterPiPAndroid.js.map +1 -1
  477. package/dist/module/utils/getAndroidDefaultRingtoneUrl.js +0 -2
  478. package/dist/module/utils/getAndroidDefaultRingtoneUrl.js.map +1 -1
  479. package/dist/module/utils/hooks/index.js +0 -2
  480. package/dist/module/utils/hooks/index.js.map +1 -1
  481. package/dist/module/utils/hooks/useDebouncedValue.js +0 -2
  482. package/dist/module/utils/hooks/useDebouncedValue.js.map +1 -1
  483. package/dist/module/utils/hooks/usePrevious.js +0 -2
  484. package/dist/module/utils/hooks/usePrevious.js.map +1 -1
  485. package/dist/module/utils/index.js +0 -2
  486. package/dist/module/utils/index.js.map +1 -1
  487. package/dist/module/utils/internal/newNotificationCallbacks.js +0 -2
  488. package/dist/module/utils/internal/newNotificationCallbacks.js.map +1 -1
  489. package/dist/module/utils/internal/optionallibs/gestureHandler.js +0 -2
  490. package/dist/module/utils/internal/optionallibs/gestureHandler.js.map +1 -1
  491. package/dist/module/utils/internal/optionallibs/index.js +0 -2
  492. package/dist/module/utils/internal/optionallibs/index.js.map +1 -1
  493. package/dist/module/utils/internal/optionallibs/reanimated.js +0 -2
  494. package/dist/module/utils/internal/optionallibs/reanimated.js.map +1 -1
  495. package/dist/module/utils/internal/pushLogoutCallback.js +0 -2
  496. package/dist/module/utils/internal/pushLogoutCallback.js.map +1 -1
  497. package/dist/module/utils/internal/rxSubjects.js +0 -2
  498. package/dist/module/utils/internal/rxSubjects.js.map +1 -1
  499. package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js +0 -2
  500. package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js.map +1 -1
  501. package/dist/module/utils/push/android.js +0 -2
  502. package/dist/module/utils/push/android.js.map +1 -1
  503. package/dist/module/utils/push/index.js +0 -2
  504. package/dist/module/utils/push/index.js.map +1 -1
  505. package/dist/module/utils/push/internal/rxSubjects.js +0 -2
  506. package/dist/module/utils/push/internal/rxSubjects.js.map +1 -1
  507. package/dist/module/utils/push/internal/utils.js +0 -2
  508. package/dist/module/utils/push/internal/utils.js.map +1 -1
  509. package/dist/module/utils/push/ios.js +1 -2
  510. package/dist/module/utils/push/ios.js.map +1 -1
  511. package/dist/module/utils/push/libs/callkeep.js +0 -2
  512. package/dist/module/utils/push/libs/callkeep.js.map +1 -1
  513. package/dist/module/utils/push/libs/expoNotifications.js +0 -2
  514. package/dist/module/utils/push/libs/expoNotifications.js.map +1 -1
  515. package/dist/module/utils/push/libs/firebaseMessaging/index.js +0 -2
  516. package/dist/module/utils/push/libs/firebaseMessaging/index.js.map +1 -1
  517. package/dist/module/utils/push/libs/firebaseMessaging/lib.js +0 -2
  518. package/dist/module/utils/push/libs/firebaseMessaging/lib.js.map +1 -1
  519. package/dist/module/utils/push/libs/index.js +0 -2
  520. package/dist/module/utils/push/libs/index.js.map +1 -1
  521. package/dist/module/utils/push/libs/iosPushNotification.js +0 -2
  522. package/dist/module/utils/push/libs/iosPushNotification.js.map +1 -1
  523. package/dist/module/utils/push/libs/notifee/index.js +0 -2
  524. package/dist/module/utils/push/libs/notifee/index.js.map +1 -1
  525. package/dist/module/utils/push/libs/notifee/lib.js +0 -2
  526. package/dist/module/utils/push/libs/notifee/lib.js.map +1 -1
  527. package/dist/module/utils/push/libs/voipPushNotification.js +0 -2
  528. package/dist/module/utils/push/libs/voipPushNotification.js.map +1 -1
  529. package/dist/module/utils/push/utils.js +0 -2
  530. package/dist/module/utils/push/utils.js.map +1 -1
  531. package/dist/module/utils/setClientDetails.js +0 -2
  532. package/dist/module/utils/setClientDetails.js.map +1 -1
  533. package/dist/module/version.js +1 -3
  534. package/dist/module/version.js.map +1 -1
  535. package/dist/typescript/components/Call/CallContent/CallContent.d.ts +5 -5
  536. package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
  537. package/dist/typescript/components/Call/CallControls/CallControls.d.ts +2 -2
  538. package/dist/typescript/components/Call/CallControls/CallControls.d.ts.map +1 -1
  539. package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts +2 -2
  540. package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts.map +1 -1
  541. package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts +1 -1
  542. package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts.map +1 -1
  543. package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts +1 -1
  544. package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts.map +1 -1
  545. package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts +2 -2
  546. package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts.map +1 -1
  547. package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts +3 -3
  548. package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts.map +1 -1
  549. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts +3 -3
  550. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -1
  551. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts +3 -3
  552. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -1
  553. package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts +1 -1
  554. package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts.map +1 -1
  555. package/dist/typescript/components/Call/Lobby/Lobby.d.ts +3 -3
  556. package/dist/typescript/components/Call/Lobby/Lobby.d.ts.map +1 -1
  557. package/dist/typescript/components/Call/Lobby/LobbyFooter.d.ts +1 -1
  558. package/dist/typescript/components/Call/Lobby/LobbyFooter.d.ts.map +1 -1
  559. package/dist/typescript/components/Call/RingingCallContent/CallLeftIndicator.d.ts +1 -1
  560. package/dist/typescript/components/Call/RingingCallContent/CallLeftIndicator.d.ts.map +1 -1
  561. package/dist/typescript/components/Call/RingingCallContent/CallPreparingIndicator.d.ts +1 -1
  562. package/dist/typescript/components/Call/RingingCallContent/CallPreparingIndicator.d.ts.map +1 -1
  563. package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts +1 -1
  564. package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts.map +1 -1
  565. package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts +1 -1
  566. package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts.map +1 -1
  567. package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts +5 -5
  568. package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts.map +1 -1
  569. package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts +5 -5
  570. package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts.map +1 -1
  571. package/dist/typescript/components/Livestream/LivestreamControls/HostLivestreamControls.d.ts +3 -3
  572. package/dist/typescript/components/Livestream/LivestreamControls/HostLivestreamControls.d.ts.map +1 -1
  573. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts +2 -2
  574. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts.map +1 -1
  575. package/dist/typescript/components/Livestream/LivestreamLayout/LivestreamLayout.d.ts +2 -2
  576. package/dist/typescript/components/Livestream/LivestreamLayout/LivestreamLayout.d.ts.map +1 -1
  577. package/dist/typescript/components/Livestream/LivestreamPlayer/LivestreamPlayer.d.ts +1 -1
  578. package/dist/typescript/components/Livestream/LivestreamPlayer/LivestreamPlayer.d.ts.map +1 -1
  579. package/dist/typescript/components/Livestream/LivestreamTopView/DurationBadge.d.ts.map +1 -1
  580. package/dist/typescript/components/Livestream/LivestreamTopView/HostLivestreamTopView.d.ts +4 -4
  581. package/dist/typescript/components/Livestream/LivestreamTopView/HostLivestreamTopView.d.ts.map +1 -1
  582. package/dist/typescript/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.d.ts +4 -4
  583. package/dist/typescript/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.d.ts.map +1 -1
  584. package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts +5 -5
  585. package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts.map +1 -1
  586. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.d.ts +1 -1
  587. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.d.ts.map +1 -1
  588. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts +1 -1
  589. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts.map +1 -1
  590. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/common.d.ts +1 -1
  591. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/common.d.ts.map +1 -1
  592. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/index.d.ts +1 -1
  593. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/index.d.ts.map +1 -1
  594. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts +4 -4
  595. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -1
  596. package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts +1 -1
  597. package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts.map +1 -1
  598. package/dist/typescript/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.d.ts +1 -1
  599. package/dist/typescript/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.d.ts.map +1 -1
  600. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts +2 -2
  601. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts.map +1 -1
  602. package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts +1 -1
  603. package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts.map +1 -1
  604. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts +9 -9
  605. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -1
  606. package/dist/typescript/components/Participant/ParticipantView/VideoRenderer.d.ts +1 -1
  607. package/dist/typescript/components/Participant/ParticipantView/VideoRenderer.d.ts.map +1 -1
  608. package/dist/typescript/components/utility/Avatar.d.ts +1 -1
  609. package/dist/typescript/components/utility/Avatar.d.ts.map +1 -1
  610. package/dist/typescript/constants/index.d.ts +1 -1
  611. package/dist/typescript/constants/index.d.ts.map +1 -1
  612. package/dist/typescript/contexts/BackgroundFilters.d.ts +1 -1
  613. package/dist/typescript/contexts/BackgroundFilters.d.ts.map +1 -1
  614. package/dist/typescript/contexts/StreamVideoContext.d.ts.map +1 -1
  615. package/dist/typescript/contexts/ThemeContext.d.ts +2 -2
  616. package/dist/typescript/contexts/ThemeContext.d.ts.map +1 -1
  617. package/dist/typescript/hooks/useAndroidKeepCallAliveEffect.d.ts.map +1 -1
  618. package/dist/typescript/hooks/useTrackDimensions.d.ts +1 -1
  619. package/dist/typescript/hooks/useTrackDimensions.d.ts.map +1 -1
  620. package/dist/typescript/icons/Back.d.ts +1 -1
  621. package/dist/typescript/icons/Back.d.ts.map +1 -1
  622. package/dist/typescript/icons/CameraSwitch.d.ts +1 -1
  623. package/dist/typescript/icons/CameraSwitch.d.ts.map +1 -1
  624. package/dist/typescript/icons/IconWrapper.d.ts +1 -1
  625. package/dist/typescript/icons/IconWrapper.d.ts.map +1 -1
  626. package/dist/typescript/icons/Lock.d.ts +1 -1
  627. package/dist/typescript/icons/Lock.d.ts.map +1 -1
  628. package/dist/typescript/icons/Mic.d.ts +1 -1
  629. package/dist/typescript/icons/Mic.d.ts.map +1 -1
  630. package/dist/typescript/icons/MicOff.d.ts +1 -1
  631. package/dist/typescript/icons/MicOff.d.ts.map +1 -1
  632. package/dist/typescript/icons/Phone.d.ts +1 -1
  633. package/dist/typescript/icons/Phone.d.ts.map +1 -1
  634. package/dist/typescript/icons/PhoneDown.d.ts +1 -1
  635. package/dist/typescript/icons/PhoneDown.d.ts.map +1 -1
  636. package/dist/typescript/icons/PinVertical.d.ts +1 -1
  637. package/dist/typescript/icons/PinVertical.d.ts.map +1 -1
  638. package/dist/typescript/icons/Reaction.d.ts +1 -1
  639. package/dist/typescript/icons/Reaction.d.ts.map +1 -1
  640. package/dist/typescript/icons/ScreenShare.d.ts +1 -1
  641. package/dist/typescript/icons/ScreenShare.d.ts.map +1 -1
  642. package/dist/typescript/icons/ScreenShareIndicator.d.ts +1 -1
  643. package/dist/typescript/icons/ScreenShareIndicator.d.ts.map +1 -1
  644. package/dist/typescript/icons/Spotlight.d.ts +1 -1
  645. package/dist/typescript/icons/Spotlight.d.ts.map +1 -1
  646. package/dist/typescript/icons/StopScreenShare.d.ts +1 -1
  647. package/dist/typescript/icons/StopScreenShare.d.ts.map +1 -1
  648. package/dist/typescript/icons/TopViewBackground.d.ts +1 -1
  649. package/dist/typescript/icons/TopViewBackground.d.ts.map +1 -1
  650. package/dist/typescript/icons/Video.d.ts +1 -1
  651. package/dist/typescript/icons/Video.d.ts.map +1 -1
  652. package/dist/typescript/icons/VideoSlash.d.ts +1 -1
  653. package/dist/typescript/icons/VideoSlash.d.ts.map +1 -1
  654. package/dist/typescript/providers/StreamCall/index.d.ts +1 -1
  655. package/dist/typescript/providers/StreamCall/index.d.ts.map +1 -1
  656. package/dist/typescript/providers/StreamVideo.d.ts +4 -4
  657. package/dist/typescript/providers/StreamVideo.d.ts.map +1 -1
  658. package/dist/typescript/theme/colors.d.ts +1 -1
  659. package/dist/typescript/theme/colors.d.ts.map +1 -1
  660. package/dist/typescript/theme/theme.d.ts +3 -3
  661. package/dist/typescript/theme/theme.d.ts.map +1 -1
  662. package/dist/typescript/theme/types.d.ts +1 -1
  663. package/dist/typescript/theme/types.d.ts.map +1 -1
  664. package/dist/typescript/utils/StreamVideoRN/index.d.ts +2 -2
  665. package/dist/typescript/utils/StreamVideoRN/index.d.ts.map +1 -1
  666. package/dist/typescript/utils/StreamVideoRN/types.d.ts +1 -1
  667. package/dist/typescript/utils/StreamVideoRN/types.d.ts.map +1 -1
  668. package/dist/typescript/utils/internal/newNotificationCallbacks.d.ts +1 -1
  669. package/dist/typescript/utils/internal/newNotificationCallbacks.d.ts.map +1 -1
  670. package/dist/typescript/utils/push/android.d.ts +1 -1
  671. package/dist/typescript/utils/push/android.d.ts.map +1 -1
  672. package/dist/typescript/utils/push/internal/rxSubjects.d.ts +1 -1
  673. package/dist/typescript/utils/push/internal/rxSubjects.d.ts.map +1 -1
  674. package/dist/typescript/utils/push/ios.d.ts +1 -1
  675. package/dist/typescript/utils/push/ios.d.ts.map +1 -1
  676. package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts +1 -1
  677. package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts.map +1 -1
  678. package/dist/typescript/utils/push/libs/notifee/index.d.ts +1 -1
  679. package/dist/typescript/utils/push/libs/notifee/index.d.ts.map +1 -1
  680. package/dist/typescript/utils/push/utils.d.ts +4 -4
  681. package/dist/typescript/utils/push/utils.d.ts.map +1 -1
  682. package/dist/typescript/version.d.ts +1 -1
  683. package/expo-config-plugin/dist/withIosScreenCapture/addBroadcastExtensionXcodeTarget.js +17 -7
  684. package/expo-config-plugin/dist/withIosScreenCapture/withFilesMod.js +17 -7
  685. package/expo-config-plugin/dist/withIosScreenCapture/withTarget.js +17 -7
  686. package/ios/RTCViewPipManager.swift +1 -1
  687. package/package.json +16 -15
  688. package/src/components/Call/CallContent/CallContent.tsx +11 -11
  689. package/src/components/Call/CallContent/RTCViewPipIOS.tsx +1 -1
  690. package/src/components/Call/CallControls/CallControls.tsx +6 -3
  691. package/src/components/Call/CallControls/CallControlsButton.tsx +3 -3
  692. package/src/components/Call/CallControls/ReactionsButton.tsx +2 -2
  693. package/src/components/Call/CallControls/ToggleCameraFaceButton.tsx +1 -1
  694. package/src/components/Call/CallControls/internal/ReactionsPicker.tsx +3 -3
  695. package/src/components/Call/CallLayout/CallParticipantsGrid.tsx +4 -4
  696. package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +4 -4
  697. package/src/components/Call/CallParticipantsList/CallParticipantsList.tsx +11 -6
  698. package/src/components/Call/Lobby/JoinCallButton.tsx +1 -1
  699. package/src/components/Call/Lobby/Lobby.tsx +4 -4
  700. package/src/components/Call/Lobby/LobbyFooter.tsx +1 -1
  701. package/src/components/Call/RingingCallContent/CallLeftIndicator.tsx +1 -1
  702. package/src/components/Call/RingingCallContent/CallPreparingIndicator.tsx +1 -1
  703. package/src/components/Call/RingingCallContent/IncomingCall.tsx +2 -3
  704. package/src/components/Call/RingingCallContent/OutgoingCall.tsx +2 -2
  705. package/src/components/Call/RingingCallContent/RingingCallContent.tsx +5 -5
  706. package/src/components/Call/RingingCallContent/UserInfo.tsx +1 -1
  707. package/src/components/Livestream/HostLivestream/HostLivestream.tsx +5 -5
  708. package/src/components/Livestream/LivestreamControls/HostLivestreamControls.tsx +3 -3
  709. package/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx +2 -2
  710. package/src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx +3 -3
  711. package/src/components/Livestream/LivestreamPlayer/LivestreamPlayer.tsx +1 -1
  712. package/src/components/Livestream/LivestreamTopView/DurationBadge.tsx +4 -1
  713. package/src/components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx +4 -4
  714. package/src/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.tsx +4 -4
  715. package/src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx +5 -5
  716. package/src/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.tsx +2 -2
  717. package/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.tsx +4 -2
  718. package/src/components/Participant/FloatingParticipantView/FloatingView/common.ts +1 -1
  719. package/src/components/Participant/FloatingParticipantView/FloatingView/index.ts +1 -1
  720. package/src/components/Participant/FloatingParticipantView/index.tsx +7 -7
  721. package/src/components/Participant/ParticipantView/ParticipantLabel.tsx +1 -1
  722. package/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.tsx +1 -1
  723. package/src/components/Participant/ParticipantView/ParticipantReaction.tsx +2 -2
  724. package/src/components/Participant/ParticipantView/ParticipantVideoFallback.tsx +1 -1
  725. package/src/components/Participant/ParticipantView/ParticipantView.tsx +10 -10
  726. package/src/components/Participant/ParticipantView/VideoRenderer.tsx +2 -2
  727. package/src/components/utility/Avatar.tsx +1 -1
  728. package/src/constants/index.ts +1 -1
  729. package/src/contexts/BackgroundFilters.tsx +1 -1
  730. package/src/contexts/ThemeContext.tsx +2 -2
  731. package/src/hooks/push/useIosVoipPushEventsSetupEffect.ts +1 -1
  732. package/src/hooks/push/useProcessPushCallEffect.ts +1 -1
  733. package/src/hooks/useAndroidKeepCallAliveEffect.ts +5 -4
  734. package/src/hooks/usePermissionRequest.tsx +1 -1
  735. package/src/hooks/useTrackDimensions.ts +2 -2
  736. package/src/icons/Back.tsx +1 -1
  737. package/src/icons/CameraSwitch.tsx +1 -1
  738. package/src/icons/IconWrapper.tsx +1 -1
  739. package/src/icons/Lock.tsx +1 -1
  740. package/src/icons/Mic.tsx +1 -1
  741. package/src/icons/MicOff.tsx +1 -1
  742. package/src/icons/Phone.tsx +1 -1
  743. package/src/icons/PhoneDown.tsx +1 -1
  744. package/src/icons/PinVertical.tsx +1 -1
  745. package/src/icons/Reaction.tsx +1 -1
  746. package/src/icons/ScreenShare.tsx +1 -1
  747. package/src/icons/ScreenShareIndicator.tsx +1 -1
  748. package/src/icons/Spotlight.tsx +1 -1
  749. package/src/icons/StopScreenShare.tsx +1 -1
  750. package/src/icons/TopViewBackground.tsx +1 -1
  751. package/src/icons/Video.tsx +1 -1
  752. package/src/icons/VideoSlash.tsx +1 -1
  753. package/src/providers/StreamCall/index.tsx +1 -1
  754. package/src/providers/StreamVideo.tsx +5 -5
  755. package/src/theme/colors.ts +1 -1
  756. package/src/theme/theme.ts +11 -7
  757. package/src/theme/types.ts +1 -1
  758. package/src/utils/StreamVideoRN/index.ts +2 -2
  759. package/src/utils/StreamVideoRN/types.ts +1 -1
  760. package/src/utils/internal/newNotificationCallbacks.ts +1 -1
  761. package/src/utils/push/android.ts +2 -2
  762. package/src/utils/push/internal/rxSubjects.ts +1 -1
  763. package/src/utils/push/ios.ts +4 -3
  764. package/src/utils/push/libs/firebaseMessaging/index.ts +1 -1
  765. package/src/utils/push/libs/notifee/index.ts +1 -1
  766. package/src/utils/push/utils.ts +4 -4
  767. package/src/version.ts +1 -1
  768. package/dist/commonjs/package.json +0 -1
  769. package/dist/module/package.json +0 -1
  770. package/expo-config-plugin/dist/common/addNewLinesToAppDelegate.d.ts +0 -1
  771. package/expo-config-plugin/dist/common/addNewLinesToMainActivity.d.ts +0 -1
  772. package/expo-config-plugin/dist/common/types.d.ts +0 -14
  773. package/expo-config-plugin/dist/index.d.ts +0 -4
  774. package/expo-config-plugin/dist/withAndroidManifest.d.ts +0 -4
  775. package/expo-config-plugin/dist/withAndroidPermissions.d.ts +0 -4
  776. package/expo-config-plugin/dist/withAppBuildGradle.d.ts +0 -3
  777. package/expo-config-plugin/dist/withAppDelegate.d.ts +0 -4
  778. package/expo-config-plugin/dist/withBuildProperties.d.ts +0 -3
  779. package/expo-config-plugin/dist/withIosScreenCapture/addBroadcastExtensionXcodeTarget.d.ts +0 -11
  780. package/expo-config-plugin/dist/withIosScreenCapture/index.d.ts +0 -4
  781. package/expo-config-plugin/dist/withIosScreenCapture/withFilesMod.d.ts +0 -4
  782. package/expo-config-plugin/dist/withIosScreenCapture/withPlistUpdates.d.ts +0 -4
  783. package/expo-config-plugin/dist/withIosScreenCapture/withTarget.d.ts +0 -4
  784. package/expo-config-plugin/dist/withMainActivity.d.ts +0 -4
  785. package/expo-config-plugin/dist/withiOSInfoPlist.d.ts +0 -4
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import { useCallStateHooks } from '@stream-io/video-react-bindings';
4
2
  import React from 'react';
5
3
  import { useTheme } from '../../../contexts';
@@ -9,7 +7,6 @@ import { IconWrapper, Video, VideoSlash } from '../../../icons';
9
7
  /**
10
8
  * The LivestreamVideoControlButton controls the video stream publish/unpublish while in the livestream for the host.
11
9
  */
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
10
  export const LivestreamVideoControlButton = () => {
14
11
  const {
15
12
  useCameraState,
@@ -37,29 +34,25 @@ export const LivestreamVideoControlButton = () => {
37
34
  if (!isVideoEnabledInCall) {
38
35
  return;
39
36
  }
40
- return /*#__PURE__*/_jsx(Pressable, {
37
+ return /*#__PURE__*/React.createElement(Pressable, {
41
38
  onPress: onPress,
42
39
  style: [styles.container, {
43
40
  backgroundColor: colors.buttonSecondary,
44
41
  height: buttonSizes.xs,
45
42
  width: buttonSizes.xs
46
- }, livestreamVideoControlButton.container],
47
- children: /*#__PURE__*/_jsx(View, {
48
- style: [styles.icon, {
49
- height: iconSizes.sm,
50
- width: iconSizes.sm
51
- }, livestreamVideoControlButton.icon],
52
- children: /*#__PURE__*/_jsx(IconWrapper, {
53
- children: !optimisticIsMute ? /*#__PURE__*/_jsx(Video, {
54
- color: colors.iconPrimary,
55
- size: iconSizes.md
56
- }) : /*#__PURE__*/_jsx(VideoSlash, {
57
- color: colors.iconPrimary,
58
- size: iconSizes.md
59
- })
60
- })
61
- })
62
- });
43
+ }, livestreamVideoControlButton.container]
44
+ }, /*#__PURE__*/React.createElement(View, {
45
+ style: [styles.icon, {
46
+ height: iconSizes.sm,
47
+ width: iconSizes.sm
48
+ }, livestreamVideoControlButton.icon]
49
+ }, /*#__PURE__*/React.createElement(IconWrapper, null, !optimisticIsMute ? /*#__PURE__*/React.createElement(Video, {
50
+ color: colors.iconPrimary,
51
+ size: iconSizes.md
52
+ }) : /*#__PURE__*/React.createElement(VideoSlash, {
53
+ color: colors.iconPrimary,
54
+ size: iconSizes.md
55
+ }))));
63
56
  };
64
57
  const styles = StyleSheet.create({
65
58
  container: {
@@ -1 +1 @@
1
- {"version":3,"names":["useCallStateHooks","React","useTheme","Pressable","StyleSheet","View","IconWrapper","Video","VideoSlash","jsx","_jsx","LivestreamVideoControlButton","useCameraState","useCallSettings","optimisticIsMute","camera","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","variants","iconSizes","buttonSizes","livestreamVideoControlButton","onPress","toggle","style","styles","container","backgroundColor","buttonSecondary","height","xs","width","children","icon","sm","color","iconPrimary","size","md","create","justifyContent","alignItems","marginHorizontal","borderRadius"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamControls/LivestreamVideoControlButton.tsx"],"mappings":";;AAAA,SAASA,iBAAiB,QAAQ,iCAAiC;AACnE,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,SAAS,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC1D,SAASC,WAAW,EAAEC,KAAK,EAAEC,UAAU,QAAQ,gBAAgB;;AAE/D;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA;AAGA,OAAO,MAAMC,4BAA4B,GAAGA,CAAA,KAAM;EAChD,MAAM;IAAEC,cAAc;IAAEC;EAAgB,CAAC,GAAGb,iBAAiB,CAAC,CAAC;EAC/D,MAAM;IAAEc,gBAAgB;IAAEC;EAAO,CAAC,GAAGH,cAAc,CAAC,CAAC;EACrD,MAAMI,YAAY,GAAGH,eAAe,CAAC,CAAC;EACtC,MAAMI,oBAAoB,GAAGD,YAAY,EAAEE,KAAK,CAACC,OAAO;EACxD,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,QAAQ,EAAE;QAAEC,SAAS;QAAEC;MAAY,CAAC;MACpCC;IACF;EACF,CAAC,GAAGvB,QAAQ,CAAC,CAAC;EAEd,MAAMwB,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,MAAMX,MAAM,CAACY,MAAM,CAAC,CAAC;EACvB,CAAC;EAED,IAAI,CAACV,oBAAoB,EAAE;IACzB;EACF;EAEA,oBACEP,IAAA,CAACP,SAAS;IACRuB,OAAO,EAAEA,OAAQ;IACjBE,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChB;MACEC,eAAe,EAAEV,MAAM,CAACW,eAAe;MACvCC,MAAM,EAAET,WAAW,CAACU,EAAE;MACtBC,KAAK,EAAEX,WAAW,CAACU;IACrB,CAAC,EACDT,4BAA4B,CAACK,SAAS,CACtC;IAAAM,QAAA,eAEF1B,IAAA,CAACL,IAAI;MACHuB,KAAK,EAAE,CACLC,MAAM,CAACQ,IAAI,EACX;QACEJ,MAAM,EAAEV,SAAS,CAACe,EAAE;QACpBH,KAAK,EAAEZ,SAAS,CAACe;MACnB,CAAC,EACDb,4BAA4B,CAACY,IAAI,CACjC;MAAAD,QAAA,eAEF1B,IAAA,CAACJ,WAAW;QAAA8B,QAAA,EACT,CAACtB,gBAAgB,gBAChBJ,IAAA,CAACH,KAAK;UAACgC,KAAK,EAAElB,MAAM,CAACmB,WAAY;UAACC,IAAI,EAAElB,SAAS,CAACmB;QAAG,CAAE,CAAC,gBAExDhC,IAAA,CAACF,UAAU;UAAC+B,KAAK,EAAElB,MAAM,CAACmB,WAAY;UAACC,IAAI,EAAElB,SAAS,CAACmB;QAAG,CAAE;MAC7D,CACU;IAAC,CACV;EAAC,CACE,CAAC;AAEhB,CAAC;AAED,MAAMb,MAAM,GAAGzB,UAAU,CAACuC,MAAM,CAAC;EAC/Bb,SAAS,EAAE;IACTc,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,gBAAgB,EAAE,CAAC;IACnBC,YAAY,EAAE;EAChB,CAAC;EACDV,IAAI,EAAE,CAAC;AACT,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["useCallStateHooks","React","useTheme","Pressable","StyleSheet","View","IconWrapper","Video","VideoSlash","LivestreamVideoControlButton","useCameraState","useCallSettings","optimisticIsMute","camera","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","variants","iconSizes","buttonSizes","livestreamVideoControlButton","onPress","toggle","createElement","style","styles","container","backgroundColor","buttonSecondary","height","xs","width","icon","sm","color","iconPrimary","size","md","create","justifyContent","alignItems","marginHorizontal","borderRadius"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamControls/LivestreamVideoControlButton.tsx"],"mappings":"AAAA,SAASA,iBAAiB,QAAQ,iCAAiC;AACnE,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,SAAS,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC1D,SAASC,WAAW,EAAEC,KAAK,EAAEC,UAAU,QAAQ,gBAAgB;;AAE/D;AACA;AACA;AACA,OAAO,MAAMC,4BAA4B,GAAGA,CAAA,KAAM;EAChD,MAAM;IAAEC,cAAc;IAAEC;EAAgB,CAAC,GAAGX,iBAAiB,CAAC,CAAC;EAC/D,MAAM;IAAEY,gBAAgB;IAAEC;EAAO,CAAC,GAAGH,cAAc,CAAC,CAAC;EACrD,MAAMI,YAAY,GAAGH,eAAe,CAAC,CAAC;EACtC,MAAMI,oBAAoB,GAAGD,YAAY,EAAEE,KAAK,CAACC,OAAO;EACxD,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,QAAQ,EAAE;QAAEC,SAAS;QAAEC;MAAY,CAAC;MACpCC;IACF;EACF,CAAC,GAAGrB,QAAQ,CAAC,CAAC;EAEd,MAAMsB,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,MAAMX,MAAM,CAACY,MAAM,CAAC,CAAC;EACvB,CAAC;EAED,IAAI,CAACV,oBAAoB,EAAE;IACzB;EACF;EAEA,oBACEd,KAAA,CAAAyB,aAAA,CAACvB,SAAS;IACRqB,OAAO,EAAEA,OAAQ;IACjBG,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChB;MACEC,eAAe,EAAEX,MAAM,CAACY,eAAe;MACvCC,MAAM,EAAEV,WAAW,CAACW,EAAE;MACtBC,KAAK,EAAEZ,WAAW,CAACW;IACrB,CAAC,EACDV,4BAA4B,CAACM,SAAS;EACtC,gBAEF5B,KAAA,CAAAyB,aAAA,CAACrB,IAAI;IACHsB,KAAK,EAAE,CACLC,MAAM,CAACO,IAAI,EACX;MACEH,MAAM,EAAEX,SAAS,CAACe,EAAE;MACpBF,KAAK,EAAEb,SAAS,CAACe;IACnB,CAAC,EACDb,4BAA4B,CAACY,IAAI;EACjC,gBAEFlC,KAAA,CAAAyB,aAAA,CAACpB,WAAW,QACT,CAACM,gBAAgB,gBAChBX,KAAA,CAAAyB,aAAA,CAACnB,KAAK;IAAC8B,KAAK,EAAElB,MAAM,CAACmB,WAAY;IAACC,IAAI,EAAElB,SAAS,CAACmB;EAAG,CAAE,CAAC,gBAExDvC,KAAA,CAAAyB,aAAA,CAAClB,UAAU;IAAC6B,KAAK,EAAElB,MAAM,CAACmB,WAAY;IAACC,IAAI,EAAElB,SAAS,CAACmB;EAAG,CAAE,CAEnD,CACT,CACG,CAAC;AAEhB,CAAC;AAED,MAAMZ,MAAM,GAAGxB,UAAU,CAACqC,MAAM,CAAC;EAC/BZ,SAAS,EAAE;IACTa,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,gBAAgB,EAAE,CAAC;IACnBC,YAAY,EAAE;EAChB,CAAC;EACDV,IAAI,EAAE,CAAC;AACT,CAAC,CAAC","ignoreList":[]}
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import React, { useState } from 'react';
4
2
  import { ActivityIndicator, Pressable, StyleSheet, Text, View } from 'react-native';
5
3
  import { useTheme } from '../../../contexts';
@@ -10,7 +8,7 @@ import { getLogger } from '@stream-io/video-client';
10
8
  /**
11
9
  * Props for the ViewerLeaveStreamButton component.
12
10
  */
13
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
+
14
12
  /**
15
13
  * The ViewerLeaveStreamButton component displays and controls the leave stream logic of the viewer's live stream.
16
14
  */
@@ -46,24 +44,21 @@ export const ViewerLeaveStreamButton = ({
46
44
  logger('error', 'Error stopping livestream', error);
47
45
  }
48
46
  };
49
- return /*#__PURE__*/_jsxs(Pressable, {
47
+ return /*#__PURE__*/React.createElement(Pressable, {
50
48
  style: [styles.container, {
51
49
  backgroundColor: colors.buttonSecondary
52
50
  }, viewerLeaveStreamButton.container],
53
- onPress: onLeaveStreamButtonPress,
54
- children: [/*#__PURE__*/_jsx(View, {
55
- style: [styles.icon, {
56
- height: iconSizes.xs,
57
- width: iconSizes.xs
58
- }, viewerLeaveStreamButton.icon],
59
- children: isAwaitingResponse ? /*#__PURE__*/_jsx(ActivityIndicator, {}) : /*#__PURE__*/_jsx(LeaveStreamIcon, {})
60
- }), /*#__PURE__*/_jsx(Text, {
61
- style: [styles.text, typefaces.subtitleBold, {
62
- color: colors.textPrimary
63
- }, viewerLeaveStreamButton.text],
64
- children: isAwaitingResponse ? t('Loading...') : t('Leave Stream')
65
- })]
66
- });
51
+ onPress: onLeaveStreamButtonPress
52
+ }, /*#__PURE__*/React.createElement(View, {
53
+ style: [styles.icon, {
54
+ height: iconSizes.xs,
55
+ width: iconSizes.xs
56
+ }, viewerLeaveStreamButton.icon]
57
+ }, isAwaitingResponse ? /*#__PURE__*/React.createElement(ActivityIndicator, null) : /*#__PURE__*/React.createElement(LeaveStreamIcon, null)), /*#__PURE__*/React.createElement(Text, {
58
+ style: [styles.text, typefaces.subtitleBold, {
59
+ color: colors.textPrimary
60
+ }, viewerLeaveStreamButton.text]
61
+ }, isAwaitingResponse ? t('Loading...') : t('Leave Stream')));
67
62
  };
68
63
  const styles = StyleSheet.create({
69
64
  container: {
@@ -1 +1 @@
1
- {"version":3,"names":["React","useState","ActivityIndicator","Pressable","StyleSheet","Text","View","useTheme","LeaveStreamIcon","useCall","useI18n","getLogger","jsx","_jsx","jsxs","_jsxs","ViewerLeaveStreamButton","onLeaveStreamHandler","isAwaitingResponse","setIsAwaitingResponse","call","t","theme","colors","variants","iconSizes","typefaces","viewerLeaveStreamButton","onLeaveStreamButtonPress","leave","error","logger","style","styles","container","backgroundColor","buttonSecondary","onPress","children","icon","height","xs","width","text","subtitleBold","color","textPrimary","create","flexDirection","alignItems","padding","borderRadius","marginLeft","includeFontPadding"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SACEC,iBAAiB,EACjBC,SAAS,EACTC,UAAU,EACVC,IAAI,EACJC,IAAI,QACC,cAAc;AACrB,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,eAAe,QAAQ,gBAAgB;AAChD,SAASC,OAAO,EAAEC,OAAO,QAAQ,iCAAiC;AAClE,SAASC,SAAS,QAAQ,yBAAyB;;AAEnD;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAWA;AACA;AACA;AACA,OAAO,MAAMC,uBAAuB,GAAGA,CAAC;EACtCC;AAC4B,CAAC,KAAK;EAClC,MAAM,CAACC,kBAAkB,EAAEC,qBAAqB,CAAC,GAAGlB,QAAQ,CAAC,KAAK,CAAC;EACnE,MAAMmB,IAAI,GAAGX,OAAO,CAAC,CAAC;EACtB,MAAM;IAAEY;EAAE,CAAC,GAAGX,OAAO,CAAC,CAAC;EACvB,MAAM;IACJY,KAAK,EAAE;MACLC,MAAM;MACNC,QAAQ,EAAE;QAAEC;MAAU,CAAC;MACvBC,SAAS;MACTC;IACF;EACF,CAAC,GAAGpB,QAAQ,CAAC,CAAC;EAEd,MAAMqB,wBAAwB,GAAG,MAAAA,CAAA,KAAY;IAC3C,IAAIX,oBAAoB,EAAE;MACxBA,oBAAoB,CAAC,CAAC;MACtB;IACF;IACA,IAAI;MACFE,qBAAqB,CAAC,IAAI,CAAC;MAC3B,MAAMC,IAAI,EAAES,KAAK,CAAC,CAAC;MACnBV,qBAAqB,CAAC,KAAK,CAAC;IAC9B,CAAC,CAAC,OAAOW,KAAK,EAAE;MACd,MAAMC,MAAM,GAAGpB,SAAS,CAAC,CAAC,yBAAyB,CAAC,CAAC;MACrDoB,MAAM,CAAC,OAAO,EAAE,2BAA2B,EAA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","Text","View","useTheme","LeaveStreamIcon","useCall","useI18n","getLogger","ViewerLeaveStreamButton","onLeaveStreamHandler","isAwaitingResponse","setIsAwaitingResponse","call","t","theme","colors","variants","iconSizes","typefaces","viewerLeaveStreamButton","onLeaveStreamButtonPress","leave","error","logger","createElement","style","styles","container","backgroundColor","buttonSecondary","onPress","icon","height","xs","width","text","subtitleBold","color","textPrimary","create","flexDirection","alignItems","padding","borderRadius","marginLeft","includeFontPadding"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SACEC,iBAAiB,EACjBC,SAAS,EACTC,UAAU,EACVC,IAAI,EACJC,IAAI,QACC,cAAc;AACrB,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,eAAe,QAAQ,gBAAgB;AAChD,SAASC,OAAO,EAAEC,OAAO,QAAQ,iCAAiC;AAClE,SAASC,SAAS,QAAQ,yBAAyB;;AAEnD;AACA;AACA;;AASA;AACA;AACA;AACA,OAAO,MAAMC,uBAAuB,GAAGA,CAAC;EACtCC;AAC4B,CAAC,KAAK;EAClC,MAAM,CAACC,kBAAkB,EAAEC,qBAAqB,CAAC,GAAGd,QAAQ,CAAC,KAAK,CAAC;EACnE,MAAMe,IAAI,GAAGP,OAAO,CAAC,CAAC;EACtB,MAAM;IAAEQ;EAAE,CAAC,GAAGP,OAAO,CAAC,CAAC;EACvB,MAAM;IACJQ,KAAK,EAAE;MACLC,MAAM;MACNC,QAAQ,EAAE;QAAEC;MAAU,CAAC;MACvBC,SAAS;MACTC;IACF;EACF,CAAC,GAAGhB,QAAQ,CAAC,CAAC;EAEd,MAAMiB,wBAAwB,GAAG,MAAAA,CAAA,KAAY;IAC3C,IAAIX,oBAAoB,EAAE;MACxBA,oBAAoB,CAAC,CAAC;MACtB;IACF;IACA,IAAI;MACFE,qBAAqB,CAAC,IAAI,CAAC;MAC3B,MAA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ACpBC,OAAO,EAAE,CAAC;IACVC,YAAY,EAAE;EAChB,CAAC;EACDZ,IAAI,EAAE,CAAC,CAAC;EACRI,IAAI,EAAE;IACJS,UAAU,EAAE,CAAC;IACbC,kBAAkB,EAAE;EACtB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import React from 'react';
4
2
  import { StyleSheet, View } from 'react-native';
5
3
  import { ViewerLeaveStreamButton as DefaultViewerLeaveStreamButton } from './ViewerLeaveStreamButton';
@@ -9,7 +7,7 @@ import { Z_INDEX } from '../../../constants';
9
7
  /**
10
8
  * Props for the ViewerLivestreamControls component.
11
9
  */
12
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
+
13
11
  /**
14
12
  * The ViewerLivestreamControls component displays the call controls for the live stream at viewer's end.
15
13
  */
@@ -24,20 +22,18 @@ export const ViewerLivestreamControls = ({
24
22
  viewerLivestreamControls
25
23
  }
26
24
  } = useTheme();
27
- return /*#__PURE__*/_jsxs(View, {
25
+ return /*#__PURE__*/React.createElement(View, {
28
26
  style: [styles.container, {
29
27
  backgroundColor: colors.sheetOverlay
30
28
  }, viewerLivestreamControls.container],
31
- onLayout: onLayout,
32
- children: [/*#__PURE__*/_jsx(View, {
33
- style: [styles.leftElement, viewerLivestreamControls.leftElement],
34
- children: ViewerLeaveStreamButton && /*#__PURE__*/_jsx(ViewerLeaveStreamButton, {
35
- onLeaveStreamHandler: onLeaveStreamHandler
36
- })
37
- }), /*#__PURE__*/_jsx(View, {
38
- style: [styles.rightElement, viewerLivestreamControls.rightElement]
39
- })]
40
- });
29
+ onLayout: onLayout
30
+ }, /*#__PURE__*/React.createElement(View, {
31
+ style: [styles.leftElement, viewerLivestreamControls.leftElement]
32
+ }, ViewerLeaveStreamButton && /*#__PURE__*/React.createElement(ViewerLeaveStreamButton, {
33
+ onLeaveStreamHandler: onLeaveStreamHandler
34
+ })), /*#__PURE__*/React.createElement(View, {
35
+ style: [styles.rightElement, viewerLivestreamControls.rightElement]
36
+ }));
41
37
  };
42
38
  const styles = StyleSheet.create({
43
39
  container: {
@@ -1 +1 @@
1
- {"version":3,"names":["React","StyleSheet","View","ViewerLeaveStreamButton","DefaultViewerLeaveStreamButton","useTheme","Z_INDEX","jsx","_jsx","jsxs","_jsxs","ViewerLivestreamControls","onLeaveStreamHandler","onLayout","theme","colors","viewerLivestreamControls","style","styles","container","backgroundColor","sheetOverlay","children","leftElement","rightElement","create","position","bottom","flexDirection","alignItems","paddingVertical","paddingHorizontal","zIndex","IN_FRONT","content","flex"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AAE1D,SACEC,uBAAuB,IAAIC,8BAA8B,QAEpD,2BAA2B;AAClC,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,OAAO,QAAQ,oBAAoB;;AAE5C;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAWA;AACA;AACA;AACA,OAAO,MAAMC,wBAAwB,GAAGA,CAAC;EACvCR,uBAAuB,GAAGC,8BAA8B;EACxDQ,oBAAoB;EACpBC;AAC6B,CAAC,KAAK;EACnC,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAyB;EAC5C,CAAC,GAAGX,QAAQ,CAAC,CAAC;EAEd,oBACEK,KAAA,CAACR,IAAI;IACHe,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChB;MAAEC,eAAe,EAAEL,MAAM,CAACM;IAAa,CAAC,EACxCL,wBAAwB,CAACG,SAAS,CAClC;IACFN,QAAQ,EAAEA,QAAS;IAAAS,QAAA,gBAEnBd,IAAA,CAACN,IAAI;MAACe,KAAK,EAAE,CAACC,MAAM,CAACK,WAAW,EAAEP,wBAAwB,CAACO,WAAW,CAAE;MAAAD,QAAA,EACrEnB,uBAAuB,iBACtBK,IAAA,CAACL,uBAAuB;QACtBS,oBAAoB,EAAEA;MAAqB,CAC5C;IACF,CACG,CAAC,eACPJ,IAAA,CAACN,IAAI;MACHe,KAAK,EAAE,CAACC,MAAM,CAACM,YAAY,EAAER,wBAAwB,CAACQ,YAAY;IAAE,CACrE,CAAC;EAAA,CACE,CAAC;AAEX,CAAC;AAED,MAAMN,MAAM,GAAGjB,UAAU,CAACwB,MAAM,CAAC;EAC/BN,SAAS,EAAE;IACTO,QAAQ,EAAE,UAAU;IACpBC,MAAM,EAAE,CAAC;IACTC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,eAAe,EAAE,EAAE;IACnBC,iBAAiB,EAAE,CAAC;IACpBC,MAAM,EAAE1B,OAAO,CAAC2B;EAClB,CAAC;EACDC,OAAO,EAAE,CAAC,CAAC;EACXX,WAAW,EAAE;IACXY,IAAI,EAAE,CAAC;IACPN,UAAU,EAAE;EACd,CAAC;EACDL,YAAY,EAAE;IACZW,IAAI,EAAE,CAAC;IACPN,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","StyleSheet","View","ViewerLeaveStreamButton","DefaultViewerLeaveStreamButton","useTheme","Z_INDEX","ViewerLivestreamControls","onLeaveStreamHandler","onLayout","theme","colors","viewerLivestreamControls","createElement","style","styles","container","backgroundColor","sheetOverlay","leftElement","rightElement","create","position","bottom","flexDirection","alignItems","paddingVertical","paddingHorizontal","zIndex","IN_FRONT","content","flex"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAwB,cAAc;AAE/D,SACEC,uBAAuB,IAAIC,8BAA8B,QAEpD,2BAA2B;AAClC,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,OAAO,QAAQ,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IACPN,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  export * from './HostLivestreamControls';
4
2
  export * from './HostStartStreamButton';
5
3
  export * from './LivestreamAudioControlButton';
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamControls/index.ts"],"mappings":";;AAAA,cAAc,0BAA0B;AACxC,cAAc,yBAAyB;AACvC,cAAc,gCAAgC;AAC9C,cAAc,2BAA2B;AACzC,cAAc,gCAAgC;AAC9C,cAAc,2BAA2B;AACzC,cAAc,4BAA4B;AAC1C,cAAc,qCAAqC","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamControls/index.ts"],"mappings":"AAAA,cAAc,0BAA0B;AACxC,cAAc,yBAAyB;AACvC,cAAc,gCAAgC;AAC9C,cAAc,2BAA2B;AACzC,cAAc,gCAAgC;AAC9C,cAAc,2BAA2B;AACzC,cAAc,4BAA4B;AAC1C,cAAc,qCAAqC","ignoreList":[]}
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import React, { useCallback, useEffect, useState } from 'react';
4
2
  import { hasScreenShare } from '@stream-io/video-client';
5
3
  import { useCall, useCallStateHooks } from '@stream-io/video-react-bindings';
@@ -11,7 +9,7 @@ import { VideoRenderer as DefaultVideoRenderer } from '../../Participant';
11
9
  /**
12
10
  * Props for the LivestreamLayout component.
13
11
  */
14
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
+
15
13
  /**
16
14
  * The LivestreamLayout component presents the live stream video layout.
17
15
  */
@@ -49,21 +47,20 @@ export const LivestreamLayout = ({
49
47
  const landScapeStyles = {
50
48
  flexDirection: landscape ? 'row' : 'column'
51
49
  };
52
- return /*#__PURE__*/_jsxs(View, {
50
+ return /*#__PURE__*/React.createElement(View, {
53
51
  style: [styles.container, landScapeStyles, {
54
52
  backgroundColor: colors.sheetTertiary
55
- }, livestreamLayout.container],
56
- children: [/*#__PURE__*/_jsx(RemoteVideoTrackDimensionsRenderLessComponent, {
57
- onDimensionsChange: onDimensionsChange
58
- }), VideoRenderer && hasOngoingScreenShare && presenter && (presenter.isLocalParticipant && ScreenShareOverlay ? /*#__PURE__*/_jsx(ScreenShareOverlay, {}) : /*#__PURE__*/_jsx(VideoRenderer, {
59
- trackType: "screenShareTrack",
60
- participant: presenter
61
- })), VideoRenderer && !hasOngoingScreenShare && currentSpeaker && /*#__PURE__*/_jsx(VideoRenderer, {
62
- participant: currentSpeaker,
63
- objectFit: objectFitToBeSet,
64
- trackType: "videoTrack"
65
- })]
66
- });
53
+ }, livestreamLayout.container]
54
+ }, /*#__PURE__*/React.createElement(RemoteVideoTrackDimensionsRenderLessComponent, {
55
+ onDimensionsChange: onDimensionsChange
56
+ }), VideoRenderer && hasOngoingScreenShare && presenter && (presenter.isLocalParticipant && ScreenShareOverlay ? /*#__PURE__*/React.createElement(ScreenShareOverlay, null) : /*#__PURE__*/React.createElement(VideoRenderer, {
57
+ trackType: "screenShareTrack",
58
+ participant: presenter
59
+ })), VideoRenderer && !hasOngoingScreenShare && currentSpeaker && /*#__PURE__*/React.createElement(VideoRenderer, {
60
+ participant: currentSpeaker,
61
+ objectFit: objectFitToBeSet,
62
+ trackType: "videoTrack"
63
+ }));
67
64
  };
68
65
  const RemoteVideoTrackDimensionsRenderLessComponent = ({
69
66
  onDimensionsChange
@@ -1 +1 @@
1
- {"version":3,"names":["React","useCallback","useEffect","useState","hasScreenShare","useCall","useCallStateHooks","StyleSheet","View","usePaginatedLayoutSortPreset","useTheme","VideoRenderer","DefaultVideoRenderer","jsx","_jsx","jsxs","_jsxs","LivestreamLayout","landscape","ScreenShareOverlay","useParticipants","useHasOngoingScreenShare","call","theme","colors","livestreamLayout","participants","currentSpeaker","hasOngoingScreenShare","presenter","find","undefined","objectFit","setObjectFit","objectFitToBeSet","isLocalParticipant","onDimensionsChange","d","isWidthWide","width","height","landScapeStyles","flexDirection","style","styles","container","backgroundColor","sheetTertiary","children","RemoteVideoTrackDimensionsRenderLessComponent","trackType","participant","dimension","setDimension","useCallStatsReport","statsReport","highestFrameHeight","subscriberStats","highestFrameWidth","create","flex"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamLayout/LivestreamLayout.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,WAAW,EAAEC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAC/D,SAASC,cAAc,QAAmB,yBAAyB;AACnE,SAASC,OAAO,EAAEC,iBAAiB,QAAQ,iCAAiC;AAC5E,SAASC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AAC1D,SAASC,4BAA4B,QAAQ,6CAA6C;AAC1F,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SACEC,aAAa,IAAIC,oBAAoB,QAEhC,mBAAmB;;AAG1B;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAmBA;AACA;AACA;AACA,OAAO,MAAMC,gBAAgB,GAAGA,CAAC;EAC/BC,SAAS;EACTP,aAAa,GAAGC,oBAAoB;EACpCO;AACqB,CAAC,KAAK;EAC3B,MAAM;IAAEC,eAAe;IAAEC;EAAyB,CAAC,GAAGf,iBAAiB,CAAC,CAAC;EACzE,MAAMgB,IAAI,GAAGjB,OAAO,CAAC,CAAC;EACtB,MAAM;IACJkB,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAiB;EACpC,CAAC,GAAGf,QAAQ,CAAC,CAAC;EACd,MAAMgB,YAAY,GAAGN,eAAe,CAAC,CAAC;EACtC,MAAM,CAACO,cAAc,CAAC,GAAGD,YAAY;EACrC,MAAME,qBAAqB,GAAGP,wBAAwB,CAAC,CAAC;EACxD,MAAMQ,SAAS,GAAGD,qBAAqB,GACnCF,YAAY,CAACI,IAAI,CAAC1B,cAAc,CAAC,GACjC2B,SAAS;EAEbtB,4BAA4B,CAACa,IAAI,CAAC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J,MAAM,CAACgB,SAAS,EAAEC,YAAY,CAAC,GAAGlD,QAAQ,CAA2B,CAAC;EACtE,MAAM;IAAEmD;EAAmB,CAAC,GAAGhD,iBAAiB,CAAC,CAAC;EAClD,MAAMiD,WAAW,GAAGD,kBAAkB,CAAC,CAAC;EACxC,MAAME,kBAAkB,GAAGD,WAAW,EAAEE,eAAe,EAAED,kBAAkB;EAC3E,MAAME,iBAAiB,GAAGH,WAAW,EAAEE,eAAe,EAAEC,iBAAiB;EAEzExD,SAAS,CAAC,MAAM;IACd,IAAIsD,kBAAkB,IAAIE,iBAAiB,EAAE;MAC3CL,YAAY,CAAC;QAAEb,MAAM,EAAEgB,kBAAkB;QAAEjB,KAAK,EAAEmB;MAAkB,CAAC,CAAC;IACxE;EACF,CAAC,EAAE,CAACF,kBAAkB,EAAEE,iBAAiB,CAAC,CAAC;EAE3CxD,SAAS,CAAC,MAAM;IACdkC,kBAAkB,CAACgB,SAAS,CAAC;EAC/B,CAAC,EAAE,CAACA,SAAS,EAAEhB,kBAAkB,CAAC,CAAC;EAEnC,OAAO,IAAI;AACb,CAAC;AAED,MAAMQ,MAAM,GAAGrC,UAAU,CAACoD,MAAM,CAAC;EAC/Bd,SAAS,EAAE;IACTe,IAAI,EAAE;EACR;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","useCallback","useEffect","useState","hasScreenShare","useCall","useCallStateHooks","StyleSheet","View","usePaginatedLayoutSortPreset","useTheme","VideoRenderer","DefaultVideoRenderer","LivestreamLayout","landscape","ScreenShareOverlay","useParticipants","useHasOngoingScreenShare","call","theme","colors","livestreamLayout","participants","currentSpeaker","hasOngoingScreenShare","presenter","find","undefined","objectFit","setObjectFit","objectFitToBeSet","isLocalParticipant","onDimensionsChange","d","isWidthWide","width","height","landScapeStyles","flexDirection","createElement","style","styles","container","backgroundColor","sheetTertiary","RemoteVideoTrackDimensionsRenderLessComponent","trackType","participant","dimension","setDimension","useCallStatsReport","statsReport","highestFrameHeight","subscriberStats","highestFrameWidth","create","flex"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamLayout/LivestreamLayout.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,WAAW,EAAEC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAC/D,SAASC,cAAc,QAAmB,yBAAyB;AACnE,SAASC,OAAO,EAAEC,iBAAiB,QAAQ,iCAAiC;AAC5E,SAASC,UAAU,EAAEC,IAAI,QAAwB,cAAc;AAC/D,SAASC,4BAA4B,QAAQ,6CAA6C;AAC1F,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SACEC,aAAa,IAAIC,oBAAoB,QAEhC,mBAAmB;;AAG1B;AACA;AACA;;AAiBA;AACA;AACA;AACA,OAAO,MAAMC,gBAAgB,GAAGA,CAAC;EAC/BC,SAAS;EACTH,aAAa,GAAGC,oBAAoB;EACpCG;AACqB,CAAC,KAAK;EAC3B,MAAM;IAAEC,eAAe;IAAEC;EAAyB,CAAC,GAAGX,iBAAiB,CAAC,CAAC;EACzE,MAAMY,IAAI,GAAGb,OAAO,CAAC,CAAC;EACtB,MAAM;IACJc,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAiB;EACpC,CAAC,GAAGX,QAAQ,CAAC,CAAC;EACd,MAAMY,YAAY,GAAGN,eAAe,CAAC,CAAC;EACtC,MAAM,CAACO,cAAc,CAAC,GAAGD,YAAY;EACrC,MAAME,qBAAqB,GAAGP,wBAAwB,CAAC,CAAC;EACxD,MAAMQ,SAAS,GAAGD,qBAAqB,GACnCF,YAAY,CAACI,IAAI,CAACtB,cAAc,CAAC,GACjCuB,SAAS;EAEblB,4BAA4B,CAACS,IAAI,CAAC;EAElC,MAAM,CAACU,SAAS,EAAEC,YAAY,CAAC,GAC7B1B,QAAQ,CAEN,CAAC;;EAEL;EACA,MAAM2B,gBAAgB,GAAGP,cAAc,EAAEQ,kBAAkB,GACvDJ,SAAS,GACTC,SAAS;EAEb,MAAMI,kBAAkB,GAAG/B,W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D,MAAM6C,WAAW,GAAGD,kBAAkB,CAAC,CAAC;EACxC,MAAME,kBAAkB,GAAGD,WAAW,EAAEE,eAAe,EAAED,kBAAkB;EAC3E,MAAME,iBAAiB,GAAGH,WAAW,EAAEE,eAAe,EAAEC,iBAAiB;EAEzEpD,SAAS,CAAC,MAAM;IACd,IAAIkD,kBAAkB,IAAIE,iBAAiB,EAAE;MAC3CL,YAAY,CAAC;QAAEb,MAAM,EAAEgB,kBAAkB;QAAEjB,KAAK,EAAEmB;MAAkB,CAAC,CAAC;IACxE;EACF,CAAC,EAAE,CAACF,kBAAkB,EAAEE,iBAAiB,CAAC,CAAC;EAE3CpD,SAAS,CAAC,MAAM;IACd8B,kBAAkB,CAACgB,SAAS,CAAC;EAC/B,CAAC,EAAE,CAACA,SAAS,EAAEhB,kBAAkB,CAAC,CAAC;EAEnC,OAAO,IAAI;AACb,CAAC;AAED,MAAMS,MAAM,GAAGlC,UAAU,CAACgD,MAAM,CAAC;EAC/Bb,SAAS,EAAE;IACTc,IAAI,EAAE;EACR;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,4 +1,2 @@
1
- "use strict";
2
-
3
1
  export * from './LivestreamLayout';
4
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamLayout/index.ts"],"mappings":";;AAAA,cAAc,oBAAoB","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamLayout/index.ts"],"mappings":"AAAA,cAAc,oBAAoB","ignoreList":[]}
@@ -1,11 +1,8 @@
1
- "use strict";
2
-
3
1
  import React, { useEffect, useState } from 'react';
4
2
  import { ViewerLivestream as DefaultViewerLivestream } from '../ViewerLivestream';
5
3
  import { CallingState, getLogger } from '@stream-io/video-client';
6
4
  import { StreamCall } from '../../../providers/StreamCall';
7
5
  import { useStreamVideoClient } from '@stream-io/video-react-bindings';
8
- import { jsx as _jsx } from "react/jsx-runtime";
9
6
  export const LivestreamPlayer = ({
10
7
  callType,
11
8
  callId,
@@ -47,9 +44,8 @@ export const LivestreamPlayer = ({
47
44
  if (!call) {
48
45
  return null;
49
46
  }
50
- return /*#__PURE__*/_jsx(StreamCall, {
51
- call: call,
52
- children: /*#__PURE__*/_jsx(ViewerLivestream, {})
53
- });
47
+ return /*#__PURE__*/React.createElement(StreamCall, {
48
+ call: call
49
+ }, /*#__PURE__*/React.createElement(ViewerLivestream, null));
54
50
  };
55
51
  //# sourceMappingURL=LivestreamPlayer.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","useEffect","useState","ViewerLivestream","DefaultViewerLivestream","CallingState","getLogger","StreamCall","useStreamVideoClient","jsx","_jsx","LivestreamPlayer","callType","callId","client","call","setCall","myCall","join","catch","e","logger","state","callingState","LEFT","leave","undefined","children"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamPlayer/LivestreamPlayer.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SACEC,gBAAgB,IAAIC,uBAAuB,QAEtC,qBAAqB;AAC5B,SAAeC,YAAY,EAAEC,SAAS,QAAQ,yBAAyB;AACvE,SAASC,UAAU,QAAQ,+BAA+B;AAC1D,SAASC,oBAAoB,QAAQ,iCAAiC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAkBvE,OAAO,MAAMC,gBAAgB,GAAGA,CAAC;EAC/BC,QAAQ;EACRC,MAAM;EACNV,gBAAgB,GAAGC;AACE,CAAC,KAAK;EAC3B,MAAMU,MAAM,GAAGN,oBAAoB,CAAC,CAAC;EAErC,MAAM,CAACO,IAAI,EAAEC,OAAO,CAAC,GAAGd,QAAQ,CAAO,CAAC;EAExCD,SAAS,CAAC,MAAM;IACd,IAAI,CAACa,MAAM,EAAE;MACX;IACF;IACA,MAAMG,MAAM,GAAGH,MAAM,CAACC,IAAI,CAACH,QAAQ,EAAEC,MAAM,CAAC;I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V,CAAC;AAEjB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","useEffect","useState","ViewerLivestream","DefaultViewerLivestream","CallingState","getLogger","StreamCall","useStreamVideoClient","LivestreamPlayer","callType","callId","client","call","setCall","myCall","join","catch","e","logger","state","callingState","LEFT","leave","undefined","createElement"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamPlayer/LivestreamPlayer.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SACEC,gBAAgB,IAAIC,uBAAuB,QAEtC,qBAAqB;AAC5B,SAAeC,YAAY,EAAEC,SAAS,QAAQ,yBAAyB;AACvE,SAASC,UAAU,QAAQ,+BAA+B;AAC1D,SAASC,oBAAoB,QAAQ,iCAAiC;AAkBtE,OAAO,MAAMC,gBAAgB,GAAGA,CAAC;EAC/BC,QAAQ;EACRC,MAAM;EACNR,gBAAgB,GAAGC;AACE,CAAC,KAAK;EAC3B,MAAMQ,MAAM,GAAGJ,oBAAoB,CAAC,CAAC;EAErC,MAAM,CAACK,IAAI,EAAEC,OAAO,CAAC,GAAGZ,QAAQ,CAAO,CAAC;EAExCD,SAAS,CAAC,MAAM;IACd,IAAI,CAACW,MAAM,EAAE;MACX;IACF;IACA,MAAMG,MAAM,GAAGH,MAAM,CAACC,IAAI,CAACH,QAAQ,EAAEC,MAAM,CAAC;IAC5CG,OAAO,CAACC,MAAM,CAAC;IACfA,MAAM,CAACC,IAAI,CAAC,CAAC,CAACC,KAAK,CAAEC,CAAC,IAAK;MACzB,MAAMC,MAAM,GAAGb,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC;MAC9Ca,MAAM,CAAC,OAAO,EAAE,qBAAqB,EAAED,CAAC,CAAC;IAC3C,CAAC,CAAC;IACF,OAAO,MAAM;MACX,IAAIH,MAAM,CAACK,KAAK,CAACC,YAAY,KAAKhB,YAAY,CAACiB,IAAI,EAAE;QACnDP,MAAM,CAACQ,KAAK,CAAC,CAAC,CAACN,KAAK,CAAEC,CAAC,IAAK;UAC1B,MAAMC,MAAM,GAAGb,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC;UAC9Ca,MAAM,CAAC,OAAO,EAAE,qBAAqB,EAAED,CAAC,CAAC;QAC3C,CAAC,CAAC;MACJ;MACAJ,OAAO,CAACU,SAAS,CAAC;IACpB,CAAC;EACH,CAAC,EAAE,CAACb,MAAM,EAAED,QAAQ,EAAEE,MAAM,CAAC,CAAC;EAE9BX,SAAS,CAAC,MAAM;IACd,OAAO,MAAM;MACX;MACA,IAAIY,IAAI,EAAEO,KAAK,CAACC,YAAY,KAAKhB,YAAY,CAACiB,IAAI,EAAE;QAClDT,IAAI,EAAEU,KAAK,CAAC,CAAC,CAACN,KAAK,CAAEC,CAAC,IAAK;UACzB,MAAMC,MAAM,GAAGb,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC;UAC9Ca,MAAM,CAAC,OAAO,EAAE,qBAAqB,EAAED,CAAC,CAAC;QAC3C,CAAC,CAAC;MACJ;IACF,CAAC;EACH,CAAC,EAAE,CAACL,IAAI,CAAC,CAAC;EAEV,IAAI,CAACA,IAAI,EAAE;IACT,OAAO,IAAI;EACb;EAEA,oBACEb,KAAA,CAAAyB,aAAA,CAAClB,UAAU;IAACM,IAAI,EAAEA;EAAK,gBACrBb,KAAA,CAAAyB,aAAA,CAACtB,gBAAgB,MAAE,CACT,CAAC;AAEjB,CAAC","ignoreList":[]}
@@ -1,4 +1,2 @@
1
- "use strict";
2
-
3
1
  export * from './LivestreamPlayer';
4
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamPlayer/index.ts"],"mappings":";;AAAA,cAAc,oBAAoB","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamPlayer/index.ts"],"mappings":"AAAA,cAAc,oBAAoB","ignoreList":[]}
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import React, { useEffect, useState } from 'react';
4
2
  import { StyleSheet, Text, View } from 'react-native';
5
3
  import { useTheme } from '../../../contexts';
@@ -9,7 +7,7 @@ import { useCall, useCallStateHooks } from '@stream-io/video-react-bindings';
9
7
  /**
10
8
  * Props for the HostDurationBadge component.
11
9
  */
12
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
+
13
11
  /**
14
12
  * The HostDurationBadge component displays the duration while the live stream is active.
15
13
  */
@@ -100,23 +98,20 @@ export const DurationBadge = ({
100
98
  const seconds = durationInMs % 60;
101
99
  return `${days ? days + ' ' : ''}${hours ? hours + ':' : ''}${minutes < 10 ? '0' : ''}${minutes}:${seconds < 10 ? '0' : ''}${seconds}`;
102
100
  };
103
- return /*#__PURE__*/_jsxs(View, {
101
+ return /*#__PURE__*/React.createElement(View, {
104
102
  style: [styles.container, {
105
103
  backgroundColor: colors.sheetTertiary
106
- }, durationBadge.container],
107
- children: [/*#__PURE__*/_jsx(View, {
108
- style: [styles.icon, {
109
- height: iconSizes.xs,
110
- width: iconSizes.xs
111
- }, durationBadge.icon],
112
- children: /*#__PURE__*/_jsx(ShieldBadge, {})
113
- }), /*#__PURE__*/_jsx(Text, {
114
- style: [styles.label, {
115
- color: colors.textPrimary
116
- }, durationBadge.label],
117
- children: formatDuration(duration)
118
- })]
119
- });
104
+ }, durationBadge.container]
105
+ }, /*#__PURE__*/React.createElement(View, {
106
+ style: [styles.icon, {
107
+ height: iconSizes.xs,
108
+ width: iconSizes.xs
109
+ }, durationBadge.icon]
110
+ }, /*#__PURE__*/React.createElement(ShieldBadge, null)), /*#__PURE__*/React.createElement(Text, {
111
+ style: [styles.label, {
112
+ color: colors.textPrimary
113
+ }, durationBadge.label]
114
+ }, formatDuration(duration)));
120
115
  };
121
116
  const styles = StyleSheet.create({
122
117
  container: {
@@ -1 +1 @@
1
- {"version":3,"names":["React","useEffect","useState","StyleSheet","Text","View","useTheme","ShieldBadge","useCall","useCallStateHooks","jsx","_jsx","jsxs","_jsxs","DurationBadge","mode","useCallSession","session","duration","setDuration","live_started_at","liveStartTime","Date","now","Math","floor","getTime","call","theme","colors","variants","iconSizes","durationBadge","intervalId","handleLiveStarted","setInterval","d","handleLiveEnded","event","callDetails","live_ended_at","clearInterval","callLiveStartedUnsubscribe","on","callUpdatedUnsubscribe","formatDuration","durationInMs","days","hours","minutes","seconds","style","styles","container","backgroundColor","sheetTertiary","children","icon","height","xs","width","label","color","textPrimary","create","paddingHorizontal","paddingVertical","borderRadius","flexDirection","alignItems","justifyContent","textAlign","fontSize","fontWeight","flexShrink","includeFontPadding","paddingLeft"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamTopView/DurationBadge.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,WAAW,QAAQ,gBAAgB;AAC5C,SAASC,OAAO,EAAEC,iBAAiB,QAAQ,iCAAiC;;AAG5E;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAOA;AACA;AACA;AACA,OAAO,MAAMC,aAAa,GAAGA,CAAC;EAAEC;AAAyB,CAAC,KAAK;EAC7D,MAAM;IAAEC;EAAe,CAAC,GAAGP,iBAAiB,CAAC,CAAC;EAC9C,MAAMQ,OAAO,GAAGD,cAAc,CAAC,CAAC;EAEhC,MAAM,CAACE,QAAQ,EAAEC,WAAW,CAAC,GAAGjB,QAAQ,CAAC,MAAM;IAC7C,IAAI,CAACe,OAAO,IAAI,CAACA,OAAO,CAACG,eAAe,EAAE;MACxC,OAAO,CAAC;IACV;IACA,MAAMC,aAAa,GAAG,IAAIC,IAAI,CAACL,OAAO,CAACG,eAAe,CAAC;IACvD,MAAMG,GAAG,GAAG,I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,eAAe,EAAEzB,MAAM,CAAC0B;IAAc,CAAC,EACzCvB,aAAa,CAACqB,SAAS,CACvB;IAAAG,QAAA,gBAEF7C,IAAA,CAACN,IAAI;MACH8C,KAAK,EAAE,CACLC,MAAM,CAACK,IAAI,EACX;QACEC,MAAM,EAAE3B,SAAS,CAAC4B,EAAE;QACpBC,KAAK,EAAE7B,SAAS,CAAC4B;MACnB,CAAC,EACD3B,aAAa,CAACyB,IAAI,CAClB;MAAAD,QAAA,eAEF7C,IAAA,CAACJ,WAAW,IAAE;IAAC,CACX,CAAC,eACPI,IAAA,CAACP,IAAI;MACH+C,KAAK,EAAE,CACLC,MAAM,CAACS,KAAK,EACZ;QAAEC,KAAK,EAAEjC,MAAM,CAACkC;MAAY,CAAC,EAC7B/B,aAAa,CAAC6B,KAAK,CACnB;MAAAL,QAAA,EAEDX,cAAc,CAAC3B,QAAQ;IAAC,CACrB,CAAC;EAAA,CACH,CAAC;AAEX,CAAC;AAED,MAAMkC,MAAM,GAAGjD,UAAU,CAAC6D,MAAM,CAAC;EAC/BX,SAAS,EAAE;IACTY,iBAAiB,EAAE,CAAC;IACpBC,eAAe,EAAE,CAAC;IAClBC,YAAY,EAAE,CAAC;IACfC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDb,IAAI,EAAE,CAAC,CAAC;EACRI,KAAK,EAAE;IACLU,SAAS,EAAE,QAAQ;IACnBC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,UAAU,EAAE,CAAC;IACbC,kBAAkB,EAAE,KAAK;IACzBC,WAAW,EAAE;EACf;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","useEffect","useState","StyleSheet","Text","View","useTheme","ShieldBadge","useCall","useCallStateHooks","DurationBadge","mode","useCallSession","session","duration","setDuration","live_started_at","liveStartTime","Date","now","Math","floor","getTime","call","theme","colors","variants","iconSizes","durationBadge","intervalId","handleLiveStarted","setInterval","d","handleLiveEnded","event","callDetails","live_ended_at","clearInterval","callLiveStartedUnsubscribe","on","callUpdatedUnsubscribe","formatDuration","durationInMs","days","hours","minutes","seconds","createElement","style","styles","container","backgroundColor","sheetTertiary","icon","height","xs","width","label","color","textPrimary","create","paddingHorizontal","paddingVertical","borderRadius","flexDirection","alignItems","justifyContent","textAlign","fontSize","fontWeight","flexShrink","includeFontPadding","paddingLeft"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamTopView/DurationBadge.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,WAAW,QAAQ,gBAAgB;AAC5C,SAASC,OAAO,EAAEC,iBAAiB,QAAQ,iCAAiC;;AAM5E;AACA;AACA;;AAKA;AACA;AACA;AACA,OAAO,MAAMC,aAAa,GAAGA,CAAC;EAAEC;AAAyB,CAAC,KAAK;EAC7D,MAAM;IAAEC;EAAe,CAAC,GAAGH,iBAAiB,CAAC,CAAC;EAC9C,MAAMI,OAAO,GAAGD,cAAc,CAAC,CAAC;EAEhC,MAAM,CAACE,QAAQ,EAAEC,WAAW,CAAC,GAAGb,QAAQ,CAAC,MAAM;IAC7C,IAAI,CAACW,OAAO,IAAI,CAACA,OAAO,CAACG,eAAe,EAAE;MACxC,OAAO,CAAC;IACV;IACA,MAAMC,aAAa,GAAG,IAAIC,IAAI,CAACL,OAAO,CAACG,eAAe,CAAC;IACvD,MAAMG,GAAG,GAAG,IAAID,IAAI,CAAC,CAAC;IACtB,OAAOE,IAAI,CAACC,KAAK,CAAC,CAACF,GAAG,CAACG,OAAO,CAAC,CAAC,GAAGL,aAAa,CAACK,OAAO,CAAC,CAAC,IAAI,IAAI,CAAC;EACrE,CAAC,CAAC;EAEF,MAAMC,IAAI,GAAGf,OAAO,C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B,SAAS,CAAC4B,EAAE;MACpBC,KAAK,EAAE7B,SAAS,CAAC4B;IACnB,CAAC,EACD3B,aAAa,CAACyB,IAAI;EAClB,gBAEFrD,KAAA,CAAA+C,aAAA,CAACxC,WAAW,MAAE,CACV,CAAC,eACPP,KAAA,CAAA+C,aAAA,CAAC3C,IAAI;IACH4C,KAAK,EAAE,CACLC,MAAM,CAACQ,KAAK,EACZ;MAAEC,KAAK,EAAEjC,MAAM,CAACkC;IAAY,CAAC,EAC7B/B,aAAa,CAAC6B,KAAK;EACnB,GAEDhB,cAAc,CAAC3B,QAAQ,CACpB,CACF,CAAC;AAEX,CAAC;AAED,MAAMmC,MAAM,GAAG9C,UAAU,CAACyD,MAAM,CAAC;EAC/BV,SAAS,EAAE;IACTW,iBAAiB,EAAE,CAAC;IACpBC,eAAe,EAAE,CAAC;IAClBC,YAAY,EAAE,CAAC;IACfC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDb,IAAI,EAAE,CAAC,CAAC;EACRI,KAAK,EAAE;IACLU,SAAS,EAAE,QAAQ;IACnBC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,UAAU,EAAE,CAAC;IACbC,kBAAkB,EAAE,KAAK;IACzBC,WAAW,EAAE;EACf;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import React from 'react';
4
2
  import { StyleSheet, Text, View } from 'react-native';
5
3
  import { useTheme } from '../../../contexts';
@@ -9,7 +7,7 @@ import { Eye } from '../../../icons';
9
7
  /**
10
8
  * Props for the FollowerCount component.
11
9
  */
12
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
+
13
11
  /**
14
12
  * The FollowerCount component that displays the number of participants while in the call.
15
13
  */
@@ -27,23 +25,20 @@ export const FollowerCount = ({}) => {
27
25
  useParticipantCount
28
26
  } = useCallStateHooks();
29
27
  const totalParticipants = useParticipantCount();
30
- return /*#__PURE__*/_jsxs(View, {
28
+ return /*#__PURE__*/React.createElement(View, {
31
29
  style: [styles.container, {
32
30
  backgroundColor: colors.sheetTertiary
33
- }, followerCount.container],
34
- children: [/*#__PURE__*/_jsx(View, {
35
- style: [styles.icon, {
36
- height: iconSizes.xs,
37
- width: iconSizes.xs
38
- }, followerCount.icon],
39
- children: /*#__PURE__*/_jsx(Eye, {})
40
- }), /*#__PURE__*/_jsx(Text, {
41
- style: [styles.label, {
42
- color: colors.textPrimary
43
- }, followerCount.label],
44
- children: totalParticipants
45
- })]
46
- });
31
+ }, followerCount.container]
32
+ }, /*#__PURE__*/React.createElement(View, {
33
+ style: [styles.icon, {
34
+ height: iconSizes.xs,
35
+ width: iconSizes.xs
36
+ }, followerCount.icon]
37
+ }, /*#__PURE__*/React.createElement(Eye, null)), /*#__PURE__*/React.createElement(Text, {
38
+ style: [styles.label, {
39
+ color: colors.textPrimary
40
+ }, followerCount.label]
41
+ }, totalParticipants));
47
42
  };
48
43
  const styles = StyleSheet.create({
49
44
  container: {
@@ -1 +1 @@
1
- {"version":3,"names":["React","StyleSheet","Text","View","useTheme","useCallStateHooks","Eye","jsx","_jsx","jsxs","_jsxs","FollowerCount","theme","colors","variants","iconSizes","followerCount","useParticipantCount","totalParticipants","style","styles","container","backgroundColor","sheetTertiary","children","icon","height","xs","width","label","color","textPrimary","create","paddingHorizontal","paddingVertical","borderTopRightRadius","borderBottomRightRadius","flexDirection","alignItems","justifyContent","fontSize","fontWeight","flexShrink","textAlign","includeFontPadding","marginLeft"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamTopView/FollowerCount.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,iBAAiB,QAAQ,iCAAiC;AACnE,SAASC,GAAG,QAAQ,gBAA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EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDd,IAAI,EAAE,CAAC,CAAC;EACRI,KAAK,EAAE;IACLW,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,UAAU,EAAE,CAAC;IACbC,SAAS,EAAE,QAAQ;IACnBC,kBAAkB,EAAE,KAAK;IACzBC,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","StyleSheet","Text","View","useTheme","useCallStateHooks","Eye","FollowerCount","theme","colors","variants","iconSizes","followerCount","useParticipantCount","totalParticipants","createElement","style","styles","container","backgroundColor","sheetTertiary","icon","height","xs","width","label","color","textPrimary","create","paddingHorizontal","paddingVertical","borderTopRightRadius","borderBottomRightRadius","flexDirection","alignItems","justifyContent","fontSize","fontWeight","flexShrink","textAlign","includeFontPadding","marginLeft"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamTopView/FollowerCount.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,iBAAiB,QAAQ,iCAAiC;AACnE,SAASC,GAAG,QAAQ,gBAAgB;;AAEpC;AACA;AACA;;AAGA;AACA;AACA;AACA,OAAO,MAAMC,aAAa,GAAGA,CAAC,CAAqB,CAAC,KAAK;EACvD,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,QAAQ,EAAE;QAAEC;MAAU,CAAC;MACvBC;IACF;EACF,CAAC,GAAGR,QAAQ,CAAC,CAAC;EACd,MAAM;IAAES;EAAoB,CAAC,GAAGR,iBAAiB,CAAC,CAAC;EACnD,MAAMS,iBAAiB,GAAGD,mBAAmB,CAAC,CAAC;EAC/C,oBACEb,KAAA,CAAAe,aAAA,CAACZ,IAAI;IACHa,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChB;MAAEC,eAAe,EAAEV,MAAM,CAACW;IAAc,CAAC,EACzCR,aAAa,CAACM,SAAS;EACvB,gBAEFlB,KAAA,CAAAe,aAAA,CAACZ,IAAI;IACHa,KAAK,EAAE,CACLC,MAAM,CAACI,IAAI,EACX;MAAEC,MAAM,EAAEX,SAAS,CAACY,EAAE;MAAEC,KAAK,EAAEb,SAAS,CAACY;IAAG,CAAC,EAC7CX,aAAa,CAACS,IAAI;EAClB,gBAEFrB,KAAA,CAAAe,aAAA,CAACT,GAAG,MAAE,CACF,CAAC,eACPN,KAAA,CAAAe,aAAA,CAACb,IAAI;IACHc,KAAK,EAAE,CACLC,MAAM,CAACQ,KAAK,EACZ;MAAEC,KAAK,EAAEjB,MAAM,CAACkB;IAAY,CAAC,EAC7Bf,aAAa,CAACa,KAAK;EACnB,GAEDX,iBACG,CACF,CAAC;AAEX,CAAC;AAED,MAAMG,MAAM,GAAGhB,UAAU,CAAC2B,MAAM,CAAC;EAC/BV,SAAS,EAAE;IACTW,iBAAiB,EAAE,CAAC;IACpBC,eAAe,EAAE,CAAC;IAClBC,oBAAoB,EAAE,CAAC;IACvBC,uBAAuB,EAAE,CAAC;IAC1BC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDd,IAAI,EAAE,CAAC,CAAC;EACRI,KAAK,EAAE;IACLW,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBC,UAAU,EAAE,CAAC;IACbC,SAAS,EAAE,QAAQ;IACnBC,kBAAkB,EAAE,KAAK;IACzBC,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import React from 'react';
4
2
  import { StyleSheet, View } from 'react-native';
5
3
  import { DurationBadge as DefaultDurationBadge } from './DurationBadge';
@@ -12,7 +10,7 @@ import { Z_INDEX } from '../../../constants';
12
10
  /**
13
11
  * Props for the HostLivestreamTopView component.
14
12
  */
15
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+
16
14
  /**
17
15
  * The HostLivestreamTopView component displays the top view component of the host's live stream.
18
16
  */
@@ -35,26 +33,22 @@ export const HostLivestreamTopView = ({
35
33
  hostLivestreamTopView
36
34
  }
37
35
  } = useTheme();
38
- return /*#__PURE__*/_jsxs(View, {
36
+ return /*#__PURE__*/React.createElement(View, {
39
37
  style: [styles.container, {
40
38
  backgroundColor: colors.sheetOverlay
41
39
  }, hostLivestreamTopView.container],
42
- onLayout: onLayout,
43
- children: [/*#__PURE__*/_jsx(View, {
44
- style: [styles.leftElement, hostLivestreamTopView.leftElement],
45
- children: DurationBadge && /*#__PURE__*/_jsx(DurationBadge, {
46
- mode: "host"
47
- })
48
- }), /*#__PURE__*/_jsx(View, {
49
- style: [styles.centerElement, hostLivestreamTopView.centerElement]
50
- }), /*#__PURE__*/_jsx(View, {
51
- style: [styles.rightElement, hostLivestreamTopView.rightElement],
52
- children: /*#__PURE__*/_jsxs(View, {
53
- style: [styles.liveInfo, hostLivestreamTopView.liveInfo],
54
- children: [liveOrBroadcasting && LiveIndicator && /*#__PURE__*/_jsx(LiveIndicator, {}), FollowerCount && /*#__PURE__*/_jsx(FollowerCount, {})]
55
- })
56
- })]
57
- });
40
+ onLayout: onLayout
41
+ }, /*#__PURE__*/React.createElement(View, {
42
+ style: [styles.leftElement, hostLivestreamTopView.leftElement]
43
+ }, DurationBadge && /*#__PURE__*/React.createElement(DurationBadge, {
44
+ mode: "host"
45
+ })), /*#__PURE__*/React.createElement(View, {
46
+ style: [styles.centerElement, hostLivestreamTopView.centerElement]
47
+ }), /*#__PURE__*/React.createElement(View, {
48
+ style: [styles.rightElement, hostLivestreamTopView.rightElement]
49
+ }, /*#__PURE__*/React.createElement(View, {
50
+ style: [styles.liveInfo, hostLivestreamTopView.liveInfo]
51
+ }, liveOrBroadcasting && LiveIndicator && /*#__PURE__*/React.createElement(LiveIndicator, null), FollowerCount && /*#__PURE__*/React.createElement(FollowerCount, null))));
58
52
  };
59
53
  const styles = StyleSheet.create({
60
54
  container: {
@@ -1 +1 @@
1
- {"version":3,"names":["React","StyleSheet","View","DurationBadge","DefaultDurationBadge","LiveIndicator","DefaultLiveIndicator","FollowerCount","DefaultFollowerCount","useTheme","useCallStateHooks","Z_INDEX","jsx","_jsx","jsxs","_jsxs","HostLivestreamTopView","onLayout","useIsCallLive","useIsCallHLSBroadcastingInProgress","isCallLive","isBroadcasting","liveOrBroadcasting","theme","colors","hostLivestreamTopView","style","styles","container","backgroundColor","sheetOverlay","children","leftElement","mode","centerElement","rightElement","liveInfo","create","position","top","flexDirection","alignItems","paddingVertical","paddingHorizontal","borderBottomEndRadius","borderBottomStartRadius","zIndex","IN_FRONT","flex"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AAC1D,SACEC,aAAa,IAAIC,oBAAoB,QAEhC,iBAAiB;AACxB,SACEC,aAAa,IAAIC,oBAAoB,QAEhC,iBAAiB;AACxB,SACEC,aAAa,IAAIC,oBAAoB,QAEhC,iBAAiB;AACxB,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,iBAAiB,QAAQ,iCAAiC;AACnE,SAASC,OAAO,QAAQ,oBAAoB;;AAE5C;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAmBA;AACA;AACA;AACA,OAAO,MAAMC,qBAAqB,GAAGA,CAAC;EACpCb,aAAa,GAAGC,oBAAoB;EACpCC,aAAa,GAAGC,oBAAoB;EACpCC,aAAa,GAAGC,oBAAoB;EACpCS;AAC0B,CAAC,KAAK;EAChC,MAAM;IAAEC,aAAa;IAAEC;EAAmC,CAAC,GACzDT,iBAAiB,CAAC,CAAC;EACrB,MAA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SAAS,EAAE;IACTU,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,eAAe,EAAE,EAAE;IACnBC,iBAAiB,EAAE,CAAC;IACpBC,qBAAqB,EAAE,CAAC;IACxBC,uBAAuB,EAAE,CAAC;IAC1BC,MAAM,EAAEnC,OAAO,CAACoC;EAClB,CAAC;EACDX,QAAQ,EAAE;IACRI,aAAa,EAAE;EACjB,CAAC;EACDR,WAAW,EAAE;IACXgB,IAAI,EAAE,CAAC;IACPP,UAAU,EAAE;EACd,CAAC;EACDP,aAAa,EAAE;IACbc,IAAI,EAAE,CAAC;IACPP,UAAU,EAAE;EACd,CAAC;EACDN,YAAY,EAAE;IACZa,IAAI,EAAE,CAAC;IACPP,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","StyleSheet","View","DurationBadge","DefaultDurationBadge","LiveIndicator","DefaultLiveIndicator","FollowerCount","DefaultFollowerCount","useTheme","useCallStateHooks","Z_INDEX","HostLivestreamTopView","onLayout","useIsCallLive","useIsCallHLSBroadcastingInProgress","isCallLive","isBroadcasting","liveOrBroadcasting","theme","colors","hostLivestreamTopView","createElement","style","styles","container","backgroundColor","sheetOverlay","leftElement","mode","centerElement","rightElement","liveInfo","create","position","top","flexDirection","alignItems","paddingVertical","paddingHorizontal","borderBottomEndRadius","borderBottomStartRadius","zIndex","IN_FRONT","flex"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAwB,cAAc;AAC/D,SACEC,aAAa,IAAIC,oBAAoB,QAEhC,iBAAiB;AACxB,SACEC,aAAa,IAAIC,oBAAoB,QAEhC,iBAAiB;AACxB,SACEC,aAAa,IAAIC,oBAAoB,QAEhC,iBAAiB;AACxB,SA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