@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
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_utility","_ThemeContext","e","__esModule","default","ParticipantVideoFallback","participant","theme","colors","typefaces","participantVideoFallback","useTheme","name","image","userId","participantLabel","createElement","View","style","StyleSheet","absoluteFill","styles","container","backgroundColor","sheetTertiary","Text","color","textPrimary","bodyBold","label","Avatar","avatarContainer","avatarImage","text","avatarText","exports","create","alignItems","justifyContent"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantVideoFallback.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AAEA,IAAAG,aAAA,GAAAH,OAAA;AAA0D,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE1D;AACA;AACA;;AAMA;AACA;AACA;AACO,MAAMG,wBAAwB,GAAGA,CAAC;EACvCC;AAC6B,CAAC,KAAK;EACnC,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,SAAS;MAAEC;IAAyB;EACvD,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EACd,MAAM;IAAEC,IAAI;IAAEC,KAAK;IAAEC;EAAO,CAAC,GAAGR,WAAW;EAC3C,MAAMS,gBAAgB,GAAGH,IAAI,IAAIE,MAAM;;EAEvC;EACA,oBACElB,MAAA,CAAAQ,OAAA,CAAAY,aAAA,CAACjB,YAAA,CAAAkB,IAAI;IACHC,KAAK,EAAE,CACLC,uBAAU,CAACC,YAAY,EACvBC,MAAM,CAACC,SAAS,EAChB;MAAEC,eAAe,EAAEf,MAAM,CAACgB;IAAc,CAAC,EACzCd,wBAAwB,CAACY,SAAS;EAClC,GAED,CAACT,KAAK,gBACLjB,MAAA,CAAAQ,OAAA,CAAAY,aAAA,CAACjB,YAAA,CAAA0B,IAAI;IACHP,KAAK,EAAE,CACL;MAAEQ,KAAK,EAAElB,MAAM,CAACmB;IAAY,CAAC,EAC7BlB,SAAS,CAACmB,QAAQ,EAClBlB,wBAAwB,CAACmB,KAAK;EAC9B,GAEDd,gBACG,CAAC,gBAEPnB,MAAA,CAAAQ,OAAA,CAAAY,aAAA,CAAChB,QAAA,CAAA8B,MAAM;IACLxB,WAAW,EAAEA,WAAY;IACzBY,KAAK,EAAE;MACLI,SAAS,EAAEZ,wBAAwB,CAACqB,eAAe;MACnDlB,KAAK,EAAEH,wBAAwB,CAACsB,WAAW;MAC3CC,IAAI,EAAEvB,wBAAwB,CAACwB;IACjC;EAAE,CACH,CAEC,CAAC;AAEX,CAAC;AAACC,OAAA,CAAA9B,wBAAA,GAAAA,wBAAA;AAEF,MAAMgB,MAAM,GAAGF,uBAAU,CAACiB,MAAM,CAAC;EAC/Bd,SAAS,EAAE;IACTe,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_utility","_ThemeContext","_jsxRuntime","e","__esModule","default","ParticipantVideoFallback","participant","theme","colors","typefaces","participantVideoFallback","useTheme","name","image","userId","participantLabel","jsx","View","style","StyleSheet","absoluteFill","styles","container","backgroundColor","sheetTertiary","children","Text","color","textPrimary","bodyBold","label","Avatar","avatarContainer","avatarImage","text","avatarText","exports","create","alignItems","justifyContent"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantVideoFallback.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AAEA,IAAAG,aAAA,GAAAH,OAAA;AAA0D,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE1D;AACA;AACA;;AAMA;AACA;AACA;AACO,MAAMG,wBAAwB,GAAGA,CAAC;EACvCC;AAC6B,CAAC,KAAK;EACnC,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,SAAS;MAAEC;IAAyB;EACvD,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EACd,MAAM;IAAEC,IAAI;IAAEC,KAAK;IAAEC;EAAO,CAAC,GAAGR,WAAW;EAC3C,MAAMS,gBAAgB,GAAGH,IAAI,IAAIE,MAAM;;EAEvC;EACA,oBACE,IAAAb,WAAA,CAAAe,GAAA,EAAClB,YAAA,CAAAmB,IAAI;IACHC,KAAK,EAAE,CACLC,uBAAU,CAACC,YAAY,EACvBC,MAAM,CAACC,SAAS,EAChB;MAAEC,eAAe,EAAEf,MAAM,CAACgB;IAAc,CAAC,EACzCd,wBAAwB,CAACY,SAAS,CAClC;IAAAG,QAAA,EAED,CAACZ,KAAK,gBACL,IAAAZ,WAAA,CAAAe,GAAA,EAAClB,YAAA,CAAA4B,IAAI;MACHR,KAAK,EAAE,CACL;QAAES,KAAK,EAAEnB,MAAM,CAACoB;MAAY,CAAC,EAC7BnB,SAAS,CAACoB,QAAQ,EAClBnB,wBAAwB,CAACoB,KAAK,CAC9B;MAAAL,QAAA,EAEDV;IAAgB,CACb,CAAC,gBAEP,IAAAd,WAAA,CAAAe,GAAA,EAACjB,QAAA,CAAAgC,MAAM;MACLzB,WAAW,EAAEA,WAAY;MACzBY,KAAK,EAAE;QACLI,SAAS,EAAEZ,wBAAwB,CAACsB,eAAe;QACnDnB,KAAK,EAAEH,wBAAwB,CAACuB,WAAW;QAC3CC,IAAI,EAAExB,wBAAwB,CAACyB;MACjC;IAAE,CACH;EACF,CACG,CAAC;AAEX,CAAC;AAACC,OAAA,CAAA/B,wBAAA,GAAAA,wBAAA;AAEF,MAAMgB,MAAM,GAAGF,uBAAU,CAACkB,MAAM,CAAC;EAC/Bf,SAAS,EAAE;IACTgB,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -12,6 +12,7 @@ var _ParticipantLabel = require("./ParticipantLabel");
12
12
  var _ParticipantVideoFallback = require("./ParticipantVideoFallback");
13
13
  var _VideoRenderer = require("./VideoRenderer");
14
14
  var _ThemeContext = require("../../../contexts/ThemeContext");
15
+ var _jsxRuntime = require("react/jsx-runtime");
15
16
  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); }
16
17
  /**
17
18
  * Props to be passed for the Participant component.
@@ -22,7 +23,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
22
23
  * and additional info. By an absence of a video track or when isVisible is truthy,
23
24
  * only an avatar and audio track will be rendered.
24
25
  */
25
- const ParticipantView = ({
26
+ const ParticipantView = exports.ParticipantView = /*#__PURE__*/_react.default.memo(({
26
27
  participant,
27
28
  trackType = 'videoTrack',
28
29
  isVisible = true,
@@ -53,30 +54,32 @@ const ParticipantView = ({
53
54
  const speakerStyle = applySpeakerStyle && [{
54
55
  borderColor: colors.buttonPrimary
55
56
  }, participantView.highlightedContainer];
56
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
57
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
57
58
  style: [styles.container, style, speakerStyle],
58
- testID: isSpeaking ? `participant-${userId}-is-speaking` : `participant-${userId}-is-not-speaking`
59
- }, ParticipantReaction && /*#__PURE__*/_react.default.createElement(ParticipantReaction, {
60
- participant: participant,
61
- supportedReactions: supportedReactions
62
- }), VideoRenderer && /*#__PURE__*/_react.default.createElement(VideoRenderer, {
63
- isVisible: isVisible,
64
- participant: participant,
65
- trackType: trackType,
66
- ParticipantVideoFallback: ParticipantVideoFallback,
67
- objectFit: objectFit,
68
- videoZOrder: videoZOrder,
69
- mirror: mirror
70
- }), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
71
- style: [styles.footerContainer, participantView.footerContainer, !ParticipantLabel && styles.networkIndicatorOnly]
72
- }, ParticipantLabel && /*#__PURE__*/_react.default.createElement(ParticipantLabel, {
73
- participant: participant,
74
- trackType: trackType
75
- }), ParticipantNetworkQualityIndicator && /*#__PURE__*/_react.default.createElement(ParticipantNetworkQualityIndicator, {
76
- participant: participant
77
- })));
78
- };
79
- exports.ParticipantView = ParticipantView;
59
+ testID: isSpeaking ? `participant-${userId}-is-speaking` : `participant-${userId}-is-not-speaking`,
60
+ children: [ParticipantReaction && /*#__PURE__*/(0, _jsxRuntime.jsx)(ParticipantReaction, {
61
+ participant: participant,
62
+ supportedReactions: supportedReactions
63
+ }), VideoRenderer && /*#__PURE__*/(0, _jsxRuntime.jsx)(VideoRenderer, {
64
+ isVisible: isVisible,
65
+ participant: participant,
66
+ trackType: trackType,
67
+ ParticipantVideoFallback: ParticipantVideoFallback,
68
+ objectFit: objectFit,
69
+ videoZOrder: videoZOrder,
70
+ mirror: mirror
71
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
72
+ style: [styles.footerContainer, participantView.footerContainer, !ParticipantLabel && styles.networkIndicatorOnly],
73
+ children: [ParticipantLabel && /*#__PURE__*/(0, _jsxRuntime.jsx)(ParticipantLabel, {
74
+ participant: participant,
75
+ trackType: trackType
76
+ }), ParticipantNetworkQualityIndicator && /*#__PURE__*/(0, _jsxRuntime.jsx)(ParticipantNetworkQualityIndicator, {
77
+ participant: participant
78
+ })]
79
+ })]
80
+ });
81
+ });
82
+ ParticipantView.displayName = 'ParticipantView';
80
83
  const useStyles = () => {
81
84
  const {
82
85
  theme
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_ParticipantNetworkQualityIndicator","_ParticipantReaction","_ParticipantLabel","_ParticipantVideoFallback","_VideoRenderer","_ThemeContext","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ParticipantView","participant","trackType","isVisible","style","ParticipantLabel","DefaultParticipantLabel","ParticipantReaction","DefaultParticipantReaction","VideoRenderer","DefaultVideoRenderer","ParticipantNetworkQualityIndicator","DefaultParticipantNetworkQualityIndicator","ParticipantVideoFallback","DefaultParticipantVideoFallback","objectFit","videoZOrder","mirror","supportedReactions","theme","colors","participantView","useTheme","isSpeaking","userId","styles","useStyles","isScreenSharing","applySpeakerStyle","speakerStyle","borderColor","buttonPrimary","highlightedContainer","createElement","View","container","testID","footerContainer","networkIndicatorOnly","exports","useMemo","StyleSheet","create","overflow","justifyContent","borderRadius","variants","borderRadiusSizes","md","borderWidth","flexDirection","alignItems"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantView.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAKA,IAAAE,mCAAA,GAAAF,OAAA;AAIA,IA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["_react","_interopRequireWildcard","require","_reactNative","_ParticipantNetworkQualityIndicator","_ParticipantReaction","_ParticipantLabel","_ParticipantVideoFallback","_VideoRenderer","_ThemeContext","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ParticipantView","exports","React","memo","participant","trackType","isVisible","style","ParticipantLabel","DefaultParticipantLabel","ParticipantReaction","DefaultParticipantReaction","VideoRenderer","DefaultVideoRenderer","ParticipantNetworkQualityIndicator","DefaultParticipantNetworkQualityIndicator","ParticipantVideoFallback","DefaultParticipantVideoFallback","objectFit","videoZOrder","mirror","supportedReactions","theme","colors","participantView","useTheme","isSpeaking","userId","styles","useStyles","isScreenSharing","applySpeakerStyle","speakerStyle","borderColor","buttonPrimary","highlightedContainer","jsxs","View","container","testID","children","jsx","footerContainer","networkIndicatorOnly","displayName","useMemo","StyleSheet","create","overflow","justifyContent","borderRadius","variants","borderRadiusSizes","md","borderWidth","flexDirection","alignItems"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantView.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAKA,IAAAE,mCAAA,GAAAF,OAAA;AAIA,IAAAG,oBAAA,GAAAH,OAAA;AAIA,IAAAI,iBAAA,GAAAJ,OAAA;AAIA,IAAAK,yBAAA,GAAAL,OAAA;AAIA,IAAAM,cAAA,GAAAN,OAAA;AAIA,IAAAO,aAAA,GAAAP,OAAA;AAA0D,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAD,wBAAAU,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAZ,uBAAA,YAAAA,CAAAU,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,S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gBAAgB,iBACf,IAAA5B,WAAA,CAAA6D,GAAA,EAACjC,gBAAgB;QAACJ,WAAW,EAAEA,WAAY;QAACC,SAAS,EAAEA;MAAU,CAAE,CACpE,EACAS,kCAAkC,iBACjC,IAAAlC,WAAA,CAAA6D,GAAA,EAAC3B,kCAAkC;QAACV,WAAW,EAAEA;MAAY,CAAE,CAChE;IAAA,CACG,CAAC;EAAA,CACH,CAAC;AAEX,CACF,CAAC;AAEDJ,eAAe,CAAC4C,WAAW,GAAG,iBAAiB;AAE/C,MAAMf,SAAS,GAAGA,CAAA,KAAM;EACtB,MAAM;IAAEP;EAAM,CAAC,GAAG,IAAAG,sBAAQ,EAAC,CAAC;EAC5B,OAAO,IAAAoB,cAAO,EACZ,MACEC,uBAAU,CAACC,MAAM,CAAC;IAChBT,SAAS,EAAE;MACTU,QAAQ,EAAE,QAAQ;MAClBC,cAAc,EAAE,UAAU;MAC1BC,YAAY,EAAE5B,KAAK,CAAC6B,QAAQ,CAACC,iBAAiB,CAACC,EAAE;MACjDC,WAAW,EAAE,CAAC;MACdrB,WAAW,EAAE;IACf,CAAC;IACDS,eAAe,EAAE;MACfa,aAAa,EAAE,KAAK;MACpBN,cAAc,EAAE,eAAe;MAC/BO,UAAU,EAAE;IACd,CAAC;IACDb,oBAAoB,EAAE;MAAEM,cAAc,EAAE;IAAW;EACrD,CAAC,CAAC,EACJ,CAAC3B,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
@@ -7,6 +7,7 @@ exports.default = exports.SpeechIndicator = void 0;
7
7
  var _react = _interopRequireWildcard(require("react"));
8
8
  var _reactNative = require("react-native");
9
9
  var _contexts = require("../../../contexts");
10
+ var _jsxRuntime = require("react/jsx-runtime");
10
11
  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); }
11
12
  /**
12
13
  * Props for the SpeechIndicator component.
@@ -45,13 +46,13 @@ const SpeechIndicator = ({
45
46
  scaleY: animatedValue
46
47
  }]
47
48
  });
48
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
49
- style: [styles.container]
50
- }, animationValues.map((animatedValue, index) => /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
51
- key: index,
52
- style: [styles.bar, isSpeaking ? barStyle(animatedValue) : styles.smallBar // Apply smaller bar style when not speaking
53
- ]
54
- })));
49
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
50
+ style: [styles.container],
51
+ children: animationValues.map((animatedValue, index) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
52
+ style: [styles.bar, isSpeaking ? barStyle(animatedValue) : styles.smallBar // Apply smaller bar style when not speaking
53
+ ]
54
+ }, index))
55
+ });
55
56
  };
56
57
  exports.SpeechIndicator = SpeechIndicator;
57
58
  const useStyles = () => {
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_contexts","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","SpeechIndicator","isSpeaking","styles","useStyles","animationValues","useState","Animated","Value","useEffect","forEach","animatedValue","index","loop","sequence","timing","toValue","duration","useNativeDriver","start","setValue","barStyle","transform","scaleY","createElement","View","style","container","map","key","bar","smallBar","exports","theme","useTheme","useMemo","StyleSheet","create","flexDirection","justifyContent","alignItems","height","variants","roundButtonSizes","sm","width","borderRadius","gap","backgroundColor","colors","sheetOverlay","padding","iconSecondary","_default"],"sourceRoot":"../../../../../src","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ACb,KAAK,CACR,CAAC;AACH,CAAC;AAAC,IAAAoB,QAAA,GAAArB,OAAA,CAAAxC,OAAA,GAEaS,eAAe","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_contexts","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","SpeechIndicator","isSpeaking","styles","useStyles","animationValues","useState","Animated","Value","useEffect","forEach","animatedValue","index","loop","sequence","timing","toValue","duration","useNativeDriver","start","setValue","barStyle","transform","scaleY","jsx","View","style","container","children","map","bar","smallBar","exports","theme","useTheme","useMemo","StyleSheet","create","flexDirection","justifyContent","alignItems","height","variants","roundButtonSizes","sm","width","borderRadius","gap","backgroundColor","colors","sheetOverlay","padding","iconSecondary","_default"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/SpeechIndicator.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AAA6C,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,wBAAAK,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAP,uBAAA,YAAAA,CAAAK,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,GAAA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a,EAAE,KAAK;MACpBC,cAAc,EAAE,eAAe;MAC/BC,UAAU,EAAE,QAAQ;MACpBC,MAAM,EAAER,KAAK,CAACS,QAAQ,CAACC,gBAAgB,CAACC,EAAE;MAC1CC,KAAK,EAAEZ,KAAK,CAACS,QAAQ,CAACC,gBAAgB,CAACC,EAAE;MACzCE,YAAY,EAAE,CAAC;MACfC,GAAG,EAAE,CAAC;MACNC,eAAe,EAAEf,KAAK,CAACgB,MAAM,CAACC,YAAY;MAC1CC,OAAO,EAAE;IACX,CAAC;IACDpB,QAAQ,EAAE;MACRU,MAAM,EAAE,KAAK,CAAE;IACjB,CAAC;IACDX,GAAG,EAAE;MACHe,KAAK,EAAE,CAAC;MACRJ,MAAM,EAAE,MAAM;MACdO,eAAe,EAAEf,KAAK,CAACgB,MAAM,CAACG,aAAa;MAC3CN,YAAY,EAAE;IAChB;EACF,CAAC,CAAC,EACJ,CAACb,KAAK,CACR,CAAC;AACH,CAAC;AAAC,IAAAoB,QAAA,GAAArB,OAAA,CAAAxC,OAAA,GAEaS,eAAe","ignoreList":[]}
@@ -14,6 +14,7 @@ var _ThemeContext = require("../../../../contexts/ThemeContext");
14
14
  var _useTrackDimensions = require("../../../../hooks/useTrackDimensions");
15
15
  var _ScreenshotIosContext = require("../../../../contexts/internal/ScreenshotIosContext");
16
16
  var _TrackSubscriber = _interopRequireDefault(require("./TrackSubscriber"));
17
+ var _jsxRuntime = require("react/jsx-runtime");
17
18
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
18
19
  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); }
19
20
  const DEFAULT_VIEWPORT_VISIBILITY_STATE = {
@@ -30,7 +31,7 @@ const DEFAULT_VIEWPORT_VISIBILITY_STATE = {
30
31
  *
31
32
  * It internally used `RTCView` to render video stream.
32
33
  */
33
- const VideoRenderer = ({
34
+ const VideoRenderer = exports.VideoRenderer = /*#__PURE__*/_react.default.memo(({
34
35
  trackType = 'videoTrack',
35
36
  participant,
36
37
  isVisible = true,
@@ -75,14 +76,15 @@ const VideoRenderer = ({
75
76
  const videoStreamToRender = isScreenSharing ? screenShareStream : videoStream;
76
77
  const canShowVideo = !!videoStreamToRender && isVisible && isPublishingVideoTrack && !(0, _videoClient.hasPausedTrack)(participant, trackType) && isParticipantVideoEnabled(participant.sessionId);
77
78
  (0, _react.useEffect)(() => {
78
- if (_reactNative.Platform.OS === 'ios' && registerIosScreenshot && canShowVideo) {
79
- registerIosScreenshot(participant, trackType, viewRef);
80
- return () => {
81
- deregisterIosScreenshot(participant, trackType);
82
- };
83
- }
79
+ if (_reactNative.Platform.OS !== 'ios' || !registerIosScreenshot || !canShowVideo) return;
80
+ registerIosScreenshot(participant, trackType, viewRef);
81
+ return () => {
82
+ deregisterIosScreenshot(participant, trackType);
83
+ };
84
84
  }, [participant, trackType, registerIosScreenshot, canShowVideo, deregisterIosScreenshot]);
85
85
  const mirror = isScreenSharing ? false : mirrorOverride !== undefined ? mirrorOverride : isLocalParticipant && direction === 'front';
86
+ const videoTrackVisibility = viewportVisibilityState?.videoTrack;
87
+ const screenShareTrackVisibility = viewportVisibilityState?.screenShareTrack;
86
88
 
87
89
  /**
88
90
  * This effect updates the participant's viewportVisibilityState
@@ -93,7 +95,7 @@ const VideoRenderer = ({
93
95
  return;
94
96
  }
95
97
  if (isVisible) {
96
- if (trackType === 'videoTrack' && viewportVisibilityState?.videoTrack !== _videoClient.VisibilityState.VISIBLE) {
98
+ if (trackType === 'videoTrack' && videoTrackVisibility !== _videoClient.VisibilityState.VISIBLE) {
97
99
  call.state.updateParticipant(sessionId, p => ({
98
100
  ...p,
99
101
  viewportVisibilityState: {
@@ -102,7 +104,7 @@ const VideoRenderer = ({
102
104
  }
103
105
  }));
104
106
  }
105
- if (trackType === 'screenShareTrack' && viewportVisibilityState?.screenShareTrack !== _videoClient.VisibilityState.VISIBLE) {
107
+ if (trackType === 'screenShareTrack' && screenShareTrackVisibility !== _videoClient.VisibilityState.VISIBLE) {
106
108
  call.state.updateParticipant(sessionId, p => ({
107
109
  ...p,
108
110
  viewportVisibilityState: {
@@ -112,7 +114,7 @@ const VideoRenderer = ({
112
114
  }));
113
115
  }
114
116
  } else {
115
- if (trackType === 'videoTrack' && viewportVisibilityState?.videoTrack !== _videoClient.VisibilityState.INVISIBLE) {
117
+ if (trackType === 'videoTrack' && videoTrackVisibility !== _videoClient.VisibilityState.INVISIBLE) {
116
118
  call.state.updateParticipant(sessionId, p => ({
117
119
  ...p,
118
120
  viewportVisibilityState: {
@@ -121,7 +123,7 @@ const VideoRenderer = ({
121
123
  }
122
124
  }));
123
125
  }
124
- if (trackType === 'screenShareTrack' && viewportVisibilityState?.screenShareTrack !== _videoClient.VisibilityState.INVISIBLE) {
126
+ if (trackType === 'screenShareTrack' && screenShareTrackVisibility !== _videoClient.VisibilityState.INVISIBLE) {
125
127
  call.state.updateParticipant(sessionId, p => ({
126
128
  ...p,
127
129
  viewportVisibilityState: {
@@ -131,29 +133,30 @@ const VideoRenderer = ({
131
133
  }));
132
134
  }
133
135
  }
134
- }, [sessionId, viewportVisibilityState, isVisible, call, trackType, isLocalParticipant]);
136
+ }, [sessionId, videoTrackVisibility, screenShareTrackVisibility, isVisible, call, trackType, isLocalParticipant]);
135
137
  const onLayout = event => {
136
138
  trackSubscriberRef.current?.onLayoutUpdate(event);
137
139
  };
138
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
140
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
139
141
  onLayout: onLayout,
140
- style: [_reactNative.StyleSheet.absoluteFill, videoRenderer.container]
141
- }, call && !isLocalParticipant && /*#__PURE__*/_react.default.createElement(_TrackSubscriber.default, {
142
- ref: trackSubscriberRef,
143
- call: call,
144
- participantSessionId: sessionId,
145
- trackType: trackType,
146
- isVisible: isVisible
147
- }), canShowVideo && videoStreamToRender && (objectFit || isVideoDimensionsValid) ? /*#__PURE__*/_react.default.createElement(_reactNativeWebrtc.RTCView, {
148
- style: [_reactNative.StyleSheet.absoluteFill, videoRenderer.videoStream],
149
- streamURL: videoStreamToRender.toURL(),
150
- mirror: mirror,
151
- ref: viewRef,
152
- objectFit: objectFit ?? (videoDimensions.width > videoDimensions.height ? 'contain' : 'cover'),
153
- zOrder: videoZOrder
154
- }) : ParticipantVideoFallback && /*#__PURE__*/_react.default.createElement(ParticipantVideoFallback, {
155
- participant: participant
156
- }));
157
- };
158
- exports.VideoRenderer = VideoRenderer;
142
+ style: [_reactNative.StyleSheet.absoluteFill, videoRenderer.container],
143
+ children: [call && !isLocalParticipant && /*#__PURE__*/(0, _jsxRuntime.jsx)(_TrackSubscriber.default, {
144
+ ref: trackSubscriberRef,
145
+ call: call,
146
+ participantSessionId: sessionId,
147
+ trackType: trackType,
148
+ isVisible: isVisible
149
+ }), canShowVideo && videoStreamToRender && (objectFit || isVideoDimensionsValid) ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeWebrtc.RTCView, {
150
+ style: [_reactNative.StyleSheet.absoluteFill, videoRenderer.videoStream],
151
+ streamURL: videoStreamToRender.toURL(),
152
+ mirror: mirror,
153
+ ref: viewRef,
154
+ objectFit: objectFit ?? (videoDimensions.width > videoDimensions.height ? 'contain' : 'cover'),
155
+ zOrder: videoZOrder
156
+ }) : ParticipantVideoFallback && /*#__PURE__*/(0, _jsxRuntime.jsx)(ParticipantVideoFallback, {
157
+ participant: participant
158
+ })]
159
+ });
160
+ });
161
+ VideoRenderer.displayName = 'VideoRenderer';
159
162
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeWebrtc","_videoClient","_videoReactBindings","_ParticipantVideoFallback","_ThemeContext","_useTrackDimensions","_ScreenshotIosContext","_TrackSubscriber","_interopRequireDefault","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","DEFAULT_VIEWPORT_VISIBILITY_STATE","videoTrack","VisibilityState","UNKNOWN","screenShareTrack","VideoRenderer","trackType","participant","isVisible","ParticipantVideoFallback","DefaultParticipantVideoFallback","objectFit","videoZOrder","mirror","mirrorOverride","theme","videoRenderer","useTheme","useCall","useCameraState","useIncomingVideoSettings","useCallStateHooks","trackSubscriberRef","useRef","isParticipantVideoEnabled","direction","viewRef","register","registerIosScreenshot","deregister","deregisterIosScreenshot","useScreenshotIosContext","videoDimensions","useTrackDimensions","isVideoDimensionsValid","width","height","isLocalParticipant","sessionId","viewportVisibilityState","videoStream","screenShareStream","isScreenSharing","isPublishingVideoTrack","hasScreenShare","hasVideo","videoStreamToRender","canShowVideo","hasPausedTrack","useEffect","Platform","OS","undefined","VISIBLE","state","updateParticipant","p","INVISIBLE","onLayout","event","current","onLayoutUpdate","createElement","View","style","StyleSheet","absoluteFill","container","ref","participantSessionId","RTCView","streamURL","toURL","zOrder","exports"],"sourceRoot":"../../../../../../src","sources":["components/Participant/ParticipantView/VideoRenderer/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,kBAAA,GAAAF,OAAA;AAEA,IAAAG,YAAA,GAAAH,OAAA;AAOA,IAAAI,mBAAA,GAAAJ,OAAA;AACA,IAAAK,yBAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AACA,IAAAO,mBAAA,GAAAP,OAAA;AACA,IAAAQ,qBAAA,GAAA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AAkB,CAACsC,OAAO,EAAEC,cAAc,CAACF,KAAK,CAAC;EACnD,CAAC;EAED,oBACE3F,MAAA,CAAAe,OAAA,CAAA+E,aAAA,CAAC3F,YAAA,CAAA4F,IAAI;IACHL,QAAQ,EAAEA,QAAS;IACnBM,KAAK,EAAE,CAACC,uBAAU,CAACC,YAAY,EAAElD,aAAa,CAACmD,SAAS;EAAE,GAEzDvE,IAAI,IAAI,CAACyC,kBAAkB,iBAC1BrE,MAAA,CAAAe,OAAA,CAAA+E,aAAA,CAACnF,gBAAA,CAAAI,OAAe;IACdqF,GAAG,EAAE9C,kBAAmB;IACxB1B,IAAI,EAAEA,IAAK;IACXyE,oBAAoB,EAAE/B,SAAU;IAChChC,SAAS,EAAEA,SAAU;IACrBE,SAAS,EAAEA;EAAU,CACtB,CACF,EACAuC,YAAY,IACbD,mBAAmB,KAClBnC,SAAS,IAAIuB,sBAAsB,CAAC,gBACnClE,MAAA,CAAAe,OAAA,CAAA+E,aAAA,CAAC1F,kBAAA,CAAAkG,OAAO;IACNN,KAAK,EAAE,CAACC,uBAAU,CAACC,YAAY,EAAElD,aAAa,CAACwB,WAAW,CAAE;IAC5D+B,SAAS,EAAEzB,mBAAmB,CAAC0B,KAAK,CAAC,CAAE;IACvC3D,MAAM,EAAEA,MAAO;IACfuD,GAAG,EAAE1C,OAAQ;IACbf,SAAS,EACPA,SAAS,KACRqB,eAAe,CAACG,KAAK,GAAGH,eAAe,CAACI,MAAM,GAC3C,SAAS,GACT,OAAO,CACZ;IACDqC,MAAM,EAAE7D;EAAY,CACrB,CAAC,GAEFH,wBAAwB,iBACtBzC,MAAA,CAAAe,OAAA,CAAA+E,aAAA,CAACrD,wBAAwB;IAACF,WAAW,EAAEA;EAAY,CAAE,CAGrD,CAAC;AAEX,CAAC;AAACmE,OAAA,CAAArE,aAAA,GAAAA,aAAA","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeWebrtc","_videoClient","_videoReactBindings","_ParticipantVideoFallback","_ThemeContext","_useTrackDimensions","_ScreenshotIosContext","_TrackSubscriber","_interopRequireDefault","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","DEFAULT_VIEWPORT_VISIBILITY_STATE","videoTrack","VisibilityState","UNKNOWN","screenShareTrack","VideoRenderer","exports","React","memo","trackType","participant","isVisible","ParticipantVideoFallback","DefaultParticipantVideoFallback","objectFit","videoZOrder","mirror","mirrorOverride","theme","videoRenderer","useTheme","useCall","useCameraState","useIncomingVideoSettings","useCallStateHooks","trackSubscriberRef","useRef","isParticipantVideoEnabled","direction","viewRef","register","registerIosScreenshot","deregister","deregisterIosScreenshot","useScreenshotIosContext","videoDimensions","useTrackDimensions","isVideoDimensionsValid","width","height","isLocalParticipant","sessionId","viewportVisibilityState","videoStream","screenShareStream","isScreenSharing","isPublishingVideoTrack","hasScreenShare","hasVideo","videoStreamToRender","canShowVideo","hasPausedTrack","useEffect","Platform","OS","undefined","videoTrackVisibility","screenShareTrackVisibility","VISIBLE","state","updateParticipant","p","INVISIBLE","onLayout","event","current","onLayoutUpdate","jsxs","View","style","StyleSheet","absoluteFill","container","children","jsx","ref","participantSessionId","RTCView","streamURL","toURL","zOrder","displayName"],"sourceRoot":"../../../../../../src","sources":["components/Participant/ParticipantView/VideoRenderer/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,kBAAA,GAAAF,OAAA;AAEA,IAAAG,YAAA,GAAAH,OAAA;AAOA,IAAAI,mBAAA,GAAAJ,OAAA;AACA,IAAAK,yBAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AACA,IAAAO,mBAAA,GAAAP,OAAA;AACA,IAAAQ,qBAAA,GAAAR,OAAA;AACA,IAAAS,gBAAA,GAAAC,sBAAA,CAA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,CAAC4E,WAAW,GAAG,eAAe","ignoreList":[]}
@@ -9,6 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _utils = require("../../utils");
10
10
  var _TestIds = require("../../constants/TestIds");
11
11
  var _ThemeContext = require("../../contexts/ThemeContext");
12
+ var _jsxRuntime = require("react/jsx-runtime");
12
13
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
14
  /**
14
15
  * Props to be passed for the Avatar component.
@@ -38,7 +39,7 @@ const Avatar = props => {
38
39
  const userDetails = name || userId;
39
40
  const userLabel = userDetails ? (0, _utils.getInitialsOfName)(userDetails) : '?';
40
41
  const imageUrl = image;
41
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
42
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
42
43
  testID: _TestIds.ComponentTestIds.PARTICIPANT_AVATAR,
43
44
  style: [styles.container, {
44
45
  borderRadius: size / 2,
@@ -46,20 +47,22 @@ const Avatar = props => {
46
47
  width: size
47
48
  }, {
48
49
  backgroundColor: colors.primary
49
- }, avatar.container, styleProp?.container]
50
- }, imageUrl ? /*#__PURE__*/_react.default.createElement(_reactNative.Image, {
51
- testID: _TestIds.ImageTestIds.AVATAR,
52
- source: {
53
- uri: imageUrl
54
- },
55
- style: [styles.image, avatar.image, styleProp?.image]
56
- }) : /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
57
- style: [styles.text, {
58
- fontSize: size / 2,
59
- color: colors.textPrimary
60
- }, typefaces.heading6, avatar.text, styleProp?.text],
61
- numberOfLines: 1
62
- }, userLabel));
50
+ }, avatar.container, styleProp?.container],
51
+ children: imageUrl ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
52
+ testID: _TestIds.ImageTestIds.AVATAR,
53
+ source: {
54
+ uri: imageUrl
55
+ },
56
+ style: [styles.image, avatar.image, styleProp?.image]
57
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
58
+ style: [styles.text, {
59
+ fontSize: size / 2,
60
+ color: colors.textPrimary
61
+ }, typefaces.heading6, avatar.text, styleProp?.text],
62
+ numberOfLines: 1,
63
+ children: userLabel
64
+ })
65
+ });
63
66
  };
64
67
  exports.Avatar = Avatar;
65
68
  const styles = _reactNative.StyleSheet.create({
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_react","_interopRequireDefault","_utils","_TestIds","_ThemeContext","e","__esModule","default","Avatar","props","participant","userId","image","name","size","style","styleProp","theme","avatar","colors","typefaces","useTheme","userDetails","userLabel","getInitialsOfName","imageUrl","createElement","View","testID","ComponentTestIds","PARTICIPANT_AVATAR","styles","container","borderRadius","height","width","backgroundColor","primary","Image","ImageTestIds","AVATAR","source","uri","Text","text","fontSize","color","textPrimary","heading6","numberOfLines","exports","StyleSheet","create","justifyContent","overflow","flex","textAlign"],"sourceRoot":"../../../../src","sources":["components/utility/Avatar.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AAAuD,SAAAE,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAGvD;AACA;AACA;;AAkCA;AACA;AACA;AACA;AACO,MAAMG,MAAM,GAAIC,KAAkB,IAAK;EAC5C,MAAM;IACJC,WAAW,EAAE;MAAEC,MAAM;MAAEC,KAAK;MAAEC;IAAK,CAAC;IACpCC,IAAI,GAAG,GAAG;IACVC,KAAK,EAAEC;EACT,CAAC,GAAGP,KAAK;EACT,MAAM;IACJQ,KAAK,EAAE;MAAEC,MAAM;MAAEC,MAAM;MAAEC;IAAU;EACrC,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EACd,MAAMC,WAAW,GAAGT,IA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MuB,MAAM,GAAGoB,uBAAU,CAACC,MAAM,CAAC;EAC/BpB,SAAS,EAAE;IACTqB,cAAc,EAAE,QAAQ;IACxBC,QAAQ,EAAE;EACZ,CAAC;EACD1C,KAAK,EAAE;IACL2C,IAAI,EAAE;EACR,CAAC;EACDX,IAAI,EAAE;IACJY,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_react","_interopRequireDefault","_utils","_TestIds","_ThemeContext","_jsxRuntime","e","__esModule","default","Avatar","props","participant","userId","image","name","size","style","styleProp","theme","avatar","colors","typefaces","useTheme","userDetails","userLabel","getInitialsOfName","imageUrl","jsx","View","testID","ComponentTestIds","PARTICIPANT_AVATAR","styles","container","borderRadius","height","width","backgroundColor","primary","children","Image","ImageTestIds","AVATAR","source","uri","Text","text","fontSize","color","textPrimary","heading6","numberOfLines","exports","StyleSheet","create","justifyContent","overflow","flex","textAlign"],"sourceRoot":"../../../../src","sources":["components/utility/Avatar.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AAAuD,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAE,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAGvD;AACA;AACA;;AAkCA;AACA;AACA;AACA;AACO,MAAMG,MAAM,GAAIC,KAAkB,IAAK;EAC5C,MAAM;IACJC,WAAW,EAAE;MAAEC,MAAM;MAAEC,KAAK;MAAEC;IAAK,CAAC;IACpCC,IAAI,GAAG,GAAG;IACVC,KAAK,EAAEC;EACT,CAAC,GAAGP,KAAK;EACT,MAAM;IACJQ,KAAK,EAAE;MAAEC,MAAM;MAAEC,MA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EAEhBf;IAAS,CACN;EACP,CACG,CAAC;AAEX,CAAC;AAAC4B,OAAA,CAAA3C,MAAA,GAAAA,MAAA;AAEF,MAAMuB,MAAM,GAAGqB,uBAAU,CAACC,MAAM,CAAC;EAC/BrB,SAAS,EAAE;IACTsB,cAAc,EAAE,QAAQ;IACxBC,QAAQ,EAAE;EACZ,CAAC;EACD3C,KAAK,EAAE;IACL4C,IAAI,EAAE;EACR,CAAC;EACDX,IAAI,EAAE;IACJY,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
@@ -9,6 +9,7 @@ var _reactNative = require("react-native");
9
9
  var _icons = require("../../icons");
10
10
  var _contexts = require("../../contexts");
11
11
  var _videoReactBindings = require("@stream-io/video-react-bindings");
12
+ var _jsxRuntime = require("react/jsx-runtime");
12
13
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
14
  /**
14
15
  * Props for the ScreenShareOverlay component
@@ -36,37 +37,42 @@ const ScreenShareOverlay = ({}) => {
36
37
  // force-stop is required to stop the OS prompts of screen share
37
38
  await call?.screenShare.disable(true);
38
39
  };
39
- return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
40
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
40
41
  style: [styles.container, {
41
42
  backgroundColor: colors.sheetTertiary
42
- }, screenshareOverlay.container]
43
- }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
44
- style: [styles.text, typefaces.subtitleBold, {
45
- color: colors.textPrimary
46
- }, screenshareOverlay.text]
47
- }, t('You are sharing your screen with everyone')), /*#__PURE__*/_react.default.createElement(_reactNative.Pressable, {
48
- onPress: onStopScreenshareHandler,
49
- style: ({
50
- pressed
51
- }) => {
52
- return [styles.button, {
53
- backgroundColor: colors.sheetSecondary,
54
- opacity: pressed ? 0.2 : 1
55
- }, screenshareOverlay.button];
56
- }
57
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
58
- style: [styles.buttonIcon, {
59
- height: iconSizes.xs,
60
- width: iconSizes.xs
61
- }, screenshareOverlay.buttonIcon]
62
- }, /*#__PURE__*/_react.default.createElement(_icons.StopScreenShare, {
63
- size: iconSizes.xs,
64
- color: colors.iconPrimary
65
- })), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
66
- style: [styles.buttonText, {
67
- color: colors.textPrimary
68
- }, screenshareOverlay.buttonText]
69
- }, t('Stop Screen Sharing'))));
43
+ }, screenshareOverlay.container],
44
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
45
+ style: [styles.text, typefaces.subtitleBold, {
46
+ color: colors.textPrimary
47
+ }, screenshareOverlay.text],
48
+ children: t('You are sharing your screen with everyone')
49
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Pressable, {
50
+ onPress: onStopScreenshareHandler,
51
+ style: ({
52
+ pressed
53
+ }) => {
54
+ return [styles.button, {
55
+ backgroundColor: colors.sheetSecondary,
56
+ opacity: pressed ? 0.2 : 1
57
+ }, screenshareOverlay.button];
58
+ },
59
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
60
+ style: [styles.buttonIcon, {
61
+ height: iconSizes.xs,
62
+ width: iconSizes.xs
63
+ }, screenshareOverlay.buttonIcon],
64
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.StopScreenShare, {
65
+ size: iconSizes.xs,
66
+ color: colors.iconPrimary
67
+ })
68
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
69
+ style: [styles.buttonText, {
70
+ color: colors.textPrimary
71
+ }, screenshareOverlay.buttonText],
72
+ children: t('Stop Screen Sharing')
73
+ })]
74
+ })]
75
+ });
70
76
  };
71
77
  exports.ScreenShareOverlay = ScreenShareOverlay;
72
78
  const styles = _reactNative.StyleSheet.create({
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_icons","_contexts","_videoReactBindings","e","__esModule","default","ScreenShareOverlay","call","useCall","t","useI18n","theme","colors","typefaces","variants","iconSizes","screenshareOverlay","useTheme","onStopScreenshareHandler","screenShare","disable","createElement","View","style","styles","container","backgroundColor","sheetTertiary","Text","text","subtitleBold","color","textPrimary","Pressable","onPress","pressed","button","sheetSecondary","opacity","buttonIcon","height","xs","width","StopScreenShare","size","iconPrimary","buttonText","exports","StyleSheet","create","flex","alignItems","justifyContent","marginTop","padding","borderRadius","flexDirection","marginLeft","includeFontPadding"],"sourceRoot":"../../../../src","sources":["components/utility/ScreenShareOverlay.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;AAAmE,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEnE;AACA;AACA;;AAGA;AACA;AACA;AACO,MAAMG,kBAAkB,GAAGA,CAAC,CAA0B,CAAC,KAAK;EACjE,MAAMC,IAAI,GAAG,IAAAC,2BAAO,EAAC,CAAC;EACtB,MAAM;IAAEC;EAAE,CAAC,GAAG,IAAAC,2BAAO,EAAC,CAAC;EACvB,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,SAAS;MACTC,QAAQ,EAAE;QAAEC;MAAU,CAAC;MACvBC;IACF;EACF,CAAC,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EAEd,MAAMC,wBAAwB,GAAG,MAAAA,CAAA,KAAY;IAC3C;IACA,MAAMX,IAAI,EAAEY,WAAW,CAACC,OAAO,CAAC,IAAI,CAAC;EACvC,CAAC;EAED,oBACExB,MAAA,CAAAS,OAAA,CAAAgB,aAAA,CAACtB,YAAA,CAAAuB,IAAI;IACHC,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChB;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,EAAEnB,MAAM,CAACoB;IAAY,CAAC,EAC7BhB,kBAAkB,CAAC8B,UAAU;EAC7B,GAEDrC,CAAC,CAAC,qBAAqB,CACpB,CACG,CACP,CAAC;AAEX,CAAC;AAACsC,OAAA,CAAAzC,kBAAA,GAAAA,kBAAA;AAEF,MAAMkB,MAAM,GAAGwB,uBAAU,CAACC,MAAM,CAAC;EAC/BxB,SAAS,EAAE;IACTyB,IAAI,EAAE,CAAC;IACPC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDvB,IAAI,EAAE,CAAC,CAAC;EACRO,MAAM,EAAE;IACNiB,SAAS,EAAE,EAAE;IACbC,OAAO,EAAE,CAAC;IACVC,YAAY,EAAE,CAAC;IACfC,aAAa,EAAE,KAAK;IACpBJ,cAAc,EAAE,QAAQ;IACxBD,UAAU,EAAE;EACd,CAAC;EACDZ,UAAU,EAAE,CAAC,CAAC;EACdO,UAAU,EAAE;IACVW,UAAU,EAAE,CAAC;IACbC,kBAAkB,EAAE;EACtB;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_icons","_contexts","_videoReactBindings","_jsxRuntime","e","__esModule","default","ScreenShareOverlay","call","useCall","t","useI18n","theme","colors","typefaces","variants","iconSizes","screenshareOverlay","useTheme","onStopScreenshareHandler","screenShare","disable","jsxs","View","style","styles","container","backgroundColor","sheetTertiary","children","jsx","Text","text","subtitleBold","color","textPrimary","Pressable","onPress","pressed","button","sheetSecondary","opacity","buttonIcon","height","xs","width","StopScreenShare","size","iconPrimary","buttonText","exports","StyleSheet","create","flex","alignItems","justifyContent","marginTop","padding","borderRadius","flexDirection","marginLeft","includeFontPadding"],"sourceRoot":"../../../../src","sources":["components/utility/ScreenShareOverlay.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,O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AE,CAAC,CAAC;EACRO,MAAM,EAAE;IACNiB,SAAS,EAAE,EAAE;IACbC,OAAO,EAAE,CAAC;IACVC,YAAY,EAAE,CAAC;IACfC,aAAa,EAAE,KAAK;IACpBJ,cAAc,EAAE,QAAQ;IACxBD,UAAU,EAAE;EACd,CAAC;EACDZ,UAAU,EAAE,CAAC,CAAC;EACdO,UAAU,EAAE;IACVW,UAAU,EAAE,CAAC;IACbC,kBAAkB,EAAE;EACtB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -8,6 +8,7 @@ var _react = _interopRequireWildcard(require("react"));
8
8
  var _videoReactBindings = require("@stream-io/video-react-bindings");
9
9
  var _reactNative = require("react-native");
10
10
  var _BackgroundFiltersContext = require("./internal/BackgroundFiltersContext");
11
+ var _jsxRuntime = require("react/jsx-runtime");
11
12
  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); }
12
13
  // for maintaining backwards compatibility
13
14
 
@@ -180,9 +181,10 @@ const BackgroundFiltersProvider = ({
180
181
  applyVideoBlurFilter,
181
182
  disableAllFilters
182
183
  }), [applyBackgroundBlurFilter, applyBackgroundImageFilter, applyVideoBlurFilter, currentBackgroundFilter, disableAllFilters]);
183
- return /*#__PURE__*/_react.default.createElement(_BackgroundFiltersContext.BackgroundFiltersContext.Provider, {
184
- value: value
185
- }, children);
184
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_BackgroundFiltersContext.BackgroundFiltersContext.Provider, {
185
+ value: value,
186
+ children: children
187
+ });
186
188
  };
187
189
  exports.BackgroundFiltersProvider = BackgroundFiltersProvider;
188
190
  //# sourceMappingURL=BackgroundFilters.js.map