@stream-io/video-react-native-sdk 1.39.1-beta.0 → 1.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/android/src/main/java/com/streamvideo/reactnative/recorder/TracksRecorderManager.kt +17 -8
- package/dist/commonjs/components/Call/CallContent/CallContent.js +93 -48
- package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
- package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js +22 -20
- package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
- package/dist/commonjs/components/Call/CallContent/RTCViewPipNative.js +2 -1
- package/dist/commonjs/components/Call/CallContent/RTCViewPipNative.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/CallControls.js +7 -5
- package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +11 -8
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +11 -9
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js +5 -3
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js +12 -9
- package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ReactionsButton.js +22 -15
- package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js +15 -11
- package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +13 -9
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +18 -13
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +17 -12
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +13 -9
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +17 -12
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +39 -34
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +17 -12
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +36 -24
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +30 -28
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +10 -7
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/Lobby.js +45 -35
- package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/LobbyFooter.js +21 -16
- package/dist/commonjs/components/Call/Lobby/LobbyFooter.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js +2 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js +2 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +32 -22
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +37 -27
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +13 -11
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js +28 -22
- package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +25 -22
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -1
- package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +38 -34
- package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +16 -12
- package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +16 -12
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +19 -14
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js +5 -3
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +19 -16
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +19 -14
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +11 -8
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +78 -57
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +13 -46
- package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamEnded.js +48 -22
- package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamEnded.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +7 -5
- package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +12 -9
- package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +11 -7
- package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +18 -13
- package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +10 -7
- package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +18 -13
- package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +41 -37
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLobby.js +33 -23
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLobby.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +18 -15
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +20 -16
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +55 -48
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +64 -52
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +30 -27
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +11 -7
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +17 -14
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +27 -24
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js +8 -7
- package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer/index.js +35 -32
- package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer/index.js.map +1 -1
- package/dist/commonjs/components/utility/Avatar.js +18 -15
- package/dist/commonjs/components/utility/Avatar.js.map +1 -1
- package/dist/commonjs/components/utility/ScreenShareOverlay.js +35 -29
- package/dist/commonjs/components/utility/ScreenShareOverlay.js.map +1 -1
- package/dist/commonjs/contexts/BackgroundFilters.js +5 -3
- package/dist/commonjs/contexts/BackgroundFilters.js.map +1 -1
- package/dist/commonjs/contexts/ThemeContext.js +5 -3
- package/dist/commonjs/contexts/ThemeContext.js.map +1 -1
- package/dist/commonjs/contexts/internal/ScreenshotIosContext.js +5 -3
- package/dist/commonjs/contexts/internal/ScreenshotIosContext.js.map +1 -1
- package/dist/commonjs/hooks/useAutoEnterPiPEffect.js +5 -10
- package/dist/commonjs/hooks/useAutoEnterPiPEffect.js.map +1 -1
- package/dist/commonjs/hooks/useLoopbackRecording.js +47 -27
- package/dist/commonjs/hooks/useLoopbackRecording.js.map +1 -1
- package/dist/commonjs/hooks/useModeration.js +4 -1
- package/dist/commonjs/hooks/useModeration.js.map +1 -1
- package/dist/commonjs/icons/Back.js +8 -6
- package/dist/commonjs/icons/Back.js.map +1 -1
- package/dist/commonjs/icons/BadNetwork.js +11 -9
- package/dist/commonjs/icons/BadNetwork.js.map +1 -1
- package/dist/commonjs/icons/CameraSwitch.js +8 -6
- package/dist/commonjs/icons/CameraSwitch.js.map +1 -1
- package/dist/commonjs/icons/EndStreamIcon.js +8 -6
- package/dist/commonjs/icons/EndStreamIcon.js.map +1 -1
- package/dist/commonjs/icons/Eye.js +8 -6
- package/dist/commonjs/icons/Eye.js.map +1 -1
- package/dist/commonjs/icons/IconWrapper.js +5 -3
- package/dist/commonjs/icons/IconWrapper.js.map +1 -1
- package/dist/commonjs/icons/LivestreamControls.js +44 -39
- package/dist/commonjs/icons/LivestreamControls.js.map +1 -1
- package/dist/commonjs/icons/Lock.js +8 -6
- package/dist/commonjs/icons/Lock.js.map +1 -1
- package/dist/commonjs/icons/Maximize.js +33 -31
- package/dist/commonjs/icons/Maximize.js.map +1 -1
- package/dist/commonjs/icons/Mic.js +8 -6
- package/dist/commonjs/icons/Mic.js.map +1 -1
- package/dist/commonjs/icons/MicOff.js +8 -6
- package/dist/commonjs/icons/MicOff.js.map +1 -1
- package/dist/commonjs/icons/Phone.js +8 -6
- package/dist/commonjs/icons/Phone.js.map +1 -1
- package/dist/commonjs/icons/PhoneDown.js +8 -6
- package/dist/commonjs/icons/PhoneDown.js.map +1 -1
- package/dist/commonjs/icons/PinVertical.js +8 -6
- package/dist/commonjs/icons/PinVertical.js.map +1 -1
- package/dist/commonjs/icons/Reaction.js +8 -6
- package/dist/commonjs/icons/Reaction.js.map +1 -1
- package/dist/commonjs/icons/ScreenShare.js +8 -6
- package/dist/commonjs/icons/ScreenShare.js.map +1 -1
- package/dist/commonjs/icons/ScreenShareIndicator.js +21 -18
- package/dist/commonjs/icons/ScreenShareIndicator.js.map +1 -1
- package/dist/commonjs/icons/StartStreamIcon.js +8 -6
- package/dist/commonjs/icons/StartStreamIcon.js.map +1 -1
- package/dist/commonjs/icons/StopScreenShare.js +11 -9
- package/dist/commonjs/icons/StopScreenShare.js.map +1 -1
- package/dist/commonjs/icons/Video.js +8 -6
- package/dist/commonjs/icons/Video.js.map +1 -1
- package/dist/commonjs/icons/VideoSlash.js +8 -6
- package/dist/commonjs/icons/VideoSlash.js.map +1 -1
- package/dist/commonjs/icons/index.js +0 -66
- package/dist/commonjs/icons/index.js.map +1 -1
- package/dist/commonjs/package.json +1 -0
- package/dist/commonjs/providers/BusyTonePlayer.js +7 -7
- package/dist/commonjs/providers/BusyTonePlayer.js.map +1 -1
- package/dist/commonjs/providers/NoiseCancellation/NoiseCancellationProvider.js +5 -3
- package/dist/commonjs/providers/NoiseCancellation/NoiseCancellationProvider.js.map +1 -1
- package/dist/commonjs/providers/StreamCall/AppStateListener.js +3 -0
- package/dist/commonjs/providers/StreamCall/AppStateListener.js.map +1 -1
- package/dist/commonjs/providers/StreamCall/DeviceStats.js +1 -1
- package/dist/commonjs/providers/StreamCall/DeviceStats.js.map +1 -1
- package/dist/commonjs/providers/StreamCall/index.js +5 -3
- package/dist/commonjs/providers/StreamCall/index.js.map +1 -1
- package/dist/commonjs/providers/StreamVideo.js +10 -5
- package/dist/commonjs/providers/StreamVideo.js.map +1 -1
- package/dist/commonjs/utils/StreamVideoRN/index.js +0 -1
- package/dist/commonjs/utils/StreamVideoRN/index.js.map +1 -1
- package/dist/commonjs/utils/internal/callingx/callingx.js +4 -4
- package/dist/commonjs/utils/internal/callingx/callingx.js.map +1 -1
- package/dist/commonjs/utils/internal/registerSDKGlobals.js +2 -2
- package/dist/commonjs/utils/internal/registerSDKGlobals.js.map +1 -1
- package/dist/commonjs/utils/push/libs/firebaseMessaging/index.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/commonjs/version.js.map +1 -1
- package/dist/module/components/Call/CallContent/CallContent.js +95 -48
- package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
- package/dist/module/components/Call/CallContent/RTCViewPipIOS.js +24 -20
- package/dist/module/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
- package/dist/module/components/Call/CallContent/RTCViewPipNative.js +4 -1
- package/dist/module/components/Call/CallContent/RTCViewPipNative.js.map +1 -1
- package/dist/module/components/Call/CallContent/index.js +2 -0
- package/dist/module/components/Call/CallContent/index.js.map +1 -1
- package/dist/module/components/Call/CallControls/AcceptCallButton.js +12 -7
- package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/CallControls.js +9 -6
- package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/CallControlsButton.js +13 -8
- package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/HangupCallButton.js +12 -7
- package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/IncomingCallControls.js +13 -10
- package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/LobbyControls.js +7 -3
- package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/OutgoingCallControls.js +14 -10
- package/dist/module/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/ReactionsButton.js +24 -16
- package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/RejectCallButton.js +12 -7
- package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js +17 -12
- package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +15 -10
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +20 -14
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +19 -13
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +15 -10
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +19 -13
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/index.js +2 -0
- package/dist/module/components/Call/CallControls/index.js.map +1 -1
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +41 -34
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +19 -13
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +38 -25
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
- package/dist/module/components/Call/CallLayout/index.js +2 -0
- package/dist/module/components/Call/CallLayout/index.js.map +1 -1
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +32 -28
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
- package/dist/module/components/Call/CallParticipantsList/index.js +2 -0
- package/dist/module/components/Call/CallParticipantsList/index.js.map +1 -1
- package/dist/module/components/Call/Lobby/JoinCallButton.js +12 -8
- package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/module/components/Call/Lobby/Lobby.js +47 -36
- package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
- package/dist/module/components/Call/Lobby/LobbyFooter.js +23 -17
- package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -1
- package/dist/module/components/Call/Lobby/index.js +2 -0
- package/dist/module/components/Call/Lobby/index.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js +4 -1
- package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js +4 -1
- package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js +34 -23
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +39 -28
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +15 -12
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js +30 -22
- package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/UserInfo.js +27 -22
- package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/index.js +2 -0
- package/dist/module/components/Call/RingingCallContent/index.js.map +1 -1
- package/dist/module/components/Call/index.js +2 -0
- package/dist/module/components/Call/index.js.map +1 -1
- package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +40 -35
- package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
- package/dist/module/components/Livestream/HostLivestream/index.js +2 -0
- package/dist/module/components/Livestream/HostLivestream/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +18 -13
- package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +18 -13
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +21 -14
- package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js +7 -4
- package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +21 -16
- package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +21 -14
- package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +13 -9
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +80 -58
- package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/index.js +2 -0
- package/dist/module/components/Livestream/LivestreamControls/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +14 -46
- package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamLayout/index.js +2 -0
- package/dist/module/components/Livestream/LivestreamLayout/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamPlayer/LivestreamEnded.js +52 -25
- package/dist/module/components/Livestream/LivestreamPlayer/LivestreamEnded.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +9 -5
- package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamPlayer/index.js +2 -0
- package/dist/module/components/Livestream/LivestreamPlayer/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +14 -10
- package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +13 -8
- package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +20 -14
- package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +12 -8
- package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +20 -14
- package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/index.js +2 -0
- package/dist/module/components/Livestream/LivestreamTopView/index.js.map +1 -1
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +43 -38
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLobby.js +35 -23
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLobby.js.map +1 -1
- package/dist/module/components/Livestream/ViewerLivestream/index.js +2 -0
- package/dist/module/components/Livestream/ViewerLivestream/index.js.map +1 -1
- package/dist/module/components/Livestream/index.js +2 -0
- package/dist/module/components/Livestream/index.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +20 -15
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +22 -16
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js +2 -0
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js +2 -0
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/index.js +56 -49
- package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/useFloatingVideoDimensions.js +2 -0
- package/dist/module/components/Participant/FloatingParticipantView/useFloatingVideoDimensions.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +66 -53
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +32 -28
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +13 -8
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +19 -15
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js +29 -24
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js +10 -8
- package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/VideoRenderer/TrackSubscriber.js +2 -0
- package/dist/module/components/Participant/ParticipantView/VideoRenderer/TrackSubscriber.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/VideoRenderer/index.js +37 -31
- package/dist/module/components/Participant/ParticipantView/VideoRenderer/index.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/index.js +2 -0
- package/dist/module/components/Participant/ParticipantView/index.js.map +1 -1
- package/dist/module/components/Participant/index.js +2 -0
- package/dist/module/components/Participant/index.js.map +1 -1
- package/dist/module/components/index.js +2 -0
- package/dist/module/components/index.js.map +1 -1
- package/dist/module/components/utility/Avatar.js +20 -16
- package/dist/module/components/utility/Avatar.js.map +1 -1
- package/dist/module/components/utility/ScreenShareOverlay.js +37 -30
- package/dist/module/components/utility/ScreenShareOverlay.js.map +1 -1
- package/dist/module/components/utility/index.js +2 -0
- package/dist/module/components/utility/index.js.map +1 -1
- package/dist/module/constants/TestIds.js +2 -0
- package/dist/module/constants/TestIds.js.map +1 -1
- package/dist/module/constants/index.js +2 -0
- package/dist/module/constants/index.js.map +1 -1
- package/dist/module/contexts/BackgroundFilters.js +7 -4
- package/dist/module/contexts/BackgroundFilters.js.map +1 -1
- package/dist/module/contexts/ThemeContext.js +7 -4
- package/dist/module/contexts/ThemeContext.js.map +1 -1
- package/dist/module/contexts/index.js +2 -0
- package/dist/module/contexts/index.js.map +1 -1
- package/dist/module/contexts/internal/BackgroundFiltersContext.js +2 -0
- package/dist/module/contexts/internal/BackgroundFiltersContext.js.map +1 -1
- package/dist/module/contexts/internal/ScreenshotIosContext.js +7 -3
- package/dist/module/contexts/internal/ScreenshotIosContext.js.map +1 -1
- package/dist/module/hooks/index.js +2 -0
- package/dist/module/hooks/index.js.map +1 -1
- package/dist/module/hooks/push/index.js +2 -0
- package/dist/module/hooks/push/index.js.map +1 -1
- package/dist/module/hooks/push/useCallingExpWithCallingStateEffect.js +2 -0
- package/dist/module/hooks/push/useCallingExpWithCallingStateEffect.js.map +1 -1
- package/dist/module/hooks/push/useInitAndroidTokenAndRest.js +2 -0
- package/dist/module/hooks/push/useInitAndroidTokenAndRest.js.map +1 -1
- package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js +2 -0
- package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
- package/dist/module/hooks/useAndroidKeepCallAliveEffect.js +2 -0
- package/dist/module/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
- package/dist/module/hooks/useAutoEnterPiPEffect.js +7 -10
- package/dist/module/hooks/useAutoEnterPiPEffect.js.map +1 -1
- package/dist/module/hooks/useIsInPiPMode.js +2 -0
- package/dist/module/hooks/useIsInPiPMode.js.map +1 -1
- package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js +2 -0
- package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js.map +1 -1
- package/dist/module/hooks/useLoopbackRecording.js +51 -29
- package/dist/module/hooks/useLoopbackRecording.js.map +1 -1
- package/dist/module/hooks/useModeration.js +6 -1
- package/dist/module/hooks/useModeration.js.map +1 -1
- package/dist/module/hooks/usePaginatedLayoutSortPreset.js +2 -0
- package/dist/module/hooks/usePaginatedLayoutSortPreset.js.map +1 -1
- package/dist/module/hooks/usePermissionNotification.js +2 -0
- package/dist/module/hooks/usePermissionNotification.js.map +1 -1
- package/dist/module/hooks/usePermissionRequest.js +2 -0
- package/dist/module/hooks/usePermissionRequest.js.map +1 -1
- package/dist/module/hooks/useScreenShareAudioMixing.js +2 -0
- package/dist/module/hooks/useScreenShareAudioMixing.js.map +1 -1
- package/dist/module/hooks/useScreenShareButton.js +2 -0
- package/dist/module/hooks/useScreenShareButton.js.map +1 -1
- package/dist/module/hooks/useScreenshot.js +2 -0
- package/dist/module/hooks/useScreenshot.js.map +1 -1
- package/dist/module/hooks/useTrackDimensions.js +2 -0
- package/dist/module/hooks/useTrackDimensions.js.map +1 -1
- package/dist/module/icons/Back.js +10 -6
- package/dist/module/icons/Back.js.map +1 -1
- package/dist/module/icons/BadNetwork.js +13 -9
- package/dist/module/icons/BadNetwork.js.map +1 -1
- package/dist/module/icons/CameraSwitch.js +10 -6
- package/dist/module/icons/CameraSwitch.js.map +1 -1
- package/dist/module/icons/EndStreamIcon.js +10 -6
- package/dist/module/icons/EndStreamIcon.js.map +1 -1
- package/dist/module/icons/Eye.js +10 -6
- package/dist/module/icons/Eye.js.map +1 -1
- package/dist/module/icons/IconWrapper.js +7 -3
- package/dist/module/icons/IconWrapper.js.map +1 -1
- package/dist/module/icons/LivestreamControls.js +46 -39
- package/dist/module/icons/LivestreamControls.js.map +1 -1
- package/dist/module/icons/Lock.js +10 -6
- package/dist/module/icons/Lock.js.map +1 -1
- package/dist/module/icons/Maximize.js +35 -31
- package/dist/module/icons/Maximize.js.map +1 -1
- package/dist/module/icons/Mic.js +10 -6
- package/dist/module/icons/Mic.js.map +1 -1
- package/dist/module/icons/MicOff.js +10 -6
- package/dist/module/icons/MicOff.js.map +1 -1
- package/dist/module/icons/Phone.js +10 -6
- package/dist/module/icons/Phone.js.map +1 -1
- package/dist/module/icons/PhoneDown.js +10 -6
- package/dist/module/icons/PhoneDown.js.map +1 -1
- package/dist/module/icons/PinVertical.js +10 -6
- package/dist/module/icons/PinVertical.js.map +1 -1
- package/dist/module/icons/Reaction.js +10 -6
- package/dist/module/icons/Reaction.js.map +1 -1
- package/dist/module/icons/ScreenShare.js +10 -6
- package/dist/module/icons/ScreenShare.js.map +1 -1
- package/dist/module/icons/ScreenShareIndicator.js +23 -18
- package/dist/module/icons/ScreenShareIndicator.js.map +1 -1
- package/dist/module/icons/StartStreamIcon.js +10 -6
- package/dist/module/icons/StartStreamIcon.js.map +1 -1
- package/dist/module/icons/StopScreenShare.js +13 -9
- package/dist/module/icons/StopScreenShare.js.map +1 -1
- package/dist/module/icons/Video.js +10 -6
- package/dist/module/icons/Video.js.map +1 -1
- package/dist/module/icons/VideoSlash.js +10 -6
- package/dist/module/icons/VideoSlash.js.map +1 -1
- package/dist/module/icons/index.js +2 -6
- package/dist/module/icons/index.js.map +1 -1
- package/dist/module/index.js +2 -0
- package/dist/module/index.js.map +1 -1
- package/dist/module/modules/ScreenShareAudioManager.js +2 -0
- package/dist/module/modules/ScreenShareAudioManager.js.map +1 -1
- package/dist/module/modules/call-manager/CallManager.js +2 -0
- package/dist/module/modules/call-manager/CallManager.js.map +1 -1
- package/dist/module/modules/call-manager/PrevLibDetection.js +2 -0
- package/dist/module/modules/call-manager/PrevLibDetection.js.map +1 -1
- package/dist/module/modules/call-manager/index.js +2 -0
- package/dist/module/modules/call-manager/index.js.map +1 -1
- package/dist/module/modules/call-manager/native-module.d.js +2 -0
- package/dist/module/modules/call-manager/native-module.d.js.map +1 -1
- package/dist/module/modules/call-manager/types.js +1 -1
- package/dist/module/providers/BusyTonePlayer.js +9 -7
- package/dist/module/providers/BusyTonePlayer.js.map +1 -1
- package/dist/module/providers/NoiseCancellation/NoiseCancellationProvider.js +7 -4
- package/dist/module/providers/NoiseCancellation/NoiseCancellationProvider.js.map +1 -1
- package/dist/module/providers/NoiseCancellation/index.js +2 -0
- package/dist/module/providers/NoiseCancellation/index.js.map +1 -1
- package/dist/module/providers/NoiseCancellation/lib.js +2 -0
- package/dist/module/providers/NoiseCancellation/lib.js.map +1 -1
- package/dist/module/providers/StreamCall/AppStateListener.js +5 -0
- package/dist/module/providers/StreamCall/AppStateListener.js.map +1 -1
- package/dist/module/providers/StreamCall/AudioInterruptionTracer.js +2 -0
- package/dist/module/providers/StreamCall/AudioInterruptionTracer.js.map +1 -1
- package/dist/module/providers/StreamCall/DeviceStats.js +3 -1
- package/dist/module/providers/StreamCall/DeviceStats.js.map +1 -1
- package/dist/module/providers/StreamCall/index.js +7 -4
- package/dist/module/providers/StreamCall/index.js.map +1 -1
- package/dist/module/providers/StreamVideo.js +12 -5
- package/dist/module/providers/StreamVideo.js.map +1 -1
- package/dist/module/theme/colors.js +2 -0
- package/dist/module/theme/colors.js.map +1 -1
- package/dist/module/theme/constants.js +2 -0
- package/dist/module/theme/constants.js.map +1 -1
- package/dist/module/theme/index.js +2 -0
- package/dist/module/theme/index.js.map +1 -1
- package/dist/module/theme/theme.js +2 -0
- package/dist/module/theme/theme.js.map +1 -1
- package/dist/module/theme/types.js +2 -0
- package/dist/module/translations/index.js +2 -0
- package/dist/module/translations/index.js.map +1 -1
- package/dist/module/utils/StreamVideoRN/index.js +2 -1
- package/dist/module/utils/StreamVideoRN/index.js.map +1 -1
- package/dist/module/utils/StreamVideoRN/types.js +2 -0
- package/dist/module/utils/enterPiPAndroid.js +2 -0
- package/dist/module/utils/enterPiPAndroid.js.map +1 -1
- package/dist/module/utils/getAndroidDefaultRingtoneUrl.js +2 -0
- package/dist/module/utils/getAndroidDefaultRingtoneUrl.js.map +1 -1
- package/dist/module/utils/hooks/index.js +2 -0
- package/dist/module/utils/hooks/index.js.map +1 -1
- package/dist/module/utils/hooks/usePrevious.js +2 -0
- package/dist/module/utils/hooks/usePrevious.js.map +1 -1
- package/dist/module/utils/index.js +2 -0
- package/dist/module/utils/index.js.map +1 -1
- package/dist/module/utils/internal/callingx/audioSessionPromise.js +2 -0
- package/dist/module/utils/internal/callingx/audioSessionPromise.js.map +1 -1
- package/dist/module/utils/internal/callingx/callingx.js +6 -4
- package/dist/module/utils/internal/callingx/callingx.js.map +1 -1
- package/dist/module/utils/internal/optionallibs/gestureHandler.js +2 -0
- package/dist/module/utils/internal/optionallibs/gestureHandler.js.map +1 -1
- package/dist/module/utils/internal/optionallibs/index.js +2 -0
- package/dist/module/utils/internal/optionallibs/index.js.map +1 -1
- package/dist/module/utils/internal/optionallibs/reanimated.js +2 -0
- package/dist/module/utils/internal/optionallibs/reanimated.js.map +1 -1
- package/dist/module/utils/internal/pushLogoutCallback.js +2 -0
- package/dist/module/utils/internal/pushLogoutCallback.js.map +1 -1
- package/dist/module/utils/internal/registerSDKGlobals.js +4 -2
- package/dist/module/utils/internal/registerSDKGlobals.js.map +1 -1
- package/dist/module/utils/internal/rxSubjects.js +2 -0
- package/dist/module/utils/internal/rxSubjects.js.map +1 -1
- package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js +2 -0
- package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js.map +1 -1
- package/dist/module/utils/keepCallAliveHeadlessTask.js +2 -0
- package/dist/module/utils/keepCallAliveHeadlessTask.js.map +1 -1
- package/dist/module/utils/push/android.js +2 -0
- package/dist/module/utils/push/android.js.map +1 -1
- package/dist/module/utils/push/index.js +2 -0
- package/dist/module/utils/push/index.js.map +1 -1
- package/dist/module/utils/push/internal/constants.js +2 -0
- package/dist/module/utils/push/internal/constants.js.map +1 -1
- package/dist/module/utils/push/internal/ios.js +2 -0
- package/dist/module/utils/push/internal/ios.js.map +1 -1
- package/dist/module/utils/push/internal/utils.js +2 -0
- package/dist/module/utils/push/internal/utils.js.map +1 -1
- package/dist/module/utils/push/libs/callingx.js +2 -0
- package/dist/module/utils/push/libs/callingx.js.map +1 -1
- package/dist/module/utils/push/libs/firebaseMessaging/index.js +2 -0
- package/dist/module/utils/push/libs/firebaseMessaging/index.js.map +1 -1
- package/dist/module/utils/push/libs/firebaseMessaging/lib.js +2 -0
- package/dist/module/utils/push/libs/firebaseMessaging/lib.js.map +1 -1
- package/dist/module/utils/push/libs/index.js +2 -0
- package/dist/module/utils/push/libs/index.js.map +1 -1
- package/dist/module/utils/push/setupCallingExpEvents.js +2 -0
- package/dist/module/utils/push/setupCallingExpEvents.js.map +1 -1
- package/dist/module/utils/push/setupIosVoipPushEvents.js +2 -0
- package/dist/module/utils/push/setupIosVoipPushEvents.js.map +1 -1
- package/dist/module/utils/push/utils.js +2 -0
- package/dist/module/utils/push/utils.js.map +1 -1
- package/dist/module/utils/setClientDetails.js +2 -0
- package/dist/module/utils/setClientDetails.js.map +1 -1
- package/dist/module/version.js +3 -1
- package/dist/module/version.js.map +1 -1
- package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -1
- package/dist/typescript/components/Call/Lobby/Lobby.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamLayout/LivestreamLayout.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamPlayer/LivestreamEnded.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts.map +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/VideoRenderer/index.d.ts +1 -1
- package/dist/typescript/components/Participant/ParticipantView/VideoRenderer/index.d.ts.map +1 -1
- package/dist/typescript/contexts/BackgroundFilters.d.ts +1 -1
- package/dist/typescript/contexts/BackgroundFilters.d.ts.map +1 -1
- package/dist/typescript/hooks/useAutoEnterPiPEffect.d.ts.map +1 -1
- package/dist/typescript/hooks/useLoopbackRecording.d.ts +1 -1
- package/dist/typescript/hooks/useLoopbackRecording.d.ts.map +1 -1
- package/dist/typescript/hooks/useModeration.d.ts.map +1 -1
- package/dist/typescript/icons/index.d.ts +0 -6
- package/dist/typescript/icons/index.d.ts.map +1 -1
- package/dist/typescript/providers/StreamCall/AppStateListener.d.ts.map +1 -1
- package/dist/typescript/providers/StreamCall/DeviceStats.d.ts.map +1 -1
- package/dist/typescript/utils/StreamVideoRN/index.d.ts +0 -1
- package/dist/typescript/utils/StreamVideoRN/index.d.ts.map +1 -1
- package/dist/typescript/utils/internal/callingx/callingx.d.ts.map +1 -1
- package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts +2 -16
- package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts.map +1 -1
- package/dist/typescript/version.d.ts +1 -1
- package/dist/typescript/version.d.ts.map +1 -1
- package/ios/TracksRecorder/RecorderAudioRenderTap.swift +0 -10
- package/ios/TracksRecorder/TracksRecorderManager.swift +6 -0
- package/package.json +10 -8
- package/src/components/Call/CallContent/CallContent.tsx +69 -39
- package/src/components/Call/CallLayout/CallParticipantsGrid.tsx +4 -6
- package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +30 -21
- package/src/components/Call/CallParticipantsList/CallParticipantsList.tsx +23 -9
- package/src/components/Call/Lobby/Lobby.tsx +9 -5
- package/src/components/Livestream/HostLivestream/HostLivestream.tsx +5 -6
- package/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx +1 -1
- package/src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx +4 -64
- package/src/components/Livestream/LivestreamPlayer/LivestreamEnded.tsx +54 -18
- package/src/components/Livestream/LivestreamTopView/DurationBadge.tsx +2 -2
- package/src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx +10 -12
- package/src/components/Participant/FloatingParticipantView/index.tsx +26 -18
- package/src/components/Participant/ParticipantView/ParticipantReaction.tsx +1 -1
- package/src/components/Participant/ParticipantView/ParticipantView.tsx +68 -64
- package/src/components/Participant/ParticipantView/VideoRenderer/index.tsx +192 -179
- package/src/hooks/useAutoEnterPiPEffect.tsx +5 -11
- package/src/hooks/useLoopbackRecording.ts +65 -55
- package/src/hooks/useModeration.ts +4 -1
- package/src/icons/index.tsx +0 -6
- package/src/providers/BusyTonePlayer.tsx +11 -11
- package/src/providers/StreamCall/AppStateListener.tsx +3 -0
- package/src/providers/StreamCall/DeviceStats.tsx +2 -1
- package/src/utils/StreamVideoRN/index.ts +0 -1
- package/src/utils/internal/callingx/callingx.ts +20 -10
- package/src/utils/internal/registerSDKGlobals.ts +2 -2
- package/src/utils/push/libs/firebaseMessaging/index.ts +4 -2
- package/src/version.ts +1 -1
- package/dist/commonjs/icons/LeaveStreamIcon.js +0 -20
- package/dist/commonjs/icons/LeaveStreamIcon.js.map +0 -1
- package/dist/commonjs/icons/Settings.js +0 -22
- package/dist/commonjs/icons/Settings.js.map +0 -1
- package/dist/commonjs/icons/ShieldBadge.js +0 -20
- package/dist/commonjs/icons/ShieldBadge.js.map +0 -1
- package/dist/commonjs/icons/Spotlight.js +0 -21
- package/dist/commonjs/icons/Spotlight.js.map +0 -1
- package/dist/commonjs/icons/ThreeDots.js +0 -31
- package/dist/commonjs/icons/ThreeDots.js.map +0 -1
- package/dist/commonjs/icons/TopViewBackground.js +0 -35
- package/dist/commonjs/icons/TopViewBackground.js.map +0 -1
- package/dist/module/icons/LeaveStreamIcon.js +0 -12
- package/dist/module/icons/LeaveStreamIcon.js.map +0 -1
- package/dist/module/icons/Settings.js +0 -13
- package/dist/module/icons/Settings.js.map +0 -1
- package/dist/module/icons/ShieldBadge.js +0 -12
- package/dist/module/icons/ShieldBadge.js.map +0 -1
- package/dist/module/icons/Spotlight.js +0 -13
- package/dist/module/icons/Spotlight.js.map +0 -1
- package/dist/module/icons/ThreeDots.js +0 -23
- package/dist/module/icons/ThreeDots.js.map +0 -1
- package/dist/module/icons/TopViewBackground.js +0 -27
- package/dist/module/icons/TopViewBackground.js.map +0 -1
- package/dist/typescript/icons/LeaveStreamIcon.d.ts +0 -3
- package/dist/typescript/icons/LeaveStreamIcon.d.ts.map +0 -1
- package/dist/typescript/icons/Settings.d.ts +0 -7
- package/dist/typescript/icons/Settings.d.ts.map +0 -1
- package/dist/typescript/icons/ShieldBadge.d.ts +0 -3
- package/dist/typescript/icons/ShieldBadge.d.ts.map +0 -1
- package/dist/typescript/icons/Spotlight.d.ts +0 -8
- package/dist/typescript/icons/Spotlight.d.ts.map +0 -1
- package/dist/typescript/icons/ThreeDots.d.ts +0 -7
- package/dist/typescript/icons/ThreeDots.d.ts.map +0 -1
- package/dist/typescript/icons/TopViewBackground.d.ts +0 -15
- package/dist/typescript/icons/TopViewBackground.d.ts.map +0 -1
- package/src/icons/LeaveStreamIcon.tsx +0 -13
- package/src/icons/Settings.tsx +0 -14
- package/src/icons/ShieldBadge.tsx +0 -13
- package/src/icons/Spotlight.tsx +0 -18
- package/src/icons/ThreeDots.tsx +0 -14
- package/src/icons/TopViewBackground.tsx +0 -43
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { useMemo } from 'react';
|
|
3
4
|
import { Pressable, StyleSheet, View } from 'react-native';
|
|
4
5
|
import { Z_INDEX } from '../../../constants';
|
|
5
6
|
import { ComponentTestIds } from '../../../constants/TestIds';
|
|
@@ -13,7 +14,13 @@ import { useFloatingVideoDimensions } from './useFloatingVideoDimensions';
|
|
|
13
14
|
/**
|
|
14
15
|
* Props to be passed for the LocalVideoView component.
|
|
15
16
|
*/
|
|
16
|
-
|
|
17
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
|
+
const floatingAlignmentMap = {
|
|
19
|
+
'top-left': FloatingViewAlignment.topLeft,
|
|
20
|
+
'top-right': FloatingViewAlignment.topRight,
|
|
21
|
+
'bottom-left': FloatingViewAlignment.bottomLeft,
|
|
22
|
+
'bottom-right': FloatingViewAlignment.bottomRight
|
|
23
|
+
};
|
|
17
24
|
const DefaultLocalParticipantViewVideoFallback = () => {
|
|
18
25
|
const {
|
|
19
26
|
theme: {
|
|
@@ -25,19 +32,21 @@ const DefaultLocalParticipantViewVideoFallback = () => {
|
|
|
25
32
|
defaults
|
|
26
33
|
}
|
|
27
34
|
} = useTheme();
|
|
28
|
-
return /*#__PURE__*/
|
|
35
|
+
return /*#__PURE__*/_jsx(View, {
|
|
29
36
|
style: [StyleSheet.absoluteFill, styles.videoFallback, {
|
|
30
37
|
backgroundColor: colors.sheetSecondary
|
|
31
|
-
}, floatingParticipantsView.videoFallback]
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
}, floatingParticipantsView.videoFallback],
|
|
39
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
40
|
+
style: {
|
|
41
|
+
height: iconSizes.md,
|
|
42
|
+
width: iconSizes.md
|
|
43
|
+
},
|
|
44
|
+
children: /*#__PURE__*/_jsx(VideoSlash, {
|
|
45
|
+
color: colors.iconPrimary,
|
|
46
|
+
size: defaults.iconSize
|
|
47
|
+
})
|
|
48
|
+
})
|
|
49
|
+
});
|
|
41
50
|
};
|
|
42
51
|
|
|
43
52
|
/**
|
|
@@ -68,25 +77,19 @@ export const FloatingParticipantView = ({
|
|
|
68
77
|
}
|
|
69
78
|
}
|
|
70
79
|
} = useTheme();
|
|
71
|
-
const floatingAlignmentMap = {
|
|
72
|
-
'top-left': FloatingViewAlignment.topLeft,
|
|
73
|
-
'top-right': FloatingViewAlignment.topRight,
|
|
74
|
-
'bottom-left': FloatingViewAlignment.bottomLeft,
|
|
75
|
-
'bottom-right': FloatingViewAlignment.bottomRight
|
|
76
|
-
};
|
|
77
80
|
const [containerDimensions, setContainerDimensions] = React.useState();
|
|
78
81
|
const floatingVideoDimensions = useFloatingVideoDimensions(participant, 'videoTrack');
|
|
79
|
-
const participantViewProps = {
|
|
82
|
+
const participantViewProps = useMemo(() => ({
|
|
80
83
|
ParticipantLabel: null,
|
|
81
84
|
ParticipantNetworkQualityIndicator,
|
|
82
85
|
ParticipantReaction,
|
|
83
86
|
ParticipantVideoFallback,
|
|
84
87
|
VideoRenderer
|
|
85
|
-
};
|
|
88
|
+
}), [ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, VideoRenderer]);
|
|
86
89
|
if (!participant) {
|
|
87
90
|
return null;
|
|
88
91
|
}
|
|
89
|
-
return /*#__PURE__*/
|
|
92
|
+
return /*#__PURE__*/_jsx(View, {
|
|
90
93
|
testID: ComponentTestIds.LOCAL_PARTICIPANT,
|
|
91
94
|
style: [styles.container, draggableContainerStyle, floatingParticipantsView.container]
|
|
92
95
|
// "box-none" disallows the container view to be not take up touches
|
|
@@ -107,32 +110,36 @@ export const FloatingParticipantView = ({
|
|
|
107
110
|
height: height
|
|
108
111
|
};
|
|
109
112
|
});
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
113
|
+
},
|
|
114
|
+
children: containerDimensions && floatingVideoDimensions && /*#__PURE__*/_jsx(FloatingView, {
|
|
115
|
+
containerHeight: containerDimensions.height,
|
|
116
|
+
containerWidth: containerDimensions.width,
|
|
117
|
+
initialAlignment: floatingAlignmentMap[alignment],
|
|
118
|
+
children: /*#__PURE__*/_jsx(Pressable, {
|
|
119
|
+
onPress: onPressHandler,
|
|
120
|
+
children: ParticipantView && /*#__PURE__*/_jsx(ParticipantView, {
|
|
121
|
+
participant: participant,
|
|
122
|
+
trackType: "videoTrack",
|
|
123
|
+
style: [styles.participantViewContainer, {
|
|
124
|
+
width: floatingVideoDimensions.width,
|
|
125
|
+
height: floatingVideoDimensions.height,
|
|
126
|
+
borderRadius: floatingVideoDimensions.width * 0.1,
|
|
127
|
+
marginHorizontal: spacingSizes.md
|
|
128
|
+
}, participantViewStyle, {
|
|
129
|
+
shadowColor: colors.sheetPrimary
|
|
130
|
+
}, floatingParticipantsView.participantViewContainer]
|
|
131
|
+
// video z order must be one above the one used in grid view
|
|
132
|
+
// (which uses the default: 0)
|
|
133
|
+
,
|
|
134
|
+
videoZOrder: videoZOrder,
|
|
135
|
+
objectFit: objectFit,
|
|
136
|
+
mirror: mirror,
|
|
137
|
+
supportedReactions: supportedReactions,
|
|
138
|
+
...participantViewProps
|
|
139
|
+
})
|
|
140
|
+
})
|
|
141
|
+
})
|
|
142
|
+
});
|
|
136
143
|
};
|
|
137
144
|
const styles = StyleSheet.create({
|
|
138
145
|
container: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Pressable","StyleSheet","View","Z_INDEX","ComponentTestIds","VideoSlash","FloatingView","FloatingViewAlignment","ParticipantView","DefaultParticipantView","useTheme","useFloatingVideoDimensions","DefaultLocalParticipantViewVideoFallback","theme","colors","floatingParticipantsView","variants","iconSizes","defaults","
|
|
1
|
+
{"version":3,"names":["React","useMemo","Pressable","StyleSheet","View","Z_INDEX","ComponentTestIds","VideoSlash","FloatingView","FloatingViewAlignment","ParticipantView","DefaultParticipantView","useTheme","useFloatingVideoDimensions","jsx","_jsx","floatingAlignmentMap","topLeft","topRight","bottomLeft","bottomRight","DefaultLocalParticipantViewVideoFallback","theme","colors","floatingParticipantsView","variants","iconSizes","defaults","style","absoluteFill","styles","videoFallback","backgroundColor","sheetSecondary","children","height","md","width","color","iconPrimary","size","iconSize","FloatingParticipantView","alignment","onPressHandler","participant","participantViewStyle","draggableContainerStyle","ParticipantNetworkQualityIndicator","ParticipantVideoFallback","ParticipantReaction","VideoRenderer","supportedReactions","videoZOrder","objectFit","mirror","spacingSizes","containerDimensions","setContainerDimensions","useState","floatingVideoDimensions","participantViewProps","ParticipantLabel","testID","LOCAL_PARTICIPANT","container","pointerEvents","onLayout","event","nativeEvent","layout","prev","containerHeight","containerWidth","initialAlignment","onPress","trackType","participantViewContainer","borderRadius","marginHorizontal","shadowColor","sheetPrimary","create","zIndex","IN_MIDDLE","flex","shadowOffset","shadowOpacity","shadowRadius","elevation","alignItems","justifyContent"],"sourceRoot":"../../../../../src","sources":["components/Participant/FloatingParticipantView/index.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SACEC,SAAS,EAETC,UAAU,EACVC,IAAI,QAEC,cAAc;AACrB,SAASC,OAAO,QAAQ,oBAAoB;AAC5C,SAASC,gBAAgB,QAAQ,4BAA4B;AAC7D,SAASC,UAAU,QAAQ,gBAAgB;AAC3C,OAAOC,YAAY,MAAM,gBAAgB;AAKzC,SAASC,qBAAqB,QAAQ,uBAAuB;AAC7D,SACEC,eAAe,IAAIC,sBAAsB,QAGpC,oBAAoB;AAC3B,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,SAASC,0BAA0B,QAAQ,8BAA8B;;AASzE;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA;AA+BA,MAAMC,oBAGL,GAAG;EACF,UAAU,EAAEP,qBAAqB,CAACQ,OAAO;EACzC,WAAW,EAAER,qBAAqB,CAACS,QAAQ;EAC3C,aAAa,EAAET,qBAAqB,CAACU,UAAU;EAC/C,cAAc,EAAEV,qBAAqB,CAACW;AACxC,CAAC;AAED,MAAMC,wCAAwC,GAAGA,CAAA,KAAM;EACrD,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,wBAAwB;MACxBC,QAAQ,EAAE;QAAEC;MAAU,CAAC;MACvBC;IACF;EACF,CAAC,GAAGf,QAAQ,CAAC,CAAC;EAEd,oBACEG,IAAA,CAACX,IAAI;IACHwB,KAAK,EAAE,CACLzB,UAAU,CAAC0B,YAAY,EACvBC,MAAM,CAACC,aAAa,EACpB;MAAEC,eAAe,EAAET,MAAM,CAACU;IAAe,CAAC,EAC1CT,wBAAwB,CAACO,aAAa,CACtC;IAAAG,QAAA,eAEFnB,IAAA,CAACX,IAAI;MAACwB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CAAC,EACpCzD,wBAAwB,CAACqD,wBAAwB;UAEnD;UACA;UAAA;UACAxB,WAAW,EAAEA,WAAY;UACzBC,SAAS,EAAEA,SAAU;UACrBC,MAAM,EAAEA,MAAO;UACfH,kBAAkB,EAAEA,kBAAmB;UAAA,GACnCS;QAAoB,CACzB;MACF,CACQ;IAAC,CACA;EACf,CACG,CAAC;AAEX,CAAC;AAED,MAAM/B,MAAM,GAAG3B,UAAU,CAAC+E,MAAM,CAAC;EAC/BjB,SAAS,EAAE;IACT;IACAkB,MAAM,EAAE9E,OAAO,CAAC+E,SAAS;IACzBC,IAAI,EAAE;EACR,CAAC;EACDR,wBAAwB,EAAE;IACxBS,YAAY,EAAE;MACZjD,KAAK,EAAE,CAAC;MACRF,MAAM,EAAE;IACV,CAAC;IACDoD,aAAa,EAAE,IAAI;IACnBC,YAAY,EAAE,IAAI;IAClBC,SAAS,EAAE;EACb,CAAC;EACD1D,aAAa,EAAE;IACb2D,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
|
package/dist/module/components/Participant/FloatingParticipantView/useFloatingVideoDimensions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useTrackDimensions","useWindowDimensions","useFloatingVideoDimensions","participant","trackType","width","containerWidth","height","containerHeight","undefined","shorterContainerDimension","Math","min","baseDimension","aspectRatio","isPortraitVideo"],"sourceRoot":"../../../../../src","sources":["components/Participant/FloatingParticipantView/useFloatingVideoDimensions.tsx"],"mappings":"AAIA,SAASA,kBAAkB,QAAQ,mCAAmC;AACtE,SAASC,mBAAmB,QAAQ,cAAc;AAElD,OAAO,MAAMC,0BAA0B,GAAGA,CACxCC,WAA+C,EAC/CC,SAAyB,KACtB;EACH,MAAM;IAAEC,KAAK,EAAEC,cAAc;IAAEC,MAAM,EAAEC;EAAgB,CAAC,GACtDP,mBAAmB,CAAC,CAAC;EACvB,MAAM;IAAEI,KAAK;IAAEE;EAAO,CAAC,GAAGP,kBAAkB,CAACG,WAAW,EAAEC,SAAS,CAAC;EAEpE,IACEC,KAAK,KAAK,CAAC,IACXE,MAAM,KAAK,CAAC,IACZD,cAAc,KAAK,CAAC,IACpBE,eAAe,KAAK,CAAC,EACrB;IACA,OAAOC,SAAS;EAClB;;EAEA;EACA;EACA,MAAMC,yBAAyB,GAAGC,IAAI,CAACC,GAAG,CAACN,cAAc,EAAEE,eAAe,CAAC;EAC3E,MAAMK,aAAa,GAAGH,yBAAyB,GAAG,IAAI;EAEtD,MAAMI,WAAW,GAAGT,KAAK,GAAGE,MAAM;EAClC,MAAMQ,eAAe,GAAGD,WAAW,GAAG,CAAC;;EAEvC;EACA,IAAIC,eAAe,EAAE;IACnB,OAAO;MACLV,KAAK,EAAEQ,aAAa;MACpBN,MAAM,EAAEM,aAAa,GAAGC;IAC1B,CAAC;EACH,CAAC,MAAM;IACL,OAAO;MACLT,KAAK,EAAEQ,aAAa,GAAGC,WAAW;MAClCP,MAAM,EAAEM;IACV,CAAC;EACH;AACF,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["useTrackDimensions","useWindowDimensions","useFloatingVideoDimensions","participant","trackType","width","containerWidth","height","containerHeight","undefined","shorterContainerDimension","Math","min","baseDimension","aspectRatio","isPortraitVideo"],"sourceRoot":"../../../../../src","sources":["components/Participant/FloatingParticipantView/useFloatingVideoDimensions.tsx"],"mappings":";;AAIA,SAASA,kBAAkB,QAAQ,mCAAmC;AACtE,SAASC,mBAAmB,QAAQ,cAAc;AAElD,OAAO,MAAMC,0BAA0B,GAAGA,CACxCC,WAA+C,EAC/CC,SAAyB,KACtB;EACH,MAAM;IAAEC,KAAK,EAAEC,cAAc;IAAEC,MAAM,EAAEC;EAAgB,CAAC,GACtDP,mBAAmB,CAAC,CAAC;EACvB,MAAM;IAAEI,KAAK;IAAEE;EAAO,CAAC,GAAGP,kBAAkB,CAACG,WAAW,EAAEC,SAAS,CAAC;EAEpE,IACEC,KAAK,KAAK,CAAC,IACXE,MAAM,KAAK,CAAC,IACZD,cAAc,KAAK,CAAC,IACpBE,eAAe,KAAK,CAAC,EACrB;IACA,OAAOC,SAAS;EAClB;;EAEA;EACA;EACA,MAAMC,yBAAyB,GAAGC,IAAI,CAACC,GAAG,CAACN,cAAc,EAAEE,eAAe,CAAC;EAC3E,MAAMK,aAAa,GAAGH,yBAAyB,GAAG,IAAI;EAEtD,MAAMI,WAAW,GAAGT,KAAK,GAAGE,MAAM;EAClC,MAAMQ,eAAe,GAAGD,WAAW,GAAG,CAAC;;EAEvC;EACA,IAAIC,eAAe,EAAE;IACnB,OAAO;MACLV,KAAK,EAAEQ,aAAa;MACpBN,MAAM,EAAEM,aAAa,GAAGC;IAC1B,CAAC;EACH,CAAC,MAAM;IACL,OAAO;MACLT,KAAK,EAAEQ,aAAa,GAAGC,WAAW;MAClCP,MAAM,EAAEM;IACV,CAAC;EACH;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import React, { useMemo } from 'react';
|
|
2
4
|
import { Pressable, StyleSheet, Text, View, ActivityIndicator } from 'react-native';
|
|
3
5
|
import { BadNetwork, MicOff, PinVertical, ScreenShareIndicator, VideoSlash } from '../../../icons';
|
|
@@ -11,7 +13,7 @@ import SpeechIndicator from './SpeechIndicator';
|
|
|
11
13
|
/**
|
|
12
14
|
* Props for the ParticipantLabel component.
|
|
13
15
|
*/
|
|
14
|
-
|
|
16
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
17
|
/**
|
|
16
18
|
* This component is used to display the participant label that contains the participant name, video/audio mute/unmute status.
|
|
17
19
|
*/
|
|
@@ -59,64 +61,75 @@ export const ParticipantLabel = ({
|
|
|
59
61
|
const screenShareText = isLocalParticipant ? t('You are sharing your screen') : t('{{ userName }} is sharing their screen', {
|
|
60
62
|
userName: participantName
|
|
61
63
|
});
|
|
62
|
-
return /*#__PURE__*/
|
|
64
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
63
65
|
style: [styles.container, {
|
|
64
66
|
backgroundColor: colors.sheetOverlay
|
|
65
67
|
}, container],
|
|
66
|
-
testID: ComponentTestIds.PARTICIPANT_SCREEN_SHARING
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
68
|
+
testID: ComponentTestIds.PARTICIPANT_SCREEN_SHARING,
|
|
69
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
70
|
+
style: [styles.screenShareIconContainer, {
|
|
71
|
+
height: iconSizes.md,
|
|
72
|
+
width: iconSizes.md
|
|
73
|
+
}, screenShareIconContainer],
|
|
74
|
+
children: /*#__PURE__*/_jsx(ScreenShareIndicator, {
|
|
75
|
+
color: colors.iconPrimary
|
|
76
|
+
})
|
|
77
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
78
|
+
style: [styles.userNameLabel, {
|
|
79
|
+
color: colors.textPrimary
|
|
80
|
+
}, typefaces.caption, userNameLabel],
|
|
81
|
+
numberOfLines: 1,
|
|
82
|
+
children: screenShareText
|
|
83
|
+
})]
|
|
84
|
+
});
|
|
80
85
|
}
|
|
81
|
-
return /*#__PURE__*/
|
|
86
|
+
return /*#__PURE__*/_jsx(View, {
|
|
82
87
|
style: [styles.container, {
|
|
83
88
|
backgroundColor: colors.sheetOverlay
|
|
84
|
-
}, container]
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
89
|
+
}, container],
|
|
90
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
91
|
+
style: styles.wrapper,
|
|
92
|
+
children: [(isAudioConnecting || isVideoConnecting) && /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
93
|
+
size: "small",
|
|
94
|
+
color: colors.iconPrimary,
|
|
95
|
+
style: styles.connectingIndicator
|
|
96
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
97
|
+
style: [styles.userNameLabel, userNameLabel],
|
|
98
|
+
numberOfLines: 1,
|
|
99
|
+
children: participantLabel
|
|
100
|
+
}), isAudioMuted && /*#__PURE__*/_jsx(View, {
|
|
101
|
+
style: [styles.audioMutedIconContainer, audioMutedIconContainer],
|
|
102
|
+
children: /*#__PURE__*/_jsx(MicOff, {
|
|
103
|
+
color: colors.iconPrimary,
|
|
104
|
+
size: iconSizes.sm
|
|
105
|
+
})
|
|
106
|
+
}), isVideoMuted && /*#__PURE__*/_jsx(View, {
|
|
107
|
+
style: [styles.videoMutedIconContainer, videoMutedIconContainer],
|
|
108
|
+
children: /*#__PURE__*/_jsx(VideoSlash, {
|
|
109
|
+
color: colors.iconPrimary,
|
|
110
|
+
size: iconSizes.sm
|
|
111
|
+
})
|
|
112
|
+
}), isTrackPaused && /*#__PURE__*/_jsx(View, {
|
|
113
|
+
style: [styles.trackPausedIconContainer, videoMutedIconContainer],
|
|
114
|
+
children: /*#__PURE__*/_jsx(BadNetwork, {
|
|
115
|
+
color: colors.iconPrimary,
|
|
116
|
+
size: iconSizes.sm
|
|
117
|
+
})
|
|
118
|
+
}), pin && /*#__PURE__*/_jsx(Pressable, {
|
|
119
|
+
style: [styles.pinIconContainer, pinIconContainer],
|
|
120
|
+
onPress: pin.isLocalPin ? () => call?.unpin(sessionId) : undefined,
|
|
121
|
+
children: /*#__PURE__*/_jsx(PinVertical, {
|
|
122
|
+
color: colors.iconPrimary,
|
|
123
|
+
size: iconSizes.sm
|
|
124
|
+
})
|
|
125
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
126
|
+
style: styles.indicatorWrapper,
|
|
127
|
+
children: /*#__PURE__*/_jsx(SpeechIndicator, {
|
|
128
|
+
isSpeaking: !isAudioMuted && participant.isDominantSpeaker
|
|
129
|
+
})
|
|
130
|
+
})]
|
|
131
|
+
})
|
|
132
|
+
});
|
|
120
133
|
};
|
|
121
134
|
const useStyles = () => {
|
|
122
135
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","Pressable","StyleSheet","Text","View","ActivityIndicator","BadNetwork","MicOff","PinVertical","ScreenShareIndicator","VideoSlash","useCall","useI18n","useIsAudioConnecting","useIsVideoConnecting","ComponentTestIds","Z_INDEX","hasAudio","hasPausedTrack","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","isAudioMuted","isVideoMuted","isTrackPaused","isAudioConnecting","isVideoConnecting","screenShareText","userName","
|
|
1
|
+
{"version":3,"names":["React","useMemo","Pressable","StyleSheet","Text","View","ActivityIndicator","BadNetwork","MicOff","PinVertical","ScreenShareIndicator","VideoSlash","useCall","useI18n","useIsAudioConnecting","useIsVideoConnecting","ComponentTestIds","Z_INDEX","hasAudio","hasPausedTrack","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","isAudioMuted","isVideoMuted","isTrackPaused","isAudioConnecting","isVideoConnecting","screenShareText","userName","style","backgroundColor","sheetOverlay","testID","PARTICIPANT_SCREEN_SHARING","children","height","md","width","color","iconPrimary","textPrimary","caption","numberOfLines","wrapper","size","connectingIndicator","sm","trackPausedIconContainer","onPress","isLocalPin","unpin","undefined","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,SACEC,SAAS,EACTC,UAAU,EACVC,IAAI,EACJC,IAAI,EACJC,iBAAiB,QACZ,cAAc;AACrB,SACEC,UAAU,EACVC,MAAM,EACNC,WAAW,EACXC,oBAAoB,EACpBC,UAAU,QACL,gBAAgB;AACvB,SACEC,OAAO,EACPC,OAAO,EACPC,oBAAoB,EACpBC,oBAAoB,QACf,iCAAiC;AACxC,SAASC,gBAAgB,QAAQ,4BAA4B;AAE7D,SAASC,OAAO,QAAQ,oBAAoB;AAC5C,SAASC,QAAQ,EAAEC,cAAc,EAAEC,QAAQ,QAAQ,yBAAyB;AAC5E,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,OAAOC,eAAe,MAAM,mBAAmB;;AAE/C;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAQA;AACA;AACA;AACA,OAAO,MAAMC,gBAAgB,GAAGA,CAAC;EAC/BC,WAAW;EACXC;AACqB,CAAC,KAAK;EAC3B,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,SAAS;MACTC,QAAQ,EAAE;QAAEC;MAAU,CAAC;MACvBC,gBAAgB,EAAE;QAChBC,SAAS;QACTC,aAAa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AY,CAACe,EAAE;MAC1CD,cAAc,EAAE;IAClB,CAAC;IACDxB,wBAAwB,EAAE;MACxBS,UAAU,EAAExD,KAAK,CAACG,QAAQ,CAACsD,YAAY,CAACe,EAAE;MAC1CD,cAAc,EAAE;IAClB,CAAC;IACD7D,gBAAgB,EAAE;MAChB8C,UAAU,EAAExD,KAAK,CAACG,QAAQ,CAACsD,YAAY,CAACe,EAAE;MAC1CD,cAAc,EAAE;IAClB;EACF,CAAC,CAAC,EACJ,CAACvE,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
|
package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import { StyleSheet, View } from 'react-native';
|
|
2
4
|
import { Path, Svg } from 'react-native-svg';
|
|
3
5
|
import { SfuModels } from '@stream-io/video-client';
|
|
@@ -8,7 +10,7 @@ import { useTheme } from '../../../contexts/ThemeContext';
|
|
|
8
10
|
/**
|
|
9
11
|
* Props for the NetworkQualityIndicator component.
|
|
10
12
|
*/
|
|
11
|
-
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
14
|
const useConnectionQualitySignalColors = participant => {
|
|
13
15
|
const {
|
|
14
16
|
theme: {
|
|
@@ -48,37 +50,39 @@ export const ParticipantNetworkQualityIndicator = ({
|
|
|
48
50
|
if (!connectionQualityColors) {
|
|
49
51
|
return null;
|
|
50
52
|
}
|
|
51
|
-
return /*#__PURE__*/
|
|
53
|
+
return /*#__PURE__*/_jsx(View, {
|
|
52
54
|
style: [styles.container, {
|
|
53
55
|
backgroundColor: colors.sheetOverlay,
|
|
54
56
|
height: iconSizes.lg,
|
|
55
57
|
width: iconSizes.lg
|
|
56
|
-
}, participantNetworkQualityIndicator.container]
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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
|
+
});
|
|
82
86
|
};
|
|
83
87
|
const styles = StyleSheet.create({
|
|
84
88
|
container: {
|
package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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","
|
|
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;IAAO;EAClB,CAAC,GAAGR,QAAQ,CAAC,CAAC;EACd,MAAM;IAAES;EAAkB,CAAC,GAAGH,WAAW;EACzC,IAAI,CAACG,iBAAiB,EAAE;IACtB,OAAO,IAAI;EACb;EAEA,QAAQA,iBAAiB;IACvB,KAAKZ,SAAS,CAACa,iBAAiB,CAACC,SAAS;MAC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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,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import React, { useEffect, useMemo } from 'react';
|
|
2
4
|
import { StyleSheet, Text, View } from 'react-native';
|
|
3
5
|
import { useCall } from '@stream-io/video-react-bindings';
|
|
@@ -7,7 +9,7 @@ import { useTheme } from '../../../contexts/ThemeContext';
|
|
|
7
9
|
/**
|
|
8
10
|
* Props for the ParticipantReaction component.
|
|
9
11
|
*/
|
|
10
|
-
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
13
|
/**
|
|
12
14
|
* This component is used to display the current participant reaction.
|
|
13
15
|
*/
|
|
@@ -40,13 +42,16 @@ export const ParticipantReaction = ({
|
|
|
40
42
|
};
|
|
41
43
|
}, [call, hideAfterTimeoutInMs, sessionId, reaction]);
|
|
42
44
|
const currentReaction = reaction && supportedReactions.find(supportedReaction => supportedReaction.emoji_code === reaction.emoji_code);
|
|
43
|
-
return currentReaction?.icon != null && /*#__PURE__*/
|
|
44
|
-
style: [styles.container, participantReaction.container]
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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
|
+
});
|
|
50
55
|
};
|
|
51
56
|
const useStyles = () => {
|
|
52
57
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","useMemo","StyleSheet","Text","View","useCall","defaultEmojiReactions","Z_INDEX","useTheme","ParticipantReaction","participant","supportedReactions","hideAfterTimeoutInMs","reaction","sessionId","call","styles","useStyles","theme","typefaces","participantReaction","timeoutId","setTimeout","resetReaction","clearTimeout","currentReaction","find","supportedReaction","emoji_code","icon","
|
|
1
|
+
{"version":3,"names":["React","useEffect","useMemo","StyleSheet","Text","View","useCall","defaultEmojiReactions","Z_INDEX","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"],"sourceRo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@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { StyleSheet, Text, View } from 'react-native';
|
|
3
5
|
import { Avatar } from '../../utility';
|
|
@@ -6,7 +8,7 @@ import { useTheme } from '../../../contexts/ThemeContext';
|
|
|
6
8
|
/**
|
|
7
9
|
* Props for the ParticipantVideoFallback component.
|
|
8
10
|
*/
|
|
9
|
-
|
|
11
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
12
|
/**
|
|
11
13
|
* This component is used to customize the video fallback of the participant, when the video is disabled.
|
|
12
14
|
*/
|
|
@@ -28,22 +30,24 @@ export const ParticipantVideoFallback = ({
|
|
|
28
30
|
const participantLabel = name ?? userId;
|
|
29
31
|
|
|
30
32
|
// Display the Participant name/user id if the image isn't present.
|
|
31
|
-
return /*#__PURE__*/
|
|
33
|
+
return /*#__PURE__*/_jsx(View, {
|
|
32
34
|
style: [StyleSheet.absoluteFill, styles.container, {
|
|
33
35
|
backgroundColor: colors.sheetTertiary
|
|
34
|
-
}, participantVideoFallback.container]
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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
|
+
});
|
|
47
51
|
};
|
|
48
52
|
const styles = StyleSheet.create({
|
|
49
53
|
container: {
|