@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,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { StyleSheet, View } from 'react-native';
|
|
3
5
|
import { DurationBadge as DefaultDurationBadge } from './DurationBadge';
|
|
@@ -9,7 +11,7 @@ import { Z_INDEX } from '../../../constants';
|
|
|
9
11
|
/**
|
|
10
12
|
* Props for the ViewerLivestreamTopView component.
|
|
11
13
|
*/
|
|
12
|
-
|
|
14
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
15
|
/**
|
|
14
16
|
* The ViewerLivestreamTopView component displays the top view component of the viewer's live stream.
|
|
15
17
|
*/
|
|
@@ -25,22 +27,26 @@ export const ViewerLivestreamTopView = ({
|
|
|
25
27
|
viewerLivestreamTopView
|
|
26
28
|
}
|
|
27
29
|
} = useTheme();
|
|
28
|
-
return /*#__PURE__*/
|
|
30
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
29
31
|
style: [styles.container, {
|
|
30
32
|
backgroundColor: colors.sheetOverlay
|
|
31
33
|
}, viewerLivestreamTopView.container],
|
|
32
|
-
onLayout: onLayout
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
34
|
+
onLayout: onLayout,
|
|
35
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
36
|
+
style: [styles.leftElement, viewerLivestreamTopView.leftElement],
|
|
37
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
38
|
+
style: [styles.liveInfo, viewerLivestreamTopView.liveInfo],
|
|
39
|
+
children: [LiveIndicator && /*#__PURE__*/_jsx(LiveIndicator, {}), FollowerCount && /*#__PURE__*/_jsx(FollowerCount, {})]
|
|
40
|
+
})
|
|
41
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
42
|
+
style: [styles.centerElement, viewerLivestreamTopView.centerElement],
|
|
43
|
+
children: DurationBadge && /*#__PURE__*/_jsx(DurationBadge, {
|
|
44
|
+
mode: "viewer"
|
|
45
|
+
})
|
|
46
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
47
|
+
style: [styles.rightElement, viewerLivestreamTopView.rightElement]
|
|
48
|
+
})]
|
|
49
|
+
});
|
|
44
50
|
};
|
|
45
51
|
const styles = StyleSheet.create({
|
|
46
52
|
container: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","View","DurationBadge","DefaultDurationBadge","LiveIndicator","DefaultLiveIndicator","FollowerCount","DefaultFollowerCount","useTheme","Z_INDEX","ViewerLivestreamTopView","onLayout","theme","colors","viewerLivestreamTopView","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","DurationBadge","DefaultDurationBadge","LiveIndicator","DefaultLiveIndicator","FollowerCount","DefaultFollowerCount","useTheme","Z_INDEX","jsx","_jsx","jsxs","_jsxs","ViewerLivestreamTopView","onLayout","theme","colors","viewerLivestreamTopView","style","styles","container","backgroundColor","sheetOverlay","children","leftElement","liveInfo","centerElement","mode","rightElement","create","position","top","flexDirection","alignItems","paddingVertical","paddingHorizontal","borderBottomEndRadius","borderBottomStartRadius","zIndex","IN_FRONT","flex","flexGrow"],"sourceRoot":"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a,IAAE,CAAC;MAAA,CAC/B;IAAC,CACH,CAAC,eACPK,IAAA,CAACV,IAAI;MACHkB,KAAK,EAAE,CAACC,MAAM,CAACO,aAAa,EAAET,uBAAuB,CAACS,aAAa,CAAE;MAAAH,QAAA,EAEpEtB,aAAa,iBAAIS,IAAA,CAACT,aAAa;QAAC0B,IAAI,EAAC;MAAQ,CAAE;IAAC,CAC7C,CAAC,eACPjB,IAAA,CAACV,IAAI;MACHkB,KAAK,EAAE,CAACC,MAAM,CAACS,YAAY,EAAEX,uBAAuB,CAACW,YAAY;IAAE,CACpE,CAAC;EAAA,CACE,CAAC;AAEX,CAAC;AAED,MAAMT,MAAM,GAAGpB,UAAU,CAAC8B,MAAM,CAAC;EAC/BT,SAAS,EAAE;IACTU,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,eAAe,EAAE,EAAE;IACnBC,iBAAiB,EAAE,CAAC;IACpBC,qBAAqB,EAAE,CAAC;IACxBC,uBAAuB,EAAE,CAAC;IAC1BC,MAAM,EAAE9B,OAAO,CAAC+B;EAClB,CAAC;EACDd,QAAQ,EAAE;IACRO,aAAa,EAAE;EACjB,CAAC;EACDR,WAAW,EAAE;IACXgB,IAAI,EAAE,CAAC;IACPP,UAAU,EAAE;EACd,CAAC;EACDP,aAAa,EAAE;IACbc,IAAI,EAAE,CAAC;IACPP,UAAU,EAAE,QAAQ;IACpBQ,QAAQ,EAAE;EACZ,CAAC;EACDb,YAAY,EAAE;IACZY,IAAI,EAAE,CAAC;IACPP,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamTopView/index.ts"],"mappings":"AAAA,cAAc,iBAAiB;AAC/B,cAAc,iBAAiB;AAC/B,cAAc,iBAAiB;AAC/B,cAAc,yBAAyB;AACvC,cAAc,2BAA2B","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamTopView/index.ts"],"mappings":";;AAAA,cAAc,iBAAiB;AAC/B,cAAc,iBAAiB;AAC/B,cAAc,iBAAiB;AAC/B,cAAc,yBAAyB;AACvC,cAAc,2BAA2B","ignoreList":[]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import React, { useEffect, useMemo, useState } from 'react';
|
|
2
4
|
import { StyleSheet, View } from 'react-native';
|
|
3
5
|
import { useTheme } from '../../../contexts';
|
|
@@ -13,7 +15,7 @@ import { getRNInCallManagerLibNoThrow } from '../../../modules/call-manager/Prev
|
|
|
13
15
|
/**
|
|
14
16
|
* Props for the ViewerLivestream component.
|
|
15
17
|
*/
|
|
16
|
-
|
|
18
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
19
|
/**
|
|
18
20
|
* The ViewerLivestream component renders the UI for the Viewer's live stream.
|
|
19
21
|
*/
|
|
@@ -59,14 +61,13 @@ export const ViewerLivestream = ({
|
|
|
59
61
|
// Automatically route audio to speaker devices as relevant for watching videos.
|
|
60
62
|
useEffect(() => {
|
|
61
63
|
const prevInCallManager = getRNInCallManagerLibNoThrow();
|
|
62
|
-
if (prevInCallManager)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
64
|
+
if (!prevInCallManager) return;
|
|
65
|
+
prevInCallManager.start({
|
|
66
|
+
media: 'video'
|
|
67
|
+
});
|
|
68
|
+
return () => {
|
|
69
|
+
prevInCallManager.stop();
|
|
70
|
+
};
|
|
70
71
|
}, []);
|
|
71
72
|
useEffect(() => {
|
|
72
73
|
if (callingState === CallingState.LEFT) {
|
|
@@ -92,32 +93,37 @@ export const ViewerLivestream = ({
|
|
|
92
93
|
}
|
|
93
94
|
}, [canJoinLive, call, canJoinBackstage, canJoinEarly, joinBehavior, callingState, hasLeft]);
|
|
94
95
|
if (endedAt != null) {
|
|
95
|
-
return /*#__PURE__*/
|
|
96
|
-
style: [styles.container, viewerLivestream.container]
|
|
97
|
-
|
|
96
|
+
return /*#__PURE__*/_jsx(View, {
|
|
97
|
+
style: [styles.container, viewerLivestream.container],
|
|
98
|
+
children: /*#__PURE__*/_jsx(CallEndedView, {})
|
|
99
|
+
});
|
|
98
100
|
}
|
|
99
101
|
if (!canJoinLive || callingState !== CallingState.JOINED) {
|
|
100
|
-
return /*#__PURE__*/
|
|
101
|
-
style: [styles.container, viewerLivestream.container]
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
return /*#__PURE__*/_jsx(View, {
|
|
103
|
+
style: [styles.container, viewerLivestream.container],
|
|
104
|
+
children: /*#__PURE__*/_jsx(ViewerLobby, {
|
|
105
|
+
isLive: canJoinLive
|
|
106
|
+
})
|
|
107
|
+
});
|
|
105
108
|
}
|
|
106
|
-
return /*#__PURE__*/
|
|
107
|
-
style: [styles.container, viewerLivestream.container]
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
109
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
110
|
+
style: [styles.container, viewerLivestream.container],
|
|
111
|
+
children: [ViewerLivestreamTopView && /*#__PURE__*/_jsx(ViewerLivestreamTopView, {
|
|
112
|
+
...topViewProps
|
|
113
|
+
}), FloatingParticipantView && floatingParticipant && topViewHeight && controlsHeight && /*#__PURE__*/_jsx(FloatingParticipantView, {
|
|
114
|
+
participant: floatingParticipant,
|
|
115
|
+
draggableContainerStyle: [StyleSheet.absoluteFill, {
|
|
116
|
+
top: topViewHeight,
|
|
117
|
+
bottom: controlsHeight
|
|
118
|
+
}]
|
|
119
|
+
}), LivestreamLayout && /*#__PURE__*/_jsx(LivestreamLayout, {}), ViewerLivestreamControls && /*#__PURE__*/_jsx(ViewerLivestreamControls, {
|
|
120
|
+
ViewerLeaveStreamButton: ViewerLeaveStreamButton,
|
|
121
|
+
onLeaveStreamHandler: onLeaveStreamHandler,
|
|
122
|
+
onLayout: event => {
|
|
123
|
+
setControlsHeight(event.nativeEvent.layout.height);
|
|
124
|
+
}
|
|
125
|
+
})]
|
|
126
|
+
});
|
|
121
127
|
};
|
|
122
128
|
const useCanJoinEarly = () => {
|
|
123
129
|
const {
|
|
@@ -129,12 +135,11 @@ const useCanJoinEarly = () => {
|
|
|
129
135
|
const joinAheadTimeSeconds = settings?.backstage.join_ahead_time_seconds;
|
|
130
136
|
const [canJoinEarly, setCanJoinEarly] = useState(() => checkCanJoinEarly(startsAt, joinAheadTimeSeconds));
|
|
131
137
|
useEffect(() => {
|
|
132
|
-
if (
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
+
if (canJoinEarly) return;
|
|
139
|
+
const handle = setInterval(() => {
|
|
140
|
+
setCanJoinEarly(checkCanJoinEarly(startsAt, joinAheadTimeSeconds));
|
|
141
|
+
}, 1000);
|
|
142
|
+
return () => clearInterval(handle);
|
|
138
143
|
}, [canJoinEarly, startsAt, joinAheadTimeSeconds]);
|
|
139
144
|
return canJoinEarly;
|
|
140
145
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","useMemo","useState","StyleSheet","View","useTheme","ViewerLivestreamControls","DefaultViewerLivestreamControls","LivestreamLayout","DefaultLivestreamLayout","useCall","useCallStateHooks","FloatingParticipantView","DefaultFloatingParticipantView","CallingState","hasVideo","CallEndedView","ViewerLobby","getRNInCallManagerLibNoThrow","ViewerLivestream","ViewerLivestreamTopView","LiveIndicator","FollowerCount","DurationBadge","ViewerLeaveStreamButton","onLeaveStreamHandler","joinBehavior","styles","useStyles","call","theme","viewerLivestream","useHasOngoingScreenShare","useParticipants","useCallCallingState","useCallEndedAt","useIsCallLive","useOwnCapabilities","canJoinLive","callingState","endedAt","hasOngoingScreenShare","currentSpeaker","floatingParticipant","hasLeft","setHasLeft","canJoinEarly","useCanJoinEarly","canJoinBackstage","includes","topViewHeight","setTopViewHeight","controlsHeight","setControlsHeight","prevInCallManager","start","media","stop","LEFT","topViewProps","onLayout","event","nativeEvent","layout","height","canJoinAsap","join","canJoin","IDLE","catch","error","console","
|
|
1
|
+
{"version":3,"names":["React","useEffect","useMemo","useState","StyleSheet","View","useTheme","ViewerLivestreamControls","DefaultViewerLivestreamControls","LivestreamLayout","DefaultLivestreamLayout","useCall","useCallStateHooks","FloatingParticipantView","DefaultFloatingParticipantView","CallingState","hasVideo","CallEndedView","ViewerLobby","getRNInCallManagerLibNoThrow","jsx","_jsx","jsxs","_jsxs","ViewerLivestream","ViewerLivestreamTopView","LiveIndicator","FollowerCount","DurationBadge","ViewerLeaveStreamButton","onLeaveStreamHandler","joinBehavior","styles","useStyles","call","theme","viewerLivestream","useHasOngoingScreenShare","useParticipants","useCallCallingState","useCallEndedAt","useIsCallLive","useOwnCapabilities","canJoinLive","callingState","endedAt","hasOngoingScreenShare","currentSpeaker","floatingParticipant","hasLeft","setHasLeft","canJoinEarly","useCanJoinEarly","canJoinBackstage","includes","topViewHeight","setTopViewHeight","controlsHeight","setControlsHeight","prevInCallManager","start","media","stop","LEFT","topViewProps","onLayout","event","nativeEvent","layout","height","canJoinAsap","join","canJoin","IDLE","catch","error","console","style","container","children","JOINED","isLive","participant","draggableContainerStyle","absoluteFill","top","bottom","useCallStartsAt","useCallSettings","startsAt","settings","joinAheadTimeSeconds","backstage","join_ahead_time_seconds","setCanJoinEarly","checkCanJoinEarly","handle","setInterval","clearInterval","Date","now","create","flex","paddingBottom","variants","insets","paddingLeft","left","paddingRight","right","paddingTop","backgroundColor","colors","sheetPrimary"],"sourceRoot":"../../../../../src","sources":["components/Livestream/ViewerLivestream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ings';
|
|
2
4
|
import React, { useEffect, useMemo, useState } from 'react';
|
|
3
5
|
import { ActivityIndicator, Button, StyleSheet, Text, View } from 'react-native';
|
|
4
6
|
import { useTheme } from '../../../contexts';
|
|
5
7
|
import { CallingState, videoLoggerSystem } from '@stream-io/video-client';
|
|
8
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
9
|
export const ViewerLobby = ({
|
|
7
10
|
isLive
|
|
8
11
|
}) => {
|
|
@@ -62,33 +65,42 @@ export const ViewerLobby = ({
|
|
|
62
65
|
getCall();
|
|
63
66
|
}, [call]);
|
|
64
67
|
if (error) {
|
|
65
|
-
return /*#__PURE__*/
|
|
66
|
-
style: styles.container
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
return /*#__PURE__*/_jsx(View, {
|
|
69
|
+
style: styles.container,
|
|
70
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
71
|
+
style: styles.text,
|
|
72
|
+
children: "Error joining the livestream. Please try again later."
|
|
73
|
+
})
|
|
74
|
+
});
|
|
70
75
|
}
|
|
71
76
|
const isJoiningLiveCall = callingState === CallingState.JOINING;
|
|
72
77
|
if (isJoiningLiveCall) {
|
|
73
|
-
return /*#__PURE__*/
|
|
74
|
-
style: styles.container
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
78
|
+
return /*#__PURE__*/_jsx(View, {
|
|
79
|
+
style: styles.container,
|
|
80
|
+
children: /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
81
|
+
size: "large",
|
|
82
|
+
color: theme.colors.textPrimary
|
|
83
|
+
})
|
|
84
|
+
});
|
|
79
85
|
}
|
|
80
|
-
return /*#__PURE__*/
|
|
81
|
-
style: styles.container
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
86
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
87
|
+
style: styles.container,
|
|
88
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
89
|
+
style: styles.text,
|
|
90
|
+
children: isLive ? t('Livestream is still in progress') : startsAt ? t('Livestream will start in:') : t('Livestream will start soon')
|
|
91
|
+
}), startsAt && !isLive && /*#__PURE__*/_jsx(Text, {
|
|
92
|
+
style: styles.countdownText,
|
|
93
|
+
children: countdown
|
|
94
|
+
}), !isLive && participants.length > 0 && /*#__PURE__*/_jsx(_Fragment, {
|
|
95
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
96
|
+
style: styles.participantsText,
|
|
97
|
+
children: `${participants.length} ${t('participants have joined early')}`
|
|
98
|
+
})
|
|
99
|
+
}), isLive && /*#__PURE__*/_jsx(Button, {
|
|
100
|
+
title: t('Join Livestream'),
|
|
101
|
+
onPress: () => call?.join()
|
|
102
|
+
})]
|
|
103
|
+
});
|
|
92
104
|
};
|
|
93
105
|
const useStyles = () => {
|
|
94
106
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useCall","useCallStateHooks","useI18n","React","useEffect","useMemo","useState","ActivityIndicator","Button","StyleSheet","Text","View","useTheme","CallingState","videoLoggerSystem","ViewerLobby","isLive","styles","useStyles","theme","t","useCallStartsAt","useParticipants","useCallCallingState","callingState","call","startsAt","error","setError","undefined","countdown","setCountdown","getCountdown","participants","updateCountdown","timeRemaining","Math","max","getTime","Date","now","clearInterval","intervalId","setInterval","getCall","get","err","Error","logger","getLogger","
|
|
1
|
+
{"version":3,"names":["useCall","useCallStateHooks","useI18n","React","useEffect","useMemo","useState","ActivityIndicator","Button","StyleSheet","Text","View","useTheme","CallingState","videoLoggerSystem","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","ViewerLobby","isLive","styles","useStyles","theme","t","useCallStartsAt","useParticipants","useCallCallingState","callingState","call","startsAt","error","setError","undefined","countdown","setCountdown","getCountdown","participants","updateCountdown","timeRemaining","Math","max","getTime","Date","now","clearInterval","intervalId","setInterval","getCall","get","err","Error","logger","getLogger","style","container","children","text","isJoiningLiveCall","JOINING","size","color","colors","textPrimary","countdownText","length","participantsText","title","onPress","join","create","flex","justifyContent","alignItems","backgroundColor","sheetPrimary","padding","variants","spacingSizes","lg","fontSize","fontSizes","margin","md","textAlign","xl","fontWeight","marginBottom","textSecondary","sm","minutes","floor","seconds","toString","padStart"],"sourceRoot":"../../../../../src","sources":["components/Livestream/ViewerLivestream/ViewerLobby.tsx"],"mappings":";;AAAA,SACEA,OAAO,EACPC,iBAAiB,EACjBC,OAAO,QACF,iCAAiC;AACxC,OAAOC,KAAK,IAAIC,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAC3D,SACEC,iBAAiB,EACjBC,MAAM,EACNC,UAAU,EACVC,IAAI,EACJC,IAAI,QACC,cAAc;AACrB,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,YAAY,EAAEC,iBAAiB,QAAQ,yBAAyB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AAO1E,OAAO,MAAMC,WAAW,GAAGA,CAAC;EAAEC;AAAmB,CAAC,KAAK;EACrD,MAAMC,MAAM,GAAGC,SAAS,CAAC,CAAC;EAC1B,MAAM;IAAEC;EAAM,CAAC,GAAGb,QAAQ,CAAC,CAAC;EAC5B,MAAM;IAAEc;EAAE,CAAC,GAAGxB,OAAO,CAAC,CAAC;EACvB,MAAM;IAAEyB,eAAe;IAAEC,eAAe;IAAEC;EAAoB,CAAC,GAC7D5B,iBAAiB,CAAC,CAAC;EACrB,MAAM6B,YAAY,GAAGD,mBAAmB,CAAC,CAAC;EAC1C,MAAME,IAAI,GAAG/B,OAAO,CAAC,CAAC;EACtB,MAAMgC,QAAQ,GAAGL,eAAe,CAAC,CAAC;EAClC,MAAM,CAACM,KAAK,EAAEC,QAAQ,CAAC,GAAG5B,QAAQ,CAA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ChBL,KAAK,EAAEtC,KAAK,CAACuC,MAAM,CAAC0B,aAAa;MACjCR,QAAQ,EAAEzD,KAAK,CAACsD,QAAQ,CAACI,SAAS,CAACE,EAAE;MACrCI,YAAY,EAAEhE,KAAK,CAACsD,QAAQ,CAACC,YAAY,CAACW;IAC5C;EACF,CAAC,CAAC,EACJ,CAAClE,KAAK,CACR,CAAC;AACH,CAAC;AAED,MAAMa,YAAY,GAAIN,QAA0B,IAAK;EACnD,IAAI,CAACA,QAAQ,EAAE;IACb,OAAO,EAAE;EACX;EAEA,MAAMc,GAAG,GAAGD,IAAI,CAACC,GAAG,CAAC,CAAC;EACtB,MAAML,aAAa,GAAGC,IAAI,CAACC,GAAG,CAAC,CAAC,EAAEX,QAAQ,CAACY,OAAO,CAAC,CAAC,GAAGE,GAAG,CAAC;EAE3D,MAAM8C,OAAO,GAAGlD,IAAI,CAACmD,KAAK,CAACpD,aAAa,IAAI,IAAI,GAAG,EAAE,CAAC,CAAC;EACvD,MAAMqD,OAAO,GAAGpD,IAAI,CAACmD,KAAK,CAAEpD,aAAa,IAAI,IAAI,GAAG,EAAE,CAAC,GAAI,IAAI,CAAC;EAChE,OAAO,GAAGmD,OAAO,IAAIE,OAAO,CAACC,QAAQ,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE;AAC5D,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Livestream/ViewerLivestream/index.ts"],"mappings":"AAAA,cAAc,oBAAoB","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Livestream/ViewerLivestream/index.ts"],"mappings":";;AAAA,cAAc,oBAAoB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Livestream/index.ts"],"mappings":"AAAA,cAAc,kBAAkB;AAChC,cAAc,sBAAsB;AACpC,cAAc,qBAAqB;AACnC,cAAc,oBAAoB;AAClC,cAAc,oBAAoB;AAClC,cAAc,oBAAoB","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Livestream/index.ts"],"mappings":";;AAAA,cAAc,kBAAkB;AAChC,cAAc,sBAAsB;AACpC,cAAc,qBAAqB;AACnC,cAAc,oBAAoB;AAClC,cAAc,oBAAoB;AAClC,cAAc,oBAAoB","ignoreList":[]}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
2
3
|
import React, { useEffect, useReducer, useRef } from 'react';
|
|
3
4
|
import { Animated, Easing, PanResponder, StyleSheet, View } from 'react-native';
|
|
4
5
|
import { floatingChildViewContainerStyle, FloatingViewAlignment, getClosestSnapAlignment, getSnapAlignments } from './common';
|
|
5
6
|
import { videoLoggerSystem } from '@stream-io/video-client';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
8
|
const AnimatedFloatingView = ({
|
|
7
9
|
initialAlignment,
|
|
8
10
|
containerWidth,
|
|
@@ -135,20 +137,23 @@ const AnimatedFloatingView = ({
|
|
|
135
137
|
})
|
|
136
138
|
}]
|
|
137
139
|
};
|
|
138
|
-
return /*#__PURE__*/
|
|
139
|
-
style: containerStyle
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
140
|
+
return /*#__PURE__*/_jsx(Animated.View, {
|
|
141
|
+
style: containerStyle,
|
|
142
|
+
...panResponder.panHandlers,
|
|
143
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
144
|
+
onLayout: event => {
|
|
145
|
+
const layout = event.nativeEvent.layout;
|
|
146
|
+
setRectangle(prev => {
|
|
147
|
+
if (prev && prev.width === layout.width && prev.height === layout.height && prev.x === layout.x && prev.y === layout.y) {
|
|
148
|
+
return prev;
|
|
149
|
+
}
|
|
150
|
+
return layout;
|
|
151
|
+
});
|
|
152
|
+
},
|
|
153
|
+
style: floatingChildViewContainerStyle,
|
|
154
|
+
children: children
|
|
155
|
+
})
|
|
156
|
+
});
|
|
152
157
|
};
|
|
153
158
|
const styles = StyleSheet.create({
|
|
154
159
|
animContainer: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","useReducer","useRef","Animated","Easing","PanResponder","StyleSheet","View","floatingChildViewContainerStyle","FloatingViewAlignment","getClosestSnapAlignment","getSnapAlignments","videoLoggerSystem","AnimatedFloatingView","initialAlignment","containerWidth","containerHeight","children","translateRef","ValueXY","opacity","Value","rectangle","setRectangle","useState","forceUpdate","x","snapAlignmentsRef","topLeft","y","topRight","bottomLeft","bottomRight","snapAlignments","rootContainerDimensions","width","height","floatingViewDimensions","current","setOffset","setValue","panResponder","create","onStartShouldSetPanResponder","onMoveShouldSetPanResponder","onPanResponderMove","event","dx","dy","useNativeDriver","onPanResponderGrant","extractOffset","onPanResponderRelease","flattenOffset","currentPosition","__getValue","closestAlignment","position","timing","toValue","duration","easing","inOut","quad","start","logger","getLogger","info","containerStyle","styles","animContainer","transform","translateX","interpolate","inputRange","outputRange","extrapolate","translateY","
|
|
1
|
+
{"version":3,"names":["React","useEffect","useReducer","useRef","Animated","Easing","PanResponder","StyleSheet","View","floatingChildViewContainerStyle","FloatingViewAlignment","getClosestSnapAlignment","getSnapAlignments","videoLoggerSystem","jsx","_jsx","AnimatedFloatingView","initialAlignment","containerWidth","containerHeight","children","translateRef","ValueXY","opacity","Value","rectangle","setRectangle","useState","forceUpdate","x","snapAlignmentsRef","topLeft","y","topRight","bottomLeft","bottomRight","snapAlignments","rootContainerDimensions","width","height","floatingViewDimensions","current","setOffset","setValue","panResponder","create","onStartShouldSetPanResponder","onMoveShouldSetPanResponder","onPanResponderMove","event","dx","dy","useNativeDriver","onPanResponderGrant","extractOffset","onPanResponderRelease","flattenOffset","currentPosition","__getValue","closestAlignment","position","timing","toValue","duration","easing","inOut","quad","start","logger","getLogger","info","containerStyle","styles","animContainer","transform","translateX","interpolate","inputRange","outputRange","extrapolate","translateY","style","panHandlers","onLayout","layout","nativeEvent","prev","top","left"],"sourceRoot":"../../../../../../src","sources":["components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,UAAU,EAAEC,MAAM,QAAQ,OAAO;AAC5D,SACEC,QAAQ,EACRC,MAAM,EAENC,YAAY,EACZC,UAAU,EACVC,IAAI,QACC,cAAc;AACrB,SACEC,+BAA+B,EAC/BC,qBAAqB,EAErBC,uBAAuB,EACvBC,iBAAiB,QACZ,UAAU;AACjB,SAASC,iBAAiB,QAAQ,yBAAyB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE5D,MAAMC,oBAAoB,GAAGA,CAAC;EAC5BC,gBAAgB;EAChBC,cAAc;EACdC,eAAe;EACfC;AACiB,CAAC,KAAK;EACvB;EACA;EACA;EACA;EACA,MAAMC,YAAY,GAAGlB,MAAM,CAAC,IAAIC,QAAQ,CAACkB,OAAO,CAAC,CAAC,CAAC;EACnD,MAAMC,OAAO,GAAGpB,MAAM,CAAC,IAAIC,QAAQ,CAACoB,KAAK,CAAC,CAAC,CAAC,CAAC;EAE7C,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAG1B,KAAK,CAAC2B,QAAQ,CAAkB,CAAC;;EAEnE;EACA;EACA;EACA,MAAM,GAAGC,WAAW,CAAC,GAAG1B,UAAU,CAAE2B,CAAC,IAAKA,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;;EAEnD;EACA;EACA,MAAMC,iBAAiB,GAAG3B,MAAM,CAAuC;IACrE,CAACO,qBAAqB,CAACqB,OAAO,GAAG;MAAEF,CAAC,EAAE,CAAC;MAAEG,CAAC,EAAE;IAAE,CAAC;I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7C,MAAM,IAC7B+C,IAAI,CAACzD,CAAC,KAAKuD,MAAM,CAACvD,CAAC,IACnByD,IAAI,CAACtD,CAAC,KAAKoD,MAAM,CAACpD,CAAC,EACnB;YACA,OAAOsD,IAAI;UACb;UACA,OAAOF,MAAM;QACf,CAAC,CAAC;MACJ,CAAE;MACFH,KAAK,EAAExE,+BAAgC;MAAAW,QAAA,EAEtCA;IAAQ,CACL;EAAC,CACM,CAAC;AAEpB,CAAC;AAED,MAAMoD,MAAM,GAAGjE,UAAU,CAACsC,MAAM,CAAC;EAC/B4B,aAAa,EAAE;IACbb,QAAQ,EAAE,UAAU;IACpB2B,GAAG,EAAE,CAAC;IACNC,IAAI,EAAE;EACR;AACF,CAAC,CAAC;AAEF,eAAexE,oBAAoB","ignoreList":[]}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import React, { useEffect, useMemo } from 'react';
|
|
2
4
|
import { View } from 'react-native';
|
|
3
5
|
import { floatingChildViewContainerStyle, FloatingViewAlignment, getClosestSnapAlignment, getSnapAlignments } from './common';
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
7
|
let ReanimatedFloatingView = () => {
|
|
5
8
|
throw new Error('ReanimatedFloatingView component must not be used without the react-native-reanimated library and react-native-gesture-handler library installed');
|
|
6
9
|
};
|
|
@@ -124,22 +127,25 @@ try {
|
|
|
124
127
|
/*#__PURE__*/
|
|
125
128
|
// gesture handler root view must absolutely fill the bounds
|
|
126
129
|
// to intercept gestures within those bounds
|
|
127
|
-
|
|
128
|
-
gesture: dragGesture
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
130
|
+
_jsx(GestureDetector, {
|
|
131
|
+
gesture: dragGesture,
|
|
132
|
+
children: /*#__PURE__*/_jsx(Reanimated.View, {
|
|
133
|
+
style: animatedStyle,
|
|
134
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
135
|
+
onLayout: event => {
|
|
136
|
+
const layout = event.nativeEvent.layout;
|
|
137
|
+
setRectangle(prev => {
|
|
138
|
+
if (prev && prev.width === layout.width && prev.height === layout.height && prev.x === layout.x && prev.y === layout.y) {
|
|
139
|
+
return prev;
|
|
140
|
+
}
|
|
141
|
+
return layout;
|
|
142
|
+
});
|
|
143
|
+
},
|
|
144
|
+
style: floatingChildViewContainerStyle,
|
|
145
|
+
children: children
|
|
146
|
+
})
|
|
147
|
+
})
|
|
148
|
+
})
|
|
143
149
|
);
|
|
144
150
|
};
|
|
145
151
|
} catch {}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","useMemo","View","floatingChildViewContainerStyle","FloatingViewAlignment","getClosestSnapAlignment","getSnapAlignments","ReanimatedFloatingView","Error","Gesture","GestureDetector","require","Reanimated","default","useSharedValue","withTiming","useAnimatedStyle","withDelay","initialAlignment","containerHeight","containerWidth","children","start","x","y","translationX","translationY","opacity","rectangle","setRectangle","useState","snapAlignments","topLeft","topRight","bottomLeft","bottomRight","rootContainerDimensions","width","height","floatingViewDimensions","dragGesture","Pan","onStart","value","onUpdate","e","Math","max","min","onEnd","position","closestAlignment","alignment","duration","animatedStyle","transform","translateX","translateY","
|
|
1
|
+
{"version":3,"names":["React","useEffect","useMemo","View","floatingChildViewContainerStyle","FloatingViewAlignment","getClosestSnapAlignment","getSnapAlignments","jsx","_jsx","ReanimatedFloatingView","Error","Gesture","GestureDetector","require","Reanimated","default","useSharedValue","withTiming","useAnimatedStyle","withDelay","initialAlignment","containerHeight","containerWidth","children","start","x","y","translationX","translationY","opacity","rectangle","setRectangle","useState","snapAlignments","topLeft","topRight","bottomLeft","bottomRight","rootContainerDimensions","width","height","floatingViewDimensions","dragGesture","Pan","onStart","value","onUpdate","e","Math","max","min","onEnd","position","closestAlignment","alignment","duration","animatedStyle","transform","translateX","translateY","gesture","style","onLayout","event","layout","nativeEvent","prev"],"sourceRoot":"../../../../../../src","sources":["components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO,QAAQ,OAAO;AACjD,SAA+BC,IAAI,QAAQ,cAAc;AACzD,SACEC,+BAA+B,EAC/BC,qBAAqB,EAErBC,uBAAuB,EACvBC,iBAAiB,QACZ,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAMlB,IAAIC,sBAAmD,GAAGA,CAAA,KAAM;EAC9D,MAAM,IAAIC,KAAK,CACb,kJACF,CAAC;AACH,CAAC;AAED,IAAI;EACF,MAAM;IACJC,OAAO;IACPC;EAIF,CAAC,GAAGC,OAAO,CAAC,8BAA8B,CAAC;EAC3C,MAAMC,UAAmC,GACvCD,OAAO,CAAC,yBAAyB,CAAC,CAACE,OAAO;EAC5C,MAAM;IACJC,cAAc;IACdC,UAAU;IACVC,gBAAgB;IAChBC;EAMF,CAAC,GAAGN,OAAO,CAAC,yBAAyB,CAAC;;EAEtC;EACAJ,sBAAsB,GAAGA,CAAC;IACxBW,gBAAgB;IAChBC,eAAe;IACfC,cAAc;IACdC;EACiB,CAAC,KAAK;IACvB;IACA;IACA,MAAMC,KAAK,GAAGR,cAAc,CAAC;MAAES,CAAC,EAAE,CAAC;MAAEC,CAAC,EAAE;IAAE,CAAC,CAAC;IAC5C;IACA,MAAMC,YAAY,GAAGX,cAAc,CAAC,CAAC,CAAC;IACtC,MAAMY,YAAY,GAAGZ,cAAc,CAAC,CAAC,CAAC;IACtC;IACA,MAAMa,OAAO,GAAGb,cAAc,CAAC,CAAC,CAAC;IACjC,MAAM,CAACc,SAAS,EAAEC,YAAY,CAAC,GAAGhC,KAAK,CAACiC,QAAQ,CAAkB,CAAC;IAEnE,MAAMC,cAAc,GAAGhC,OAAO,CAAC,MAAM;MACnC,IAAI,CA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AAgB,CAAC,MAAM;MAC3C,OAAO;QACLsB,MAAM,EAAEV,SAAS,EAAEU,MAAM;QACzBD,KAAK,EAAET,SAAS,EAAES,KAAK;QACvBV,OAAO,EAAEA,OAAO,CAACgB,KAAK;QACtB;QACAY,SAAS,EAAE,CACT;UACEC,UAAU,EAAE/B,YAAY,CAACkB;QAC3B,CAAC,EACD;UACEc,UAAU,EAAE/B,YAAY,CAACiB;QAC3B,CAAC;MAEL,CAAC;IACH,CAAC,CAAC;IAEF;MAAA;MACE;MACA;MACArC,IAAA,CAACI,eAAe;QAACgD,OAAO,EAAElB,WAAY;QAAAnB,QAAA,eACpCf,IAAA,CAACM,UAAU,CAACZ,IAAI;UAAC2D,KAAK,EAAEL,aAAc;UAAAjC,QAAA,eACpCf,IAAA,CAACN,IAAI;YACH4D,QAAQ,EAAGC,KAAK,IAAK;cACnB,MAAMC,MAAM,GAAGD,KAAK,CAACE,WAAW,CAACD,MAAM;cACvCjC,YAAY,CAAEmC,IAAI,IAAK;gBACrB,IACEA,IAAI,IACJA,IAAI,CAAC3B,KAAK,KAAKyB,MAAM,CAACzB,KAAK,IAC3B2B,IAAI,CAAC1B,MAAM,KAAKwB,MAAM,CAACxB,MAAM,IAC7B0B,IAAI,CAACzC,CAAC,KAAKuC,MAAM,CAACvC,CAAC,IACnByC,IAAI,CAACxC,CAAC,KAAKsC,MAAM,CAACtC,CAAC,EACnB;kBACA,OAAOwC,IAAI;gBACb;gBACA,OAAOF,MAAM;cACf,CAAC,CAAC;YACJ,CAAE;YACFH,KAAK,EAAE1D,+BAAgC;YAAAoB,QAAA,EAEtCA;UAAQ,CACL;QAAC,CACQ;MAAC,CACH;IAAC;EAEtB,CAAC;AACH,CAAC,CAAC,MAAM,CAAC;AAET,eAAed,sBAAsB","ignoreList":[]}
|
package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["FloatingViewAlignment","getSnapAlignments","rootContainerDimensions","floatingViewDimensions","right","width","bottom","height","snapOffsets","topLeft","x","y","topRight","bottomLeft","bottomRight","getClosestSnapAlignment","position","snapAlignments","minDistanceSquared","Number","MAX_VALUE","closestSnapAlignmentKey","key","currentAlignmentKey","offset","currDistanceSquared","floatingChildViewContainerStyle","alignSelf"],"sourceRoot":"../../../../../../src","sources":["components/Participant/FloatingParticipantView/FloatingView/common.ts"],"mappings":"AAEA,WAAYA,qBAAqB,0BAArBA,qBAAqB;EAC/B;EADUA,qBAAqB,CAArBA,qBAAqB;EAI/B;EAJUA,qBAAqB,CAArBA,qBAAqB;EAO/B;EAPUA,qBAAqB,CAArBA,qBAAqB;EAU/B;EAVUA,qBAAqB,CAArBA,qBAAqB;EAAA,OAArBA,qBAAqB;AAAA;AAmBjC;AACA,OAAO,SAASC,iBAAiBA,CAAC;EAChCC,uBAAuB;EACvBC;AAIF,CAAC,EAAkB;EACjB,MAAMC,KAAK,GAAGF,uBAAuB,CAACG,KAAK,GAAGF,sBAAsB,CAACE,KAAK;EAC1E,MAAMC,MAAM,GAAGJ,uBAAuB,CAACK,MAAM,GAAGJ,sBAAsB,CAACI,MAAM;EAC7E,MAAMC,WAAW,GAAG;IAClB,CAACR,qBAAqB,CAACS,OAAO,GAAG;MAC/BC,CAAC,EAAE,CAAC;MACJC,CAAC,EAAE;IACL,CAAC;IACD,CAACX,qBAAqB,CAACY,QAAQ,GAAG;MAChCF,CAAC,EAAEN,KAAK;MACRO,CAAC,EAAE;IACL,CAAC;IACD,CAACX,qBAAqB,CAACa,UAAU,GAAG;MAClCH,CAAC,EAAE,CAAC;MACJC,CAAC,EAAEL;IACL,CAAC;IACD,CAACN,qBAAqB,CAACc,WAAW,GAAG;MACnCJ,CAAC,EAAEN,KAAK;MACRO,CAAC,EAAEL;IACL;EACF,CAAC;EACD,OAAOE,WAAW;AACpB;;AAEA;AACA;AACA;AACA,OAAO,SAASO,uBAAuBA,CAAC;EACtCC,QAAQ;EACRC;AAIF,CAAC,EAAE;EACD,SAAS;;EACT,IAAIC,kBAAkB,GAAGC,MAAM,CAACC,SAAS;EACzC,IAAIC,uBAA8C,GAChDrB,qBAAqB,CAACY,QAAQ;EAChC,KAAK,MAAMU,GAAG,IAAIL,cAAc,EAAE;IAChC;IACA,MAAMM,mBAAmB,GAAGD,GAAuC;IACnE,MAAME,MAAM,GAAGP,cAAc,CAACM,mBAAmB,CAAC;IAClD,MAAME,mBAAmB,GACvB,CAACD,MAAM,CAACd,CAAC,GAAGM,QAAQ,CAACN,CAAC,KAAKc,MAAM,CAACd,CAAC,GAAGM,QAAQ,CAACN,CAAC,CAAC,GACjD,CAACc,MAAM,CAACb,CAAC,GAAGK,QAAQ,CAACL,CAAC,KAAKa,MAAM,CAACb,CAAC,GAAGK,QAAQ,CAACL,CAAC,CAAC;IACnD,IAAIc,mBAAmB,GAAGP,kBAAkB,EAAE;MAC5CA,kBAAkB,GAAGO,mBAAmB;MACxCJ,uBAAuB,GAAGE,mBAAmB;IAC/C;EACF;EACA,OAAON,cAAc,CAACI,uBAAuB,CAAC;AAChD;AAQA,OAAO,MAAMK,+BAAqD,GAAG;EACnEC,SAAS,EAAE;AACb,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["FloatingViewAlignment","getSnapAlignments","rootContainerDimensions","floatingViewDimensions","right","width","bottom","height","snapOffsets","topLeft","x","y","topRight","bottomLeft","bottomRight","getClosestSnapAlignment","position","snapAlignments","minDistanceSquared","Number","MAX_VALUE","closestSnapAlignmentKey","key","currentAlignmentKey","offset","currDistanceSquared","floatingChildViewContainerStyle","alignSelf"],"sourceRoot":"../../../../../../src","sources":["components/Participant/FloatingParticipantView/FloatingView/common.ts"],"mappings":";;AAEA,WAAYA,qBAAqB,0BAArBA,qBAAqB;EAC/B;EADUA,qBAAqB,CAArBA,qBAAqB;EAI/B;EAJUA,qBAAqB,CAArBA,qBAAqB;EAO/B;EAPUA,qBAAqB,CAArBA,qBAAqB;EAU/B;EAVUA,qBAAqB,CAArBA,q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a,MAAM,CAACb,CAAC,GAAGK,QAAQ,CAACL,CAAC,CAAC;IACnD,IAAIc,mBAAmB,GAAGP,kBAAkB,EAAE;MAC5CA,kBAAkB,GAAGO,mBAAmB;MACxCJ,uBAAuB,GAAGE,mBAAmB;IAC/C;EACF;EACA,OAAON,cAAc,CAACI,uBAAuB,CAAC;AAChD;AAQA,OAAO,MAAMK,+BAAqD,GAAG;EACnEC,SAAS,EAAE;AACb,CAAC","ignoreList":[]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import { getGestureHandlerLib, getReanimatedLib } from '../../../../utils/internal/optionallibs';
|
|
2
4
|
const FloatingView = getReanimatedLib() && getGestureHandlerLib() ? require('./ReanimatedFloatingView').default : require('./AnimatedFloatingView').default;
|
|
3
5
|
export default FloatingView;
|
package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getGestureHandlerLib","getReanimatedLib","FloatingView","require","default"],"sourceRoot":"../../../../../../src","sources":["components/Participant/FloatingParticipantView/FloatingView/index.ts"],"mappings":"AAAA,SACEA,oBAAoB,EACpBC,gBAAgB,QACX,yCAAyC;AAGhD,MAAMC,YAAyC,GAC7CD,gBAAgB,CAAC,CAAC,IAAID,oBAAoB,CAAC,CAAC,GACxCG,OAAO,CAAC,0BAA0B,CAAC,CAACC,OAAO,GAC3CD,OAAO,CAAC,wBAAwB,CAAC,CAACC,OAAO;AAE/C,eAAeF,YAAY","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["getGestureHandlerLib","getReanimatedLib","FloatingView","require","default"],"sourceRoot":"../../../../../../src","sources":["components/Participant/FloatingParticipantView/FloatingView/index.ts"],"mappings":";;AAAA,SACEA,oBAAoB,EACpBC,gBAAgB,QACX,yCAAyC;AAGhD,MAAMC,YAAyC,GAC7CD,gBAAgB,CAAC,CAAC,IAAID,oBAAoB,CAAC,CAAC,GACxCG,OAAO,CAAC,0BAA0B,CAAC,CAACC,OAAO,GAC3CD,OAAO,CAAC,wBAAwB,CAAC,CAACC,OAAO;AAE/C,eAAeF,YAAY","ignoreList":[]}
|