@stream-io/video-react-native-sdk 1.39.0 → 1.40.0

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 (692) hide show
  1. package/CHANGELOG.md +24 -6
  2. package/android/src/main/java/com/streamvideo/reactnative/StreamVideoReactNativeModule.kt +81 -0
  3. package/android/src/main/java/com/streamvideo/reactnative/recorder/AudioPipeline.kt +436 -0
  4. package/android/src/main/java/com/streamvideo/reactnative/recorder/EncoderConstants.kt +17 -0
  5. package/android/src/main/java/com/streamvideo/reactnative/recorder/PipelineHost.kt +36 -0
  6. package/android/src/main/java/com/streamvideo/reactnative/recorder/RecorderPlaybackSamplesSink.kt +60 -0
  7. package/android/src/main/java/com/streamvideo/reactnative/recorder/RecorderVideoSink.kt +31 -0
  8. package/android/src/main/java/com/streamvideo/reactnative/recorder/TracksRecorderManager.kt +338 -0
  9. package/android/src/main/java/com/streamvideo/reactnative/recorder/VideoPipeline.kt +472 -0
  10. package/dist/commonjs/components/Call/CallContent/CallContent.js +93 -48
  11. package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
  12. package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js +22 -20
  13. package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
  14. package/dist/commonjs/components/Call/CallContent/RTCViewPipNative.js +2 -1
  15. package/dist/commonjs/components/Call/CallContent/RTCViewPipNative.js.map +1 -1
  16. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +10 -6
  17. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -1
  18. package/dist/commonjs/components/Call/CallControls/CallControls.js +7 -5
  19. package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
  20. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +11 -8
  21. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -1
  22. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +10 -6
  23. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -1
  24. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +11 -9
  25. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -1
  26. package/dist/commonjs/components/Call/CallControls/LobbyControls.js +5 -3
  27. package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -1
  28. package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js +12 -9
  29. package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
  30. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js +22 -15
  31. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -1
  32. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +10 -6
  33. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -1
  34. package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js +15 -11
  35. package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
  36. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +13 -9
  37. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
  38. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +18 -13
  39. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
  40. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +17 -12
  41. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
  42. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +13 -9
  43. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
  44. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +17 -12
  45. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
  46. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +39 -34
  47. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  48. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +17 -12
  49. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  50. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +36 -24
  51. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  52. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +30 -28
  53. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  54. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +10 -7
  55. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -1
  56. package/dist/commonjs/components/Call/Lobby/Lobby.js +45 -35
  57. package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
  58. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js +21 -16
  59. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js.map +1 -1
  60. package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js +2 -1
  61. package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
  62. package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js +2 -1
  63. package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
  64. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +32 -22
  65. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
  66. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +37 -27
  67. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
  68. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +13 -11
  69. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  70. package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js +28 -22
  71. package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
  72. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +25 -22
  73. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -1
  74. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +38 -34
  75. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
  76. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +16 -12
  77. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
  78. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +16 -12
  79. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
  80. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +19 -14
  81. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
  82. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js +5 -3
  83. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
  84. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +19 -16
  85. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
  86. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +19 -14
  87. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
  88. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +11 -8
  89. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
  90. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +78 -57
  91. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
  92. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +13 -46
  93. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
  94. package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamEnded.js +48 -22
  95. package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamEnded.js.map +1 -1
  96. package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +7 -5
  97. package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
  98. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +12 -9
  99. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
  100. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +11 -7
  101. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
  102. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +18 -13
  103. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
  104. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +10 -7
  105. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
  106. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +18 -13
  107. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
  108. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +41 -37
  109. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
  110. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLobby.js +33 -23
  111. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLobby.js.map +1 -1
  112. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +18 -15
  113. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
  114. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +20 -16
  115. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  116. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +55 -48
  117. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
  118. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +64 -52
  119. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
  120. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +30 -27
  121. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
  122. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +11 -7
  123. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  124. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +17 -14
  125. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
  126. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +27 -24
  127. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  128. package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js +8 -7
  129. package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
  130. package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer/index.js +35 -32
  131. package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer/index.js.map +1 -1
  132. package/dist/commonjs/components/utility/Avatar.js +18 -15
  133. package/dist/commonjs/components/utility/Avatar.js.map +1 -1
  134. package/dist/commonjs/components/utility/ScreenShareOverlay.js +35 -29
  135. package/dist/commonjs/components/utility/ScreenShareOverlay.js.map +1 -1
  136. package/dist/commonjs/contexts/BackgroundFilters.js +5 -3
  137. package/dist/commonjs/contexts/BackgroundFilters.js.map +1 -1
  138. package/dist/commonjs/contexts/ThemeContext.js +5 -3
  139. package/dist/commonjs/contexts/ThemeContext.js.map +1 -1
  140. package/dist/commonjs/contexts/internal/ScreenshotIosContext.js +5 -3
  141. package/dist/commonjs/contexts/internal/ScreenshotIosContext.js.map +1 -1
  142. package/dist/commonjs/hooks/index.js +11 -0
  143. package/dist/commonjs/hooks/index.js.map +1 -1
  144. package/dist/commonjs/hooks/useAutoEnterPiPEffect.js +5 -10
  145. package/dist/commonjs/hooks/useAutoEnterPiPEffect.js.map +1 -1
  146. package/dist/commonjs/hooks/useLoopbackRecording.js +263 -0
  147. package/dist/commonjs/hooks/useLoopbackRecording.js.map +1 -0
  148. package/dist/commonjs/hooks/useModeration.js +4 -1
  149. package/dist/commonjs/hooks/useModeration.js.map +1 -1
  150. package/dist/commonjs/icons/Back.js +8 -6
  151. package/dist/commonjs/icons/Back.js.map +1 -1
  152. package/dist/commonjs/icons/BadNetwork.js +11 -9
  153. package/dist/commonjs/icons/BadNetwork.js.map +1 -1
  154. package/dist/commonjs/icons/CameraSwitch.js +8 -6
  155. package/dist/commonjs/icons/CameraSwitch.js.map +1 -1
  156. package/dist/commonjs/icons/EndStreamIcon.js +8 -6
  157. package/dist/commonjs/icons/EndStreamIcon.js.map +1 -1
  158. package/dist/commonjs/icons/Eye.js +8 -6
  159. package/dist/commonjs/icons/Eye.js.map +1 -1
  160. package/dist/commonjs/icons/IconWrapper.js +5 -3
  161. package/dist/commonjs/icons/IconWrapper.js.map +1 -1
  162. package/dist/commonjs/icons/LivestreamControls.js +44 -39
  163. package/dist/commonjs/icons/LivestreamControls.js.map +1 -1
  164. package/dist/commonjs/icons/Lock.js +8 -6
  165. package/dist/commonjs/icons/Lock.js.map +1 -1
  166. package/dist/commonjs/icons/Maximize.js +33 -31
  167. package/dist/commonjs/icons/Maximize.js.map +1 -1
  168. package/dist/commonjs/icons/Mic.js +8 -6
  169. package/dist/commonjs/icons/Mic.js.map +1 -1
  170. package/dist/commonjs/icons/MicOff.js +8 -6
  171. package/dist/commonjs/icons/MicOff.js.map +1 -1
  172. package/dist/commonjs/icons/Phone.js +8 -6
  173. package/dist/commonjs/icons/Phone.js.map +1 -1
  174. package/dist/commonjs/icons/PhoneDown.js +8 -6
  175. package/dist/commonjs/icons/PhoneDown.js.map +1 -1
  176. package/dist/commonjs/icons/PinVertical.js +8 -6
  177. package/dist/commonjs/icons/PinVertical.js.map +1 -1
  178. package/dist/commonjs/icons/Reaction.js +8 -6
  179. package/dist/commonjs/icons/Reaction.js.map +1 -1
  180. package/dist/commonjs/icons/ScreenShare.js +8 -6
  181. package/dist/commonjs/icons/ScreenShare.js.map +1 -1
  182. package/dist/commonjs/icons/ScreenShareIndicator.js +21 -18
  183. package/dist/commonjs/icons/ScreenShareIndicator.js.map +1 -1
  184. package/dist/commonjs/icons/StartStreamIcon.js +8 -6
  185. package/dist/commonjs/icons/StartStreamIcon.js.map +1 -1
  186. package/dist/commonjs/icons/StopScreenShare.js +11 -9
  187. package/dist/commonjs/icons/StopScreenShare.js.map +1 -1
  188. package/dist/commonjs/icons/Video.js +8 -6
  189. package/dist/commonjs/icons/Video.js.map +1 -1
  190. package/dist/commonjs/icons/VideoSlash.js +8 -6
  191. package/dist/commonjs/icons/VideoSlash.js.map +1 -1
  192. package/dist/commonjs/icons/index.js +0 -66
  193. package/dist/commonjs/icons/index.js.map +1 -1
  194. package/dist/commonjs/package.json +1 -0
  195. package/dist/commonjs/providers/BusyTonePlayer.js +7 -7
  196. package/dist/commonjs/providers/BusyTonePlayer.js.map +1 -1
  197. package/dist/commonjs/providers/NoiseCancellation/NoiseCancellationProvider.js +5 -3
  198. package/dist/commonjs/providers/NoiseCancellation/NoiseCancellationProvider.js.map +1 -1
  199. package/dist/commonjs/providers/StreamCall/AppStateListener.js +3 -0
  200. package/dist/commonjs/providers/StreamCall/AppStateListener.js.map +1 -1
  201. package/dist/commonjs/providers/StreamCall/DeviceStats.js +1 -1
  202. package/dist/commonjs/providers/StreamCall/DeviceStats.js.map +1 -1
  203. package/dist/commonjs/providers/StreamCall/index.js +5 -3
  204. package/dist/commonjs/providers/StreamCall/index.js.map +1 -1
  205. package/dist/commonjs/providers/StreamVideo.js +10 -5
  206. package/dist/commonjs/providers/StreamVideo.js.map +1 -1
  207. package/dist/commonjs/utils/StreamVideoRN/index.js +0 -1
  208. package/dist/commonjs/utils/StreamVideoRN/index.js.map +1 -1
  209. package/dist/commonjs/utils/internal/callingx/callingx.js +4 -4
  210. package/dist/commonjs/utils/internal/callingx/callingx.js.map +1 -1
  211. package/dist/commonjs/utils/internal/registerSDKGlobals.js +2 -2
  212. package/dist/commonjs/utils/internal/registerSDKGlobals.js.map +1 -1
  213. package/dist/commonjs/utils/push/libs/firebaseMessaging/index.js.map +1 -1
  214. package/dist/commonjs/version.js +1 -1
  215. package/dist/module/components/Call/CallContent/CallContent.js +95 -48
  216. package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
  217. package/dist/module/components/Call/CallContent/RTCViewPipIOS.js +24 -20
  218. package/dist/module/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
  219. package/dist/module/components/Call/CallContent/RTCViewPipNative.js +4 -1
  220. package/dist/module/components/Call/CallContent/RTCViewPipNative.js.map +1 -1
  221. package/dist/module/components/Call/CallContent/index.js +2 -0
  222. package/dist/module/components/Call/CallContent/index.js.map +1 -1
  223. package/dist/module/components/Call/CallControls/AcceptCallButton.js +12 -7
  224. package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -1
  225. package/dist/module/components/Call/CallControls/CallControls.js +9 -6
  226. package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
  227. package/dist/module/components/Call/CallControls/CallControlsButton.js +13 -8
  228. package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -1
  229. package/dist/module/components/Call/CallControls/HangupCallButton.js +12 -7
  230. package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -1
  231. package/dist/module/components/Call/CallControls/IncomingCallControls.js +13 -10
  232. package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -1
  233. package/dist/module/components/Call/CallControls/LobbyControls.js +7 -3
  234. package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -1
  235. package/dist/module/components/Call/CallControls/OutgoingCallControls.js +14 -10
  236. package/dist/module/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
  237. package/dist/module/components/Call/CallControls/ReactionsButton.js +24 -16
  238. package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -1
  239. package/dist/module/components/Call/CallControls/RejectCallButton.js +12 -7
  240. package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -1
  241. package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js +17 -12
  242. package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
  243. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +15 -10
  244. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
  245. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +20 -14
  246. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
  247. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +19 -13
  248. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
  249. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +15 -10
  250. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
  251. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +19 -13
  252. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
  253. package/dist/module/components/Call/CallControls/index.js +2 -0
  254. package/dist/module/components/Call/CallControls/index.js.map +1 -1
  255. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +41 -34
  256. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  257. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +19 -13
  258. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  259. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +38 -25
  260. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  261. package/dist/module/components/Call/CallLayout/index.js +2 -0
  262. package/dist/module/components/Call/CallLayout/index.js.map +1 -1
  263. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +32 -28
  264. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  265. package/dist/module/components/Call/CallParticipantsList/index.js +2 -0
  266. package/dist/module/components/Call/CallParticipantsList/index.js.map +1 -1
  267. package/dist/module/components/Call/Lobby/JoinCallButton.js +12 -8
  268. package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -1
  269. package/dist/module/components/Call/Lobby/Lobby.js +47 -36
  270. package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
  271. package/dist/module/components/Call/Lobby/LobbyFooter.js +23 -17
  272. package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -1
  273. package/dist/module/components/Call/Lobby/index.js +2 -0
  274. package/dist/module/components/Call/Lobby/index.js.map +1 -1
  275. package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js +4 -1
  276. package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
  277. package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js +4 -1
  278. package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
  279. package/dist/module/components/Call/RingingCallContent/IncomingCall.js +34 -23
  280. package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
  281. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +39 -28
  282. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
  283. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +15 -12
  284. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  285. package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js +30 -22
  286. package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
  287. package/dist/module/components/Call/RingingCallContent/UserInfo.js +27 -22
  288. package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -1
  289. package/dist/module/components/Call/RingingCallContent/index.js +2 -0
  290. package/dist/module/components/Call/RingingCallContent/index.js.map +1 -1
  291. package/dist/module/components/Call/index.js +2 -0
  292. package/dist/module/components/Call/index.js.map +1 -1
  293. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +40 -35
  294. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
  295. package/dist/module/components/Livestream/HostLivestream/index.js +2 -0
  296. package/dist/module/components/Livestream/HostLivestream/index.js.map +1 -1
  297. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +18 -13
  298. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
  299. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +18 -13
  300. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
  301. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +21 -14
  302. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
  303. package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js +7 -4
  304. package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
  305. package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +21 -16
  306. package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
  307. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +21 -14
  308. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
  309. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +13 -9
  310. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
  311. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +80 -58
  312. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
  313. package/dist/module/components/Livestream/LivestreamControls/index.js +2 -0
  314. package/dist/module/components/Livestream/LivestreamControls/index.js.map +1 -1
  315. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +14 -46
  316. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
  317. package/dist/module/components/Livestream/LivestreamLayout/index.js +2 -0
  318. package/dist/module/components/Livestream/LivestreamLayout/index.js.map +1 -1
  319. package/dist/module/components/Livestream/LivestreamPlayer/LivestreamEnded.js +52 -25
  320. package/dist/module/components/Livestream/LivestreamPlayer/LivestreamEnded.js.map +1 -1
  321. package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +9 -5
  322. package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
  323. package/dist/module/components/Livestream/LivestreamPlayer/index.js +2 -0
  324. package/dist/module/components/Livestream/LivestreamPlayer/index.js.map +1 -1
  325. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +14 -10
  326. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
  327. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +13 -8
  328. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
  329. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +20 -14
  330. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
  331. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +12 -8
  332. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
  333. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +20 -14
  334. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
  335. package/dist/module/components/Livestream/LivestreamTopView/index.js +2 -0
  336. package/dist/module/components/Livestream/LivestreamTopView/index.js.map +1 -1
  337. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +43 -38
  338. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
  339. package/dist/module/components/Livestream/ViewerLivestream/ViewerLobby.js +35 -23
  340. package/dist/module/components/Livestream/ViewerLivestream/ViewerLobby.js.map +1 -1
  341. package/dist/module/components/Livestream/ViewerLivestream/index.js +2 -0
  342. package/dist/module/components/Livestream/ViewerLivestream/index.js.map +1 -1
  343. package/dist/module/components/Livestream/index.js +2 -0
  344. package/dist/module/components/Livestream/index.js.map +1 -1
  345. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +20 -15
  346. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
  347. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +22 -16
  348. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  349. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js +2 -0
  350. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js.map +1 -1
  351. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js +2 -0
  352. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js.map +1 -1
  353. package/dist/module/components/Participant/FloatingParticipantView/index.js +56 -49
  354. package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
  355. package/dist/module/components/Participant/FloatingParticipantView/useFloatingVideoDimensions.js +2 -0
  356. package/dist/module/components/Participant/FloatingParticipantView/useFloatingVideoDimensions.js.map +1 -1
  357. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +66 -53
  358. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
  359. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +32 -28
  360. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
  361. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +13 -8
  362. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  363. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +19 -15
  364. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
  365. package/dist/module/components/Participant/ParticipantView/ParticipantView.js +29 -24
  366. package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  367. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js +10 -8
  368. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
  369. package/dist/module/components/Participant/ParticipantView/VideoRenderer/TrackSubscriber.js +2 -0
  370. package/dist/module/components/Participant/ParticipantView/VideoRenderer/TrackSubscriber.js.map +1 -1
  371. package/dist/module/components/Participant/ParticipantView/VideoRenderer/index.js +37 -31
  372. package/dist/module/components/Participant/ParticipantView/VideoRenderer/index.js.map +1 -1
  373. package/dist/module/components/Participant/ParticipantView/index.js +2 -0
  374. package/dist/module/components/Participant/ParticipantView/index.js.map +1 -1
  375. package/dist/module/components/Participant/index.js +2 -0
  376. package/dist/module/components/Participant/index.js.map +1 -1
  377. package/dist/module/components/index.js +2 -0
  378. package/dist/module/components/index.js.map +1 -1
  379. package/dist/module/components/utility/Avatar.js +20 -16
  380. package/dist/module/components/utility/Avatar.js.map +1 -1
  381. package/dist/module/components/utility/ScreenShareOverlay.js +37 -30
  382. package/dist/module/components/utility/ScreenShareOverlay.js.map +1 -1
  383. package/dist/module/components/utility/index.js +2 -0
  384. package/dist/module/components/utility/index.js.map +1 -1
  385. package/dist/module/constants/TestIds.js +2 -0
  386. package/dist/module/constants/TestIds.js.map +1 -1
  387. package/dist/module/constants/index.js +2 -0
  388. package/dist/module/constants/index.js.map +1 -1
  389. package/dist/module/contexts/BackgroundFilters.js +7 -4
  390. package/dist/module/contexts/BackgroundFilters.js.map +1 -1
  391. package/dist/module/contexts/ThemeContext.js +7 -4
  392. package/dist/module/contexts/ThemeContext.js.map +1 -1
  393. package/dist/module/contexts/index.js +2 -0
  394. package/dist/module/contexts/index.js.map +1 -1
  395. package/dist/module/contexts/internal/BackgroundFiltersContext.js +2 -0
  396. package/dist/module/contexts/internal/BackgroundFiltersContext.js.map +1 -1
  397. package/dist/module/contexts/internal/ScreenshotIosContext.js +7 -3
  398. package/dist/module/contexts/internal/ScreenshotIosContext.js.map +1 -1
  399. package/dist/module/hooks/index.js +3 -0
  400. package/dist/module/hooks/index.js.map +1 -1
  401. package/dist/module/hooks/push/index.js +2 -0
  402. package/dist/module/hooks/push/index.js.map +1 -1
  403. package/dist/module/hooks/push/useCallingExpWithCallingStateEffect.js +2 -0
  404. package/dist/module/hooks/push/useCallingExpWithCallingStateEffect.js.map +1 -1
  405. package/dist/module/hooks/push/useInitAndroidTokenAndRest.js +2 -0
  406. package/dist/module/hooks/push/useInitAndroidTokenAndRest.js.map +1 -1
  407. package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js +2 -0
  408. package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
  409. package/dist/module/hooks/useAndroidKeepCallAliveEffect.js +2 -0
  410. package/dist/module/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
  411. package/dist/module/hooks/useAutoEnterPiPEffect.js +7 -10
  412. package/dist/module/hooks/useAutoEnterPiPEffect.js.map +1 -1
  413. package/dist/module/hooks/useIsInPiPMode.js +2 -0
  414. package/dist/module/hooks/useIsInPiPMode.js.map +1 -1
  415. package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js +2 -0
  416. package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js.map +1 -1
  417. package/dist/module/hooks/useLoopbackRecording.js +260 -0
  418. package/dist/module/hooks/useLoopbackRecording.js.map +1 -0
  419. package/dist/module/hooks/useModeration.js +6 -1
  420. package/dist/module/hooks/useModeration.js.map +1 -1
  421. package/dist/module/hooks/usePaginatedLayoutSortPreset.js +2 -0
  422. package/dist/module/hooks/usePaginatedLayoutSortPreset.js.map +1 -1
  423. package/dist/module/hooks/usePermissionNotification.js +2 -0
  424. package/dist/module/hooks/usePermissionNotification.js.map +1 -1
  425. package/dist/module/hooks/usePermissionRequest.js +2 -0
  426. package/dist/module/hooks/usePermissionRequest.js.map +1 -1
  427. package/dist/module/hooks/useScreenShareAudioMixing.js +2 -0
  428. package/dist/module/hooks/useScreenShareAudioMixing.js.map +1 -1
  429. package/dist/module/hooks/useScreenShareButton.js +2 -0
  430. package/dist/module/hooks/useScreenShareButton.js.map +1 -1
  431. package/dist/module/hooks/useScreenshot.js +2 -0
  432. package/dist/module/hooks/useScreenshot.js.map +1 -1
  433. package/dist/module/hooks/useTrackDimensions.js +2 -0
  434. package/dist/module/hooks/useTrackDimensions.js.map +1 -1
  435. package/dist/module/icons/Back.js +10 -6
  436. package/dist/module/icons/Back.js.map +1 -1
  437. package/dist/module/icons/BadNetwork.js +13 -9
  438. package/dist/module/icons/BadNetwork.js.map +1 -1
  439. package/dist/module/icons/CameraSwitch.js +10 -6
  440. package/dist/module/icons/CameraSwitch.js.map +1 -1
  441. package/dist/module/icons/EndStreamIcon.js +10 -6
  442. package/dist/module/icons/EndStreamIcon.js.map +1 -1
  443. package/dist/module/icons/Eye.js +10 -6
  444. package/dist/module/icons/Eye.js.map +1 -1
  445. package/dist/module/icons/IconWrapper.js +7 -3
  446. package/dist/module/icons/IconWrapper.js.map +1 -1
  447. package/dist/module/icons/LivestreamControls.js +46 -39
  448. package/dist/module/icons/LivestreamControls.js.map +1 -1
  449. package/dist/module/icons/Lock.js +10 -6
  450. package/dist/module/icons/Lock.js.map +1 -1
  451. package/dist/module/icons/Maximize.js +35 -31
  452. package/dist/module/icons/Maximize.js.map +1 -1
  453. package/dist/module/icons/Mic.js +10 -6
  454. package/dist/module/icons/Mic.js.map +1 -1
  455. package/dist/module/icons/MicOff.js +10 -6
  456. package/dist/module/icons/MicOff.js.map +1 -1
  457. package/dist/module/icons/Phone.js +10 -6
  458. package/dist/module/icons/Phone.js.map +1 -1
  459. package/dist/module/icons/PhoneDown.js +10 -6
  460. package/dist/module/icons/PhoneDown.js.map +1 -1
  461. package/dist/module/icons/PinVertical.js +10 -6
  462. package/dist/module/icons/PinVertical.js.map +1 -1
  463. package/dist/module/icons/Reaction.js +10 -6
  464. package/dist/module/icons/Reaction.js.map +1 -1
  465. package/dist/module/icons/ScreenShare.js +10 -6
  466. package/dist/module/icons/ScreenShare.js.map +1 -1
  467. package/dist/module/icons/ScreenShareIndicator.js +23 -18
  468. package/dist/module/icons/ScreenShareIndicator.js.map +1 -1
  469. package/dist/module/icons/StartStreamIcon.js +10 -6
  470. package/dist/module/icons/StartStreamIcon.js.map +1 -1
  471. package/dist/module/icons/StopScreenShare.js +13 -9
  472. package/dist/module/icons/StopScreenShare.js.map +1 -1
  473. package/dist/module/icons/Video.js +10 -6
  474. package/dist/module/icons/Video.js.map +1 -1
  475. package/dist/module/icons/VideoSlash.js +10 -6
  476. package/dist/module/icons/VideoSlash.js.map +1 -1
  477. package/dist/module/icons/index.js +2 -6
  478. package/dist/module/icons/index.js.map +1 -1
  479. package/dist/module/index.js +2 -0
  480. package/dist/module/index.js.map +1 -1
  481. package/dist/module/modules/ScreenShareAudioManager.js +2 -0
  482. package/dist/module/modules/ScreenShareAudioManager.js.map +1 -1
  483. package/dist/module/modules/call-manager/CallManager.js +2 -0
  484. package/dist/module/modules/call-manager/CallManager.js.map +1 -1
  485. package/dist/module/modules/call-manager/PrevLibDetection.js +2 -0
  486. package/dist/module/modules/call-manager/PrevLibDetection.js.map +1 -1
  487. package/dist/module/modules/call-manager/index.js +2 -0
  488. package/dist/module/modules/call-manager/index.js.map +1 -1
  489. package/dist/module/modules/call-manager/native-module.d.js +2 -0
  490. package/dist/module/modules/call-manager/native-module.d.js.map +1 -1
  491. package/dist/module/modules/call-manager/types.js +1 -1
  492. package/dist/module/providers/BusyTonePlayer.js +9 -7
  493. package/dist/module/providers/BusyTonePlayer.js.map +1 -1
  494. package/dist/module/providers/NoiseCancellation/NoiseCancellationProvider.js +7 -4
  495. package/dist/module/providers/NoiseCancellation/NoiseCancellationProvider.js.map +1 -1
  496. package/dist/module/providers/NoiseCancellation/index.js +2 -0
  497. package/dist/module/providers/NoiseCancellation/index.js.map +1 -1
  498. package/dist/module/providers/NoiseCancellation/lib.js +2 -0
  499. package/dist/module/providers/NoiseCancellation/lib.js.map +1 -1
  500. package/dist/module/providers/StreamCall/AppStateListener.js +5 -0
  501. package/dist/module/providers/StreamCall/AppStateListener.js.map +1 -1
  502. package/dist/module/providers/StreamCall/AudioInterruptionTracer.js +2 -0
  503. package/dist/module/providers/StreamCall/AudioInterruptionTracer.js.map +1 -1
  504. package/dist/module/providers/StreamCall/DeviceStats.js +3 -1
  505. package/dist/module/providers/StreamCall/DeviceStats.js.map +1 -1
  506. package/dist/module/providers/StreamCall/index.js +7 -4
  507. package/dist/module/providers/StreamCall/index.js.map +1 -1
  508. package/dist/module/providers/StreamVideo.js +12 -5
  509. package/dist/module/providers/StreamVideo.js.map +1 -1
  510. package/dist/module/theme/colors.js +2 -0
  511. package/dist/module/theme/colors.js.map +1 -1
  512. package/dist/module/theme/constants.js +2 -0
  513. package/dist/module/theme/constants.js.map +1 -1
  514. package/dist/module/theme/index.js +2 -0
  515. package/dist/module/theme/index.js.map +1 -1
  516. package/dist/module/theme/theme.js +2 -0
  517. package/dist/module/theme/theme.js.map +1 -1
  518. package/dist/module/theme/types.js +2 -0
  519. package/dist/module/translations/index.js +2 -0
  520. package/dist/module/translations/index.js.map +1 -1
  521. package/dist/module/utils/StreamVideoRN/index.js +2 -1
  522. package/dist/module/utils/StreamVideoRN/index.js.map +1 -1
  523. package/dist/module/utils/StreamVideoRN/types.js +2 -0
  524. package/dist/module/utils/enterPiPAndroid.js +2 -0
  525. package/dist/module/utils/enterPiPAndroid.js.map +1 -1
  526. package/dist/module/utils/getAndroidDefaultRingtoneUrl.js +2 -0
  527. package/dist/module/utils/getAndroidDefaultRingtoneUrl.js.map +1 -1
  528. package/dist/module/utils/hooks/index.js +2 -0
  529. package/dist/module/utils/hooks/index.js.map +1 -1
  530. package/dist/module/utils/hooks/usePrevious.js +2 -0
  531. package/dist/module/utils/hooks/usePrevious.js.map +1 -1
  532. package/dist/module/utils/index.js +2 -0
  533. package/dist/module/utils/index.js.map +1 -1
  534. package/dist/module/utils/internal/callingx/audioSessionPromise.js +2 -0
  535. package/dist/module/utils/internal/callingx/audioSessionPromise.js.map +1 -1
  536. package/dist/module/utils/internal/callingx/callingx.js +6 -4
  537. package/dist/module/utils/internal/callingx/callingx.js.map +1 -1
  538. package/dist/module/utils/internal/optionallibs/gestureHandler.js +2 -0
  539. package/dist/module/utils/internal/optionallibs/gestureHandler.js.map +1 -1
  540. package/dist/module/utils/internal/optionallibs/index.js +2 -0
  541. package/dist/module/utils/internal/optionallibs/index.js.map +1 -1
  542. package/dist/module/utils/internal/optionallibs/reanimated.js +2 -0
  543. package/dist/module/utils/internal/optionallibs/reanimated.js.map +1 -1
  544. package/dist/module/utils/internal/pushLogoutCallback.js +2 -0
  545. package/dist/module/utils/internal/pushLogoutCallback.js.map +1 -1
  546. package/dist/module/utils/internal/registerSDKGlobals.js +4 -2
  547. package/dist/module/utils/internal/registerSDKGlobals.js.map +1 -1
  548. package/dist/module/utils/internal/rxSubjects.js +2 -0
  549. package/dist/module/utils/internal/rxSubjects.js.map +1 -1
  550. package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js +2 -0
  551. package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js.map +1 -1
  552. package/dist/module/utils/keepCallAliveHeadlessTask.js +2 -0
  553. package/dist/module/utils/keepCallAliveHeadlessTask.js.map +1 -1
  554. package/dist/module/utils/push/android.js +2 -0
  555. package/dist/module/utils/push/android.js.map +1 -1
  556. package/dist/module/utils/push/index.js +2 -0
  557. package/dist/module/utils/push/index.js.map +1 -1
  558. package/dist/module/utils/push/internal/constants.js +2 -0
  559. package/dist/module/utils/push/internal/constants.js.map +1 -1
  560. package/dist/module/utils/push/internal/ios.js +2 -0
  561. package/dist/module/utils/push/internal/ios.js.map +1 -1
  562. package/dist/module/utils/push/internal/utils.js +2 -0
  563. package/dist/module/utils/push/internal/utils.js.map +1 -1
  564. package/dist/module/utils/push/libs/callingx.js +2 -0
  565. package/dist/module/utils/push/libs/callingx.js.map +1 -1
  566. package/dist/module/utils/push/libs/firebaseMessaging/index.js +2 -0
  567. package/dist/module/utils/push/libs/firebaseMessaging/index.js.map +1 -1
  568. package/dist/module/utils/push/libs/firebaseMessaging/lib.js +2 -0
  569. package/dist/module/utils/push/libs/firebaseMessaging/lib.js.map +1 -1
  570. package/dist/module/utils/push/libs/index.js +2 -0
  571. package/dist/module/utils/push/libs/index.js.map +1 -1
  572. package/dist/module/utils/push/setupCallingExpEvents.js +2 -0
  573. package/dist/module/utils/push/setupCallingExpEvents.js.map +1 -1
  574. package/dist/module/utils/push/setupIosVoipPushEvents.js +2 -0
  575. package/dist/module/utils/push/setupIosVoipPushEvents.js.map +1 -1
  576. package/dist/module/utils/push/utils.js +2 -0
  577. package/dist/module/utils/push/utils.js.map +1 -1
  578. package/dist/module/utils/setClientDetails.js +2 -0
  579. package/dist/module/utils/setClientDetails.js.map +1 -1
  580. package/dist/module/version.js +3 -1
  581. package/dist/module/version.js.map +1 -1
  582. package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
  583. package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts.map +1 -1
  584. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -1
  585. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -1
  586. package/dist/typescript/components/Call/Lobby/Lobby.d.ts.map +1 -1
  587. package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts.map +1 -1
  588. package/dist/typescript/components/Livestream/LivestreamLayout/LivestreamLayout.d.ts.map +1 -1
  589. package/dist/typescript/components/Livestream/LivestreamPlayer/LivestreamEnded.d.ts.map +1 -1
  590. package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts.map +1 -1
  591. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -1
  592. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts +1 -1
  593. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -1
  594. package/dist/typescript/components/Participant/ParticipantView/VideoRenderer/index.d.ts +1 -1
  595. package/dist/typescript/components/Participant/ParticipantView/VideoRenderer/index.d.ts.map +1 -1
  596. package/dist/typescript/contexts/BackgroundFilters.d.ts +1 -1
  597. package/dist/typescript/contexts/BackgroundFilters.d.ts.map +1 -1
  598. package/dist/typescript/hooks/index.d.ts +1 -0
  599. package/dist/typescript/hooks/index.d.ts.map +1 -1
  600. package/dist/typescript/hooks/useAutoEnterPiPEffect.d.ts.map +1 -1
  601. package/dist/typescript/hooks/useLoopbackRecording.d.ts +85 -0
  602. package/dist/typescript/hooks/useLoopbackRecording.d.ts.map +1 -0
  603. package/dist/typescript/hooks/useModeration.d.ts.map +1 -1
  604. package/dist/typescript/icons/index.d.ts +0 -6
  605. package/dist/typescript/icons/index.d.ts.map +1 -1
  606. package/dist/typescript/providers/StreamCall/AppStateListener.d.ts.map +1 -1
  607. package/dist/typescript/providers/StreamCall/DeviceStats.d.ts.map +1 -1
  608. package/dist/typescript/utils/StreamVideoRN/index.d.ts +0 -1
  609. package/dist/typescript/utils/StreamVideoRN/index.d.ts.map +1 -1
  610. package/dist/typescript/utils/internal/callingx/callingx.d.ts.map +1 -1
  611. package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts +2 -16
  612. package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts.map +1 -1
  613. package/dist/typescript/version.d.ts +1 -1
  614. package/ios/StreamVideoReactNative-Bridging-Header.h +2 -0
  615. package/ios/StreamVideoReactNative.m +81 -0
  616. package/ios/TracksRecorder/AudioPipeline.swift +270 -0
  617. package/ios/TracksRecorder/PipelineHost.swift +56 -0
  618. package/ios/TracksRecorder/RecorderAudioRenderTap.swift +144 -0
  619. package/ios/TracksRecorder/RecorderVideoSink.swift +137 -0
  620. package/ios/TracksRecorder/TracksRecorderManager.swift +333 -0
  621. package/ios/TracksRecorder/VideoPipeline.swift +297 -0
  622. package/package.json +10 -8
  623. package/src/components/Call/CallContent/CallContent.tsx +69 -39
  624. package/src/components/Call/CallLayout/CallParticipantsGrid.tsx +4 -6
  625. package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +30 -21
  626. package/src/components/Call/CallParticipantsList/CallParticipantsList.tsx +23 -9
  627. package/src/components/Call/Lobby/Lobby.tsx +9 -5
  628. package/src/components/Livestream/HostLivestream/HostLivestream.tsx +5 -6
  629. package/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx +1 -1
  630. package/src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx +4 -64
  631. package/src/components/Livestream/LivestreamPlayer/LivestreamEnded.tsx +54 -18
  632. package/src/components/Livestream/LivestreamTopView/DurationBadge.tsx +2 -2
  633. package/src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx +10 -12
  634. package/src/components/Participant/FloatingParticipantView/index.tsx +26 -18
  635. package/src/components/Participant/ParticipantView/ParticipantReaction.tsx +1 -1
  636. package/src/components/Participant/ParticipantView/ParticipantView.tsx +68 -64
  637. package/src/components/Participant/ParticipantView/VideoRenderer/index.tsx +192 -179
  638. package/src/hooks/index.ts +1 -0
  639. package/src/hooks/useAutoEnterPiPEffect.tsx +5 -11
  640. package/src/hooks/useLoopbackRecording.ts +448 -0
  641. package/src/hooks/useModeration.ts +4 -1
  642. package/src/icons/index.tsx +0 -6
  643. package/src/providers/BusyTonePlayer.tsx +11 -11
  644. package/src/providers/StreamCall/AppStateListener.tsx +3 -0
  645. package/src/providers/StreamCall/DeviceStats.tsx +2 -1
  646. package/src/utils/StreamVideoRN/index.ts +0 -1
  647. package/src/utils/internal/callingx/callingx.ts +20 -10
  648. package/src/utils/internal/registerSDKGlobals.ts +2 -2
  649. package/src/utils/push/libs/firebaseMessaging/index.ts +4 -2
  650. package/src/version.ts +1 -1
  651. package/dist/commonjs/icons/LeaveStreamIcon.js +0 -20
  652. package/dist/commonjs/icons/LeaveStreamIcon.js.map +0 -1
  653. package/dist/commonjs/icons/Settings.js +0 -22
  654. package/dist/commonjs/icons/Settings.js.map +0 -1
  655. package/dist/commonjs/icons/ShieldBadge.js +0 -20
  656. package/dist/commonjs/icons/ShieldBadge.js.map +0 -1
  657. package/dist/commonjs/icons/Spotlight.js +0 -21
  658. package/dist/commonjs/icons/Spotlight.js.map +0 -1
  659. package/dist/commonjs/icons/ThreeDots.js +0 -31
  660. package/dist/commonjs/icons/ThreeDots.js.map +0 -1
  661. package/dist/commonjs/icons/TopViewBackground.js +0 -35
  662. package/dist/commonjs/icons/TopViewBackground.js.map +0 -1
  663. package/dist/module/icons/LeaveStreamIcon.js +0 -12
  664. package/dist/module/icons/LeaveStreamIcon.js.map +0 -1
  665. package/dist/module/icons/Settings.js +0 -13
  666. package/dist/module/icons/Settings.js.map +0 -1
  667. package/dist/module/icons/ShieldBadge.js +0 -12
  668. package/dist/module/icons/ShieldBadge.js.map +0 -1
  669. package/dist/module/icons/Spotlight.js +0 -13
  670. package/dist/module/icons/Spotlight.js.map +0 -1
  671. package/dist/module/icons/ThreeDots.js +0 -23
  672. package/dist/module/icons/ThreeDots.js.map +0 -1
  673. package/dist/module/icons/TopViewBackground.js +0 -27
  674. package/dist/module/icons/TopViewBackground.js.map +0 -1
  675. package/dist/typescript/icons/LeaveStreamIcon.d.ts +0 -3
  676. package/dist/typescript/icons/LeaveStreamIcon.d.ts.map +0 -1
  677. package/dist/typescript/icons/Settings.d.ts +0 -7
  678. package/dist/typescript/icons/Settings.d.ts.map +0 -1
  679. package/dist/typescript/icons/ShieldBadge.d.ts +0 -3
  680. package/dist/typescript/icons/ShieldBadge.d.ts.map +0 -1
  681. package/dist/typescript/icons/Spotlight.d.ts +0 -8
  682. package/dist/typescript/icons/Spotlight.d.ts.map +0 -1
  683. package/dist/typescript/icons/ThreeDots.d.ts +0 -7
  684. package/dist/typescript/icons/ThreeDots.d.ts.map +0 -1
  685. package/dist/typescript/icons/TopViewBackground.d.ts +0 -15
  686. package/dist/typescript/icons/TopViewBackground.d.ts.map +0 -1
  687. package/src/icons/LeaveStreamIcon.tsx +0 -13
  688. package/src/icons/Settings.tsx +0 -14
  689. package/src/icons/ShieldBadge.tsx +0 -13
  690. package/src/icons/Spotlight.tsx +0 -18
  691. package/src/icons/ThreeDots.tsx +0 -14
  692. package/src/icons/TopViewBackground.tsx +0 -43
@@ -13,6 +13,7 @@ var _LobbyControls = require("../CallControls/LobbyControls");
13
13
  var _JoinCallButton = require("./JoinCallButton");
14
14
  var _ThemeContext = require("../../../contexts/ThemeContext");
15
15
  var _LobbyFooter = require("./LobbyFooter");
16
+ var _jsxRuntime = require("react/jsx-runtime");
16
17
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
17
18
  /**
18
19
  * Props for the Lobby Component.
@@ -51,36 +52,43 @@ const Lobby = ({
51
52
  t
52
53
  } = (0, _videoReactBindings.useI18n)();
53
54
  const localVideoStream = mediaStream;
54
- const connectedUserAsParticipant = {
55
+ const connectedUserAsParticipant = (0, _react.useMemo)(() => ({
55
56
  userId: connectedUser?.id,
56
57
  image: connectedUser?.image,
57
58
  name: connectedUser?.name
58
- };
59
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
60
- style: [styles.container, lobby.container]
61
- }, connectedUser && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
62
- style: [styles.heading, typefaces.heading5, lobby.heading]
63
- }, t('Before joining')), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
64
- style: [styles.subHeading, lobby.subHeading]
65
- }, t('Setup your audio and video')), isVideoEnabledInCall && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
66
- style: [styles.videoContainer, {
67
- backgroundColor: colors.sheetTertiary
68
- }, lobby.videoContainer]
69
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
70
- style: styles.topView
71
- }), !cameraIsMuted && localVideoStream ? /*#__PURE__*/_react.default.createElement(_reactNativeWebrtc.RTCView, {
72
- mirror: true,
73
- streamURL: localVideoStream.toURL(),
74
- objectFit: "cover",
75
- style: _reactNative.StyleSheet.absoluteFill
76
- }) : /*#__PURE__*/_react.default.createElement(_reactNative.View, {
77
- style: [styles.avatarContainer, lobby.avatarContainer]
78
- }, /*#__PURE__*/_react.default.createElement(_Avatar.Avatar, {
79
- participant: connectedUserAsParticipant
80
- })), /*#__PURE__*/_react.default.createElement(ParticipantStatus, null))), LobbyControls && /*#__PURE__*/_react.default.createElement(LobbyControls, null), LobbyFooter && /*#__PURE__*/_react.default.createElement(LobbyFooter, {
81
- JoinCallButton: JoinCallButton,
82
- onJoinCallHandler: onJoinCallHandler
83
- }));
59
+ }), [connectedUser?.id, connectedUser?.image, connectedUser?.name]);
60
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
61
+ style: [styles.container, lobby.container],
62
+ children: [connectedUser && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
63
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
64
+ style: [styles.heading, typefaces.heading5, lobby.heading],
65
+ children: t('Before joining')
66
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
67
+ style: [styles.subHeading, lobby.subHeading],
68
+ children: t('Setup your audio and video')
69
+ }), isVideoEnabledInCall && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
70
+ style: [styles.videoContainer, {
71
+ backgroundColor: colors.sheetTertiary
72
+ }, lobby.videoContainer],
73
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
74
+ style: styles.topView
75
+ }), !cameraIsMuted && localVideoStream ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeWebrtc.RTCView, {
76
+ mirror: true,
77
+ streamURL: localVideoStream.toURL(),
78
+ objectFit: "cover",
79
+ style: _reactNative.StyleSheet.absoluteFill
80
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
81
+ style: [styles.avatarContainer, lobby.avatarContainer],
82
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Avatar.Avatar, {
83
+ participant: connectedUserAsParticipant
84
+ })
85
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(ParticipantStatus, {})]
86
+ })]
87
+ }), LobbyControls && /*#__PURE__*/(0, _jsxRuntime.jsx)(LobbyControls, {}), LobbyFooter && /*#__PURE__*/(0, _jsxRuntime.jsx)(LobbyFooter, {
88
+ JoinCallButton: JoinCallButton,
89
+ onJoinCallHandler: onJoinCallHandler
90
+ })]
91
+ });
84
92
  };
85
93
  exports.Lobby = Lobby;
86
94
  const ParticipantStatus = () => {
@@ -94,16 +102,18 @@ const ParticipantStatus = () => {
94
102
  const styles = useStyles();
95
103
  const connectedUser = (0, _videoReactBindings.useConnectedUser)();
96
104
  const participantLabel = connectedUser?.name ?? connectedUser?.id;
97
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
105
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
98
106
  style: [styles.participantStatusContainer, {
99
107
  backgroundColor: colors.sheetOverlay
100
- }, lobby.participantStatusContainer]
101
- }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
102
- style: [styles.userNameLabel, {
103
- color: colors.textPrimary
104
- }, typefaces.caption, lobby.userNameLabel],
105
- numberOfLines: 1
106
- }, participantLabel));
108
+ }, lobby.participantStatusContainer],
109
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
110
+ style: [styles.userNameLabel, {
111
+ color: colors.textPrimary
112
+ }, typefaces.caption, lobby.userNameLabel],
113
+ numberOfLines: 1,
114
+ children: participantLabel
115
+ })
116
+ });
107
117
  };
108
118
  const useStyles = (landscape = false) => {
109
119
  const {
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_videoReactBindings","_Avatar","_reactNativeWebrtc","_LobbyControls","_JoinCallButton","_ThemeContext","_LobbyFooter","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","Lobby","onJoinCallHandler","LobbyControls","DefaultLobbyControls","JoinCallButton","DefaultJoinCallButton","landscape","LobbyFooter","DefaultLobbyFooter","theme","colors","lobby","typefaces","useTheme","styles","useStyles","connectedUser","useConnectedUser","useCameraState","useCallSettings","useCallStateHooks","callSettings","isVideoEnabledInCall","video","enabled","isMute","cameraIsMuted","mediaStream","useI18n","localVideoStream","connectedUserAsParticipant","userId","id","image","name","createElement","View","style","container","Fragment","Text","heading","heading5","subHeading","videoContainer","backgroundColor","sheetTertiary","topView","RTCView","mirror","streamURL","toURL","objectFit","StyleSheet","absoluteFill","avatarContainer","Avatar","participant","ParticipantStatus","exports","participantLabel","participantStatusContainer","sheetOverlay","userNameLabel","color","textPrimary","caption","numberOfLines","useMemo","create","textAlign","paddingBottom","variants","spacingSizes","xs","md","textSecondary","flex","justifyContent","sheetPrimary","paddingRight","insets","right","sm","paddingLeft","left","paddingTop","top","bottom","height","borderRadius","borderRadiusSizes","alignItems","overflow","alignSelf","flexDirection","padding","borderTopRightRadius","flexShrink"],"sourceRoot":"../../../../../src","sources":["components/Call/Lobby/Lobby.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAA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cAAc,EAAE,eAAe;MAC/Bc,UAAU,EAAE,QAAQ;MACpBC,QAAQ,EAAE;IACZ,CAAC;IACD9C,OAAO,EAAE,CAAC,CAAC;IACXc,0BAA0B,EAAE;MAC1BiC,SAAS,EAAE,YAAY;MACvBC,aAAa,EAAE,KAAK;MACpBH,UAAU,EAAE,QAAQ;MACpBI,OAAO,EAAEvF,KAAK,CAAC+D,QAAQ,CAACC,YAAY,CAACU,EAAE;MACvCc,oBAAoB,EAAExF,KAAK,CAAC+D,QAAQ,CAACmB,iBAAiB,CAACR;IACzD,CAAC;IACD5B,eAAe,EAAE;MACfsB,IAAI,EAAE,CAAC;MACPC,cAAc,EAAE;IAClB,CAAC;IACDf,aAAa,EAAE;MACbmC,UAAU,EAAE;IACd;EACF,CAAC,CAAC,EACJ,CAACzF,KAAK,EAAEH,SAAS,CACnB,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_videoReactBindings","_Avatar","_reactNativeWebrtc","_LobbyControls","_JoinCallButton","_ThemeContext","_LobbyFooter","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","Lobby","onJoinCallHandler","LobbyControls","DefaultLobbyControls","JoinCallButton","DefaultJoinCallButton","landscape","LobbyFooter","DefaultLobbyFooter","theme","colors","lobby","typefaces","useTheme","styles","useStyles","connectedUser","useConnectedUser","useCameraState","useCallSettings","useCallStateHooks","callSettings","isVideoEnabledInCall","video","enabled","isMute","cameraIsMuted","mediaStream","useI18n","localVideoStream","connectedUserAsParticipant","useMemo","userId","id","image","name","jsxs","View","style","container","children","Fragment","jsx","Text","heading","heading5","subHeading","videoContainer","backgroundColor","sheetTertiary","topView","RTCView","mirror","streamURL","toURL","objectFit","StyleSheet","absoluteFill","avatarContainer","Avatar","participant","ParticipantStatus","exports","participantLabel","participantStatusContainer","sheetOverlay","userNameLabel","color","textPrimary","caption","numberOfLines","create","textAlign","paddingBottom","variants","spacingSizes","xs","md","textSecondary","flex","justifyContent","sheetPrimary","paddingRight","insets","right","sm","paddingLeft","left","paddingTop","top","bottom","height","borderRadius","borderRadiusSizes","alignItems","overflow","alignSelf","flexDirection","padding","borderTopRightRadius","flexShrink"],"sourceRoot":"../../../../../src","sources":["components/Call/Lobby/Lobby.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,mBAAA,GAAAF,OAAA;AAKA,IAAAG,OAAA,GAAAH,OAAA;AAGA,IAAAI,kBAAA,GAAAJ,OAAA;AACA,IAAAK,cAAA,GAAAL,OAAA;AACA,IAAAM,eAAA,GAAAN,OAAA;AAIA,IAAAO,aAAA,GAAAP,OAAA;AACA,IAAAQ,YAAA,GAAAR,OAAA;AAGuB,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAD,wBAAAW,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAb,uBAAA,YAAAA,CAAAW,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,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CAACiE,QAAQ,CAACC,YAAY,CAACU,EAAE;MAC9DC,WAAW,EACT7E,KAAK,CAACiE,QAAQ,CAACS,MAAM,CAACI,IAAI,GAAG9E,KAAK,CAACiE,QAAQ,CAACC,YAAY,CAACU,EAAE;MAC7DG,UAAU,EAAE/E,KAAK,CAACiE,QAAQ,CAACS,MAAM,CAACM,GAAG;MACrChB,aAAa,EAAEhE,KAAK,CAACiE,QAAQ,CAACS,MAAM,CAACO;IACvC,CAAC;IACD3C,cAAc,EAAE;MACd4C,MAAM,EAAErF,SAAS,GAAG,KAAK,GAAG,KAAK;MACjCsF,YAAY,EAAEnF,KAAK,CAACiE,QAAQ,CAACmB,iBAAiB,CAAChB,EAAE;MACjDG,cAAc,EAAE,eAAe;MAC/Bc,UAAU,EAAE,QAAQ;MACpBC,QAAQ,EAAE;IACZ,CAAC;IACD7C,OAAO,EAAE,CAAC,CAAC;IACXc,0BAA0B,EAAE;MAC1BgC,SAAS,EAAE,YAAY;MACvBC,aAAa,EAAE,KAAK;MACpBH,UAAU,EAAE,QAAQ;MACpBI,OAAO,EAAEzF,KAAK,CAACiE,QAAQ,CAACC,YAAY,CAACU,EAAE;MACvCc,oBAAoB,EAAE1F,KAAK,CAACiE,QAAQ,CAACmB,iBAAiB,CAACR;IACzD,CAAC;IACD3B,eAAe,EAAE;MACfqB,IAAI,EAAE,CAAC;MACPC,cAAc,EAAE;IAClB,CAAC;IACDd,aAAa,EAAE;MACbkC,UAAU,EAAE;IACd;EACF,CAAC,CAAC,EACJ,CAAC3F,KAAK,EAAEH,SAAS,CACnB,CAAC;AACH,CAAC","ignoreList":[]}
@@ -9,6 +9,7 @@ var _reactNative = require("react-native");
9
9
  var _ThemeContext = require("../../../contexts/ThemeContext");
10
10
  var _videoReactBindings = require("@stream-io/video-react-bindings");
11
11
  var _Lock = require("../../../icons/Lock");
12
+ var _jsxRuntime = require("react/jsx-runtime");
12
13
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
13
14
  /**
14
15
  * Props for the Lobby Footer in the Lobby component.
@@ -50,22 +51,26 @@ const LobbyFooter = ({
50
51
  numberOfParticipants
51
52
  });
52
53
  }, [numberOfParticipants, t]);
53
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
54
- style: [styles.mainContainer, lobby.infoContainer]
55
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
56
- style: styles.textContainer
57
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
58
- style: styles.iconContainer
59
- }, /*#__PURE__*/_react.default.createElement(_Lock.Lock, {
60
- color: colors.iconPrimary,
61
- size: variants.iconSizes.md
62
- })), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
63
- style: [{
64
- color: colors.textPrimary
65
- }, styles.infoText, lobby.infoText]
66
- }, t('You are about to join a call.') + ' ' + participantsText)), JoinCallButton && /*#__PURE__*/_react.default.createElement(JoinCallButton, {
67
- onJoinCallHandler: onJoinCallHandler
68
- }));
54
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
55
+ style: [styles.mainContainer, lobby.infoContainer],
56
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
57
+ style: styles.textContainer,
58
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
59
+ style: styles.iconContainer,
60
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Lock.Lock, {
61
+ color: colors.iconPrimary,
62
+ size: variants.iconSizes.md
63
+ })
64
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
65
+ style: [{
66
+ color: colors.textPrimary
67
+ }, styles.infoText, lobby.infoText],
68
+ children: t('You are about to join a call.') + ' ' + participantsText
69
+ })]
70
+ }), JoinCallButton && /*#__PURE__*/(0, _jsxRuntime.jsx)(JoinCallButton, {
71
+ onJoinCallHandler: onJoinCallHandler
72
+ })]
73
+ });
69
74
  };
70
75
  exports.LobbyFooter = LobbyFooter;
71
76
  const useStyles = () => {
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_ThemeContext","_videoReactBindings","_Lock","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","LobbyFooter","onJoinCallHandler","JoinCallButton","theme","colors","lobby","variants","useTheme","styles","useStyles","useCallSession","useCallStateHooks","useI18n","session","numberOfParticipants","participants","length","participantsText","useMemo","createElement","View","style","mainContainer","infoContainer","textContainer","iconContainer","Lock","color","iconPrimary","size","iconSizes","md","Text","textPrimary","infoText","exports","StyleSheet","create","padding","spacingSizes","sm","flexDirection","alignItems","justifyContent","backgroundColor","sheetTertiary","paddingHorizontal","paddingVertical","xs","borderRadius","borderRadiusSizes","marginRight","fontSize","fontSizes","lineHeight","fontWeight"],"sourceRoot":"../../../../../src","sources":["components/Call/Lobby/LobbyFooter.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AAA2C,SAAAD,wBAAAM,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAR,uBAAA,YAAAA,CAAAM,CAAA,EAAAC,CAAA,SAAAA,CAAA,I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AAG,GAAGmC,gBACxC,CACF,CAAC,EACNf,cAAc,iBACb5B,MAAA,CAAAiB,OAAA,CAAA4B,aAAA,CAACjB,cAAc;IAACD,iBAAiB,EAAEA;EAAkB,CAAE,CAErD,CAAC;AAEX,CAAC;AAACkC,OAAA,CAAAnC,WAAA,GAAAA,WAAA;AAEF,MAAMS,SAAS,GAAGA,CAAA,KAAM;EACtB,MAAM;IAAEN;EAAM,CAAC,GAAG,IAAAI,sBAAQ,EAAC,CAAC;EAC5B,OAAO,IAAAW,cAAO,EACZ,MACEkB,uBAAU,CAACC,MAAM,CAAC;IAChBf,aAAa,EAAE;MACbgB,OAAO,EAAEnC,KAAK,CAACG,QAAQ,CAACiC,YAAY,CAACC;IACvC,CAAC;IACDhB,aAAa,EAAE;MACbiB,aAAa,EAAE,KAAK;MACpBC,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE,QAAQ;MACxBC,eAAe,EAAEzC,KAAK,CAACC,MAAM,CAACyC,aAAa;MAC3CC,iBAAiB,EAAE3C,KAAK,CAACG,QAAQ,CAACiC,YAAY,CAACR,EAAE;MACjDgB,eAAe,EAAE5C,KAAK,CAACG,QAAQ,CAACiC,YAAY,CAACS,EAAE;MAC/CC,YAAY,EAAE9C,KAAK,CAACG,QAAQ,CAAC4C,iBAAiB,CAACV;IACjD,CAAC;IACDf,aAAa,EAAE;MACb0B,WAAW,EAAEhD,KAAK,CAACG,QAAQ,CAACiC,YAAY,CAACC;IAC3C,CAAC;IACDN,QAAQ,EAAE;MACRkB,QAAQ,EAAEjD,KAAK,CAACG,QAAQ,CAAC+C,SAAS,CAACb,EAAE;MACrCc,UAAU,EAAE,EAAE;MACdC,UAAU,EAAE;IACd;EACF,CAAC,CAAC,EACJ,CAACpD,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_ThemeContext","_videoReactBindings","_Lock","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","LobbyFooter","onJoinCallHandler","JoinCallButton","theme","colors","lobby","variants","useTheme","styles","useStyles","useCallSession","useCallStateHooks","useI18n","session","numberOfParticipants","participants","length","participantsText","useMemo","jsxs","View","style","mainContainer","infoContainer","children","textContainer","jsx","iconContainer","Lock","color","iconPrimary","size","iconSizes","md","Text","textPrimary","infoText","exports","StyleSheet","create","padding","spacingSizes","sm","flexDirection","alignItems","justifyContent","backgroundColor","sheetTertiary","paddingHorizontal","paddingVertical","xs","borderRadius","borderRadiusSizes","marginRight","fontSize","fontSizes","lineHeight","fontWeight"],"sourceRoot":"../../../../../src","sources":["components/Call/Lobby/LobbyFooter.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AAA2C,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,wBAAAO,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAT,uBAAA,YAAAA,CAAAO,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,g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oB,uBAAU,CAACC,MAAM,CAAC;IAChBjB,aAAa,EAAE;MACbkB,OAAO,EAAErC,KAAK,CAACG,QAAQ,CAACmC,YAAY,CAACC;IACvC,CAAC;IACDjB,aAAa,EAAE;MACbkB,aAAa,EAAE,KAAK;MACpBC,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE,QAAQ;MACxBC,eAAe,EAAE3C,KAAK,CAACC,MAAM,CAAC2C,aAAa;MAC3CC,iBAAiB,EAAE7C,KAAK,CAACG,QAAQ,CAACmC,YAAY,CAACR,EAAE;MACjDgB,eAAe,EAAE9C,KAAK,CAACG,QAAQ,CAACmC,YAAY,CAACS,EAAE;MAC/CC,YAAY,EAAEhD,KAAK,CAACG,QAAQ,CAAC8C,iBAAiB,CAACV;IACjD,CAAC;IACDf,aAAa,EAAE;MACb0B,WAAW,EAAElD,KAAK,CAACG,QAAQ,CAACmC,YAAY,CAACC;IAC3C,CAAC;IACDN,QAAQ,EAAE;MACRkB,QAAQ,EAAEnD,KAAK,CAACG,QAAQ,CAACiD,SAAS,CAACb,EAAE;MACrCc,UAAU,EAAE,EAAE;MACdC,UAAU,EAAE;IACd;EACF,CAAC,CAAC,EACJ,CAACtD,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
@@ -7,12 +7,13 @@ exports.CallLeftIndicator = void 0;
7
7
  var _videoReactBindings = require("@stream-io/video-react-bindings");
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _TextBasedIndicator = require("./TextBasedIndicator");
10
+ var _jsxRuntime = require("react/jsx-runtime");
10
11
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
12
  const CallLeftIndicator = props => {
12
13
  const {
13
14
  t
14
15
  } = (0, _videoReactBindings.useI18n)();
15
- return /*#__PURE__*/_react.default.createElement(_TextBasedIndicator.TextBasedIndicator, {
16
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextBasedIndicator.TextBasedIndicator, {
16
17
  text: t('You have left the call'),
17
18
  onBackPress: props.onBackPress
18
19
  });
@@ -1 +1 @@
1
- {"version":3,"names":["_videoReactBindings","require","_react","_interopRequireDefault","_TextBasedIndicator","e","__esModule","default","CallLeftIndicator","props","t","useI18n","createElement","TextBasedIndicator","text","onBackPress","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/CallLeftIndicator.tsx"],"mappings":";;;;;;AAAA,IAAAA,mBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AAG8B,SAAAE,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAOvB,MAAMG,iBAAiB,GAAIC,KAA6B,IAAK;EAClE,MAAM;IAAEC;EAAE,CAAC,GAAG,IAAAC,2BAAO,EAAC,CAAC;EACvB,oBACET,MAAA,CAAAK,OAAA,CAAAK,aAAA,CAACR,mBAAA,CAAAS,kBAAkB;IACjBC,IAAI,EAAEJ,CAAC,CAAC,wBAAwB,CAAE;IAClCK,WAAW,EAAEN,KAAK,CAACM;EAAY,CAChC,CAAC;AAEN,CAAC;AAACC,OAAA,CAAAR,iBAAA,GAAAA,iBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_videoReactBindings","require","_react","_interopRequireDefault","_TextBasedIndicator","_jsxRuntime","e","__esModule","default","CallLeftIndicator","props","t","useI18n","jsx","TextBasedIndicator","text","onBackPress","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/CallLeftIndicator.tsx"],"mappings":";;;;;;AAAA,IAAAA,mBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AAG8B,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAE,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAOvB,MAAMG,iBAAiB,GAAIC,KAA6B,IAAK;EAClE,MAAM;IAAEC;EAAE,CAAC,GAAG,IAAAC,2BAAO,EAAC,CAAC;EACvB,oBACE,IAAAP,WAAA,CAAAQ,GAAA,EAACT,mBAAA,CAAAU,kBAAkB;IACjBC,IAAI,EAAEJ,CAAC,CAAC,wBAAwB,CAAE;IAClCK,WAAW,EAAEN,KAAK,CAACM;EAAY,CAChC,CAAC;AAEN,CAAC;AAACC,OAAA,CAAAR,iBAAA,GAAAA,iBAAA","ignoreList":[]}
@@ -7,12 +7,13 @@ exports.CallPreparingIndicator = void 0;
7
7
  var _videoReactBindings = require("@stream-io/video-react-bindings");
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _TextBasedIndicator = require("./TextBasedIndicator");
10
+ var _jsxRuntime = require("react/jsx-runtime");
10
11
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
12
  const CallPreparingIndicator = props => {
12
13
  const {
13
14
  t
14
15
  } = (0, _videoReactBindings.useI18n)();
15
- return /*#__PURE__*/_react.default.createElement(_TextBasedIndicator.TextBasedIndicator, {
16
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextBasedIndicator.TextBasedIndicator, {
16
17
  text: t('Preparing call'),
17
18
  onBackPress: props.onBackPress
18
19
  });
@@ -1 +1 @@
1
- {"version":3,"names":["_videoReactBindings","require","_react","_interopRequireDefault","_TextBasedIndicator","e","__esModule","default","CallPreparingIndicator","props","t","useI18n","createElement","TextBasedIndicator","text","onBackPress","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/CallPreparingIndicator.tsx"],"mappings":";;;;;;AAAA,IAAAA,mBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AAG8B,SAAAE,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAOvB,MAAMG,sBAAsB,GAAIC,KAAkC,IAAK;EAC5E,MAAM;IAAEC;EAAE,CAAC,GAAG,IAAAC,2BAAO,EAAC,CAAC;EACvB,oBACET,MAAA,CAAAK,OAAA,CAAAK,aAAA,CAACR,mBAAA,CAAAS,kBAAkB;IACjBC,IAAI,EAAEJ,CAAC,CAAC,gBAAgB,CAAE;IAC1BK,WAAW,EAAEN,KAAK,CAACM;EAAY,CAChC,CAAC;AAEN,CAAC;AAACC,OAAA,CAAAR,sBAAA,GAAAA,sBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_videoReactBindings","require","_react","_interopRequireDefault","_TextBasedIndicator","_jsxRuntime","e","__esModule","default","CallPreparingIndicator","props","t","useI18n","jsx","TextBasedIndicator","text","onBackPress","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/CallPreparingIndicator.tsx"],"mappings":";;;;;;AAAA,IAAAA,mBAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AAG8B,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAE,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAOvB,MAAMG,sBAAsB,GAAIC,KAAkC,IAAK;EAC5E,MAAM;IAAEC;EAAE,CAAC,GAAG,IAAAC,2BAAO,EAAC,CAAC;EACvB,oBACE,IAAAP,WAAA,CAAAQ,GAAA,EAACT,mBAAA,CAAAU,kBAAkB;IACjBC,IAAI,EAAEJ,CAAC,CAAC,gBAAgB,CAAE;IAC1BK,WAAW,EAAEN,KAAK,CAACM;EAAY,CAChC,CAAC;AAEN,CAAC;AAACC,OAAA,CAAAR,sBAAA,GAAAA,sBAAA","ignoreList":[]}
@@ -10,6 +10,7 @@ var _videoReactBindings = require("@stream-io/video-react-bindings");
10
10
  var _UserInfo = require("./UserInfo");
11
11
  var _CallControls = require("../CallControls");
12
12
  var _contexts = require("../../../contexts");
13
+ var _jsxRuntime = require("react/jsx-runtime");
13
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
15
  /**
15
16
  * Props for the IncomingCall Component.
@@ -45,22 +46,29 @@ const IncomingCall = ({
45
46
  paddingLeft: variants.insets.left,
46
47
  paddingRight: variants.insets.right
47
48
  };
48
- return /*#__PURE__*/_react.default.createElement(Background, null, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
49
- style: [styles.content, landscapeContentStyles, insetStyles, incomingCall.content]
50
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
51
- style: [styles.topContainer, incomingCall.topContainer]
52
- }, /*#__PURE__*/_react.default.createElement(_UserInfo.UserInfo, null), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
53
- style: [styles.incomingCallText, {
54
- color: colors.textPrimary
55
- }, typefaces.heading6, incomingCall.incomingCallText]
56
- }, t('Incoming Call...'))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
57
- style: [styles.bottomContainer, incomingCall.bottomContainer]
58
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
59
- style: [styles.incomingCallControls, incomingCall.incomingCallControls]
60
- }, IncomingCallControls && /*#__PURE__*/_react.default.createElement(IncomingCallControls, {
61
- onAcceptCallHandler: onAcceptCallHandler,
62
- onRejectCallHandler: onRejectCallHandler
63
- })))));
49
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(Background, {
50
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
51
+ style: [styles.content, landscapeContentStyles, insetStyles, incomingCall.content],
52
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
53
+ style: [styles.topContainer, incomingCall.topContainer],
54
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_UserInfo.UserInfo, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
55
+ style: [styles.incomingCallText, {
56
+ color: colors.textPrimary
57
+ }, typefaces.heading6, incomingCall.incomingCallText],
58
+ children: t('Incoming Call...')
59
+ })]
60
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
61
+ style: [styles.bottomContainer, incomingCall.bottomContainer],
62
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
63
+ style: [styles.incomingCallControls, incomingCall.incomingCallControls],
64
+ children: IncomingCallControls && /*#__PURE__*/(0, _jsxRuntime.jsx)(IncomingCallControls, {
65
+ onAcceptCallHandler: onAcceptCallHandler,
66
+ onRejectCallHandler: onRejectCallHandler
67
+ })
68
+ })
69
+ })]
70
+ })
71
+ });
64
72
  };
65
73
  exports.IncomingCall = IncomingCall;
66
74
  const Background = ({
@@ -85,20 +93,22 @@ const Background = ({
85
93
  user
86
94
  }) => user.image).filter(image => !!image);
87
95
  if (avatarsToShow.length) {
88
- return /*#__PURE__*/_react.default.createElement(_reactNative.ImageBackground, {
96
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ImageBackground, {
89
97
  source: {
90
98
  uri: avatarsToShow[0]
91
99
  },
92
100
  style: [styles.background, {
93
101
  backgroundColor: colors.sheetTertiary
94
- }, incomingCall.background]
95
- }, children);
102
+ }, incomingCall.background],
103
+ children: children
104
+ });
96
105
  }
97
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
106
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
98
107
  style: [styles.background, {
99
108
  backgroundColor: colors.sheetTertiary
100
- }, incomingCall.background]
101
- }, children);
109
+ }, incomingCall.background],
110
+ children: children
111
+ });
102
112
  };
103
113
  const styles = exports.styles = _reactNative.StyleSheet.create({
104
114
  background: {
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_videoReactBindings","_UserInfo","_CallControls","_contexts","e","__esModule","default","IncomingCall","onAcceptCallHandler","onRejectCallHandler","IncomingCallControls","DefaultIncomingCallControls","landscape","t","useI18n","theme","colors","incomingCall","typefaces","variants","useTheme","landscapeContentStyles","flexDirection","insetStyles","paddingTop","insets","top","paddingBottom","bottom","paddingLeft","left","paddingRight","right","createElement","Background","View","style","styles","content","topContainer","UserInfo","Text","incomingCallText","color","textPrimary","heading6","bottomContainer","incomingCallControls","exports","children","connectedUser","useConnectedUser","useCallMembers","useCallStateHooks","members","avatarsToShow","filter","user","id","map","image","length","ImageBackground","source","uri","background","backgroundColor","sheetTertiary","StyleSheet","create","flex","justifyContent","marginTop","textAlign"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/IncomingCall.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,mBAAA,GAAAF,OAAA;AAKA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AAIA,IAAAK,SAAA,GAAAL,OAAA;AAA6C,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE7C;AACA;AACA;;AAaA;AACA;AACA;AACA;AACO,MAAMG,YAAY,GAAGA,CAAC;EAC3BC,mBAAmB;EACnBC,mBAAmB;EACnBC,oBAAoB,GAAGC,kCAA2B;EAClDC;AACiB,CAAC,KAAK;EACvB,MAAM;IAAEC;EAAE,CAAC,GAAG,IAAAC,2BAAO,EAAC,CAAC;EACvB,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,YAAY;MAAEC,SAAS;MAAEC;IAAS;EACrD,CAAC,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EAEd,MAAMC,sBAAiC,GAAG;IACxCC,aAAa,EAAEV,SAAS,GAAG,KAAK,GAAG;EACrC,CAAC;EAED,MAAMW,WAAsB,GAAG;IAC7BC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A,CAAA2B,aAAA,CAAClC,YAAA,CAAAoC,IAAI;IACHC,KAAK,EAAE,CACLC,MAAM,CAAC4B,UAAU,EACjB;MAAEC,eAAe,EAAElD,MAAM,CAACmD;IAAc,CAAC,EACzClD,YAAY,CAACgD,UAAU;EACvB,GAEDhB,QACG,CAAC;AAEX,CAAC;AAEM,MAAMZ,MAAM,GAAAW,OAAA,CAAAX,MAAA,GAAG+B,uBAAU,CAACC,MAAM,CAAC;EACtCJ,UAAU,EAAE;IACVK,IAAI,EAAE;EACR,CAAC;EACDhC,OAAO,EAAE;IACPgC,IAAI,EAAE;EACR,CAAC;EACD/B,YAAY,EAAE;IAAE+B,IAAI,EAAE,CAAC;IAAEC,cAAc,EAAE;EAAS,CAAC;EACnD7B,gBAAgB,EAAE;IAChB8B,SAAS,EAAE,CAAC;IACZC,SAAS,EAAE;EACb,CAAC;EACD3B,eAAe,EAAE;IAAEwB,IAAI,EAAE,CAAC;IAAEC,cAAc,EAAE;EAAS,CAAC;EACtDxB,oBAAoB,EAAE;IACpBwB,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_videoReactBindings","_UserInfo","_CallControls","_contexts","_jsxRuntime","e","__esModule","default","IncomingCall","onAcceptCallHandler","onRejectCallHandler","IncomingCallControls","DefaultIncomingCallControls","landscape","t","useI18n","theme","colors","incomingCall","typefaces","variants","useTheme","landscapeContentStyles","flexDirection","insetStyles","paddingTop","insets","top","paddingBottom","bottom","paddingLeft","left","paddingRight","right","jsx","Background","children","jsxs","View","style","styles","content","topContainer","UserInfo","Text","incomingCallText","color","textPrimary","heading6","bottomContainer","incomingCallControls","exports","connectedUser","useConnectedUser","useCallMembers","useCallStateHooks","members","avatarsToShow","filter","user","id","map","image","length","ImageBackground","source","uri","background","backgroundColor","sheetTertiary","StyleSheet","create","flex","justifyContent","marginTop","textAlign"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/Inc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,UAAU,EAAE;IACVK,IAAI,EAAE;EACR,CAAC;EACD/B,OAAO,EAAE;IACP+B,IAAI,EAAE;EACR,CAAC;EACD9B,YAAY,EAAE;IAAE8B,IAAI,EAAE,CAAC;IAAEC,cAAc,EAAE;EAAS,CAAC;EACnD5B,gBAAgB,EAAE;IAChB6B,SAAS,EAAE,CAAC;IACZC,SAAS,EAAE;EACb,CAAC;EACD1B,eAAe,EAAE;IAAEuB,IAAI,EAAE,CAAC;IAAEC,cAAc,EAAE;EAAS,CAAC;EACtDvB,oBAAoB,EAAE;IACpBuB,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -12,6 +12,7 @@ var _videoReactBindings = require("@stream-io/video-react-bindings");
12
12
  var _reactNativeWebrtc = require("@stream-io/react-native-webrtc");
13
13
  var _ThemeContext = require("../../../contexts/ThemeContext");
14
14
  var _CallControls = require("../CallControls");
15
+ var _jsxRuntime = require("react/jsx-runtime");
15
16
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
16
17
  /**
17
18
  * Props for the OutgoingCall Component.
@@ -46,23 +47,31 @@ const OutgoingCall = ({
46
47
  paddingLeft: variants.insets.left,
47
48
  paddingRight: variants.insets.right
48
49
  };
49
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
50
- style: [_reactNative.StyleSheet.absoluteFill, styles.container, outgoingCall.container]
51
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
52
- style: [styles.content, landscapeContentStyles, insetStyles, outgoingCall.content]
53
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
54
- style: [styles.topContainer, outgoingCall.topContainer]
55
- }, /*#__PURE__*/_react.default.createElement(_UserInfo.UserInfo, null), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
56
- style: [styles.callingText, {
57
- color: colors.textPrimary
58
- }, typefaces.heading6, outgoingCall.callingText]
59
- }, t('Calling...'))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
60
- style: [styles.bottomContainer, outgoingCall.bottomContainer]
61
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
62
- style: [styles.outgoingCallControls, outgoingCall.outgoingCallControls]
63
- }, OutgoingCallControls && /*#__PURE__*/_react.default.createElement(OutgoingCallControls, {
64
- onHangupCallHandler: onHangupCallHandler
65
- }))))), /*#__PURE__*/_react.default.createElement(Background, null));
50
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
51
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
52
+ style: [_reactNative.StyleSheet.absoluteFill, styles.container, outgoingCall.container],
53
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
54
+ style: [styles.content, landscapeContentStyles, insetStyles, outgoingCall.content],
55
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
56
+ style: [styles.topContainer, outgoingCall.topContainer],
57
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_UserInfo.UserInfo, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
58
+ style: [styles.callingText, {
59
+ color: colors.textPrimary
60
+ }, typefaces.heading6, outgoingCall.callingText],
61
+ children: t('Calling...')
62
+ })]
63
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
64
+ style: [styles.bottomContainer, outgoingCall.bottomContainer],
65
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
66
+ style: [styles.outgoingCallControls, outgoingCall.outgoingCallControls],
67
+ children: OutgoingCallControls && /*#__PURE__*/(0, _jsxRuntime.jsx)(OutgoingCallControls, {
68
+ onHangupCallHandler: onHangupCallHandler
69
+ })
70
+ })
71
+ })]
72
+ })
73
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(Background, {})]
74
+ });
66
75
  };
67
76
  exports.OutgoingCall = OutgoingCall;
68
77
  const Background = () => {
@@ -81,23 +90,24 @@ const Background = () => {
81
90
  } = useCameraState();
82
91
  const localVideoStream = camera.state.mediaStream;
83
92
  if (isMute || !localVideoStream) {
84
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
93
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
85
94
  style: [styles.background, {
86
95
  backgroundColor: colors.sheetSecondary
87
96
  }, outgoingCall.background]
88
97
  });
89
98
  }
90
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
99
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
91
100
  style: [styles.background, {
92
101
  backgroundColor: colors.sheetSecondary
93
- }, outgoingCall.background]
94
- }, /*#__PURE__*/_react.default.createElement(_reactNativeWebrtc.RTCView, {
95
- streamURL: localVideoStream.toURL(),
96
- zOrder: _constants.Z_INDEX.IN_BACK,
97
- style: _reactNative.StyleSheet.absoluteFill,
98
- mirror: true,
99
- objectFit: "cover"
100
- }));
102
+ }, outgoingCall.background],
103
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeWebrtc.RTCView, {
104
+ streamURL: localVideoStream.toURL(),
105
+ zOrder: _constants.Z_INDEX.IN_BACK,
106
+ style: _reactNative.StyleSheet.absoluteFill,
107
+ mirror: true,
108
+ objectFit: "cover"
109
+ })
110
+ });
101
111
  };
102
112
  const styles = _reactNative.StyleSheet.create({
103
113
  background: {
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_UserInfo","_constants","_videoReactBindings","_reactNativeWebrtc","_ThemeContext","_CallControls","e","__esModule","default","OutgoingCall","onHangupCallHandler","OutgoingCallControls","DefaultOutgoingCallControls","landscape","theme","colors","typefaces","outgoingCall","variants","useTheme","t","useI18n","landscapeContentStyles","flexDirection","insetStyles","paddingTop","insets","top","paddingBottom","bottom","paddingLeft","left","paddingRight","right","createElement","Fragment","View","style","StyleSheet","absoluteFill","styles","container","content","topContainer","UserInfo","Text","callingText","color","textPrimary","heading6","bottomContainer","outgoingCallControls","Background","exports","useCameraState","useCallStateHooks","isMute","camera","localVideoStream","state","mediaStream","background","backgroundColor","sheetSecondary","RTCView","streamURL","toURL","zOrder","Z_INDEX","IN_BACK","mirror","objectFit","create","flex","zIndex","IN_MIDDLE","justifyContent","marginTop","textAlign","alignSelf"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/OutgoingCall.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AACA,IAAAO,aAAA,GAAAP,OAAA;AAGyB,SAAAD,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEzB;AACA;AACA;;AAaA;AACA;AACA;AACA;AACO,MAAMG,YAAY,GAAGA,CAAC;EAC3BC,mBAAmB;EACnBC,oBAAoB,GAAGC,kCAA2B;EAClDC;AACiB,CAAC,KAAK;EACvB,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,SAAS;MAAEC,YAAY;MAAEC;IAAS;EACrD,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EACd,MAAM;IAAEC;EAAE,CAAC,GAAG,IAAAC,2BAAO,EAAC,CAAC;EAEvB,MAAMC,sBAAiC,GAAG;IACxCC,aAAa,EAAEV,SAAS,GAAG,KAAK,GAAG;EACrC,CAAC;EAED,MAAMW,WAAsB,GAAG;IAC7BC,UAAU,EAAEP,QAAQ,CAACQ,MAAM,CAACC,GAAG;IAC/BC,aAAa,EAAEV,QAAQ,CAACQ,MAAM,CAACG,MAAM;IACrCC,WAAW,EAAEZ,QAAQ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6D,OAAO;IACNC,SAAS,EAAEP,gBAAgB,CAACQ,KAAK,CAAC,CAAE;IACpCC,MAAM,EAAEC,kBAAO,CAACC,OAAQ;IACxBhC,KAAK,EAAEC,uBAAU,CAACC,YAAa;IAC/B+B,MAAM;IACNC,SAAS,EAAC;EAAO,CAClB,CACG,CAAC;AAEX,CAAC;AAED,MAAM/B,MAAM,GAAGF,uBAAU,CAACkC,MAAM,CAAC;EAC/BX,UAAU,EAAE;IACVY,IAAI,EAAE;EACR,CAAC;EACDhC,SAAS,EAAE;IACTiC,MAAM,EAAEN,kBAAO,CAACO;EAClB,CAAC;EACDhC,YAAY,EAAE;IAAE8B,IAAI,EAAE,CAAC;IAAEG,cAAc,EAAE;EAAS,CAAC;EACnDlC,OAAO,EAAE;IACP+B,IAAI,EAAE;EACR,CAAC;EACD3B,WAAW,EAAE;IACX+B,SAAS,EAAE,EAAE;IACbC,SAAS,EAAE;EACb,CAAC;EACD5B,eAAe,EAAE;IAAEuB,IAAI,EAAE,CAAC;IAAEM,SAAS,EAAE,QAAQ;IAAEH,cAAc,EAAE;EAAS,CAAC;EAC3EzB,oBAAoB,EAAE;IACpByB,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_UserInfo","_constants","_videoReactBindings","_reactNativeWebrtc","_ThemeContext","_CallControls","_jsxRuntime","e","__esModule","default","OutgoingCall","onHangupCallHandler","OutgoingCallControls","DefaultOutgoingCallControls","landscape","theme","colors","typefaces","outgoingCall","variants","useTheme","t","useI18n","landscapeContentStyles","flexDirection","insetStyles","paddingTop","insets","top","paddingBottom","bottom","paddingLeft","left","paddingRight","right","jsxs","Fragment","children","jsx","View","style","StyleSheet","absoluteFill","styles","container","content","topContainer","UserInfo","Text","callingText","color","textPrimary","heading6","bottomContainer","outgoingCallControls","Background","exports","useCameraState","useCallStateHooks","isMute","camera","localVideoStream","state","mediaStream","background","backgroundColor","sheetSecondary","RTCView","streamURL","toURL","zOrder","Z_INDEX","IN_BACK","mirror","objectFit","create","flex","zIndex","IN_MIDDLE","justifyContent","marginTop","textAlign","alignSelf"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/OutgoingCall.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AACA,IAAAO,aAAA,GAAAP,OAAA;AAGyB,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAD,uBAAAU,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEzB;AACA;AACA;;AAaA;AACA;AACA;AACA;AACO,MAAMG,YAAY,GAAGA,CAAC;EAC3BC,mBAAmB;EACnBC,oBAAoB,GAAGC,kCAA2B;EAClDC;AACiB,CAAC,KAAK;EACvB,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,SAAS;MAAEC,YAAY;MAAEC;IAAS;EACrD,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EACd,MAAM;IAAEC;EAAE,CAAC,GAAG,IAAAC,2BAAO,EAAC,CAAC;EAEvB,MAAMC,sBAAiC,GAAG;IACxCC,aAAa,EAAEV,SAAS,GAAG,KAAK,GAAG;EACrC,CAAC;EAED,MAAMW,WAAsB,GAAG;IAC7BC,UAAU,EAAEP,QAAQ,CAACQ,MAAM,CAACC,GAAG;IAC/BC,aAAa,EAAEV,QAAQ,CAACQ,MAAM,CAACG,MAAM;IACrCC,WAAW,EAAEZ,QAAQ,CAACQ,MAAM,CAACK,IAAI;IACjCC,YAAY,EAAEd,QAAQ,CAACQ,MAAM,CAACO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MACNC,SAAS,EAAEP,gBAAgB,CAACQ,KAAK,CAAC,CAAE;MACpCC,MAAM,EAAEC,kBAAO,CAACC,OAAQ;MACxBhC,KAAK,EAAEC,uBAAU,CAACC,YAAa;MAC/B+B,MAAM;MACNC,SAAS,EAAC;IAAO,CAClB;EAAC,CACE,CAAC;AAEX,CAAC;AAED,MAAM/B,MAAM,GAAGF,uBAAU,CAACkC,MAAM,CAAC;EAC/BX,UAAU,EAAE;IACVY,IAAI,EAAE;EACR,CAAC;EACDhC,SAAS,EAAE;IACTiC,MAAM,EAAEN,kBAAO,CAACO;EAClB,CAAC;EACDhC,YAAY,EAAE;IAAE8B,IAAI,EAAE,CAAC;IAAEG,cAAc,EAAE;EAAS,CAAC;EACnDlC,OAAO,EAAE;IACP+B,IAAI,EAAE;EACR,CAAC;EACD3B,WAAW,EAAE;IACX+B,SAAS,EAAE,EAAE;IACbC,SAAS,EAAE;EACb,CAAC;EACD5B,eAAe,EAAE;IAAEuB,IAAI,EAAE,CAAC;IAAEM,SAAS,EAAE,QAAQ;IAAEH,cAAc,EAAE;EAAS,CAAC;EAC3EzB,oBAAoB,EAAE;IACpByB,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -14,8 +14,8 @@ var _OutgoingCall = require("./OutgoingCall");
14
14
  var _CallLeftIndicator = require("./CallLeftIndicator");
15
15
  var _CallPreparingIndicator = require("./CallPreparingIndicator");
16
16
  var _contexts = require("../../../contexts");
17
+ var _jsxRuntime = require("react/jsx-runtime");
17
18
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
18
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
19
19
  /**
20
20
  * Props for the RingingCallContent component
21
21
  */
@@ -34,21 +34,21 @@ const RingingCallPanel = ({
34
34
  const isCallCreatedByMe = call?.isCreatedByMe;
35
35
  switch (callingState) {
36
36
  case _videoClient.CallingState.RINGING:
37
- return isCallCreatedByMe ? OutgoingCall && /*#__PURE__*/_react.default.createElement(OutgoingCall, {
37
+ return isCallCreatedByMe ? OutgoingCall && /*#__PURE__*/(0, _jsxRuntime.jsx)(OutgoingCall, {
38
38
  landscape: landscape
39
- }) : IncomingCall && /*#__PURE__*/_react.default.createElement(IncomingCall, {
39
+ }) : IncomingCall && /*#__PURE__*/(0, _jsxRuntime.jsx)(IncomingCall, {
40
40
  landscape: landscape
41
41
  });
42
42
  case _videoClient.CallingState.LEFT:
43
- return CallLeftIndicator && /*#__PURE__*/_react.default.createElement(CallLeftIndicator, {
43
+ return CallLeftIndicator && /*#__PURE__*/(0, _jsxRuntime.jsx)(CallLeftIndicator, {
44
44
  onBackPress: onBackPress
45
45
  });
46
46
  case _videoClient.CallingState.IDLE:
47
- return CallPreparingIndicator && /*#__PURE__*/_react.default.createElement(CallPreparingIndicator, {
47
+ return CallPreparingIndicator && /*#__PURE__*/(0, _jsxRuntime.jsx)(CallPreparingIndicator, {
48
48
  onBackPress: onBackPress
49
49
  });
50
50
  default:
51
- return CallContent && /*#__PURE__*/_react.default.createElement(CallContent, {
51
+ return CallContent && /*#__PURE__*/(0, _jsxRuntime.jsx)(CallContent, {
52
52
  landscape: landscape
53
53
  });
54
54
  }
@@ -67,11 +67,13 @@ const RingingCallContent = props => {
67
67
  useCallCallingState
68
68
  } = (0, _videoReactBindings.useCallStateHooks)();
69
69
  const callingState = useCallCallingState();
70
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
71
- style: [_reactNative.StyleSheet.absoluteFill, ringingCallContent.container]
72
- }, /*#__PURE__*/_react.default.createElement(RingingCallPanel, _extends({}, props, {
73
- callingState: callingState
74
- })));
70
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
71
+ style: [_reactNative.StyleSheet.absoluteFill, ringingCallContent.container],
72
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(RingingCallPanel, {
73
+ ...props,
74
+ callingState: callingState
75
+ })
76
+ });
75
77
  };
76
78
  exports.RingingCallContent = RingingCallContent;
77
79
  //# sourceMappingURL=RingingCallContent.js.map