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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (785) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/commonjs/components/Call/CallContent/CallContent.js +21 -31
  3. package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
  4. package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js +2 -3
  5. package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
  6. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +6 -10
  7. package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -1
  8. package/dist/commonjs/components/Call/CallControls/CallControls.js +6 -8
  9. package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
  10. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +8 -11
  11. package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -1
  12. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +6 -10
  13. package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -1
  14. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +9 -11
  15. package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -1
  16. package/dist/commonjs/components/Call/CallControls/LobbyControls.js +3 -5
  17. package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -1
  18. package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js +9 -12
  19. package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
  20. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js +15 -22
  21. package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -1
  22. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +6 -10
  23. package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -1
  24. package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js +11 -15
  25. package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
  26. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +9 -13
  27. package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
  28. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +13 -18
  29. package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
  30. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +12 -17
  31. package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
  32. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +9 -13
  33. package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
  34. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +12 -17
  35. package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
  36. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +34 -39
  37. package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  38. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +8 -10
  39. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  40. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +18 -22
  41. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  42. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +21 -25
  43. package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  44. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +7 -10
  45. package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -1
  46. package/dist/commonjs/components/Call/Lobby/Lobby.js +33 -43
  47. package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
  48. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js +16 -21
  49. package/dist/commonjs/components/Call/Lobby/LobbyFooter.js.map +1 -1
  50. package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js +1 -2
  51. package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
  52. package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js +1 -2
  53. package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
  54. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +22 -33
  55. package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
  56. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +25 -35
  57. package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
  58. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +8 -12
  59. package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  60. package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js +22 -28
  61. package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
  62. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +22 -25
  63. package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -1
  64. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +26 -31
  65. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
  66. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +12 -16
  67. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
  68. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +12 -16
  69. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
  70. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +14 -19
  71. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
  72. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js +3 -5
  73. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
  74. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +16 -19
  75. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
  76. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +14 -19
  77. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
  78. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +12 -16
  79. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
  80. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +9 -12
  81. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
  82. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +12 -14
  83. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
  84. package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +3 -5
  85. package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
  86. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +12 -16
  87. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
  88. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +12 -16
  89. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
  90. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +13 -18
  91. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
  92. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +7 -10
  93. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
  94. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +13 -18
  95. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
  96. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +15 -19
  97. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
  98. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +15 -18
  99. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
  100. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +18 -20
  101. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  102. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +33 -39
  103. package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
  104. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +43 -54
  105. package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
  106. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +27 -30
  107. package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
  108. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +7 -11
  109. package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  110. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +14 -17
  111. package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
  112. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +20 -23
  113. package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  114. package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js +7 -8
  115. package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
  116. package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer.js +11 -13
  117. package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer.js.map +1 -1
  118. package/dist/commonjs/components/utility/Avatar.js +15 -18
  119. package/dist/commonjs/components/utility/Avatar.js.map +1 -1
  120. package/dist/commonjs/components/utility/ScreenShareOverlay.js +29 -35
  121. package/dist/commonjs/components/utility/ScreenShareOverlay.js.map +1 -1
  122. package/dist/commonjs/contexts/BackgroundFilters.js +3 -5
  123. package/dist/commonjs/contexts/BackgroundFilters.js.map +1 -1
  124. package/dist/commonjs/contexts/StreamVideoContext.js +5 -6
  125. package/dist/commonjs/contexts/StreamVideoContext.js.map +1 -1
  126. package/dist/commonjs/contexts/ThemeContext.js +3 -5
  127. package/dist/commonjs/contexts/ThemeContext.js.map +1 -1
  128. package/dist/commonjs/hooks/push/useProcessPushCallEffect.js +1 -1
  129. package/dist/commonjs/hooks/push/useProcessPushCallEffect.js.map +1 -1
  130. package/dist/commonjs/hooks/useAndroidKeepCallAliveEffect.js +4 -3
  131. package/dist/commonjs/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
  132. package/dist/commonjs/icons/Back.js +6 -8
  133. package/dist/commonjs/icons/Back.js.map +1 -1
  134. package/dist/commonjs/icons/CameraSwitch.js +6 -8
  135. package/dist/commonjs/icons/CameraSwitch.js.map +1 -1
  136. package/dist/commonjs/icons/EndStreamIcon.js +6 -8
  137. package/dist/commonjs/icons/EndStreamIcon.js.map +1 -1
  138. package/dist/commonjs/icons/Eye.js +6 -8
  139. package/dist/commonjs/icons/Eye.js.map +1 -1
  140. package/dist/commonjs/icons/IconWrapper.js +3 -5
  141. package/dist/commonjs/icons/IconWrapper.js.map +1 -1
  142. package/dist/commonjs/icons/LeaveStreamIcon.js +6 -8
  143. package/dist/commonjs/icons/LeaveStreamIcon.js.map +1 -1
  144. package/dist/commonjs/icons/Lock.js +6 -8
  145. package/dist/commonjs/icons/Lock.js.map +1 -1
  146. package/dist/commonjs/icons/Mic.js +6 -8
  147. package/dist/commonjs/icons/Mic.js.map +1 -1
  148. package/dist/commonjs/icons/MicOff.js +6 -8
  149. package/dist/commonjs/icons/MicOff.js.map +1 -1
  150. package/dist/commonjs/icons/Phone.js +6 -8
  151. package/dist/commonjs/icons/Phone.js.map +1 -1
  152. package/dist/commonjs/icons/PhoneDown.js +6 -8
  153. package/dist/commonjs/icons/PhoneDown.js.map +1 -1
  154. package/dist/commonjs/icons/PinVertical.js +6 -8
  155. package/dist/commonjs/icons/PinVertical.js.map +1 -1
  156. package/dist/commonjs/icons/Reaction.js +6 -8
  157. package/dist/commonjs/icons/Reaction.js.map +1 -1
  158. package/dist/commonjs/icons/ScreenShare.js +6 -8
  159. package/dist/commonjs/icons/ScreenShare.js.map +1 -1
  160. package/dist/commonjs/icons/ScreenShareIndicator.js +18 -21
  161. package/dist/commonjs/icons/ScreenShareIndicator.js.map +1 -1
  162. package/dist/commonjs/icons/Settings.js +5 -7
  163. package/dist/commonjs/icons/Settings.js.map +1 -1
  164. package/dist/commonjs/icons/ShieldBadge.js +6 -8
  165. package/dist/commonjs/icons/ShieldBadge.js.map +1 -1
  166. package/dist/commonjs/icons/Spotlight.js +8 -10
  167. package/dist/commonjs/icons/Spotlight.js.map +1 -1
  168. package/dist/commonjs/icons/StartStreamIcon.js +6 -8
  169. package/dist/commonjs/icons/StartStreamIcon.js.map +1 -1
  170. package/dist/commonjs/icons/StopScreenShare.js +9 -11
  171. package/dist/commonjs/icons/StopScreenShare.js.map +1 -1
  172. package/dist/commonjs/icons/ThreeDots.js +18 -20
  173. package/dist/commonjs/icons/ThreeDots.js.map +1 -1
  174. package/dist/commonjs/icons/TopViewBackground.js +19 -24
  175. package/dist/commonjs/icons/TopViewBackground.js.map +1 -1
  176. package/dist/commonjs/icons/Video.js +6 -8
  177. package/dist/commonjs/icons/Video.js.map +1 -1
  178. package/dist/commonjs/icons/VideoSlash.js +6 -8
  179. package/dist/commonjs/icons/VideoSlash.js.map +1 -1
  180. package/dist/commonjs/providers/StreamCall/index.js +3 -5
  181. package/dist/commonjs/providers/StreamCall/index.js.map +1 -1
  182. package/dist/commonjs/providers/StreamVideo.js +5 -10
  183. package/dist/commonjs/providers/StreamVideo.js.map +1 -1
  184. package/dist/commonjs/theme/theme.js.map +1 -1
  185. package/dist/commonjs/utils/push/ios.js +1 -0
  186. package/dist/commonjs/utils/push/ios.js.map +1 -1
  187. package/dist/commonjs/utils/push/libs/notifee/index.js.map +1 -1
  188. package/dist/commonjs/version.js +1 -1
  189. package/dist/module/components/Call/CallContent/CallContent.js +21 -33
  190. package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
  191. package/dist/module/components/Call/CallContent/RTCViewPipIOS.js +2 -5
  192. package/dist/module/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
  193. package/dist/module/components/Call/CallContent/index.js +0 -2
  194. package/dist/module/components/Call/CallContent/index.js.map +1 -1
  195. package/dist/module/components/Call/CallControls/AcceptCallButton.js +7 -12
  196. package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -1
  197. package/dist/module/components/Call/CallControls/CallControls.js +7 -10
  198. package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
  199. package/dist/module/components/Call/CallControls/CallControlsButton.js +8 -13
  200. package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -1
  201. package/dist/module/components/Call/CallControls/HangupCallButton.js +7 -12
  202. package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -1
  203. package/dist/module/components/Call/CallControls/IncomingCallControls.js +10 -13
  204. package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -1
  205. package/dist/module/components/Call/CallControls/LobbyControls.js +3 -7
  206. package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -1
  207. package/dist/module/components/Call/CallControls/OutgoingCallControls.js +10 -14
  208. package/dist/module/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
  209. package/dist/module/components/Call/CallControls/ReactionsButton.js +16 -24
  210. package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -1
  211. package/dist/module/components/Call/CallControls/RejectCallButton.js +7 -12
  212. package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -1
  213. package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js +12 -17
  214. package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
  215. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +10 -15
  216. package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
  217. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +14 -20
  218. package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
  219. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +13 -19
  220. package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
  221. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +10 -15
  222. package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
  223. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +13 -19
  224. package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
  225. package/dist/module/components/Call/CallControls/index.js +0 -2
  226. package/dist/module/components/Call/CallControls/index.js.map +1 -1
  227. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +34 -41
  228. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  229. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +9 -12
  230. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  231. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +19 -24
  232. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  233. package/dist/module/components/Call/CallLayout/index.js +0 -2
  234. package/dist/module/components/Call/CallLayout/index.js.map +1 -1
  235. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +21 -27
  236. package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
  237. package/dist/module/components/Call/CallParticipantsList/index.js +0 -2
  238. package/dist/module/components/Call/CallParticipantsList/index.js.map +1 -1
  239. package/dist/module/components/Call/Lobby/JoinCallButton.js +8 -12
  240. package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -1
  241. package/dist/module/components/Call/Lobby/Lobby.js +34 -45
  242. package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
  243. package/dist/module/components/Call/Lobby/LobbyFooter.js +17 -23
  244. package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -1
  245. package/dist/module/components/Call/Lobby/index.js +0 -2
  246. package/dist/module/components/Call/Lobby/index.js.map +1 -1
  247. package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js +1 -4
  248. package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
  249. package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js +1 -4
  250. package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
  251. package/dist/module/components/Call/RingingCallContent/IncomingCall.js +23 -35
  252. package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
  253. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +26 -37
  254. package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
  255. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +9 -14
  256. package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
  257. package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js +22 -30
  258. package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
  259. package/dist/module/components/Call/RingingCallContent/UserInfo.js +22 -27
  260. package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -1
  261. package/dist/module/components/Call/RingingCallContent/index.js +0 -2
  262. package/dist/module/components/Call/RingingCallContent/index.js.map +1 -1
  263. package/dist/module/components/Call/index.js +0 -2
  264. package/dist/module/components/Call/index.js.map +1 -1
  265. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +27 -33
  266. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
  267. package/dist/module/components/Livestream/HostLivestream/index.js +0 -2
  268. package/dist/module/components/Livestream/HostLivestream/index.js.map +1 -1
  269. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +13 -18
  270. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
  271. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +13 -18
  272. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
  273. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +14 -21
  274. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
  275. package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js +4 -7
  276. package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
  277. package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +16 -21
  278. package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
  279. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +14 -21
  280. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
  281. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +13 -18
  282. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
  283. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +10 -14
  284. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
  285. package/dist/module/components/Livestream/LivestreamControls/index.js +0 -2
  286. package/dist/module/components/Livestream/LivestreamControls/index.js.map +1 -1
  287. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +13 -16
  288. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
  289. package/dist/module/components/Livestream/LivestreamLayout/index.js +0 -2
  290. package/dist/module/components/Livestream/LivestreamLayout/index.js.map +1 -1
  291. package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +3 -7
  292. package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
  293. package/dist/module/components/Livestream/LivestreamPlayer/index.js +0 -2
  294. package/dist/module/components/Livestream/LivestreamPlayer/index.js.map +1 -1
  295. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +13 -18
  296. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
  297. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +13 -18
  298. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
  299. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +14 -20
  300. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
  301. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +8 -12
  302. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
  303. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +14 -20
  304. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
  305. package/dist/module/components/Livestream/LivestreamTopView/index.js +0 -2
  306. package/dist/module/components/Livestream/LivestreamTopView/index.js.map +1 -1
  307. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +16 -21
  308. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
  309. package/dist/module/components/Livestream/ViewerLivestream/index.js +0 -2
  310. package/dist/module/components/Livestream/ViewerLivestream/index.js.map +1 -1
  311. package/dist/module/components/Livestream/index.js +0 -2
  312. package/dist/module/components/Livestream/index.js.map +1 -1
  313. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +15 -20
  314. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
  315. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +18 -22
  316. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  317. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js +0 -2
  318. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js.map +1 -1
  319. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js +0 -2
  320. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js.map +1 -1
  321. package/dist/module/components/Participant/FloatingParticipantView/index.js +34 -41
  322. package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
  323. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +44 -56
  324. package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
  325. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +28 -32
  326. package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
  327. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +8 -13
  328. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  329. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +15 -19
  330. package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
  331. package/dist/module/components/Participant/ParticipantView/ParticipantView.js +21 -25
  332. package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
  333. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js +8 -10
  334. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
  335. package/dist/module/components/Participant/ParticipantView/VideoRenderer.js +11 -15
  336. package/dist/module/components/Participant/ParticipantView/VideoRenderer.js.map +1 -1
  337. package/dist/module/components/Participant/ParticipantView/index.js +0 -2
  338. package/dist/module/components/Participant/ParticipantView/index.js.map +1 -1
  339. package/dist/module/components/Participant/index.js +0 -2
  340. package/dist/module/components/Participant/index.js.map +1 -1
  341. package/dist/module/components/index.js +0 -2
  342. package/dist/module/components/index.js.map +1 -1
  343. package/dist/module/components/utility/Avatar.js +16 -20
  344. package/dist/module/components/utility/Avatar.js.map +1 -1
  345. package/dist/module/components/utility/ScreenShareOverlay.js +30 -37
  346. package/dist/module/components/utility/ScreenShareOverlay.js.map +1 -1
  347. package/dist/module/components/utility/index.js +0 -2
  348. package/dist/module/components/utility/index.js.map +1 -1
  349. package/dist/module/constants/TestIds.js +0 -2
  350. package/dist/module/constants/TestIds.js.map +1 -1
  351. package/dist/module/constants/index.js +0 -2
  352. package/dist/module/constants/index.js.map +1 -1
  353. package/dist/module/contexts/BackgroundFilters.js +3 -7
  354. package/dist/module/contexts/BackgroundFilters.js.map +1 -1
  355. package/dist/module/contexts/StreamVideoContext.js +3 -7
  356. package/dist/module/contexts/StreamVideoContext.js.map +1 -1
  357. package/dist/module/contexts/ThemeContext.js +3 -7
  358. package/dist/module/contexts/ThemeContext.js.map +1 -1
  359. package/dist/module/contexts/index.js +0 -2
  360. package/dist/module/contexts/index.js.map +1 -1
  361. package/dist/module/hooks/index.js +0 -2
  362. package/dist/module/hooks/index.js.map +1 -1
  363. package/dist/module/hooks/internal/useCallMediaStreamCleanup.js +0 -2
  364. package/dist/module/hooks/internal/useCallMediaStreamCleanup.js.map +1 -1
  365. package/dist/module/hooks/push/index.js +0 -2
  366. package/dist/module/hooks/push/index.js.map +1 -1
  367. package/dist/module/hooks/push/useInitAndroidTokenAndRest.js +0 -2
  368. package/dist/module/hooks/push/useInitAndroidTokenAndRest.js.map +1 -1
  369. package/dist/module/hooks/push/useIosCallKeepEventsSetupEffect.js +0 -2
  370. package/dist/module/hooks/push/useIosCallKeepEventsSetupEffect.js.map +1 -1
  371. package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js +0 -2
  372. package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js.map +1 -1
  373. package/dist/module/hooks/push/useIosInitRemoteNotifications.js +0 -2
  374. package/dist/module/hooks/push/useIosInitRemoteNotifications.js.map +1 -1
  375. package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js +0 -2
  376. package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
  377. package/dist/module/hooks/push/useProcessPushCallEffect.js +1 -3
  378. package/dist/module/hooks/push/useProcessPushCallEffect.js.map +1 -1
  379. package/dist/module/hooks/push/useProcessPushNonRingingCallEffect.js +0 -2
  380. package/dist/module/hooks/push/useProcessPushNonRingingCallEffect.js.map +1 -1
  381. package/dist/module/hooks/useAndroidKeepCallAliveEffect.js +4 -5
  382. package/dist/module/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
  383. package/dist/module/hooks/useApplyDefaultMediaStreamSettings.js +0 -2
  384. package/dist/module/hooks/useApplyDefaultMediaStreamSettings.js.map +1 -1
  385. package/dist/module/hooks/useAutoEnterPiPEffect.js +0 -2
  386. package/dist/module/hooks/useAutoEnterPiPEffect.js.map +1 -1
  387. package/dist/module/hooks/useIsInPiPMode.js +0 -2
  388. package/dist/module/hooks/useIsInPiPMode.js.map +1 -1
  389. package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js +0 -2
  390. package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js.map +1 -1
  391. package/dist/module/hooks/usePaginatedLayoutSortPreset.js +0 -2
  392. package/dist/module/hooks/usePaginatedLayoutSortPreset.js.map +1 -1
  393. package/dist/module/hooks/usePermissionNotification.js +0 -2
  394. package/dist/module/hooks/usePermissionNotification.js.map +1 -1
  395. package/dist/module/hooks/usePermissionRequest.js +0 -2
  396. package/dist/module/hooks/usePermissionRequest.js.map +1 -1
  397. package/dist/module/hooks/useScreenShareButton.js +0 -2
  398. package/dist/module/hooks/useScreenShareButton.js.map +1 -1
  399. package/dist/module/hooks/useTrackDimensions.js +0 -2
  400. package/dist/module/hooks/useTrackDimensions.js.map +1 -1
  401. package/dist/module/icons/Back.js +6 -10
  402. package/dist/module/icons/Back.js.map +1 -1
  403. package/dist/module/icons/CameraSwitch.js +6 -10
  404. package/dist/module/icons/CameraSwitch.js.map +1 -1
  405. package/dist/module/icons/EndStreamIcon.js +6 -10
  406. package/dist/module/icons/EndStreamIcon.js.map +1 -1
  407. package/dist/module/icons/Eye.js +6 -10
  408. package/dist/module/icons/Eye.js.map +1 -1
  409. package/dist/module/icons/IconWrapper.js +3 -7
  410. package/dist/module/icons/IconWrapper.js.map +1 -1
  411. package/dist/module/icons/LeaveStreamIcon.js +6 -10
  412. package/dist/module/icons/LeaveStreamIcon.js.map +1 -1
  413. package/dist/module/icons/Lock.js +6 -10
  414. package/dist/module/icons/Lock.js.map +1 -1
  415. package/dist/module/icons/Mic.js +6 -10
  416. package/dist/module/icons/Mic.js.map +1 -1
  417. package/dist/module/icons/MicOff.js +6 -10
  418. package/dist/module/icons/MicOff.js.map +1 -1
  419. package/dist/module/icons/Phone.js +6 -10
  420. package/dist/module/icons/Phone.js.map +1 -1
  421. package/dist/module/icons/PhoneDown.js +6 -10
  422. package/dist/module/icons/PhoneDown.js.map +1 -1
  423. package/dist/module/icons/PinVertical.js +6 -10
  424. package/dist/module/icons/PinVertical.js.map +1 -1
  425. package/dist/module/icons/Reaction.js +6 -10
  426. package/dist/module/icons/Reaction.js.map +1 -1
  427. package/dist/module/icons/ScreenShare.js +6 -10
  428. package/dist/module/icons/ScreenShare.js.map +1 -1
  429. package/dist/module/icons/ScreenShareIndicator.js +18 -23
  430. package/dist/module/icons/ScreenShareIndicator.js.map +1 -1
  431. package/dist/module/icons/Settings.js +5 -9
  432. package/dist/module/icons/Settings.js.map +1 -1
  433. package/dist/module/icons/ShieldBadge.js +6 -10
  434. package/dist/module/icons/ShieldBadge.js.map +1 -1
  435. package/dist/module/icons/Spotlight.js +8 -12
  436. package/dist/module/icons/Spotlight.js.map +1 -1
  437. package/dist/module/icons/StartStreamIcon.js +6 -10
  438. package/dist/module/icons/StartStreamIcon.js.map +1 -1
  439. package/dist/module/icons/StopScreenShare.js +9 -13
  440. package/dist/module/icons/StopScreenShare.js.map +1 -1
  441. package/dist/module/icons/ThreeDots.js +18 -22
  442. package/dist/module/icons/ThreeDots.js.map +1 -1
  443. package/dist/module/icons/TopViewBackground.js +19 -26
  444. package/dist/module/icons/TopViewBackground.js.map +1 -1
  445. package/dist/module/icons/Video.js +6 -10
  446. package/dist/module/icons/Video.js.map +1 -1
  447. package/dist/module/icons/VideoSlash.js +6 -10
  448. package/dist/module/icons/VideoSlash.js.map +1 -1
  449. package/dist/module/icons/index.js +0 -2
  450. package/dist/module/icons/index.js.map +1 -1
  451. package/dist/module/index.js +0 -2
  452. package/dist/module/index.js.map +1 -1
  453. package/dist/module/providers/StreamCall/AppStateListener.js +0 -2
  454. package/dist/module/providers/StreamCall/AppStateListener.js.map +1 -1
  455. package/dist/module/providers/StreamCall/DeviceStats.js +0 -2
  456. package/dist/module/providers/StreamCall/DeviceStats.js.map +1 -1
  457. package/dist/module/providers/StreamCall/index.js +4 -7
  458. package/dist/module/providers/StreamCall/index.js.map +1 -1
  459. package/dist/module/providers/StreamVideo.js +5 -12
  460. package/dist/module/providers/StreamVideo.js.map +1 -1
  461. package/dist/module/theme/colors.js +0 -2
  462. package/dist/module/theme/colors.js.map +1 -1
  463. package/dist/module/theme/constants.js +0 -2
  464. package/dist/module/theme/constants.js.map +1 -1
  465. package/dist/module/theme/index.js +0 -2
  466. package/dist/module/theme/index.js.map +1 -1
  467. package/dist/module/theme/theme.js +0 -2
  468. package/dist/module/theme/theme.js.map +1 -1
  469. package/dist/module/theme/types.js +0 -2
  470. package/dist/module/translations/index.js +0 -2
  471. package/dist/module/translations/index.js.map +1 -1
  472. package/dist/module/utils/StreamVideoRN/index.js +0 -2
  473. package/dist/module/utils/StreamVideoRN/index.js.map +1 -1
  474. package/dist/module/utils/StreamVideoRN/types.js +0 -2
  475. package/dist/module/utils/enterPiPAndroid.js +0 -2
  476. package/dist/module/utils/enterPiPAndroid.js.map +1 -1
  477. package/dist/module/utils/getAndroidDefaultRingtoneUrl.js +0 -2
  478. package/dist/module/utils/getAndroidDefaultRingtoneUrl.js.map +1 -1
  479. package/dist/module/utils/hooks/index.js +0 -2
  480. package/dist/module/utils/hooks/index.js.map +1 -1
  481. package/dist/module/utils/hooks/useDebouncedValue.js +0 -2
  482. package/dist/module/utils/hooks/useDebouncedValue.js.map +1 -1
  483. package/dist/module/utils/hooks/usePrevious.js +0 -2
  484. package/dist/module/utils/hooks/usePrevious.js.map +1 -1
  485. package/dist/module/utils/index.js +0 -2
  486. package/dist/module/utils/index.js.map +1 -1
  487. package/dist/module/utils/internal/newNotificationCallbacks.js +0 -2
  488. package/dist/module/utils/internal/newNotificationCallbacks.js.map +1 -1
  489. package/dist/module/utils/internal/optionallibs/gestureHandler.js +0 -2
  490. package/dist/module/utils/internal/optionallibs/gestureHandler.js.map +1 -1
  491. package/dist/module/utils/internal/optionallibs/index.js +0 -2
  492. package/dist/module/utils/internal/optionallibs/index.js.map +1 -1
  493. package/dist/module/utils/internal/optionallibs/reanimated.js +0 -2
  494. package/dist/module/utils/internal/optionallibs/reanimated.js.map +1 -1
  495. package/dist/module/utils/internal/pushLogoutCallback.js +0 -2
  496. package/dist/module/utils/internal/pushLogoutCallback.js.map +1 -1
  497. package/dist/module/utils/internal/rxSubjects.js +0 -2
  498. package/dist/module/utils/internal/rxSubjects.js.map +1 -1
  499. package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js +0 -2
  500. package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js.map +1 -1
  501. package/dist/module/utils/push/android.js +0 -2
  502. package/dist/module/utils/push/android.js.map +1 -1
  503. package/dist/module/utils/push/index.js +0 -2
  504. package/dist/module/utils/push/index.js.map +1 -1
  505. package/dist/module/utils/push/internal/rxSubjects.js +0 -2
  506. package/dist/module/utils/push/internal/rxSubjects.js.map +1 -1
  507. package/dist/module/utils/push/internal/utils.js +0 -2
  508. package/dist/module/utils/push/internal/utils.js.map +1 -1
  509. package/dist/module/utils/push/ios.js +1 -2
  510. package/dist/module/utils/push/ios.js.map +1 -1
  511. package/dist/module/utils/push/libs/callkeep.js +0 -2
  512. package/dist/module/utils/push/libs/callkeep.js.map +1 -1
  513. package/dist/module/utils/push/libs/expoNotifications.js +0 -2
  514. package/dist/module/utils/push/libs/expoNotifications.js.map +1 -1
  515. package/dist/module/utils/push/libs/firebaseMessaging/index.js +0 -2
  516. package/dist/module/utils/push/libs/firebaseMessaging/index.js.map +1 -1
  517. package/dist/module/utils/push/libs/firebaseMessaging/lib.js +0 -2
  518. package/dist/module/utils/push/libs/firebaseMessaging/lib.js.map +1 -1
  519. package/dist/module/utils/push/libs/index.js +0 -2
  520. package/dist/module/utils/push/libs/index.js.map +1 -1
  521. package/dist/module/utils/push/libs/iosPushNotification.js +0 -2
  522. package/dist/module/utils/push/libs/iosPushNotification.js.map +1 -1
  523. package/dist/module/utils/push/libs/notifee/index.js +0 -2
  524. package/dist/module/utils/push/libs/notifee/index.js.map +1 -1
  525. package/dist/module/utils/push/libs/notifee/lib.js +0 -2
  526. package/dist/module/utils/push/libs/notifee/lib.js.map +1 -1
  527. package/dist/module/utils/push/libs/voipPushNotification.js +0 -2
  528. package/dist/module/utils/push/libs/voipPushNotification.js.map +1 -1
  529. package/dist/module/utils/push/utils.js +0 -2
  530. package/dist/module/utils/push/utils.js.map +1 -1
  531. package/dist/module/utils/setClientDetails.js +0 -2
  532. package/dist/module/utils/setClientDetails.js.map +1 -1
  533. package/dist/module/version.js +1 -3
  534. package/dist/module/version.js.map +1 -1
  535. package/dist/typescript/components/Call/CallContent/CallContent.d.ts +5 -5
  536. package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
  537. package/dist/typescript/components/Call/CallControls/CallControls.d.ts +2 -2
  538. package/dist/typescript/components/Call/CallControls/CallControls.d.ts.map +1 -1
  539. package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts +2 -2
  540. package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts.map +1 -1
  541. package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts +1 -1
  542. package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts.map +1 -1
  543. package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts +1 -1
  544. package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts.map +1 -1
  545. package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts +2 -2
  546. package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts.map +1 -1
  547. package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts +3 -3
  548. package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts.map +1 -1
  549. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts +3 -3
  550. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -1
  551. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts +3 -3
  552. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -1
  553. package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts +1 -1
  554. package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts.map +1 -1
  555. package/dist/typescript/components/Call/Lobby/Lobby.d.ts +3 -3
  556. package/dist/typescript/components/Call/Lobby/Lobby.d.ts.map +1 -1
  557. package/dist/typescript/components/Call/Lobby/LobbyFooter.d.ts +1 -1
  558. package/dist/typescript/components/Call/Lobby/LobbyFooter.d.ts.map +1 -1
  559. package/dist/typescript/components/Call/RingingCallContent/CallLeftIndicator.d.ts +1 -1
  560. package/dist/typescript/components/Call/RingingCallContent/CallLeftIndicator.d.ts.map +1 -1
  561. package/dist/typescript/components/Call/RingingCallContent/CallPreparingIndicator.d.ts +1 -1
  562. package/dist/typescript/components/Call/RingingCallContent/CallPreparingIndicator.d.ts.map +1 -1
  563. package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts +1 -1
  564. package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts.map +1 -1
  565. package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts +1 -1
  566. package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts.map +1 -1
  567. package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts +5 -5
  568. package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts.map +1 -1
  569. package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts +5 -5
  570. package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts.map +1 -1
  571. package/dist/typescript/components/Livestream/LivestreamControls/HostLivestreamControls.d.ts +3 -3
  572. package/dist/typescript/components/Livestream/LivestreamControls/HostLivestreamControls.d.ts.map +1 -1
  573. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts +2 -2
  574. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts.map +1 -1
  575. package/dist/typescript/components/Livestream/LivestreamLayout/LivestreamLayout.d.ts +2 -2
  576. package/dist/typescript/components/Livestream/LivestreamLayout/LivestreamLayout.d.ts.map +1 -1
  577. package/dist/typescript/components/Livestream/LivestreamPlayer/LivestreamPlayer.d.ts +1 -1
  578. package/dist/typescript/components/Livestream/LivestreamPlayer/LivestreamPlayer.d.ts.map +1 -1
  579. package/dist/typescript/components/Livestream/LivestreamTopView/DurationBadge.d.ts.map +1 -1
  580. package/dist/typescript/components/Livestream/LivestreamTopView/HostLivestreamTopView.d.ts +4 -4
  581. package/dist/typescript/components/Livestream/LivestreamTopView/HostLivestreamTopView.d.ts.map +1 -1
  582. package/dist/typescript/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.d.ts +4 -4
  583. package/dist/typescript/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.d.ts.map +1 -1
  584. package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts +5 -5
  585. package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts.map +1 -1
  586. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.d.ts +1 -1
  587. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.d.ts.map +1 -1
  588. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts +1 -1
  589. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts.map +1 -1
  590. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/common.d.ts +1 -1
  591. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/common.d.ts.map +1 -1
  592. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/index.d.ts +1 -1
  593. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/index.d.ts.map +1 -1
  594. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts +4 -4
  595. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -1
  596. package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts +1 -1
  597. package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts.map +1 -1
  598. package/dist/typescript/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.d.ts +1 -1
  599. package/dist/typescript/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.d.ts.map +1 -1
  600. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts +2 -2
  601. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts.map +1 -1
  602. package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts +1 -1
  603. package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts.map +1 -1
  604. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts +9 -9
  605. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -1
  606. package/dist/typescript/components/Participant/ParticipantView/VideoRenderer.d.ts +1 -1
  607. package/dist/typescript/components/Participant/ParticipantView/VideoRenderer.d.ts.map +1 -1
  608. package/dist/typescript/components/utility/Avatar.d.ts +1 -1
  609. package/dist/typescript/components/utility/Avatar.d.ts.map +1 -1
  610. package/dist/typescript/constants/index.d.ts +1 -1
  611. package/dist/typescript/constants/index.d.ts.map +1 -1
  612. package/dist/typescript/contexts/BackgroundFilters.d.ts +1 -1
  613. package/dist/typescript/contexts/BackgroundFilters.d.ts.map +1 -1
  614. package/dist/typescript/contexts/StreamVideoContext.d.ts.map +1 -1
  615. package/dist/typescript/contexts/ThemeContext.d.ts +2 -2
  616. package/dist/typescript/contexts/ThemeContext.d.ts.map +1 -1
  617. package/dist/typescript/hooks/useAndroidKeepCallAliveEffect.d.ts.map +1 -1
  618. package/dist/typescript/hooks/useTrackDimensions.d.ts +1 -1
  619. package/dist/typescript/hooks/useTrackDimensions.d.ts.map +1 -1
  620. package/dist/typescript/icons/Back.d.ts +1 -1
  621. package/dist/typescript/icons/Back.d.ts.map +1 -1
  622. package/dist/typescript/icons/CameraSwitch.d.ts +1 -1
  623. package/dist/typescript/icons/CameraSwitch.d.ts.map +1 -1
  624. package/dist/typescript/icons/IconWrapper.d.ts +1 -1
  625. package/dist/typescript/icons/IconWrapper.d.ts.map +1 -1
  626. package/dist/typescript/icons/Lock.d.ts +1 -1
  627. package/dist/typescript/icons/Lock.d.ts.map +1 -1
  628. package/dist/typescript/icons/Mic.d.ts +1 -1
  629. package/dist/typescript/icons/Mic.d.ts.map +1 -1
  630. package/dist/typescript/icons/MicOff.d.ts +1 -1
  631. package/dist/typescript/icons/MicOff.d.ts.map +1 -1
  632. package/dist/typescript/icons/Phone.d.ts +1 -1
  633. package/dist/typescript/icons/Phone.d.ts.map +1 -1
  634. package/dist/typescript/icons/PhoneDown.d.ts +1 -1
  635. package/dist/typescript/icons/PhoneDown.d.ts.map +1 -1
  636. package/dist/typescript/icons/PinVertical.d.ts +1 -1
  637. package/dist/typescript/icons/PinVertical.d.ts.map +1 -1
  638. package/dist/typescript/icons/Reaction.d.ts +1 -1
  639. package/dist/typescript/icons/Reaction.d.ts.map +1 -1
  640. package/dist/typescript/icons/ScreenShare.d.ts +1 -1
  641. package/dist/typescript/icons/ScreenShare.d.ts.map +1 -1
  642. package/dist/typescript/icons/ScreenShareIndicator.d.ts +1 -1
  643. package/dist/typescript/icons/ScreenShareIndicator.d.ts.map +1 -1
  644. package/dist/typescript/icons/Spotlight.d.ts +1 -1
  645. package/dist/typescript/icons/Spotlight.d.ts.map +1 -1
  646. package/dist/typescript/icons/StopScreenShare.d.ts +1 -1
  647. package/dist/typescript/icons/StopScreenShare.d.ts.map +1 -1
  648. package/dist/typescript/icons/TopViewBackground.d.ts +1 -1
  649. package/dist/typescript/icons/TopViewBackground.d.ts.map +1 -1
  650. package/dist/typescript/icons/Video.d.ts +1 -1
  651. package/dist/typescript/icons/Video.d.ts.map +1 -1
  652. package/dist/typescript/icons/VideoSlash.d.ts +1 -1
  653. package/dist/typescript/icons/VideoSlash.d.ts.map +1 -1
  654. package/dist/typescript/providers/StreamCall/index.d.ts +1 -1
  655. package/dist/typescript/providers/StreamCall/index.d.ts.map +1 -1
  656. package/dist/typescript/providers/StreamVideo.d.ts +4 -4
  657. package/dist/typescript/providers/StreamVideo.d.ts.map +1 -1
  658. package/dist/typescript/theme/colors.d.ts +1 -1
  659. package/dist/typescript/theme/colors.d.ts.map +1 -1
  660. package/dist/typescript/theme/theme.d.ts +3 -3
  661. package/dist/typescript/theme/theme.d.ts.map +1 -1
  662. package/dist/typescript/theme/types.d.ts +1 -1
  663. package/dist/typescript/theme/types.d.ts.map +1 -1
  664. package/dist/typescript/utils/StreamVideoRN/index.d.ts +2 -2
  665. package/dist/typescript/utils/StreamVideoRN/index.d.ts.map +1 -1
  666. package/dist/typescript/utils/StreamVideoRN/types.d.ts +1 -1
  667. package/dist/typescript/utils/StreamVideoRN/types.d.ts.map +1 -1
  668. package/dist/typescript/utils/internal/newNotificationCallbacks.d.ts +1 -1
  669. package/dist/typescript/utils/internal/newNotificationCallbacks.d.ts.map +1 -1
  670. package/dist/typescript/utils/push/android.d.ts +1 -1
  671. package/dist/typescript/utils/push/android.d.ts.map +1 -1
  672. package/dist/typescript/utils/push/internal/rxSubjects.d.ts +1 -1
  673. package/dist/typescript/utils/push/internal/rxSubjects.d.ts.map +1 -1
  674. package/dist/typescript/utils/push/ios.d.ts +1 -1
  675. package/dist/typescript/utils/push/ios.d.ts.map +1 -1
  676. package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts +1 -1
  677. package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts.map +1 -1
  678. package/dist/typescript/utils/push/libs/notifee/index.d.ts +1 -1
  679. package/dist/typescript/utils/push/libs/notifee/index.d.ts.map +1 -1
  680. package/dist/typescript/utils/push/utils.d.ts +4 -4
  681. package/dist/typescript/utils/push/utils.d.ts.map +1 -1
  682. package/dist/typescript/version.d.ts +1 -1
  683. package/expo-config-plugin/dist/withIosScreenCapture/addBroadcastExtensionXcodeTarget.js +17 -7
  684. package/expo-config-plugin/dist/withIosScreenCapture/withFilesMod.js +17 -7
  685. package/expo-config-plugin/dist/withIosScreenCapture/withTarget.js +17 -7
  686. package/ios/RTCViewPipManager.swift +1 -1
  687. package/package.json +16 -15
  688. package/src/components/Call/CallContent/CallContent.tsx +11 -11
  689. package/src/components/Call/CallContent/RTCViewPipIOS.tsx +1 -1
  690. package/src/components/Call/CallControls/CallControls.tsx +6 -3
  691. package/src/components/Call/CallControls/CallControlsButton.tsx +3 -3
  692. package/src/components/Call/CallControls/ReactionsButton.tsx +2 -2
  693. package/src/components/Call/CallControls/ToggleCameraFaceButton.tsx +1 -1
  694. package/src/components/Call/CallControls/internal/ReactionsPicker.tsx +3 -3
  695. package/src/components/Call/CallLayout/CallParticipantsGrid.tsx +4 -4
  696. package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +4 -4
  697. package/src/components/Call/CallParticipantsList/CallParticipantsList.tsx +11 -6
  698. package/src/components/Call/Lobby/JoinCallButton.tsx +1 -1
  699. package/src/components/Call/Lobby/Lobby.tsx +4 -4
  700. package/src/components/Call/Lobby/LobbyFooter.tsx +1 -1
  701. package/src/components/Call/RingingCallContent/CallLeftIndicator.tsx +1 -1
  702. package/src/components/Call/RingingCallContent/CallPreparingIndicator.tsx +1 -1
  703. package/src/components/Call/RingingCallContent/IncomingCall.tsx +2 -3
  704. package/src/components/Call/RingingCallContent/OutgoingCall.tsx +2 -2
  705. package/src/components/Call/RingingCallContent/RingingCallContent.tsx +5 -5
  706. package/src/components/Call/RingingCallContent/UserInfo.tsx +1 -1
  707. package/src/components/Livestream/HostLivestream/HostLivestream.tsx +5 -5
  708. package/src/components/Livestream/LivestreamControls/HostLivestreamControls.tsx +3 -3
  709. package/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx +2 -2
  710. package/src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx +3 -3
  711. package/src/components/Livestream/LivestreamPlayer/LivestreamPlayer.tsx +1 -1
  712. package/src/components/Livestream/LivestreamTopView/DurationBadge.tsx +4 -1
  713. package/src/components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx +4 -4
  714. package/src/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.tsx +4 -4
  715. package/src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx +5 -5
  716. package/src/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.tsx +2 -2
  717. package/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.tsx +4 -2
  718. package/src/components/Participant/FloatingParticipantView/FloatingView/common.ts +1 -1
  719. package/src/components/Participant/FloatingParticipantView/FloatingView/index.ts +1 -1
  720. package/src/components/Participant/FloatingParticipantView/index.tsx +7 -7
  721. package/src/components/Participant/ParticipantView/ParticipantLabel.tsx +1 -1
  722. package/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.tsx +1 -1
  723. package/src/components/Participant/ParticipantView/ParticipantReaction.tsx +2 -2
  724. package/src/components/Participant/ParticipantView/ParticipantVideoFallback.tsx +1 -1
  725. package/src/components/Participant/ParticipantView/ParticipantView.tsx +10 -10
  726. package/src/components/Participant/ParticipantView/VideoRenderer.tsx +2 -2
  727. package/src/components/utility/Avatar.tsx +1 -1
  728. package/src/constants/index.ts +1 -1
  729. package/src/contexts/BackgroundFilters.tsx +1 -1
  730. package/src/contexts/ThemeContext.tsx +2 -2
  731. package/src/hooks/push/useIosVoipPushEventsSetupEffect.ts +1 -1
  732. package/src/hooks/push/useProcessPushCallEffect.ts +1 -1
  733. package/src/hooks/useAndroidKeepCallAliveEffect.ts +5 -4
  734. package/src/hooks/usePermissionRequest.tsx +1 -1
  735. package/src/hooks/useTrackDimensions.ts +2 -2
  736. package/src/icons/Back.tsx +1 -1
  737. package/src/icons/CameraSwitch.tsx +1 -1
  738. package/src/icons/IconWrapper.tsx +1 -1
  739. package/src/icons/Lock.tsx +1 -1
  740. package/src/icons/Mic.tsx +1 -1
  741. package/src/icons/MicOff.tsx +1 -1
  742. package/src/icons/Phone.tsx +1 -1
  743. package/src/icons/PhoneDown.tsx +1 -1
  744. package/src/icons/PinVertical.tsx +1 -1
  745. package/src/icons/Reaction.tsx +1 -1
  746. package/src/icons/ScreenShare.tsx +1 -1
  747. package/src/icons/ScreenShareIndicator.tsx +1 -1
  748. package/src/icons/Spotlight.tsx +1 -1
  749. package/src/icons/StopScreenShare.tsx +1 -1
  750. package/src/icons/TopViewBackground.tsx +1 -1
  751. package/src/icons/Video.tsx +1 -1
  752. package/src/icons/VideoSlash.tsx +1 -1
  753. package/src/providers/StreamCall/index.tsx +1 -1
  754. package/src/providers/StreamVideo.tsx +5 -5
  755. package/src/theme/colors.ts +1 -1
  756. package/src/theme/theme.ts +11 -7
  757. package/src/theme/types.ts +1 -1
  758. package/src/utils/StreamVideoRN/index.ts +2 -2
  759. package/src/utils/StreamVideoRN/types.ts +1 -1
  760. package/src/utils/internal/newNotificationCallbacks.ts +1 -1
  761. package/src/utils/push/android.ts +2 -2
  762. package/src/utils/push/internal/rxSubjects.ts +1 -1
  763. package/src/utils/push/ios.ts +4 -3
  764. package/src/utils/push/libs/firebaseMessaging/index.ts +1 -1
  765. package/src/utils/push/libs/notifee/index.ts +1 -1
  766. package/src/utils/push/utils.ts +4 -4
  767. package/src/version.ts +1 -1
  768. package/dist/commonjs/package.json +0 -1
  769. package/dist/module/package.json +0 -1
  770. package/expo-config-plugin/dist/common/addNewLinesToAppDelegate.d.ts +0 -1
  771. package/expo-config-plugin/dist/common/addNewLinesToMainActivity.d.ts +0 -1
  772. package/expo-config-plugin/dist/common/types.d.ts +0 -14
  773. package/expo-config-plugin/dist/index.d.ts +0 -4
  774. package/expo-config-plugin/dist/withAndroidManifest.d.ts +0 -4
  775. package/expo-config-plugin/dist/withAndroidPermissions.d.ts +0 -4
  776. package/expo-config-plugin/dist/withAppBuildGradle.d.ts +0 -3
  777. package/expo-config-plugin/dist/withAppDelegate.d.ts +0 -4
  778. package/expo-config-plugin/dist/withBuildProperties.d.ts +0 -3
  779. package/expo-config-plugin/dist/withIosScreenCapture/addBroadcastExtensionXcodeTarget.d.ts +0 -11
  780. package/expo-config-plugin/dist/withIosScreenCapture/index.d.ts +0 -4
  781. package/expo-config-plugin/dist/withIosScreenCapture/withFilesMod.d.ts +0 -4
  782. package/expo-config-plugin/dist/withIosScreenCapture/withPlistUpdates.d.ts +0 -4
  783. package/expo-config-plugin/dist/withIosScreenCapture/withTarget.d.ts +0 -4
  784. package/expo-config-plugin/dist/withMainActivity.d.ts +0 -4
  785. package/expo-config-plugin/dist/withiOSInfoPlist.d.ts +0 -4
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import React, { useMemo } from 'react';
4
2
  import { Pressable, StyleSheet, Text, View } from 'react-native';
5
3
  import { MicOff, PinVertical, ScreenShareIndicator, VideoSlash } from '../../../icons';
@@ -13,7 +11,7 @@ import SpeechIndicator from './SpeechIndicator';
13
11
  /**
14
12
  * Props for the ParticipantLabel component.
15
13
  */
16
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
+
17
15
  /**
18
16
  * This component is used to display the participant label that contains the participant name, video/audio mute/unmute status.
19
17
  */
@@ -62,65 +60,55 @@ export const ParticipantLabel = ({
62
60
  const screenShareText = isLocalParticipant ? t('You are sharing your screen') : t('{{ userName }} is sharing their screen', {
63
61
  userName: participantName
64
62
  });
65
- return /*#__PURE__*/_jsxs(View, {
63
+ return /*#__PURE__*/React.createElement(View, {
66
64
  style: [styles.container, {
67
65
  backgroundColor: colors.sheetOverlay
68
66
  }, container],
69
- testID: ComponentTestIds.PARTICIPANT_SCREEN_SHARING,
70
- children: [/*#__PURE__*/_jsx(View, {
71
- style: [styles.screenShareIconContainer, {
72
- height: iconSizes.md,
73
- width: iconSizes.md
74
- }, screenShareIconContainer],
75
- children: /*#__PURE__*/_jsx(ScreenShareIndicator, {
76
- color: colors.iconPrimary
77
- })
78
- }), /*#__PURE__*/_jsx(Text, {
79
- style: [styles.userNameLabel, {
80
- color: colors.textPrimary
81
- }, typefaces.caption, userNameLabel],
82
- numberOfLines: 1,
83
- children: screenShareText
84
- })]
85
- });
67
+ testID: ComponentTestIds.PARTICIPANT_SCREEN_SHARING
68
+ }, /*#__PURE__*/React.createElement(View, {
69
+ style: [styles.screenShareIconContainer, {
70
+ height: iconSizes.md,
71
+ width: iconSizes.md
72
+ }, screenShareIconContainer]
73
+ }, /*#__PURE__*/React.createElement(ScreenShareIndicator, {
74
+ color: colors.iconPrimary
75
+ })), /*#__PURE__*/React.createElement(Text, {
76
+ style: [styles.userNameLabel, {
77
+ color: colors.textPrimary
78
+ }, typefaces.caption, userNameLabel],
79
+ numberOfLines: 1
80
+ }, screenShareText));
86
81
  }
87
- return /*#__PURE__*/_jsx(View, {
82
+ return /*#__PURE__*/React.createElement(View, {
88
83
  style: [styles.container, {
89
84
  backgroundColor: colors.sheetOverlay
90
- }, container],
91
- children: /*#__PURE__*/_jsxs(View, {
92
- style: styles.wrapper,
93
- children: [/*#__PURE__*/_jsx(Text, {
94
- style: [styles.userNameLabel, userNameLabel],
95
- numberOfLines: 1,
96
- children: participantLabel
97
- }), isAudioMuted && /*#__PURE__*/_jsx(View, {
98
- style: [styles.audioMutedIconContainer, audioMutedIconContainer],
99
- children: /*#__PURE__*/_jsx(MicOff, {
100
- color: colors.iconPrimary,
101
- size: iconSizes.sm
102
- })
103
- }), isVideoMuted && /*#__PURE__*/_jsx(View, {
104
- style: [styles.videoMutedIconContainer, videoMutedIconContainer],
105
- children: /*#__PURE__*/_jsx(VideoSlash, {
106
- color: colors.iconPrimary,
107
- size: iconSizes.sm
108
- })
109
- }), isPinningEnabled && /*#__PURE__*/_jsx(Pressable, {
110
- style: [styles.pinIconContainer, pinIconContainer],
111
- onPress: unPinParticipantHandler,
112
- children: /*#__PURE__*/_jsx(PinVertical, {
113
- color: colors.iconPrimary,
114
- size: iconSizes.sm
115
- })
116
- }), /*#__PURE__*/_jsx(View, {
117
- style: styles.indicatorWrapper,
118
- children: /*#__PURE__*/_jsx(SpeechIndicator, {
119
- isSpeaking: !isAudioMuted && participant.isDominantSpeaker
120
- })
121
- })]
122
- })
123
- });
85
+ }, container]
86
+ }, /*#__PURE__*/React.createElement(View, {
87
+ style: styles.wrapper
88
+ }, /*#__PURE__*/React.createElement(Text, {
89
+ style: [styles.userNameLabel, userNameLabel],
90
+ numberOfLines: 1
91
+ }, participantLabel), isAudioMuted && /*#__PURE__*/React.createElement(View, {
92
+ style: [styles.audioMutedIconContainer, audioMutedIconContainer]
93
+ }, /*#__PURE__*/React.createElement(MicOff, {
94
+ color: colors.iconPrimary,
95
+ size: iconSizes.sm
96
+ })), isVideoMuted && /*#__PURE__*/React.createElement(View, {
97
+ style: [styles.videoMutedIconContainer, videoMutedIconContainer]
98
+ }, /*#__PURE__*/React.createElement(VideoSlash, {
99
+ color: colors.iconPrimary,
100
+ size: iconSizes.sm
101
+ })), isPinningEnabled && /*#__PURE__*/React.createElement(Pressable, {
102
+ style: [styles.pinIconContainer, pinIconContainer],
103
+ onPress: unPinParticipantHandler
104
+ }, /*#__PURE__*/React.createElement(PinVertical, {
105
+ color: colors.iconPrimary,
106
+ size: iconSizes.sm
107
+ })), /*#__PURE__*/React.createElement(View, {
108
+ style: styles.indicatorWrapper
109
+ }, /*#__PURE__*/React.createElement(SpeechIndicator, {
110
+ isSpeaking: !isAudioMuted && participant.isDominantSpeaker
111
+ }))));
124
112
  };
125
113
  const useStyles = () => {
126
114
  const {
@@ -1 +1 @@
1
- {"version":3,"names":["React","useMemo","Pressable","StyleSheet","Text","View","MicOff","PinVertical","ScreenShareIndicator","VideoSlash","useCall","useI18n","ComponentTestIds","Z_INDEX","hasAudio","hasVideo","useTheme","SpeechIndicator","jsx","_jsx","jsxs","_jsxs","ParticipantLabel","participant","trackType","theme","colors","typefaces","variants","iconSizes","participantLabel","container","userNameLabel","audioMutedIconContainer","videoMutedIconContainer","pinIconContainer","screenShareIconContainer","styles","useStyles","name","userId","pin","sessionId","isLocalParticipant","call","t","participantName","isPinningEnabled","isLocalPin","isAudioMuted","isVideoMuted","unPinParticipantHandler","unpin","screenShareText","userName","style","backgroundColor","sheetOverlay","testID","PARTICIPANT_SCREEN_SHARING","children","height","md","width","color","iconPrimary","textPrimary","caption","numberOfLines","wrapper","size","sm","onPress","indicatorWrapper","isSpeaking","isDominantSpeaker","create","marginLeft","spacingSizes","flexDirection","alignItems","padding","maxHeight","borderTopRightRadius","marginBottom","flexShrink","zIndex","IN_FRONT","marginTop","fontSize","fontWeight","marginRight","justifyContent","xs"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantLabel.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SAASC,SAAS,EAAEC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAChE,SACEC,MAAM,EACNC,WAAW,EACXC,oBAAoB,EACpBC,UAAU,QACL,gBAAgB;AACvB,SAAS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IAClB;EACF,CAAC,CAAC,EACJ,CAACnE,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","useMemo","Pressable","StyleSheet","Text","View","MicOff","PinVertical","ScreenShareIndicator","VideoSlash","useCall","useI18n","ComponentTestIds","Z_INDEX","hasAudio","hasVideo","useTheme","SpeechIndicator","ParticipantLabel","participant","trackType","theme","colors","typefaces","variants","iconSizes","participantLabel","container","userNameLabel","audioMutedIconContainer","videoMutedIconContainer","pinIconContainer","screenShareIconContainer","styles","useStyles","name","userId","pin","sessionId","isLocalParticipant","call","t","participantName","isPinningEnabled","isLocalPin","isAudioMuted","isVideoMuted","unPinParticipantHandler","unpin","screenShareText","userName","createElement","style","backgroundColor","sheetOverlay","testID","PARTICIPANT_SCREEN_SHARING","height","md","width","color","iconPrimary","textPrimary","caption","numberOfLines","wrapper","size","sm","onPress","indicatorWrapper","isSpeaking","isDominantSpeaker","create","marginLeft","spacingSizes","flexDirection","alignItems","padding","maxHeight","borderTopRightRadius","marginBottom","flexShrink","zIndex","IN_FRONT","marginTop","fontSize","fontWeight","marginRight","justifyContent","xs"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantLabel.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SAASC,SAAS,EAAEC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAChE,SACEC,MAAM,EACNC,WAAW,EACXC,oBAAoB,EACpBC,UAAU,QACL,gBAAgB;AACvB,SAASC,OAAO,EAAEC,OAAO,QAAQ,iCAAiC;AAClE,SAASC,gBAAgB,QAAQ,4BAA4B;AAE7D,SAASC,OAAO,QAAQ,oBAAoB;AAC5C,SAASC,QAAQ,EAAEC,QAAQ,QAAQ,yBAAyB;AAC5D,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,OAAOC,eAAe,MAAM,mBAAmB;;AAE/C;AACA;AACA;;AAMA;AACA;AACA;AACA,O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AC;IACDhD,SAAS,EAAE;MACTgD,aAAa,EAAE,KAAK;MACpBC,UAAU,EAAE,QAAQ;MACpBC,OAAO,EAAExD,KAAK,CAACG,QAAQ,CAACkD,YAAY,CAACP,EAAE;MACvCW,SAAS,EAAE,EAAE;MACbC,oBAAoB,EAAE,CAAC;MACvBC,YAAY,EAAE,CAAC,CAAC;MAChBC,UAAU,EAAE,CAAC;MACbC,MAAM,EAAErE,OAAO,CAACsE;IAClB,CAAC;IACDvD,aAAa,EAAE;MACbqD,UAAU,EAAE,CAAC;MACbG,SAAS,EAAE,CAAC;MACZC,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE,KAAK;MACjB1B,KAAK,EAAEvC,KAAK,CAACC,MAAM,CAACwC;IACtB,CAAC;IACD9B,wBAAwB,EAAE;MACxBuD,WAAW,EAAElE,KAAK,CAACG,QAAQ,CAACkD,YAAY,CAACP,EAAE;MAC3CqB,cAAc,EAAE;IAClB,CAAC;IACD3D,uBAAuB,EAAE;MACvB4C,UAAU,EAAEpD,KAAK,CAACG,QAAQ,CAACkD,YAAY,CAACe,EAAE;MAC1CD,cAAc,EAAE;IAClB,CAAC;IACD1D,uBAAuB,EAAE;MACvB2C,UAAU,EAAEpD,KAAK,CAACG,QAAQ,CAACkD,YAAY,CAACe,EAAE;MAC1CD,cAAc,EAAE;IAClB,CAAC;IACDzD,gBAAgB,EAAE;MAChB0C,UAAU,EAAEpD,KAAK,CAACG,QAAQ,CAACkD,YAAY,CAACe,EAAE;MAC1CD,cAAc,EAAE;IAClB;EACF,CAAC,CAAC,EACJ,CAACnE,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import { StyleSheet, View } from 'react-native';
4
2
  import { Path, Svg } from 'react-native-svg';
5
3
  import { SfuModels } from '@stream-io/video-client';
@@ -10,7 +8,7 @@ import { useTheme } from '../../../contexts/ThemeContext';
10
8
  /**
11
9
  * Props for the NetworkQualityIndicator component.
12
10
  */
13
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
+
14
12
  const useConnectionQualitySignalColors = participant => {
15
13
  const {
16
14
  theme: {
@@ -50,39 +48,37 @@ export const ParticipantNetworkQualityIndicator = ({
50
48
  if (!connectionQualityColors) {
51
49
  return null;
52
50
  }
53
- return /*#__PURE__*/_jsx(View, {
51
+ return /*#__PURE__*/React.createElement(View, {
54
52
  style: [styles.container, {
55
53
  backgroundColor: colors.sheetOverlay,
56
54
  height: iconSizes.lg,
57
55
  width: iconSizes.lg
58
- }, participantNetworkQualityIndicator.container],
59
- children: /*#__PURE__*/_jsxs(Svg, {
60
- viewBox: "0 0 34 34",
61
- fill: 'none',
62
- children: [/*#__PURE__*/_jsx(Path, {
63
- d: "M 9.97559 22.3379 L 9.97559 19.616",
64
- stroke: connectionQualityColors[0],
65
- strokeWidth: 3,
66
- strokeLinecap: "round",
67
- strokeLinejoin: "round",
68
- fill: connectionQualityColors[0]
69
- }), /*#__PURE__*/_jsx(Path, {
70
- d: "M 16.7808 22.3379 L 16.7808 15.5331",
71
- stroke: connectionQualityColors[1],
72
- strokeWidth: 3,
73
- strokeLinecap: "round",
74
- strokeLinejoin: "round",
75
- fill: connectionQualityColors[1]
76
- }), /*#__PURE__*/_jsx(Path, {
77
- d: "M 23.5854 22.3379 L 23.5854 11.4502",
78
- stroke: connectionQualityColors[2],
79
- strokeWidth: 3,
80
- strokeLinecap: "round",
81
- strokeLinejoin: "round",
82
- fill: connectionQualityColors[2]
83
- })]
84
- })
85
- });
56
+ }, participantNetworkQualityIndicator.container]
57
+ }, /*#__PURE__*/React.createElement(Svg, {
58
+ viewBox: "0 0 34 34",
59
+ fill: 'none'
60
+ }, /*#__PURE__*/React.createElement(Path, {
61
+ d: "M 9.97559 22.3379 L 9.97559 19.616",
62
+ stroke: connectionQualityColors[0],
63
+ strokeWidth: 3,
64
+ strokeLinecap: "round",
65
+ strokeLinejoin: "round",
66
+ fill: connectionQualityColors[0]
67
+ }), /*#__PURE__*/React.createElement(Path, {
68
+ d: "M 16.7808 22.3379 L 16.7808 15.5331",
69
+ stroke: connectionQualityColors[1],
70
+ strokeWidth: 3,
71
+ strokeLinecap: "round",
72
+ strokeLinejoin: "round",
73
+ fill: connectionQualityColors[1]
74
+ }), /*#__PURE__*/React.createElement(Path, {
75
+ d: "M 23.5854 22.3379 L 23.5854 11.4502",
76
+ stroke: connectionQualityColors[2],
77
+ strokeWidth: 3,
78
+ strokeLinecap: "round",
79
+ strokeLinejoin: "round",
80
+ fill: connectionQualityColors[2]
81
+ })));
86
82
  };
87
83
  const styles = StyleSheet.create({
88
84
  container: {
@@ -1 +1 @@
1
- {"version":3,"names":["StyleSheet","View","Path","Svg","SfuModels","React","Z_INDEX","useTheme","jsx","_jsx","jsxs","_jsxs","useConnectionQualitySignalColors","participant","theme","colors","connectionQuality","ConnectionQuality","EXCELLENT","iconSuccess","GOOD","iconPrimary","POOR","iconWarning","ParticipantNetworkQualityIndicator","variants","iconSizes","participantNetworkQualityIndicator","connectionQualityColors","style","styles","container","backgroundColor","sheetOverlay","height","lg","width","children","viewBox","fill","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin","create","zIndex","IN_FRONT","alignSelf","borderTopLeftRadius"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,IAAI,EAAEC,GAAG,QAAQ,kBAAkB;AAC5C,SAASC,SAAS,QAAQ,yBAAyB;AACnD,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,OAAO,QAAQ,oBAAoB;AAE5C,SAASC,QAAQ,QAAQ,gCAAgC;;AAEzD;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAQA,MAAMC,gCAAgC,GACpCC,WAAgD,IAC7C;EACH,MAAM;IACJC,KAAK,EAAE;MAAEC;IAA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W;MAACC,IAAI,EAAE,MAAO;MAAAF,QAAA,gBACpC5B,IAAA,CAACP,IAAI;QACHsC,CAAC,EAAC,oCAAoC;QACtCC,MAAM,EAAEb,uBAAuB,CAAC,CAAC,CAAE;QACnCc,WAAW,EAAE,CAAE;QACfC,aAAa,EAAC,OAAO;QACrBC,cAAc,EAAC,OAAO;QACtBL,IAAI,EAAEX,uBAAuB,CAAC,CAAC;MAAE,CAClC,CAAC,eACFnB,IAAA,CAACP,IAAI;QACHsC,CAAC,EAAC,qCAAqC;QACvCC,MAAM,EAAEb,uBAAuB,CAAC,CAAC,CAAE;QACnCc,WAAW,EAAE,CAAE;QACfC,aAAa,EAAC,OAAO;QACrBC,cAAc,EAAC,OAAO;QACtBL,IAAI,EAAEX,uBAAuB,CAAC,CAAC;MAAE,CAClC,CAAC,eACFnB,IAAA,CAACP,IAAI;QACHsC,CAAC,EAAC,qCAAqC;QACvCC,MAAM,EAAEb,uBAAuB,CAAC,CAAC,CAAE;QACnCc,WAAW,EAAE,CAAE;QACfC,aAAa,EAAC,OAAO;QACrBC,cAAc,EAAC,OAAO;QACtBL,IAAI,EAAEX,uBAAuB,CAAC,CAAC;MAAE,CAClC,CAAC;IAAA,CACC;EAAC,CACF,CAAC;AAEX,CAAC;AAED,MAAME,MAAM,GAAG9B,UAAU,CAAC6C,MAAM,CAAC;EAC/Bd,SAAS,EAAE;IACTe,MAAM,EAAExC,OAAO,CAACyC,QAAQ;IACxBC,SAAS,EAAE,UAAU;IACrBC,mBAAmB,EAAE;EACvB;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["StyleSheet","View","Path","Svg","SfuModels","React","Z_INDEX","useTheme","useConnectionQualitySignalColors","participant","theme","colors","connectionQuality","ConnectionQuality","EXCELLENT","iconSuccess","GOOD","iconPrimary","POOR","iconWarning","ParticipantNetworkQualityIndicator","variants","iconSizes","participantNetworkQualityIndicator","connectionQualityColors","createElement","style","styles","container","backgroundColor","sheetOverlay","height","lg","width","viewBox","fill","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin","create","zIndex","IN_FRONT","alignSelf","borderTopLeftRadius"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.tsx"],"mappings":"AAAA,SAASA,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,IAAI,EAAEC,GAAG,QAAQ,kBAAkB;AAC5C,SAASC,SAAS,QAAQ,yBAAyB;AACnD,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,OAAO,QAAQ,oBAAoB;AAE5C,SAASC,QAAQ,QAAQ,gCAAgC;;AAEzD;AACA;AACA;;AAMA,MAAMC,gCAAgC,GACpCC,WAAgD,IAC7C;EACH,MAAM;IACJC,KAAK,EAAE;MAAEC;IAAO;EAClB,CAAC,GAAGJ,QAAQ,CAAC,CAAC;EACd,MAAM;IAAEK;EAAkB,CAAC,GAAGH,WAAW;EACzC,IAAI,CAACG,iBAAiB,EAAE;IACtB,OAAO,IAAI;EACb;EAEA,QAAQA,iBAAiB;IACvB,KAAKR,SAAS,CAACS,iBAAiB,CAACC,SAAS;MACxC,OAAO,CAACH,MAAM,CAACI,WAAW,EAAEJ,MAAM,CAACI,WAAW,EAAEJ,MAAM,CAACI,WAAW,CAAC;IACrE,KAAKX,SAAS,CAACS,iBAAiB,CAACG,IAAI;MACnC,OAAO,CAACL,MAAM,CAACI,WAAW,EAAEJ,MAAM,CAACI,WAAW,EAAEJ,MAAM,CAACM,WAAW,CAAC;IACrE,KAAKb,SAAS,CAACS,iBAAiB,CAACK,IAAI;MACnC,OAAO,CAACP,MAAM,CAACQ,WAAW,EAAER,MAAM,CAACM,WAAW,EAAEN,MAAM,CAACM,WAAW,CAAC;IACrE;MACE,OAAO,IAAI;EACf;AACF,CAAC;AAED,OAAO,MAAMG,kCAAkC,GAAGA,CAAC;EACjDX;AACuC,CAAC,KAAK;EAC7C,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNU,QAAQ,EA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AI,EAAEX,uBAAuB,CAAC,CAAC;EAAE,CAClC,CACE,CACD,CAAC;AAEX,CAAC;AAED,MAAMG,MAAM,GAAG3B,UAAU,CAACyC,MAAM,CAAC;EAC/Bb,SAAS,EAAE;IACTc,MAAM,EAAEpC,OAAO,CAACqC,QAAQ;IACxBC,SAAS,EAAE,UAAU;IACrBC,mBAAmB,EAAE;EACvB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import React, { useEffect, useMemo } from 'react';
4
2
  import { StyleSheet, Text, View } from 'react-native';
5
3
  import { useCall } from '@stream-io/video-react-bindings';
@@ -9,7 +7,7 @@ import { useTheme } from '../../../contexts/ThemeContext';
9
7
  /**
10
8
  * Props for the ParticipantReaction component.
11
9
  */
12
- import { jsx as _jsx } from "react/jsx-runtime";
10
+
13
11
  /**
14
12
  * This component is used to display the current participant reaction.
15
13
  */
@@ -42,16 +40,13 @@ export const ParticipantReaction = ({
42
40
  };
43
41
  }, [call, hideAfterTimeoutInMs, sessionId, reaction]);
44
42
  const currentReaction = reaction && supportedReactions.find(supportedReaction => supportedReaction.emoji_code === reaction.emoji_code);
45
- return currentReaction?.icon != null && /*#__PURE__*/_jsx(View, {
46
- style: [styles.container, participantReaction.container],
47
- children: /*#__PURE__*/_jsx(View, {
48
- style: styles.reaction,
49
- children: /*#__PURE__*/_jsx(Text, {
50
- style: [participantReaction.reaction, typefaces.heading6],
51
- children: currentReaction?.icon
52
- })
53
- })
54
- });
43
+ return currentReaction?.icon != null && /*#__PURE__*/React.createElement(View, {
44
+ style: [styles.container, participantReaction.container]
45
+ }, /*#__PURE__*/React.createElement(View, {
46
+ style: styles.reaction
47
+ }, /*#__PURE__*/React.createElement(Text, {
48
+ style: [participantReaction.reaction, typefaces.heading6]
49
+ }, currentReaction?.icon)));
55
50
  };
56
51
  const useStyles = () => {
57
52
  const {
@@ -1 +1 @@
1
- {"version":3,"names":["React","useEffect","useMemo","StyleSheet","Text","View","useCall","Z_INDEX","defaultEmojiReactions","useTheme","jsx","_jsx","ParticipantReaction","participant","supportedReactions","hideAfterTimeoutInMs","reaction","sessionId","call","styles","useStyles","theme","typefaces","participantReaction","timeoutId","setTimeout","resetReaction","clearTimeout","currentReaction","find","supportedReaction","emoji_code","icon","style","container","children","heading6","create","flex","zIndex","IN_FRONT","borderRadius","variants","borderRadiusSizes","sm","backgroundColor","colors","sheetOverlay","alignSelf","marginRight","spacingSizes","md","marginTop","height","roundButtonSizes","width","alignItems","justifyContent"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantReaction.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO,QAAQ,OAAO;AACjD,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SAASC,OAAO,QAAQ,iCAAiC;AACzD,SAASC,OAAO,EAAEC,qBAAqB,QAAQ,oBAAoB;AAEnE,SAASC,QAAQ,QAAQ,gCAAgC;;AAGzD;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA;AAgBA;AACA;AACA;AACA,OAAO,MAAMC,mBAAmB,GAAGA,CAAC;EAClCC,WAAW;EACXC,kBAAkB,GAAGN,qBAAqB;EAC1CO,oBAAoB,GAAG;AACC,CAAC,KAAK;EAC9B,MAAM;IAAEC,QAAQ;IAAEC;EAAU,CAAC,GAAGJ,WAAW;EAC3C,MAAMK,IAAI,GAAGZ,OAAO,CAAC,CAAC;EACtB,MAAMa,MAAM,GAAGC,SAAS,CAAC,CAAC;EAC1B,MAAM;IACJC,KAAK,EAAE;MAAEC,SAAS;MAAEC;IAAoB;EAC1C,CAAC,GAAGd,QAAQ,CAAC,CAAC;EAEdR,SAAS,CAAC,MAAM;IACd,IAAIuB,SAAyB;IAC7B,IAAIN,IAAI,EAAE;MACRM,SAAS,GAAGC,UAAU,CAAC,MAAM;QAC3BP,IAAI,CAACQ,aAAa,CAACT,SAAS,CAAC;MAC/B,CAA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C3CC,SAAS,EAAE/B,KAAK,CAACqB,QAAQ,CAACQ,YAAY,CAACC,EAAE;MACzCE,MAAM,EAAEhC,KAAK,CAACqB,QAAQ,CAACY,gBAAgB,CAACH,EAAE;MAC1CI,KAAK,EAAElC,KAAK,CAACqB,QAAQ,CAACY,gBAAgB,CAACH,EAAE;MACzCK,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE;IAClB;EACF,CAAC,CAAC,EACJ,CAACpC,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","useEffect","useMemo","StyleSheet","Text","View","useCall","Z_INDEX","defaultEmojiReactions","useTheme","ParticipantReaction","participant","supportedReactions","hideAfterTimeoutInMs","reaction","sessionId","call","styles","useStyles","theme","typefaces","participantReaction","timeoutId","setTimeout","resetReaction","clearTimeout","currentReaction","find","supportedReaction","emoji_code","icon","createElement","style","container","heading6","create","flex","zIndex","IN_FRONT","borderRadius","variants","borderRadiusSizes","sm","backgroundColor","colors","sheetOverlay","alignSelf","marginRight","spacingSizes","md","marginTop","height","roundButtonSizes","width","alignItems","justifyContent"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantReaction.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO,QAAQ,OAAO;AACjD,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SAASC,OAAO,QAAQ,iCAAiC;AACzD,SAASC,OAAO,EAAEC,qBAAqB,QAAQ,oBAAoB;AAEnE,SAASC,QAAQ,QAAQ,gCAAgC;;AAGzD;AACA;AACA;;AAcA;AACA;AACA;AACA,OAAO,MAAMC,mBAAmB,GAAGA,CAAC;EAClCC,WAAW;EACXC,kBAAkB,GAAGJ,qBAAqB;EAC1CK,oBAAoB,GAAG;AACC,CAAC,KAAK;EAC9B,MAAM;IAAEC,QAAQ;IAAEC;EAAU,CAAC,GAAGJ,WAAW;EAC3C,MAAMK,IAAI,GAAG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AChBF,SAAS,EAAE;MACTG,IAAI,EAAE,CAAC;MACPC,MAAM,EAAE9B,OAAO,CAAC+B;IAClB,CAAC;IACDxB,QAAQ,EAAE;MACRyB,YAAY,EAAEpB,KAAK,CAACqB,QAAQ,CAACC,iBAAiB,CAACC,EAAE;MACjDC,eAAe,EAAExB,KAAK,CAACyB,MAAM,CAACC,YAAY;MAC1CC,SAAS,EAAE,UAAU;MACrBC,WAAW,EAAE5B,KAAK,CAACqB,QAAQ,CAACQ,YAAY,CAACC,EAAE;MAC3CC,SAAS,EAAE/B,KAAK,CAACqB,QAAQ,CAACQ,YAAY,CAACC,EAAE;MACzCE,MAAM,EAAEhC,KAAK,CAACqB,QAAQ,CAACY,gBAAgB,CAACH,EAAE;MAC1CI,KAAK,EAAElC,KAAK,CAACqB,QAAQ,CAACY,gBAAgB,CAACH,EAAE;MACzCK,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE;IAClB;EACF,CAAC,CAAC,EACJ,CAACpC,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import React from 'react';
4
2
  import { StyleSheet, Text, View } from 'react-native';
5
3
  import { Avatar } from '../../utility';
@@ -8,7 +6,7 @@ import { useTheme } from '../../../contexts/ThemeContext';
8
6
  /**
9
7
  * Props for the ParticipantVideoFallback component.
10
8
  */
11
- import { jsx as _jsx } from "react/jsx-runtime";
9
+
12
10
  /**
13
11
  * This component is used to customize the video fallback of the participant, when the video is disabled.
14
12
  */
@@ -30,24 +28,22 @@ export const ParticipantVideoFallback = ({
30
28
  const participantLabel = name ?? userId;
31
29
 
32
30
  // Display the Participant name/user id if the image isn't present.
33
- return /*#__PURE__*/_jsx(View, {
31
+ return /*#__PURE__*/React.createElement(View, {
34
32
  style: [styles.container, {
35
33
  backgroundColor: colors.sheetTertiary
36
- }, participantVideoFallback.container],
37
- children: !image ? /*#__PURE__*/_jsx(Text, {
38
- style: [{
39
- color: colors.textPrimary
40
- }, typefaces.bodyBold, participantVideoFallback.label],
41
- children: participantLabel
42
- }) : /*#__PURE__*/_jsx(Avatar, {
43
- participant: participant,
44
- style: {
45
- container: participantVideoFallback.avatarContainer,
46
- image: participantVideoFallback.avatarImage,
47
- text: participantVideoFallback.avatarText
48
- }
49
- })
50
- });
34
+ }, participantVideoFallback.container]
35
+ }, !image ? /*#__PURE__*/React.createElement(Text, {
36
+ style: [{
37
+ color: colors.textPrimary
38
+ }, typefaces.bodyBold, participantVideoFallback.label]
39
+ }, participantLabel) : /*#__PURE__*/React.createElement(Avatar, {
40
+ participant: participant,
41
+ style: {
42
+ container: participantVideoFallback.avatarContainer,
43
+ image: participantVideoFallback.avatarImage,
44
+ text: participantVideoFallback.avatarText
45
+ }
46
+ }));
51
47
  };
52
48
  const styles = StyleSheet.create({
53
49
  container: {
@@ -1 +1 @@
1
- {"version":3,"names":["React","StyleSheet","Text","View","Avatar","useTheme","jsx","_jsx","ParticipantVideoFallback","participant","theme","colors","typefaces","participantVideoFallback","name","image","userId","participantLabel","style","styles","container","backgroundColor","sheetTertiary","children","color","textPrimary","bodyBold","label","avatarContainer","avatarImage","text","avatarText","create","alignItems","justifyContent","absoluteFillObject"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantVideoFallback.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SAASC,MAAM,QAAQ,eAAe;AAEtC,SAASC,QAAQ,QAAQ,gCAAgC;;AAEzD;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA;AAQA;AACA;AACA;AACA,OAAO,MAAMC,wBAAwB,GAAGA,CAAC;EACvCC;AAC6B,CAAC,KAAK;EACnC,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,SAAS;MAAEC;IAAyB;EACvD,CAAC,GAAGR,QAAQ,CAAC,CAAC;EACd,MAAM;IAAES,IAAI;IAAEC,KAAK;IAAEC;EAAO,CAAC,GAAGP,WAAW;EAC3C,MAAMQ,gBAAgB,GAAGH,IAAI,IAAIE,MAAM;;EAEvC;EACA,oBACET,IAAA,CAACJ,IAAI;IACHe,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChB;MAAEC,eAAe,EAAEV,MAAM,CAACW;IAAc,CAAC,EACzCT,wBAAwB,CAACO,SAAS,CAClC;IAAAG,QAAA,EAED,CAACR,KAAK,gBACLR,IAAA,CAACL,IAAI;MACHgB,KAAK,EAAE,CACL;QAAEM,KAAK,EAAEb,MAAM,CAACc;MAAY,CAAC,EAC7Bb,SAAS,CAACc,QAAQ,EAClBb,wBAAwB,CAACc,KAAK,CAC9B;MAAAJ,QAAA,EAEDN;IAAgB,CACb,CAAC,gBAEPV,IAAA,CAACH,MAAM;MACLK,WAAW,EAAEA,WAAY;MACzBS,KAAK,EAAE;QACLE,SAAS,EAAEP,wBAAwB,CAACe,eAAe;QACnDb,KAAK,EAAEF,wBAAwB,CAACgB,WAAW;QAC3CC,IAAI,EAAEjB,wBAAwB,CAACkB;MACjC;IAAE,CACH;EACF,CACG,CAAC;AAEX,CAAC;AAED,MAAMZ,MAAM,GAAGlB,UAAU,CAAC+B,MAAM,CAAC;EAC/BZ,SAAS,EAAE;IACTa,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxB,GAAGjC,UAAU,CAACkC;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","StyleSheet","Text","View","Avatar","useTheme","ParticipantVideoFallback","participant","theme","colors","typefaces","participantVideoFallback","name","image","userId","participantLabel","createElement","style","styles","container","backgroundColor","sheetTertiary","color","textPrimary","bodyBold","label","avatarContainer","avatarImage","text","avatarText","create","alignItems","justifyContent","absoluteFillObject"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantVideoFallback.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SA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C;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import React, { useMemo } from 'react';
4
2
  import { StyleSheet, View } from 'react-native';
5
3
  import { ParticipantNetworkQualityIndicator as DefaultParticipantNetworkQualityIndicator } from './ParticipantNetworkQualityIndicator';
@@ -12,7 +10,7 @@ import { useTheme } from '../../../contexts/ThemeContext';
12
10
  /**
13
11
  * Props to be passed for the Participant component.
14
12
  */
15
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+
16
14
  /**
17
15
  * A component that renders the participants' video track or screenShare track
18
16
  * and additional info. By an absence of a video track or when isVisible is truthy,
@@ -48,29 +46,27 @@ export const ParticipantView = ({
48
46
  const speakerStyle = applySpeakerStyle && [{
49
47
  borderColor: colors.buttonPrimary
50
48
  }, participantView.highlightedContainer];
51
- return /*#__PURE__*/_jsxs(View, {
49
+ return /*#__PURE__*/React.createElement(View, {
52
50
  style: [styles.container, style, speakerStyle],
53
- testID: isSpeaking ? `participant-${userId}-is-speaking` : `participant-${userId}-is-not-speaking`,
54
- children: [ParticipantReaction && /*#__PURE__*/_jsx(ParticipantReaction, {
55
- participant: participant,
56
- supportedReactions: supportedReactions
57
- }), VideoRenderer && /*#__PURE__*/_jsx(VideoRenderer, {
58
- isVisible: isVisible,
59
- participant: participant,
60
- trackType: trackType,
61
- ParticipantVideoFallback: ParticipantVideoFallback,
62
- objectFit: objectFit,
63
- videoZOrder: videoZOrder
64
- }), /*#__PURE__*/_jsxs(View, {
65
- style: [styles.footerContainer, participantView.footerContainer, !ParticipantLabel && styles.networkIndicatorOnly],
66
- children: [ParticipantLabel && /*#__PURE__*/_jsx(ParticipantLabel, {
67
- participant: participant,
68
- trackType: trackType
69
- }), ParticipantNetworkQualityIndicator && /*#__PURE__*/_jsx(ParticipantNetworkQualityIndicator, {
70
- participant: participant
71
- })]
72
- })]
73
- });
51
+ testID: isSpeaking ? `participant-${userId}-is-speaking` : `participant-${userId}-is-not-speaking`
52
+ }, ParticipantReaction && /*#__PURE__*/React.createElement(ParticipantReaction, {
53
+ participant: participant,
54
+ supportedReactions: supportedReactions
55
+ }), VideoRenderer && /*#__PURE__*/React.createElement(VideoRenderer, {
56
+ isVisible: isVisible,
57
+ participant: participant,
58
+ trackType: trackType,
59
+ ParticipantVideoFallback: ParticipantVideoFallback,
60
+ objectFit: objectFit,
61
+ videoZOrder: videoZOrder
62
+ }), /*#__PURE__*/React.createElement(View, {
63
+ style: [styles.footerContainer, participantView.footerContainer, !ParticipantLabel && styles.networkIndicatorOnly]
64
+ }, ParticipantLabel && /*#__PURE__*/React.createElement(ParticipantLabel, {
65
+ participant: participant,
66
+ trackType: trackType
67
+ }), ParticipantNetworkQualityIndicator && /*#__PURE__*/React.createElement(ParticipantNetworkQualityIndicator, {
68
+ participant: participant
69
+ })));
74
70
  };
75
71
  const useStyles = () => {
76
72
  const {
@@ -1 +1 @@
1
- {"version":3,"names":["React","useMemo","StyleSheet","View","ParticipantNetworkQualityIndicator","DefaultParticipantNetworkQualityIndicator","ParticipantReaction","DefaultParticipantReaction","ParticipantLabel","DefaultParticipantLabel","ParticipantVideoFallback","DefaultParticipantVideoFallback","VideoRenderer","DefaultVideoRenderer","useTheme","jsx","_jsx","jsxs","_jsxs","ParticipantView","participant","trackType","isVisible","style","objectFit","videoZOrder","supportedReactions","theme","colors","participantView","isSpeaking","userId","styles","useStyles","isScreenSharing","applySpeakerStyle","speakerStyle","borderColor","buttonPrimary","highlightedContainer","container","testID","children","footerContainer","networkIndicatorOnly","create","overflow","justifyContent","borderRadius","variants","borderRadiusSizes","md","borderWidth","flexDirection","alignItems"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantView.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAmBC,OAAO,QAAQ,OAAO;AACrD,SAAoBC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AAKrE,SACEC,kCAAkC,IAAIC,yCAAyC,QAE1E,sCAAsC;A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O,UAAU,EAAE;IACd,CAAC;IACDV,oBAAoB,EAAE;MAAEG,cAAc,EAAE;IAAW;EACrD,CAAC,CAAC,EACJ,CAACpB,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","useMemo","StyleSheet","View","ParticipantNetworkQualityIndicator","DefaultParticipantNetworkQualityIndicator","ParticipantReaction","DefaultParticipantReaction","ParticipantLabel","DefaultParticipantLabel","ParticipantVideoFallback","DefaultParticipantVideoFallback","VideoRenderer","DefaultVideoRenderer","useTheme","ParticipantView","participant","trackType","isVisible","style","objectFit","videoZOrder","supportedReactions","theme","colors","participantView","isSpeaking","userId","styles","useStyles","isScreenSharing","applySpeakerStyle","speakerStyle","borderColor","buttonPrimary","highlightedContainer","createElement","container","testID","footerContainer","networkIndicatorOnly","create","overflow","justifyContent","borderRadius","variants","borderRadiusSizes","md","borderWidth","flexDirection","alignItems"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/ParticipantView.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAwBC,OAAO,QAAQ,OAAO;AAC1D,SAAyBC,UAAU,EAAEC,IAAI,QAAwB,cAAc;AAK/E,SACEC,kCAAkC,IAAIC,yCAAyC,QAE1E,sCAAsC;AAC7C,SACEC,mBAAmB,IAAIC,0BAA0B,QAE5C,uBAAuB;AAC9B,SACEC,gBAAgB,IAAIC,uBAAuB,QAEtC,oBAAoB;AAC3B,SACEC,wBAAwB,IAAIC,+BAA+B,QAEtD,4BAA4B;AACnC,SACEC,aAAa,IAAIC,oBAAoB,QAEhC,iBAAiB;AACxB,SAASC,QAAQ,QAAQ,gCAAgC;;AA0BzD;AACA;AACA;;AAsCA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,eAAe,GAAGA,CAAC;EAC9BC,WAAW;EACXC,SAAS,GAAG,YAAY;EACxBC,SAAS,GAAG,IAAI;EAChBC,KAAK;EACLX,gBAAgB,GAAGC,uBAAuB;EAC1CH,mBAAmB,GAAGC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CAACW,eAAe,EACtBd,eAAe,CAACc,eAAe,EAC/B,CAAC/B,gBAAgB,IAAIoB,MAAM,CAACY,oBAAoB;EAChD,GAEDhC,gBAAgB,iBACfR,KAAA,CAAAoC,aAAA,CAAC5B,gBAAgB;IAACQ,WAAW,EAAEA,WAAY;IAACC,SAAS,EAAEA;EAAU,CAAE,CACpE,EACAb,kCAAkC,iBACjCJ,KAAA,CAAAoC,aAAA,CAAChC,kCAAkC;IAACY,WAAW,EAAEA;EAAY,CAAE,CAE7D,CACF,CAAC;AAEX,CAAC;AAED,MAAMa,SAAS,GAAGA,CAAA,KAAM;EACtB,MAAM;IAAEN;EAAM,CAAC,GAAGT,QAAQ,CAAC,CAAC;EAC5B,OAAOb,OAAO,CACZ,MACEC,UAAU,CAACuC,MAAM,CAAC;IAChBJ,SAAS,EAAE;MACTK,QAAQ,EAAE,QAAQ;MAClBC,cAAc,EAAE,UAAU;MAC1BC,YAAY,EAAErB,KAAK,CAACsB,QAAQ,CAACC,iBAAiB,CAACC,EAAE;MACjDC,WAAW,EAAE,CAAC;MACdf,WAAW,EAAE;IACf,CAAC;IACDM,eAAe,EAAE;MACfU,aAAa,EAAE,KAAK;MACpBN,cAAc,EAAE,eAAe;MAC/BO,UAAU,EAAE;IACd,CAAC;IACDV,oBAAoB,EAAE;MAAEG,cAAc,EAAE;IAAW;EACrD,CAAC,CAAC,EACJ,CAACpB,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import React, { useEffect, useMemo, useState } from 'react';
4
2
  import { View, Animated, StyleSheet } from 'react-native';
5
3
  import { useTheme } from '../../../contexts';
@@ -7,7 +5,7 @@ import { useTheme } from '../../../contexts';
7
5
  /**
8
6
  * Props for the SpeechIndicator component.
9
7
  */
10
- import { jsx as _jsx } from "react/jsx-runtime";
8
+
11
9
  /**
12
10
  * The SpeechIndicator component displays animated bars to indicate speech activity.
13
11
  * The bars animate when `isSpeaking` is true, mimicking a sound meter.
@@ -41,13 +39,13 @@ export const SpeechIndicator = ({
41
39
  scaleY: animatedValue
42
40
  }]
43
41
  });
44
- return /*#__PURE__*/_jsx(View, {
45
- style: [styles.container],
46
- children: animationValues.map((animatedValue, index) => /*#__PURE__*/_jsx(Animated.View, {
47
- style: [styles.bar, isSpeaking ? barStyle(animatedValue) : styles.smallBar // Apply smaller bar style when not speaking
48
- ]
49
- }, index))
50
- });
42
+ return /*#__PURE__*/React.createElement(View, {
43
+ style: [styles.container]
44
+ }, animationValues.map((animatedValue, index) => /*#__PURE__*/React.createElement(Animated.View, {
45
+ key: index,
46
+ style: [styles.bar, isSpeaking ? barStyle(animatedValue) : styles.smallBar // Apply smaller bar style when not speaking
47
+ ]
48
+ })));
51
49
  };
52
50
  const useStyles = () => {
53
51
  const {
@@ -1 +1 @@
1
- {"version":3,"names":["React","useEffect","useMemo","useState","View","Animated","StyleSheet","useTheme","jsx","_jsx","SpeechIndicator","isSpeaking","styles","useStyles","animationValues","Value","forEach","animatedValue","index","loop","sequence","timing","toValue","duration","useNativeDriver","start","setValue","barStyle","transform","scaleY","style","container","children","map","bar","smallBar","theme","create","flexDirection","justifyContent","alignItems","height","variants","roundButtonSizes","sm","width","borderRadius","gap","backgroundColor","colors","sheetOverlay","padding","iconSecondary"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/SpeechIndicator.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAC3D,SAASC,IAAI,EAAEC,QAAQ,EAAEC,UAAU,QAAQ,cAAc;AACzD,SAASC,QAAQ,QAAQ,mBAAmB;;AAE5C;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA;AAWA;AACA;AACA;AACA;AACA,OAAO,MAAMC,eAAe,GAAGA,CAAC;EAAEC;AAAiC,CAAC,KAAK;EACvE,MAAMC,MAAM,GAAGC,SAAS,CAAC,CAAC;EAE1B,MAAM,CAAC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C7BlB,eAAe,CAACmB,GAAG,CAAC,CAAChB,aAAa,EAAEC,KAAK,kBACxCT,IAAA,CAACJ,QAAQ,CAACD,IAAI;MAEZ0B,KAAK,EAAE,CACLlB,MAAM,CAACsB,GAAG,EACVvB,UAAU,GAAGgB,QAAQ,CAACV,aAAa,CAAC,GAAGL,MAAM,CAACuB,QAAQ,CAAE;MAAA;IACxD,GAJGjB,KAKN,CACF;EAAC,CACE,CAAC;AAEX,CAAC;AAED,MAAML,SAAS,GAAGA,CAAA,KAAM;EACtB,MAAM;IAAEuB;EAAM,CAAC,GAAG7B,QAAQ,CAAC,CAAC;EAC5B,OAAOL,OAAO,CACZ,MACEI,UAAU,CAAC+B,MAAM,CAAC;IAChBN,SAAS,EAAE;MACTO,aAAa,EAAE,KAAK;MACpBC,cAAc,EAAE,eAAe;MAC/BC,UAAU,EAAE,QAAQ;MACpBC,MAAM,EAAEL,KAAK,CAACM,QAAQ,CAACC,gBAAgB,CAACC,EAAE;MAC1CC,KAAK,EAAET,KAAK,CAACM,QAAQ,CAACC,gBAAgB,CAACC,EAAE;MACzCE,YAAY,EAAE,CAAC;MACfC,GAAG,EAAE,CAAC;MACNC,eAAe,EAAEZ,KAAK,CAACa,MAAM,CAACC,YAAY;MAC1CC,OAAO,EAAE;IACX,CAAC;IACDhB,QAAQ,EAAE;MACRM,MAAM,EAAE,KAAK,CAAE;IACjB,CAAC;IACDP,GAAG,EAAE;MACHW,KAAK,EAAE,CAAC;MACRJ,MAAM,EAAE,MAAM;MACdO,eAAe,EAAEZ,KAAK,CAACa,MAAM,CAACG,aAAa;MAC3CN,YAAY,EAAE;IAChB;EACF,CAAC,CAAC,EACJ,CAACV,KAAK,CACR,CAAC;AACH,CAAC;AAED,eAAe1B,eAAe","ignoreList":[]}
1
+ {"version":3,"names":["React","useEffect","useMemo","useState","View","Animated","StyleSheet","useTheme","SpeechIndicator","isSpeaking","styles","useStyles","animationValues","Value","forEach","animatedValue","index","loop","sequence","timing","toValue","duration","useNativeDriver","start","setValue","barStyle","transform","scaleY","createElement","style","container","map","key","bar","smallBar","theme","create","flexDirection","justifyContent","alignItems","height","variants","roundButtonSizes","sm","width","borderRadius","gap","backgroundColor","colors","sheetOverlay","padding","iconSecondary"],"sourceRoot":"../../../../../src","sources":["components/Participant/ParticipantView/SpeechIndicator.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAC3D,SAASC,IAAI,EAAEC,QAAQ,EAAEC,UAAU,QAAQ,cAAc;AACzD,SAASC,QAAQ,QAAQ,mBAAmB;;AAE5C;AACA;AACA;;AASA;AACA;AACA;AACA;AACA,OAAO,MAAMC,eAAe,GAAGA,CAAC;EAAEC;AAAiC,CAAC,KAAK;EACvE,MAAMC,MAAM,GAAGC,SAAS,CAAC,CAAC;EAE1B,MAAM,CAACC,eAAe,CAAC,GAAGT,QAAQ,CAAC,MAAM,CACvC,IAAIE,QAAQ,CAACQ,KAAK,CAAC,GAAG,CAAC,EACvB,IAAIR,QAAQ,CAACQ,KAAK,CAAC,GAAG,CAAC,EACvB,IAAIR,QAAQ,CAACQ,KAAK,CAAC,GAAG,CAAC,CACxB,CAAC;EAEFZ,SAAS,CAAC,MAAM;IACd,IAAIQ,UAAU,EAAE;MACdG,eAAe,CAACE,OAAO,CAAC,CAACC,aAAa,EAAEC,KAAK,KAAK;QAChDX,QAAQ,CAACY,IAAI,CACXZ,QAAQ,CAACa,QAAQ,CAAC,CAChBb,QAAQ,CAACc,MAAM,CAACJ,aAAa,EAAE;UAC7BK,OAAO,EAAEJ,KAAK,GAAG,CAAC,KAAK,CAAC,GAAG,GAAG,GAAG,GAAG;UACpCK,QAAQ,EAAE,CAACL,KAAK,GAAG,CAAC,IAAI,GAAG;UAC3BM,eAAe,EAAE;QACnB,CAAC,CAAC,EACFjB,QAAQ,CAACc,MAAM,CAACJ,aAAa,EAAE;UAC7BK,OAAO,EAAE,GAAG;UACZC,QAAQ,EAA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AAgB,CAACC,EAAE;MACzCE,YAAY,EAAE,CAAC;MACfC,GAAG,EAAE,CAAC;MACNC,eAAe,EAAEZ,KAAK,CAACa,MAAM,CAACC,YAAY;MAC1CC,OAAO,EAAE;IACX,CAAC;IACDhB,QAAQ,EAAE;MACRM,MAAM,EAAE,KAAK,CAAE;IACjB,CAAC;IACDP,GAAG,EAAE;MACHW,KAAK,EAAE,CAAC;MACRJ,MAAM,EAAE,MAAM;MACdO,eAAe,EAAEZ,KAAK,CAACa,MAAM,CAACG,aAAa;MAC3CN,YAAY,EAAE;IAChB;EACF,CAAC,CAAC,EACJ,CAACV,KAAK,CACR,CAAC;AACH,CAAC;AAED,eAAe3B,eAAe","ignoreList":[]}
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import React, { useEffect, useRef } from 'react';
4
2
  import { StyleSheet, View } from 'react-native';
5
3
  import { RTCView } from '@stream-io/react-native-webrtc';
@@ -8,7 +6,6 @@ import { useCall, useCallStateHooks } from '@stream-io/video-react-bindings';
8
6
  import { ParticipantVideoFallback as DefaultParticipantVideoFallback } from './ParticipantVideoFallback';
9
7
  import { useTheme } from '../../../contexts/ThemeContext';
10
8
  import { useTrackDimensions } from '../../../hooks/useTrackDimensions';
11
- import { jsx as _jsx } from "react/jsx-runtime";
12
9
  const DEFAULT_VIEWPORT_VISIBILITY_STATE = {
13
10
  videoTrack: VisibilityState.UNKNOWN,
14
11
  screenShareTrack: VisibilityState.UNKNOWN
@@ -193,19 +190,18 @@ export const VideoRenderer = ({
193
190
  subscribedVideoLayoutRef.current = dimension;
194
191
  pendingVideoLayoutRef.current = undefined;
195
192
  };
196
- return /*#__PURE__*/_jsx(View, {
193
+ return /*#__PURE__*/React.createElement(View, {
197
194
  onLayout: onLayout,
198
- style: [styles.container, videoRenderer.container],
199
- children: canShowVideo && videoStreamToRender ? /*#__PURE__*/_jsx(RTCView, {
200
- style: [styles.videoStream, videoRenderer.videoStream],
201
- streamURL: videoStreamToRender.toURL(),
202
- mirror: mirror,
203
- objectFit: objectFit ?? (videoDimensions.width > videoDimensions.height ? 'contain' : 'cover'),
204
- zOrder: videoZOrder
205
- }) : ParticipantVideoFallback && /*#__PURE__*/_jsx(ParticipantVideoFallback, {
206
- participant: participant
207
- })
208
- });
195
+ style: [styles.container, videoRenderer.container]
196
+ }, canShowVideo && videoStreamToRender ? /*#__PURE__*/React.createElement(RTCView, {
197
+ style: [styles.videoStream, videoRenderer.videoStream],
198
+ streamURL: videoStreamToRender.toURL(),
199
+ mirror: mirror,
200
+ objectFit: objectFit ?? (videoDimensions.width > videoDimensions.height ? 'contain' : 'cover'),
201
+ zOrder: videoZOrder
202
+ }) : ParticipantVideoFallback && /*#__PURE__*/React.createElement(ParticipantVideoFallback, {
203
+ participant: participant
204
+ }));
209
205
  };
210
206
  const styles = StyleSheet.create({
211
207
  container: {