@stream-io/video-react-native-sdk 1.10.4 → 1.10.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/dist/commonjs/components/Call/CallContent/CallContent.js +21 -31
- package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
- package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js +2 -3
- package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +6 -10
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/CallControls.js +6 -8
- package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +8 -11
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +6 -10
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +9 -11
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js +3 -5
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js +9 -12
- package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ReactionsButton.js +15 -22
- package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +6 -10
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js +11 -15
- package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +9 -13
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +13 -18
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +12 -17
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +9 -13
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +12 -17
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +34 -39
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +8 -10
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +18 -22
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +21 -25
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +7 -10
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/Lobby.js +33 -43
- package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/LobbyFooter.js +16 -21
- package/dist/commonjs/components/Call/Lobby/LobbyFooter.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js +1 -2
- package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js +1 -2
- package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +22 -33
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +25 -35
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +8 -12
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js +22 -28
- package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +22 -25
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -1
- package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +26 -31
- package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +12 -16
- package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +12 -16
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +14 -19
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js +3 -5
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +16 -19
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +14 -19
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +12 -16
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +9 -12
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +12 -14
- package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +3 -5
- package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +12 -16
- package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +12 -16
- package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +13 -18
- package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +7 -10
- package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +13 -18
- package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +15 -19
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +15 -18
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +18 -20
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +33 -39
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +43 -54
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +27 -30
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +7 -11
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +14 -17
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +20 -23
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js +7 -8
- package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer.js +11 -13
- package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer.js.map +1 -1
- package/dist/commonjs/components/utility/Avatar.js +15 -18
- package/dist/commonjs/components/utility/Avatar.js.map +1 -1
- package/dist/commonjs/components/utility/ScreenShareOverlay.js +29 -35
- package/dist/commonjs/components/utility/ScreenShareOverlay.js.map +1 -1
- package/dist/commonjs/contexts/BackgroundFilters.js +3 -5
- package/dist/commonjs/contexts/BackgroundFilters.js.map +1 -1
- package/dist/commonjs/contexts/StreamVideoContext.js +5 -6
- package/dist/commonjs/contexts/StreamVideoContext.js.map +1 -1
- package/dist/commonjs/contexts/ThemeContext.js +3 -5
- package/dist/commonjs/contexts/ThemeContext.js.map +1 -1
- package/dist/commonjs/hooks/push/useProcessPushCallEffect.js +1 -1
- package/dist/commonjs/hooks/push/useProcessPushCallEffect.js.map +1 -1
- package/dist/commonjs/hooks/useAndroidKeepCallAliveEffect.js +4 -3
- package/dist/commonjs/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
- package/dist/commonjs/icons/Back.js +6 -8
- package/dist/commonjs/icons/Back.js.map +1 -1
- package/dist/commonjs/icons/CameraSwitch.js +6 -8
- package/dist/commonjs/icons/CameraSwitch.js.map +1 -1
- package/dist/commonjs/icons/EndStreamIcon.js +6 -8
- package/dist/commonjs/icons/EndStreamIcon.js.map +1 -1
- package/dist/commonjs/icons/Eye.js +6 -8
- package/dist/commonjs/icons/Eye.js.map +1 -1
- package/dist/commonjs/icons/IconWrapper.js +3 -5
- package/dist/commonjs/icons/IconWrapper.js.map +1 -1
- package/dist/commonjs/icons/LeaveStreamIcon.js +6 -8
- package/dist/commonjs/icons/LeaveStreamIcon.js.map +1 -1
- package/dist/commonjs/icons/Lock.js +6 -8
- package/dist/commonjs/icons/Lock.js.map +1 -1
- package/dist/commonjs/icons/Mic.js +6 -8
- package/dist/commonjs/icons/Mic.js.map +1 -1
- package/dist/commonjs/icons/MicOff.js +6 -8
- package/dist/commonjs/icons/MicOff.js.map +1 -1
- package/dist/commonjs/icons/Phone.js +6 -8
- package/dist/commonjs/icons/Phone.js.map +1 -1
- package/dist/commonjs/icons/PhoneDown.js +6 -8
- package/dist/commonjs/icons/PhoneDown.js.map +1 -1
- package/dist/commonjs/icons/PinVertical.js +6 -8
- package/dist/commonjs/icons/PinVertical.js.map +1 -1
- package/dist/commonjs/icons/Reaction.js +6 -8
- package/dist/commonjs/icons/Reaction.js.map +1 -1
- package/dist/commonjs/icons/ScreenShare.js +6 -8
- package/dist/commonjs/icons/ScreenShare.js.map +1 -1
- package/dist/commonjs/icons/ScreenShareIndicator.js +18 -21
- package/dist/commonjs/icons/ScreenShareIndicator.js.map +1 -1
- package/dist/commonjs/icons/Settings.js +5 -7
- package/dist/commonjs/icons/Settings.js.map +1 -1
- package/dist/commonjs/icons/ShieldBadge.js +6 -8
- package/dist/commonjs/icons/ShieldBadge.js.map +1 -1
- package/dist/commonjs/icons/Spotlight.js +8 -10
- package/dist/commonjs/icons/Spotlight.js.map +1 -1
- package/dist/commonjs/icons/StartStreamIcon.js +6 -8
- package/dist/commonjs/icons/StartStreamIcon.js.map +1 -1
- package/dist/commonjs/icons/StopScreenShare.js +9 -11
- package/dist/commonjs/icons/StopScreenShare.js.map +1 -1
- package/dist/commonjs/icons/ThreeDots.js +18 -20
- package/dist/commonjs/icons/ThreeDots.js.map +1 -1
- package/dist/commonjs/icons/TopViewBackground.js +19 -24
- package/dist/commonjs/icons/TopViewBackground.js.map +1 -1
- package/dist/commonjs/icons/Video.js +6 -8
- package/dist/commonjs/icons/Video.js.map +1 -1
- package/dist/commonjs/icons/VideoSlash.js +6 -8
- package/dist/commonjs/icons/VideoSlash.js.map +1 -1
- package/dist/commonjs/providers/StreamCall/index.js +3 -5
- package/dist/commonjs/providers/StreamCall/index.js.map +1 -1
- package/dist/commonjs/providers/StreamVideo.js +5 -10
- package/dist/commonjs/providers/StreamVideo.js.map +1 -1
- package/dist/commonjs/theme/theme.js.map +1 -1
- package/dist/commonjs/utils/push/ios.js +1 -0
- package/dist/commonjs/utils/push/ios.js.map +1 -1
- package/dist/commonjs/utils/push/libs/notifee/index.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/module/components/Call/CallContent/CallContent.js +21 -33
- package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
- package/dist/module/components/Call/CallContent/RTCViewPipIOS.js +2 -5
- package/dist/module/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
- package/dist/module/components/Call/CallContent/index.js +0 -2
- package/dist/module/components/Call/CallContent/index.js.map +1 -1
- package/dist/module/components/Call/CallControls/AcceptCallButton.js +7 -12
- package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/CallControls.js +7 -10
- package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/CallControlsButton.js +8 -13
- package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/HangupCallButton.js +7 -12
- package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/IncomingCallControls.js +10 -13
- package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/LobbyControls.js +3 -7
- package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/OutgoingCallControls.js +10 -14
- package/dist/module/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/ReactionsButton.js +16 -24
- package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/RejectCallButton.js +7 -12
- package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js +12 -17
- package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +10 -15
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +14 -20
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +13 -19
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +10 -15
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +13 -19
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/index.js +0 -2
- package/dist/module/components/Call/CallControls/index.js.map +1 -1
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +34 -41
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +9 -12
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +19 -24
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
- package/dist/module/components/Call/CallLayout/index.js +0 -2
- package/dist/module/components/Call/CallLayout/index.js.map +1 -1
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +21 -27
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
- package/dist/module/components/Call/CallParticipantsList/index.js +0 -2
- package/dist/module/components/Call/CallParticipantsList/index.js.map +1 -1
- package/dist/module/components/Call/Lobby/JoinCallButton.js +8 -12
- package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/module/components/Call/Lobby/Lobby.js +34 -45
- package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
- package/dist/module/components/Call/Lobby/LobbyFooter.js +17 -23
- package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -1
- package/dist/module/components/Call/Lobby/index.js +0 -2
- package/dist/module/components/Call/Lobby/index.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js +1 -4
- package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js +1 -4
- package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js +23 -35
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +26 -37
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +9 -14
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js +22 -30
- package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/UserInfo.js +22 -27
- package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/index.js +0 -2
- package/dist/module/components/Call/RingingCallContent/index.js.map +1 -1
- package/dist/module/components/Call/index.js +0 -2
- package/dist/module/components/Call/index.js.map +1 -1
- package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +27 -33
- package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
- package/dist/module/components/Livestream/HostLivestream/index.js +0 -2
- package/dist/module/components/Livestream/HostLivestream/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +13 -18
- package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +13 -18
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +14 -21
- package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js +4 -7
- package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +16 -21
- package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +14 -21
- package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +13 -18
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +10 -14
- package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/index.js +0 -2
- package/dist/module/components/Livestream/LivestreamControls/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +13 -16
- package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamLayout/index.js +0 -2
- package/dist/module/components/Livestream/LivestreamLayout/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +3 -7
- package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamPlayer/index.js +0 -2
- package/dist/module/components/Livestream/LivestreamPlayer/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +13 -18
- package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +13 -18
- package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +14 -20
- package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +8 -12
- package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +14 -20
- package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/index.js +0 -2
- package/dist/module/components/Livestream/LivestreamTopView/index.js.map +1 -1
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +16 -21
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
- package/dist/module/components/Livestream/ViewerLivestream/index.js +0 -2
- package/dist/module/components/Livestream/ViewerLivestream/index.js.map +1 -1
- package/dist/module/components/Livestream/index.js +0 -2
- package/dist/module/components/Livestream/index.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +15 -20
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +18 -22
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js +0 -2
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js +0 -2
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/index.js +34 -41
- package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +44 -56
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +28 -32
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +8 -13
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +15 -19
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js +21 -25
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js +8 -10
- package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/VideoRenderer.js +11 -15
- package/dist/module/components/Participant/ParticipantView/VideoRenderer.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/index.js +0 -2
- package/dist/module/components/Participant/ParticipantView/index.js.map +1 -1
- package/dist/module/components/Participant/index.js +0 -2
- package/dist/module/components/Participant/index.js.map +1 -1
- package/dist/module/components/index.js +0 -2
- package/dist/module/components/index.js.map +1 -1
- package/dist/module/components/utility/Avatar.js +16 -20
- package/dist/module/components/utility/Avatar.js.map +1 -1
- package/dist/module/components/utility/ScreenShareOverlay.js +30 -37
- package/dist/module/components/utility/ScreenShareOverlay.js.map +1 -1
- package/dist/module/components/utility/index.js +0 -2
- package/dist/module/components/utility/index.js.map +1 -1
- package/dist/module/constants/TestIds.js +0 -2
- package/dist/module/constants/TestIds.js.map +1 -1
- package/dist/module/constants/index.js +0 -2
- package/dist/module/constants/index.js.map +1 -1
- package/dist/module/contexts/BackgroundFilters.js +3 -7
- package/dist/module/contexts/BackgroundFilters.js.map +1 -1
- package/dist/module/contexts/StreamVideoContext.js +3 -7
- package/dist/module/contexts/StreamVideoContext.js.map +1 -1
- package/dist/module/contexts/ThemeContext.js +3 -7
- package/dist/module/contexts/ThemeContext.js.map +1 -1
- package/dist/module/contexts/index.js +0 -2
- package/dist/module/contexts/index.js.map +1 -1
- package/dist/module/hooks/index.js +0 -2
- package/dist/module/hooks/index.js.map +1 -1
- package/dist/module/hooks/internal/useCallMediaStreamCleanup.js +0 -2
- package/dist/module/hooks/internal/useCallMediaStreamCleanup.js.map +1 -1
- package/dist/module/hooks/push/index.js +0 -2
- package/dist/module/hooks/push/index.js.map +1 -1
- package/dist/module/hooks/push/useInitAndroidTokenAndRest.js +0 -2
- package/dist/module/hooks/push/useInitAndroidTokenAndRest.js.map +1 -1
- package/dist/module/hooks/push/useIosCallKeepEventsSetupEffect.js +0 -2
- package/dist/module/hooks/push/useIosCallKeepEventsSetupEffect.js.map +1 -1
- package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js +0 -2
- package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js.map +1 -1
- package/dist/module/hooks/push/useIosInitRemoteNotifications.js +0 -2
- package/dist/module/hooks/push/useIosInitRemoteNotifications.js.map +1 -1
- package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js +0 -2
- package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
- package/dist/module/hooks/push/useProcessPushCallEffect.js +1 -3
- package/dist/module/hooks/push/useProcessPushCallEffect.js.map +1 -1
- package/dist/module/hooks/push/useProcessPushNonRingingCallEffect.js +0 -2
- package/dist/module/hooks/push/useProcessPushNonRingingCallEffect.js.map +1 -1
- package/dist/module/hooks/useAndroidKeepCallAliveEffect.js +4 -5
- package/dist/module/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
- package/dist/module/hooks/useApplyDefaultMediaStreamSettings.js +0 -2
- package/dist/module/hooks/useApplyDefaultMediaStreamSettings.js.map +1 -1
- package/dist/module/hooks/useAutoEnterPiPEffect.js +0 -2
- package/dist/module/hooks/useAutoEnterPiPEffect.js.map +1 -1
- package/dist/module/hooks/useIsInPiPMode.js +0 -2
- package/dist/module/hooks/useIsInPiPMode.js.map +1 -1
- package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js +0 -2
- package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js.map +1 -1
- package/dist/module/hooks/usePaginatedLayoutSortPreset.js +0 -2
- package/dist/module/hooks/usePaginatedLayoutSortPreset.js.map +1 -1
- package/dist/module/hooks/usePermissionNotification.js +0 -2
- package/dist/module/hooks/usePermissionNotification.js.map +1 -1
- package/dist/module/hooks/usePermissionRequest.js +0 -2
- package/dist/module/hooks/usePermissionRequest.js.map +1 -1
- package/dist/module/hooks/useScreenShareButton.js +0 -2
- package/dist/module/hooks/useScreenShareButton.js.map +1 -1
- package/dist/module/hooks/useTrackDimensions.js +0 -2
- package/dist/module/hooks/useTrackDimensions.js.map +1 -1
- package/dist/module/icons/Back.js +6 -10
- package/dist/module/icons/Back.js.map +1 -1
- package/dist/module/icons/CameraSwitch.js +6 -10
- package/dist/module/icons/CameraSwitch.js.map +1 -1
- package/dist/module/icons/EndStreamIcon.js +6 -10
- package/dist/module/icons/EndStreamIcon.js.map +1 -1
- package/dist/module/icons/Eye.js +6 -10
- package/dist/module/icons/Eye.js.map +1 -1
- package/dist/module/icons/IconWrapper.js +3 -7
- package/dist/module/icons/IconWrapper.js.map +1 -1
- package/dist/module/icons/LeaveStreamIcon.js +6 -10
- package/dist/module/icons/LeaveStreamIcon.js.map +1 -1
- package/dist/module/icons/Lock.js +6 -10
- package/dist/module/icons/Lock.js.map +1 -1
- package/dist/module/icons/Mic.js +6 -10
- package/dist/module/icons/Mic.js.map +1 -1
- package/dist/module/icons/MicOff.js +6 -10
- package/dist/module/icons/MicOff.js.map +1 -1
- package/dist/module/icons/Phone.js +6 -10
- package/dist/module/icons/Phone.js.map +1 -1
- package/dist/module/icons/PhoneDown.js +6 -10
- package/dist/module/icons/PhoneDown.js.map +1 -1
- package/dist/module/icons/PinVertical.js +6 -10
- package/dist/module/icons/PinVertical.js.map +1 -1
- package/dist/module/icons/Reaction.js +6 -10
- package/dist/module/icons/Reaction.js.map +1 -1
- package/dist/module/icons/ScreenShare.js +6 -10
- package/dist/module/icons/ScreenShare.js.map +1 -1
- package/dist/module/icons/ScreenShareIndicator.js +18 -23
- package/dist/module/icons/ScreenShareIndicator.js.map +1 -1
- package/dist/module/icons/Settings.js +5 -9
- package/dist/module/icons/Settings.js.map +1 -1
- package/dist/module/icons/ShieldBadge.js +6 -10
- package/dist/module/icons/ShieldBadge.js.map +1 -1
- package/dist/module/icons/Spotlight.js +8 -12
- package/dist/module/icons/Spotlight.js.map +1 -1
- package/dist/module/icons/StartStreamIcon.js +6 -10
- package/dist/module/icons/StartStreamIcon.js.map +1 -1
- package/dist/module/icons/StopScreenShare.js +9 -13
- package/dist/module/icons/StopScreenShare.js.map +1 -1
- package/dist/module/icons/ThreeDots.js +18 -22
- package/dist/module/icons/ThreeDots.js.map +1 -1
- package/dist/module/icons/TopViewBackground.js +19 -26
- package/dist/module/icons/TopViewBackground.js.map +1 -1
- package/dist/module/icons/Video.js +6 -10
- package/dist/module/icons/Video.js.map +1 -1
- package/dist/module/icons/VideoSlash.js +6 -10
- package/dist/module/icons/VideoSlash.js.map +1 -1
- package/dist/module/icons/index.js +0 -2
- package/dist/module/icons/index.js.map +1 -1
- package/dist/module/index.js +0 -2
- package/dist/module/index.js.map +1 -1
- package/dist/module/providers/StreamCall/AppStateListener.js +0 -2
- package/dist/module/providers/StreamCall/AppStateListener.js.map +1 -1
- package/dist/module/providers/StreamCall/DeviceStats.js +0 -2
- package/dist/module/providers/StreamCall/DeviceStats.js.map +1 -1
- package/dist/module/providers/StreamCall/index.js +4 -7
- package/dist/module/providers/StreamCall/index.js.map +1 -1
- package/dist/module/providers/StreamVideo.js +5 -12
- package/dist/module/providers/StreamVideo.js.map +1 -1
- package/dist/module/theme/colors.js +0 -2
- package/dist/module/theme/colors.js.map +1 -1
- package/dist/module/theme/constants.js +0 -2
- package/dist/module/theme/constants.js.map +1 -1
- package/dist/module/theme/index.js +0 -2
- package/dist/module/theme/index.js.map +1 -1
- package/dist/module/theme/theme.js +0 -2
- package/dist/module/theme/theme.js.map +1 -1
- package/dist/module/theme/types.js +0 -2
- package/dist/module/translations/index.js +0 -2
- package/dist/module/translations/index.js.map +1 -1
- package/dist/module/utils/StreamVideoRN/index.js +0 -2
- package/dist/module/utils/StreamVideoRN/index.js.map +1 -1
- package/dist/module/utils/StreamVideoRN/types.js +0 -2
- package/dist/module/utils/enterPiPAndroid.js +0 -2
- package/dist/module/utils/enterPiPAndroid.js.map +1 -1
- package/dist/module/utils/getAndroidDefaultRingtoneUrl.js +0 -2
- package/dist/module/utils/getAndroidDefaultRingtoneUrl.js.map +1 -1
- package/dist/module/utils/hooks/index.js +0 -2
- package/dist/module/utils/hooks/index.js.map +1 -1
- package/dist/module/utils/hooks/useDebouncedValue.js +0 -2
- package/dist/module/utils/hooks/useDebouncedValue.js.map +1 -1
- package/dist/module/utils/hooks/usePrevious.js +0 -2
- package/dist/module/utils/hooks/usePrevious.js.map +1 -1
- package/dist/module/utils/index.js +0 -2
- package/dist/module/utils/index.js.map +1 -1
- package/dist/module/utils/internal/newNotificationCallbacks.js +0 -2
- package/dist/module/utils/internal/newNotificationCallbacks.js.map +1 -1
- package/dist/module/utils/internal/optionallibs/gestureHandler.js +0 -2
- package/dist/module/utils/internal/optionallibs/gestureHandler.js.map +1 -1
- package/dist/module/utils/internal/optionallibs/index.js +0 -2
- package/dist/module/utils/internal/optionallibs/index.js.map +1 -1
- package/dist/module/utils/internal/optionallibs/reanimated.js +0 -2
- package/dist/module/utils/internal/optionallibs/reanimated.js.map +1 -1
- package/dist/module/utils/internal/pushLogoutCallback.js +0 -2
- package/dist/module/utils/internal/pushLogoutCallback.js.map +1 -1
- package/dist/module/utils/internal/rxSubjects.js +0 -2
- package/dist/module/utils/internal/rxSubjects.js.map +1 -1
- package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js +0 -2
- package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js.map +1 -1
- package/dist/module/utils/push/android.js +0 -2
- package/dist/module/utils/push/android.js.map +1 -1
- package/dist/module/utils/push/index.js +0 -2
- package/dist/module/utils/push/index.js.map +1 -1
- package/dist/module/utils/push/internal/rxSubjects.js +0 -2
- package/dist/module/utils/push/internal/rxSubjects.js.map +1 -1
- package/dist/module/utils/push/internal/utils.js +0 -2
- package/dist/module/utils/push/internal/utils.js.map +1 -1
- package/dist/module/utils/push/ios.js +1 -2
- package/dist/module/utils/push/ios.js.map +1 -1
- package/dist/module/utils/push/libs/callkeep.js +0 -2
- package/dist/module/utils/push/libs/callkeep.js.map +1 -1
- package/dist/module/utils/push/libs/expoNotifications.js +0 -2
- package/dist/module/utils/push/libs/expoNotifications.js.map +1 -1
- package/dist/module/utils/push/libs/firebaseMessaging/index.js +0 -2
- package/dist/module/utils/push/libs/firebaseMessaging/index.js.map +1 -1
- package/dist/module/utils/push/libs/firebaseMessaging/lib.js +0 -2
- package/dist/module/utils/push/libs/firebaseMessaging/lib.js.map +1 -1
- package/dist/module/utils/push/libs/index.js +0 -2
- package/dist/module/utils/push/libs/index.js.map +1 -1
- package/dist/module/utils/push/libs/iosPushNotification.js +0 -2
- package/dist/module/utils/push/libs/iosPushNotification.js.map +1 -1
- package/dist/module/utils/push/libs/notifee/index.js +0 -2
- package/dist/module/utils/push/libs/notifee/index.js.map +1 -1
- package/dist/module/utils/push/libs/notifee/lib.js +0 -2
- package/dist/module/utils/push/libs/notifee/lib.js.map +1 -1
- package/dist/module/utils/push/libs/voipPushNotification.js +0 -2
- package/dist/module/utils/push/libs/voipPushNotification.js.map +1 -1
- package/dist/module/utils/push/utils.js +0 -2
- package/dist/module/utils/push/utils.js.map +1 -1
- package/dist/module/utils/setClientDetails.js +0 -2
- package/dist/module/utils/setClientDetails.js.map +1 -1
- package/dist/module/version.js +1 -3
- package/dist/module/version.js.map +1 -1
- package/dist/typescript/components/Call/CallContent/CallContent.d.ts +5 -5
- package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/CallControls.d.ts +2 -2
- package/dist/typescript/components/Call/CallControls/CallControls.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts +2 -2
- package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts +1 -1
- package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts +1 -1
- package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts +2 -2
- package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts +3 -3
- package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts +3 -3
- package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts +3 -3
- package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -1
- package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts +1 -1
- package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/Lobby/Lobby.d.ts +3 -3
- package/dist/typescript/components/Call/Lobby/Lobby.d.ts.map +1 -1
- package/dist/typescript/components/Call/Lobby/LobbyFooter.d.ts +1 -1
- package/dist/typescript/components/Call/Lobby/LobbyFooter.d.ts.map +1 -1
- package/dist/typescript/components/Call/RingingCallContent/CallLeftIndicator.d.ts +1 -1
- package/dist/typescript/components/Call/RingingCallContent/CallLeftIndicator.d.ts.map +1 -1
- package/dist/typescript/components/Call/RingingCallContent/CallPreparingIndicator.d.ts +1 -1
- package/dist/typescript/components/Call/RingingCallContent/CallPreparingIndicator.d.ts.map +1 -1
- package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts +1 -1
- package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts.map +1 -1
- package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts +1 -1
- package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts.map +1 -1
- package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts +5 -5
- package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts +5 -5
- package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamControls/HostLivestreamControls.d.ts +3 -3
- package/dist/typescript/components/Livestream/LivestreamControls/HostLivestreamControls.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts +2 -2
- package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamLayout/LivestreamLayout.d.ts +2 -2
- package/dist/typescript/components/Livestream/LivestreamLayout/LivestreamLayout.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamPlayer/LivestreamPlayer.d.ts +1 -1
- package/dist/typescript/components/Livestream/LivestreamPlayer/LivestreamPlayer.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamTopView/DurationBadge.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamTopView/HostLivestreamTopView.d.ts +4 -4
- package/dist/typescript/components/Livestream/LivestreamTopView/HostLivestreamTopView.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.d.ts +4 -4
- package/dist/typescript/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts +5 -5
- package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts.map +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.d.ts +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.d.ts.map +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts.map +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/common.d.ts +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/common.d.ts.map +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/index.d.ts +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/index.d.ts.map +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts +4 -4
- package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.d.ts +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts +2 -2
- package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts +9 -9
- package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/VideoRenderer.d.ts +1 -1
- package/dist/typescript/components/Participant/ParticipantView/VideoRenderer.d.ts.map +1 -1
- package/dist/typescript/components/utility/Avatar.d.ts +1 -1
- package/dist/typescript/components/utility/Avatar.d.ts.map +1 -1
- package/dist/typescript/constants/index.d.ts +1 -1
- package/dist/typescript/constants/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/contexts/StreamVideoContext.d.ts.map +1 -1
- package/dist/typescript/contexts/ThemeContext.d.ts +2 -2
- package/dist/typescript/contexts/ThemeContext.d.ts.map +1 -1
- package/dist/typescript/hooks/useAndroidKeepCallAliveEffect.d.ts.map +1 -1
- package/dist/typescript/hooks/useTrackDimensions.d.ts +1 -1
- package/dist/typescript/hooks/useTrackDimensions.d.ts.map +1 -1
- package/dist/typescript/icons/Back.d.ts +1 -1
- package/dist/typescript/icons/Back.d.ts.map +1 -1
- package/dist/typescript/icons/CameraSwitch.d.ts +1 -1
- package/dist/typescript/icons/CameraSwitch.d.ts.map +1 -1
- package/dist/typescript/icons/IconWrapper.d.ts +1 -1
- package/dist/typescript/icons/IconWrapper.d.ts.map +1 -1
- package/dist/typescript/icons/Lock.d.ts +1 -1
- package/dist/typescript/icons/Lock.d.ts.map +1 -1
- package/dist/typescript/icons/Mic.d.ts +1 -1
- package/dist/typescript/icons/Mic.d.ts.map +1 -1
- package/dist/typescript/icons/MicOff.d.ts +1 -1
- package/dist/typescript/icons/MicOff.d.ts.map +1 -1
- package/dist/typescript/icons/Phone.d.ts +1 -1
- package/dist/typescript/icons/Phone.d.ts.map +1 -1
- package/dist/typescript/icons/PhoneDown.d.ts +1 -1
- package/dist/typescript/icons/PhoneDown.d.ts.map +1 -1
- package/dist/typescript/icons/PinVertical.d.ts +1 -1
- package/dist/typescript/icons/PinVertical.d.ts.map +1 -1
- package/dist/typescript/icons/Reaction.d.ts +1 -1
- package/dist/typescript/icons/Reaction.d.ts.map +1 -1
- package/dist/typescript/icons/ScreenShare.d.ts +1 -1
- package/dist/typescript/icons/ScreenShare.d.ts.map +1 -1
- package/dist/typescript/icons/ScreenShareIndicator.d.ts +1 -1
- package/dist/typescript/icons/ScreenShareIndicator.d.ts.map +1 -1
- package/dist/typescript/icons/Spotlight.d.ts +1 -1
- package/dist/typescript/icons/Spotlight.d.ts.map +1 -1
- package/dist/typescript/icons/StopScreenShare.d.ts +1 -1
- package/dist/typescript/icons/StopScreenShare.d.ts.map +1 -1
- package/dist/typescript/icons/TopViewBackground.d.ts +1 -1
- package/dist/typescript/icons/TopViewBackground.d.ts.map +1 -1
- package/dist/typescript/icons/Video.d.ts +1 -1
- package/dist/typescript/icons/Video.d.ts.map +1 -1
- package/dist/typescript/icons/VideoSlash.d.ts +1 -1
- package/dist/typescript/icons/VideoSlash.d.ts.map +1 -1
- package/dist/typescript/providers/StreamCall/index.d.ts +1 -1
- package/dist/typescript/providers/StreamCall/index.d.ts.map +1 -1
- package/dist/typescript/providers/StreamVideo.d.ts +4 -4
- package/dist/typescript/providers/StreamVideo.d.ts.map +1 -1
- package/dist/typescript/theme/colors.d.ts +1 -1
- package/dist/typescript/theme/colors.d.ts.map +1 -1
- package/dist/typescript/theme/theme.d.ts +3 -3
- package/dist/typescript/theme/theme.d.ts.map +1 -1
- package/dist/typescript/theme/types.d.ts +1 -1
- package/dist/typescript/theme/types.d.ts.map +1 -1
- package/dist/typescript/utils/StreamVideoRN/index.d.ts +2 -2
- package/dist/typescript/utils/StreamVideoRN/index.d.ts.map +1 -1
- package/dist/typescript/utils/StreamVideoRN/types.d.ts +1 -1
- package/dist/typescript/utils/StreamVideoRN/types.d.ts.map +1 -1
- package/dist/typescript/utils/internal/newNotificationCallbacks.d.ts +1 -1
- package/dist/typescript/utils/internal/newNotificationCallbacks.d.ts.map +1 -1
- package/dist/typescript/utils/push/android.d.ts +1 -1
- package/dist/typescript/utils/push/android.d.ts.map +1 -1
- package/dist/typescript/utils/push/internal/rxSubjects.d.ts +1 -1
- package/dist/typescript/utils/push/internal/rxSubjects.d.ts.map +1 -1
- package/dist/typescript/utils/push/ios.d.ts +1 -1
- package/dist/typescript/utils/push/ios.d.ts.map +1 -1
- package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts +1 -1
- package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts.map +1 -1
- package/dist/typescript/utils/push/libs/notifee/index.d.ts +1 -1
- package/dist/typescript/utils/push/libs/notifee/index.d.ts.map +1 -1
- package/dist/typescript/utils/push/utils.d.ts +4 -4
- package/dist/typescript/utils/push/utils.d.ts.map +1 -1
- package/dist/typescript/version.d.ts +1 -1
- package/expo-config-plugin/dist/withIosScreenCapture/addBroadcastExtensionXcodeTarget.js +17 -7
- package/expo-config-plugin/dist/withIosScreenCapture/withFilesMod.js +17 -7
- package/expo-config-plugin/dist/withIosScreenCapture/withTarget.js +17 -7
- package/ios/RTCViewPipManager.swift +1 -1
- package/package.json +16 -15
- package/src/components/Call/CallContent/CallContent.tsx +11 -11
- package/src/components/Call/CallContent/RTCViewPipIOS.tsx +1 -1
- package/src/components/Call/CallControls/CallControls.tsx +6 -3
- package/src/components/Call/CallControls/CallControlsButton.tsx +3 -3
- package/src/components/Call/CallControls/ReactionsButton.tsx +2 -2
- package/src/components/Call/CallControls/ToggleCameraFaceButton.tsx +1 -1
- package/src/components/Call/CallControls/internal/ReactionsPicker.tsx +3 -3
- package/src/components/Call/CallLayout/CallParticipantsGrid.tsx +4 -4
- package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +4 -4
- package/src/components/Call/CallParticipantsList/CallParticipantsList.tsx +11 -6
- package/src/components/Call/Lobby/JoinCallButton.tsx +1 -1
- package/src/components/Call/Lobby/Lobby.tsx +4 -4
- package/src/components/Call/Lobby/LobbyFooter.tsx +1 -1
- package/src/components/Call/RingingCallContent/CallLeftIndicator.tsx +1 -1
- package/src/components/Call/RingingCallContent/CallPreparingIndicator.tsx +1 -1
- package/src/components/Call/RingingCallContent/IncomingCall.tsx +2 -3
- package/src/components/Call/RingingCallContent/OutgoingCall.tsx +2 -2
- package/src/components/Call/RingingCallContent/RingingCallContent.tsx +5 -5
- package/src/components/Call/RingingCallContent/UserInfo.tsx +1 -1
- package/src/components/Livestream/HostLivestream/HostLivestream.tsx +5 -5
- package/src/components/Livestream/LivestreamControls/HostLivestreamControls.tsx +3 -3
- package/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx +2 -2
- package/src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx +3 -3
- package/src/components/Livestream/LivestreamPlayer/LivestreamPlayer.tsx +1 -1
- package/src/components/Livestream/LivestreamTopView/DurationBadge.tsx +4 -1
- package/src/components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx +4 -4
- package/src/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.tsx +4 -4
- package/src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx +5 -5
- package/src/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.tsx +2 -2
- package/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.tsx +4 -2
- package/src/components/Participant/FloatingParticipantView/FloatingView/common.ts +1 -1
- package/src/components/Participant/FloatingParticipantView/FloatingView/index.ts +1 -1
- package/src/components/Participant/FloatingParticipantView/index.tsx +7 -7
- package/src/components/Participant/ParticipantView/ParticipantLabel.tsx +1 -1
- package/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.tsx +1 -1
- package/src/components/Participant/ParticipantView/ParticipantReaction.tsx +2 -2
- package/src/components/Participant/ParticipantView/ParticipantVideoFallback.tsx +1 -1
- package/src/components/Participant/ParticipantView/ParticipantView.tsx +10 -10
- package/src/components/Participant/ParticipantView/VideoRenderer.tsx +2 -2
- package/src/components/utility/Avatar.tsx +1 -1
- package/src/constants/index.ts +1 -1
- package/src/contexts/BackgroundFilters.tsx +1 -1
- package/src/contexts/ThemeContext.tsx +2 -2
- package/src/hooks/push/useIosVoipPushEventsSetupEffect.ts +1 -1
- package/src/hooks/push/useProcessPushCallEffect.ts +1 -1
- package/src/hooks/useAndroidKeepCallAliveEffect.ts +5 -4
- package/src/hooks/usePermissionRequest.tsx +1 -1
- package/src/hooks/useTrackDimensions.ts +2 -2
- package/src/icons/Back.tsx +1 -1
- package/src/icons/CameraSwitch.tsx +1 -1
- package/src/icons/IconWrapper.tsx +1 -1
- package/src/icons/Lock.tsx +1 -1
- package/src/icons/Mic.tsx +1 -1
- package/src/icons/MicOff.tsx +1 -1
- package/src/icons/Phone.tsx +1 -1
- package/src/icons/PhoneDown.tsx +1 -1
- package/src/icons/PinVertical.tsx +1 -1
- package/src/icons/Reaction.tsx +1 -1
- package/src/icons/ScreenShare.tsx +1 -1
- package/src/icons/ScreenShareIndicator.tsx +1 -1
- package/src/icons/Spotlight.tsx +1 -1
- package/src/icons/StopScreenShare.tsx +1 -1
- package/src/icons/TopViewBackground.tsx +1 -1
- package/src/icons/Video.tsx +1 -1
- package/src/icons/VideoSlash.tsx +1 -1
- package/src/providers/StreamCall/index.tsx +1 -1
- package/src/providers/StreamVideo.tsx +5 -5
- package/src/theme/colors.ts +1 -1
- package/src/theme/theme.ts +11 -7
- package/src/theme/types.ts +1 -1
- package/src/utils/StreamVideoRN/index.ts +2 -2
- package/src/utils/StreamVideoRN/types.ts +1 -1
- package/src/utils/internal/newNotificationCallbacks.ts +1 -1
- package/src/utils/push/android.ts +2 -2
- package/src/utils/push/internal/rxSubjects.ts +1 -1
- package/src/utils/push/ios.ts +4 -3
- package/src/utils/push/libs/firebaseMessaging/index.ts +1 -1
- package/src/utils/push/libs/notifee/index.ts +1 -1
- package/src/utils/push/utils.ts +4 -4
- package/src/version.ts +1 -1
- package/dist/commonjs/package.json +0 -1
- package/dist/module/package.json +0 -1
- package/expo-config-plugin/dist/common/addNewLinesToAppDelegate.d.ts +0 -1
- package/expo-config-plugin/dist/common/addNewLinesToMainActivity.d.ts +0 -1
- package/expo-config-plugin/dist/common/types.d.ts +0 -14
- package/expo-config-plugin/dist/index.d.ts +0 -4
- package/expo-config-plugin/dist/withAndroidManifest.d.ts +0 -4
- package/expo-config-plugin/dist/withAndroidPermissions.d.ts +0 -4
- package/expo-config-plugin/dist/withAppBuildGradle.d.ts +0 -3
- package/expo-config-plugin/dist/withAppDelegate.d.ts +0 -4
- package/expo-config-plugin/dist/withBuildProperties.d.ts +0 -3
- package/expo-config-plugin/dist/withIosScreenCapture/addBroadcastExtensionXcodeTarget.d.ts +0 -11
- package/expo-config-plugin/dist/withIosScreenCapture/index.d.ts +0 -4
- package/expo-config-plugin/dist/withIosScreenCapture/withFilesMod.d.ts +0 -4
- package/expo-config-plugin/dist/withIosScreenCapture/withPlistUpdates.d.ts +0 -4
- package/expo-config-plugin/dist/withIosScreenCapture/withTarget.d.ts +0 -4
- package/expo-config-plugin/dist/withMainActivity.d.ts +0 -4
- package/expo-config-plugin/dist/withiOSInfoPlist.d.ts +0 -4
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import React from 'react';
|
|
4
2
|
import { StyleSheet, Text, View } from 'react-native';
|
|
5
3
|
import { useTheme } from '../../../contexts';
|
|
@@ -8,7 +6,7 @@ import { useI18n } from '@stream-io/video-react-bindings';
|
|
|
8
6
|
/**
|
|
9
7
|
* Props for the LiveIndicator component.
|
|
10
8
|
*/
|
|
11
|
-
|
|
9
|
+
|
|
12
10
|
/**
|
|
13
11
|
* The LiveIndicator component displays whether the live stream is live or not.
|
|
14
12
|
*/
|
|
@@ -23,17 +21,15 @@ export const LiveIndicator = ({}) => {
|
|
|
23
21
|
const {
|
|
24
22
|
t
|
|
25
23
|
} = useI18n();
|
|
26
|
-
return /*#__PURE__*/
|
|
24
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
27
25
|
style: [styles.container, {
|
|
28
26
|
backgroundColor: colors.buttonPrimary
|
|
29
|
-
}, liveIndicator.container]
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
})
|
|
36
|
-
});
|
|
27
|
+
}, liveIndicator.container]
|
|
28
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
29
|
+
style: [styles.label, {
|
|
30
|
+
color: colors.textPrimary
|
|
31
|
+
}, typefaces.subtitleBold, liveIndicator.label]
|
|
32
|
+
}, t('Live')));
|
|
37
33
|
};
|
|
38
34
|
const styles = StyleSheet.create({
|
|
39
35
|
container: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","Text","View","useTheme","useI18n","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","Text","View","useTheme","useI18n","LiveIndicator","theme","colors","typefaces","liveIndicator","t","createElement","style","styles","container","backgroundColor","buttonPrimary","label","color","textPrimary","subtitleBold","create","paddingHorizontal","paddingVertical","borderTopLeftRadius","borderBottomLeftRadius","justifyContent","textAlign","includeFontPadding"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamTopView/LiveIndicator.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,OAAO,QAAQ,iCAAiC;;AAEzD;AACA;AACA;;AAGA;AACA;AACA;AACA,OAAO,MAAMC,aAAa,GAAGA,CAAC,CAAqB,CAAC,KAAK;EACvD,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,SAAS;MAAEC;IAAc;EAC5C,CAAC,GAAGN,QAAQ,CAAC,CAAC;EACd,MAAM;IAAEO;EAAE,CAAC,GAAGN,OAAO,CAAC,CAAC;EACvB,oBACEL,KAAA,CAAAY,aAAA,CAACT,IAAI;IACHU,KAAK,EAAE,CACLC,MAAM,CAACC,SAAS,EAChB;MAAEC,eAAe,EAAER,MAAM,CAACS;IAAc,CAAC,EACzCP,aAAa,CAACK,SAAS;EACvB,gBAEFf,KAAA,CAAAY,aAAA,CAACV,IAAI;IACHW,KAAK,EAAE,CACLC,MAAM,CAACI,KAAK,EACZ;MAAEC,KAAK,EAAEX,MAAM,CAACY;IAAY,CAAC,EAC7BX,SAAS,CAACY,YAAY,EACtBX,aAAa,CAACQ,KAAK;EACnB,GAEDP,CAAC,CAAC,MAAM,CACL,CACF,CAAC;AAEX,CAAC;AAED,MAAMG,MAAM,GAAGb,UAAU,CAACqB,MAAM,CAAC;EAC/BP,SAAS,EAAE;IACTQ,iBAAiB,EAAE,CAAC;IACpBC,eAAe,EAAE,CAAC;IAClBC,mBAAmB,EAAE,CAAC;IACtBC,sBAAsB,EAAE,CAAC;IACzBC,cAAc,EAAE;EAClB,CAAC;EACDT,KAAK,EAAE;IACLU,SAAS,EAAE,QAAQ;IACnBC,kBAAkB,EAAE;EACtB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import React from 'react';
|
|
4
2
|
import { StyleSheet, View } from 'react-native';
|
|
5
3
|
import { DurationBadge as DefaultDurationBadge } from './DurationBadge';
|
|
@@ -11,7 +9,7 @@ import { Z_INDEX } from '../../../constants';
|
|
|
11
9
|
/**
|
|
12
10
|
* Props for the ViewerLivestreamTopView component.
|
|
13
11
|
*/
|
|
14
|
-
|
|
12
|
+
|
|
15
13
|
/**
|
|
16
14
|
* The ViewerLivestreamTopView component displays the top view component of the viewer's live stream.
|
|
17
15
|
*/
|
|
@@ -27,26 +25,22 @@ export const ViewerLivestreamTopView = ({
|
|
|
27
25
|
viewerLivestreamTopView
|
|
28
26
|
}
|
|
29
27
|
} = useTheme();
|
|
30
|
-
return /*#__PURE__*/
|
|
28
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
31
29
|
style: [styles.container, {
|
|
32
30
|
backgroundColor: colors.sheetOverlay
|
|
33
31
|
}, viewerLivestreamTopView.container],
|
|
34
|
-
onLayout: onLayout
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
47
|
-
style: [styles.rightElement, viewerLivestreamTopView.rightElement]
|
|
48
|
-
})]
|
|
49
|
-
});
|
|
32
|
+
onLayout: onLayout
|
|
33
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
34
|
+
style: [styles.leftElement, viewerLivestreamTopView.leftElement]
|
|
35
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
36
|
+
style: [styles.liveInfo, viewerLivestreamTopView.liveInfo]
|
|
37
|
+
}, LiveIndicator && /*#__PURE__*/React.createElement(LiveIndicator, null), FollowerCount && /*#__PURE__*/React.createElement(FollowerCount, null))), /*#__PURE__*/React.createElement(View, {
|
|
38
|
+
style: [styles.centerElement, viewerLivestreamTopView.centerElement]
|
|
39
|
+
}, DurationBadge && /*#__PURE__*/React.createElement(DurationBadge, {
|
|
40
|
+
mode: "viewer"
|
|
41
|
+
})), /*#__PURE__*/React.createElement(View, {
|
|
42
|
+
style: [styles.rightElement, viewerLivestreamTopView.rightElement]
|
|
43
|
+
}));
|
|
50
44
|
};
|
|
51
45
|
const styles = StyleSheet.create({
|
|
52
46
|
container: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","View","DurationBadge","DefaultDurationBadge","LiveIndicator","DefaultLiveIndicator","FollowerCount","DefaultFollowerCount","useTheme","Z_INDEX","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","DurationBadge","DefaultDurationBadge","LiveIndicator","DefaultLiveIndicator","FollowerCount","DefaultFollowerCount","useTheme","Z_INDEX","ViewerLivestreamTopView","onLayout","theme","colors","viewerLivestreamTopView","createElement","style","styles","container","backgroundColor","sheetOverlay","leftElement","liveInfo","centerElement","mode","rightElement","create","position","top","flexDirection","alignItems","paddingVertical","paddingHorizontal","borderBottomEndRadius","borderBottomStartRadius","zIndex","IN_FRONT","flex","flexGrow"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamTopView/ViewerLivestreamTopView.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAwB,cAAc;AAC/D,SACEC,aAAa,IAAIC,oB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sB,IAAI,EAAC;EAAQ,CAAE,CAC5C,CAAC,eACPzB,KAAA,CAAAgB,aAAA,CAACd,IAAI;IACHe,KAAK,EAAE,CAACC,MAAM,CAACQ,YAAY,EAAEX,uBAAuB,CAACW,YAAY;EAAE,CACpE,CACG,CAAC;AAEX,CAAC;AAED,MAAMR,MAAM,GAAGjB,UAAU,CAAC0B,MAAM,CAAC;EAC/BR,SAAS,EAAE;IACTS,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,EAAE1B,OAAO,CAAC2B;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":"
|
|
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,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import React, { useEffect, useMemo } from 'react';
|
|
4
2
|
import { StyleSheet, View } from 'react-native';
|
|
5
3
|
import InCallManager from 'react-native-incall-manager';
|
|
@@ -14,7 +12,7 @@ import { hasVideo } from '@stream-io/video-client';
|
|
|
14
12
|
/**
|
|
15
13
|
* Props for the ViewerLivestream component.
|
|
16
14
|
*/
|
|
17
|
-
|
|
15
|
+
|
|
18
16
|
/**
|
|
19
17
|
* The ViewerLivestream component renders the UI for the Viewer's live stream.
|
|
20
18
|
*/
|
|
@@ -60,24 +58,21 @@ export const ViewerLivestream = ({
|
|
|
60
58
|
setTopViewHeight(event.nativeEvent.layout.height);
|
|
61
59
|
}
|
|
62
60
|
};
|
|
63
|
-
return /*#__PURE__*/
|
|
64
|
-
style: [styles.container, viewerLivestream.container]
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
-
})]
|
|
80
|
-
});
|
|
61
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
62
|
+
style: [styles.container, viewerLivestream.container]
|
|
63
|
+
}, ViewerLivestreamTopView && /*#__PURE__*/React.createElement(ViewerLivestreamTopView, topViewProps), FloatingParticipantView && floatingParticipant && topViewHeight && controlsHeight && /*#__PURE__*/React.createElement(FloatingParticipantView, {
|
|
64
|
+
participant: floatingParticipant,
|
|
65
|
+
draggableContainerStyle: [StyleSheet.absoluteFill, {
|
|
66
|
+
top: topViewHeight,
|
|
67
|
+
bottom: controlsHeight
|
|
68
|
+
}]
|
|
69
|
+
}), LivestreamLayout && /*#__PURE__*/React.createElement(LivestreamLayout, null), ViewerLivestreamControls && /*#__PURE__*/React.createElement(ViewerLivestreamControls, {
|
|
70
|
+
ViewerLeaveStreamButton: ViewerLeaveStreamButton,
|
|
71
|
+
onLeaveStreamHandler: onLeaveStreamHandler,
|
|
72
|
+
onLayout: event => {
|
|
73
|
+
setControlsHeight(event.nativeEvent.layout.height);
|
|
74
|
+
}
|
|
75
|
+
}));
|
|
81
76
|
};
|
|
82
77
|
const useStyles = () => {
|
|
83
78
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","useMemo","StyleSheet","View","InCallManager","useTheme","ViewerLivestreamTopView","DefaultViewerLivestreamTopView","ViewerLivestreamControls","DefaultViewerLivestreamControls","LivestreamLayout","DefaultLivestreamLayout","useCallStateHooks","FloatingParticipantView","DefaultFloatingParticipantView","hasVideo","
|
|
1
|
+
{"version":3,"names":["React","useEffect","useMemo","StyleSheet","View","InCallManager","useTheme","ViewerLivestreamTopView","DefaultViewerLivestreamTopView","ViewerLivestreamControls","DefaultViewerLivestreamControls","LivestreamLayout","DefaultLivestreamLayout","useCallStateHooks","FloatingParticipantView","DefaultFloatingParticipantView","hasVideo","ViewerLivestream","LiveIndicator","FollowerCount","DurationBadge","ViewerLeaveStreamButton","onLeaveStreamHandler","styles","useStyles","theme","viewerLivestream","useHasOngoingScreenShare","useParticipants","hasOngoingScreenShare","currentSpeaker","floatingParticipant","topViewHeight","setTopViewHeight","useState","controlsHeight","setControlsHeight","start","media","stop","topViewProps","onLayout","event","nativeEvent","layout","height","createElement","style","container","participant","draggableContainerStyle","absoluteFill","top","bottom","create","flex","paddingBottom","variants","insets","paddingLeft","left","paddingRight","right","paddingTop","backgroundColor","colors","sheetPrimary"],"sourceRoot":"../../../../../src","sources":["components/Livestream/ViewerLivestream/ViewerLivestream.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO,QAAQ,OAAO;AAEjD,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,OAAOC,aAAa,MAAM,6BAA6B;AACvD,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SACEC,uBAAuB,IAAIC,8BAA8B,QAEpD,8CAA8C;AACrD,SACEC,wBAAwB,IAAIC,+BAA+B,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/B,KAAK,CAACgC,QAAQ,CAACC,MAAM,CAACL,MAAM;MAC3CM,WAAW,EAAElC,KAAK,CAACgC,QAAQ,CAACC,MAAM,CAACE,IAAI;MACvCC,YAAY,EAAEpC,KAAK,CAACgC,QAAQ,CAACC,MAAM,CAACI,KAAK;MACzCC,UAAU,EAAEtC,KAAK,CAACgC,QAAQ,CAACC,MAAM,CAACN,GAAG;MACrCY,eAAe,EAAEvC,KAAK,CAACwC,MAAM,CAACC;IAChC;EACF,CAAC,CAAC,EACJ,CAACzC,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Livestream/ViewerLivestream/index.ts"],"mappings":"
|
|
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":"
|
|
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,10 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
2
|
import React, { useRef, useReducer, useEffect } from 'react';
|
|
4
3
|
import { Animated, PanResponder, Easing, View, StyleSheet } from 'react-native';
|
|
5
4
|
import { getSnapAlignments, FloatingViewAlignment, getClosestSnapAlignment, floatingChildViewContainerStyle } from './common';
|
|
6
5
|
import { getLogger } from '@stream-io/video-client';
|
|
7
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
6
|
const AnimatedFloatingView = ({
|
|
9
7
|
initialAlignment,
|
|
10
8
|
containerWidth,
|
|
@@ -137,23 +135,20 @@ const AnimatedFloatingView = ({
|
|
|
137
135
|
})
|
|
138
136
|
}]
|
|
139
137
|
};
|
|
140
|
-
return /*#__PURE__*/
|
|
141
|
-
style: containerStyle
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
children: children
|
|
155
|
-
})
|
|
156
|
-
});
|
|
138
|
+
return /*#__PURE__*/React.createElement(Animated.View, _extends({
|
|
139
|
+
style: containerStyle
|
|
140
|
+
}, panResponder.panHandlers), /*#__PURE__*/React.createElement(View, {
|
|
141
|
+
onLayout: event => {
|
|
142
|
+
const layout = event.nativeEvent.layout;
|
|
143
|
+
setRectangle(prev => {
|
|
144
|
+
if (prev && prev.width === layout.width && prev.height === layout.height && prev.x === layout.x && prev.y === layout.y) {
|
|
145
|
+
return prev;
|
|
146
|
+
}
|
|
147
|
+
return layout;
|
|
148
|
+
});
|
|
149
|
+
},
|
|
150
|
+
style: floatingChildViewContainerStyle
|
|
151
|
+
}, children));
|
|
157
152
|
};
|
|
158
153
|
const styles = StyleSheet.create({
|
|
159
154
|
animContainer: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useRef","useReducer","useEffect","Animated","PanResponder","Easing","View","StyleSheet","getSnapAlignments","FloatingViewAlignment","getClosestSnapAlignment","floatingChildViewContainerStyle","getLogger","
|
|
1
|
+
{"version":3,"names":["React","useRef","useReducer","useEffect","Animated","PanResponder","Easing","View","StyleSheet","getSnapAlignments","FloatingViewAlignment","getClosestSnapAlignment","floatingChildViewContainerStyle","getLogger","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","containerStyle","styles","animContainer","transform","translateX","interpolate","inputRange","outputRange","extrapolate","translateY","createElement","_extends","style","panHandlers","onLayout","layout","nativeEvent","prev","top","left"],"sourceRoot":"../../../../../../src","sources":["components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.tsx"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,MAAM,EAAEC,UAAU,EAAEC,SAAS,QAAQ,OAAO;AAC5D,SACEC,QAAQ,EAERC,YAAY,EACZC,MAAM,EACNC,IAAI,EACJC,UAAU,QACL,cAAc;AACrB,SAEEC,iBAAiB,EACjBC,qBAAqB,EACrBC,uBAAuB,EACvBC,+BAA+B,QAC1B,UAAU;AACjB,SAASC,SAAS,QAAQ,yBAAyB;AAEnD,MAAMC,oBAAoB,GAAGA,CAAC;EAC5BC,gBAAgB;EAChBC,cAAc;EACdC,eAAe;EACfC;AACiB,CAAC,KAAK;EACvB;EACA;EACA;EACA;EACA,MAAMC,YAAY,GAAGlB,MAAM,CAAC,IAAIG,QAAQ,CAACgB,OAAO,CAAC,CAAC,CAAC;EACnD,MAAMC,OAAO,GAAGpB,MAAM,CAAC,IAAIG,QAAQ,CAACkB,KAAK,CAAC,CAAC,CAAC,CAAC;EAE7C,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAGxB,KAAK,CAACyB,QAAQ,CAAkB,CAAC;;EAEnE;EACA;EACA;EAC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AChEjF,KAAA,CAAA8E,aAAA,CAACvE,IAAI;IACH2E,QAAQ,EAAGlC,KAAK,IAAK;MACnB,MAAMmC,MAAM,GAAGnC,KAAK,CAACoC,WAAW,CAACD,MAAM;MACvC3D,YAAY,CAAE6D,IAAI,IAAK;QACrB,IACEA,IAAI,IACJA,IAAI,CAAChD,KAAK,KAAK8C,MAAM,CAAC9C,KAAK,IAC3BgD,IAAI,CAAC/C,MAAM,KAAK6C,MAAM,CAAC7C,MAAM,IAC7B+C,IAAI,CAACzD,CAAC,KAAKuD,MAAM,CAACvD,CAAC,IACnByD,IAAI,CAACtD,CAAC,KAAKoD,MAAM,CAACpD,CAAC,EACnB;UACA,OAAOsD,IAAI;QACb;QACA,OAAOF,MAAM;MACf,CAAC,CAAC;IACJ,CAAE;IACFH,KAAK,EAAEpE;EAAgC,GAEtCM,QACG,CACO,CAAC;AAEpB,CAAC;AAED,MAAMmD,MAAM,GAAG7D,UAAU,CAACoC,MAAM,CAAC;EAC/B0B,aAAa,EAAE;IACbX,QAAQ,EAAE,UAAU;IACpB2B,GAAG,EAAE,CAAC;IACNC,IAAI,EAAE;EACR;AACF,CAAC,CAAC;AAEF,eAAezE,oBAAoB","ignoreList":[]}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import React, { useMemo, useEffect } from 'react';
|
|
4
2
|
import { View } from 'react-native';
|
|
5
3
|
import { FloatingViewAlignment, getSnapAlignments, getClosestSnapAlignment, floatingChildViewContainerStyle } from './common';
|
|
6
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
4
|
let ReanimatedFloatingView = () => {
|
|
8
5
|
throw new Error('ReanimatedFloatingView component must not be used without the react-native-reanimated library and react-native-gesture-handler library installed');
|
|
9
6
|
};
|
|
@@ -108,6 +105,8 @@ try {
|
|
|
108
105
|
duration: 50
|
|
109
106
|
}));
|
|
110
107
|
}, [rectangle, snapAlignments, initialAlignment, opacity, translationX, translationY, start]);
|
|
108
|
+
|
|
109
|
+
// @ts-ignore
|
|
111
110
|
const animatedStyle = useAnimatedStyle(() => {
|
|
112
111
|
return {
|
|
113
112
|
height: rectangle?.height,
|
|
@@ -125,25 +124,22 @@ try {
|
|
|
125
124
|
/*#__PURE__*/
|
|
126
125
|
// gesture handler root view must absolutely fill the bounds
|
|
127
126
|
// to intercept gestures within those bounds
|
|
128
|
-
|
|
129
|
-
gesture: dragGesture
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
})
|
|
145
|
-
})
|
|
146
|
-
})
|
|
127
|
+
React.createElement(GestureDetector, {
|
|
128
|
+
gesture: dragGesture
|
|
129
|
+
}, /*#__PURE__*/React.createElement(Reanimated.View, {
|
|
130
|
+
style: animatedStyle
|
|
131
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
132
|
+
onLayout: event => {
|
|
133
|
+
const layout = event.nativeEvent.layout;
|
|
134
|
+
setRectangle(prev => {
|
|
135
|
+
if (prev && prev.width === layout.width && prev.height === layout.height && prev.x === layout.x && prev.y === layout.y) {
|
|
136
|
+
return prev;
|
|
137
|
+
}
|
|
138
|
+
return layout;
|
|
139
|
+
});
|
|
140
|
+
},
|
|
141
|
+
style: floatingChildViewContainerStyle
|
|
142
|
+
}, children)))
|
|
147
143
|
);
|
|
148
144
|
};
|
|
149
145
|
} catch (e) {}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","useEffect","View","FloatingViewAlignment","getSnapAlignments","getClosestSnapAlignment","floatingChildViewContainerStyle","
|
|
1
|
+
{"version":3,"names":["React","useMemo","useEffect","View","FloatingViewAlignment","getSnapAlignments","getClosestSnapAlignment","floatingChildViewContainerStyle","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","_e","value","onUpdate","e","Math","max","min","onEnd","position","closestAlignment","alignment","duration","animatedStyle","transform","translateX","translateY","createElement","gesture","style","onLayout","event","layout","nativeEvent","prev"],"sourceRoot":"../../../../../../src","sources":["components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,OAAO,EAAEC,SAAS,QAAQ,OAAO;AACjD,SAA+BC,IAAI,QAAQ,cAAc;AACzD,SACEC,qBAAqB,EACrBC,iBAAiB,EACjBC,uBAAuB,EACvBC,+BAA+B,QAE1B,UAAU;AAKjB,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;EAEtCJ,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,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C;AACH,CAAC,CAAC,OAAOyB,CAAC,EAAE,CAAC;AAEb,eAAevC,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":"
|
|
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;EAC7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AAC","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import { getGestureHandlerLib, getReanimatedLib } from '../../../../utils/internal/optionallibs';
|
|
4
2
|
const FloatingView = getReanimatedLib() && getGestureHandlerLib() ? require('./ReanimatedFloatingView').default : require('./AnimatedFloatingView').default;
|
|
5
3
|
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":"
|
|
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,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import { Pressable, StyleSheet, View } from 'react-native';
|
|
5
4
|
import { FLOATING_VIDEO_VIEW_STYLE, Z_INDEX } from '../../../constants';
|
|
@@ -13,7 +12,7 @@ import { useTheme } from '../../../contexts/ThemeContext';
|
|
|
13
12
|
/**
|
|
14
13
|
* Props to be passed for the LocalVideoView component.
|
|
15
14
|
*/
|
|
16
|
-
|
|
15
|
+
|
|
17
16
|
const DefaultLocalParticipantViewVideoFallback = () => {
|
|
18
17
|
const {
|
|
19
18
|
theme: {
|
|
@@ -25,21 +24,19 @@ const DefaultLocalParticipantViewVideoFallback = () => {
|
|
|
25
24
|
defaults
|
|
26
25
|
}
|
|
27
26
|
} = useTheme();
|
|
28
|
-
return /*#__PURE__*/
|
|
27
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
29
28
|
style: [styles.videoFallback, {
|
|
30
29
|
backgroundColor: colors.sheetSecondary
|
|
31
|
-
}, floatingParticipantsView.videoFallback]
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
})
|
|
42
|
-
});
|
|
30
|
+
}, floatingParticipantsView.videoFallback]
|
|
31
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
32
|
+
style: {
|
|
33
|
+
height: iconSizes.md,
|
|
34
|
+
width: iconSizes.md
|
|
35
|
+
}
|
|
36
|
+
}, /*#__PURE__*/React.createElement(VideoSlash, {
|
|
37
|
+
color: colors.iconPrimary,
|
|
38
|
+
size: defaults.iconSize
|
|
39
|
+
})));
|
|
43
40
|
};
|
|
44
41
|
|
|
45
42
|
/**
|
|
@@ -83,7 +80,7 @@ export const FloatingParticipantView = ({
|
|
|
83
80
|
if (!participant) {
|
|
84
81
|
return null;
|
|
85
82
|
}
|
|
86
|
-
return /*#__PURE__*/
|
|
83
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
87
84
|
testID: ComponentTestIds.LOCAL_PARTICIPANT,
|
|
88
85
|
style: [styles.container, draggableContainerStyle, floatingParticipantsView.container]
|
|
89
86
|
// "box-none" disallows the container view to be not take up touches
|
|
@@ -104,30 +101,26 @@ export const FloatingParticipantView = ({
|
|
|
104
101
|
height: height
|
|
105
102
|
};
|
|
106
103
|
});
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
})
|
|
128
|
-
})
|
|
129
|
-
})
|
|
130
|
-
});
|
|
104
|
+
}
|
|
105
|
+
}, containerDimensions && /*#__PURE__*/React.createElement(FloatingView, {
|
|
106
|
+
containerHeight: containerDimensions.height,
|
|
107
|
+
containerWidth: containerDimensions.width,
|
|
108
|
+
initialAlignment: floatingAlignmentMap[alignment]
|
|
109
|
+
}, /*#__PURE__*/React.createElement(Pressable, {
|
|
110
|
+
onPress: onPressHandler
|
|
111
|
+
}, ParticipantView && /*#__PURE__*/React.createElement(ParticipantView, _extends({
|
|
112
|
+
participant: participant,
|
|
113
|
+
trackType: "videoTrack",
|
|
114
|
+
style: [styles.participantViewContainer, participantViewStyle, {
|
|
115
|
+
shadowColor: colors.sheetPrimary
|
|
116
|
+
}, floatingParticipantsView.participantViewContainer]
|
|
117
|
+
// video z order must be one above the one used in grid view
|
|
118
|
+
// (which uses the default: 0)
|
|
119
|
+
,
|
|
120
|
+
videoZOrder: videoZOrder,
|
|
121
|
+
objectFit: objectFit,
|
|
122
|
+
supportedReactions: supportedReactions
|
|
123
|
+
}, participantViewProps)))));
|
|
131
124
|
};
|
|
132
125
|
const styles = StyleSheet.create({
|
|
133
126
|
container: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Pressable","StyleSheet","View","FLOATING_VIDEO_VIEW_STYLE","Z_INDEX","ComponentTestIds","VideoSlash","FloatingView","FloatingViewAlignment","ParticipantView","DefaultParticipantView","useTheme","
|
|
1
|
+
{"version":3,"names":["React","Pressable","StyleSheet","View","FLOATING_VIDEO_VIEW_STYLE","Z_INDEX","ComponentTestIds","VideoSlash","FloatingView","FloatingViewAlignment","ParticipantView","DefaultParticipantView","useTheme","DefaultLocalParticipantViewVideoFallback","theme","colors","floatingParticipantsView","variants","iconSizes","defaults","createElement","style","styles","videoFallback","backgroundColor","sheetSecondary","height","md","width","color","iconPrimary","size","iconSize","FloatingParticipantView","alignment","onPressHandler","participant","participantViewStyle","draggableContainerStyle","ParticipantNetworkQualityIndicator","ParticipantVideoFallback","ParticipantReaction","VideoRenderer","supportedReactions","videoZOrder","objectFit","floatingAlignmentMap","topLeft","topRight","bottomLeft","bottomRight","containerDimensions","setContainerDimensions","useState","participantViewProps","ParticipantLabel","testID","LOCAL_PARTICIPANT","container","pointerEvents","onLayout","event","nativeEvent","layout","prev","containerHeight","containerWidth","initialAlignment","onPress","_extends","trackType","participantViewContainer","shadowColor","sheetPrimary","create","zIndex","IN_MIDDLE","flex","borderRadius","shadowOffset","shadowOpacity","shadowRadius","elevation","absoluteFillObject","alignItems","justifyContent"],"sourceRoot":"../../../../../src","sources":["components/Participant/FloatingParticipantView/index.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACEC,SAAS,EAETC,UAAU,EACVC,IAAI,QAEC,cAAc;AACrB,SAASC,yBAAyB,EAAEC,OAAO,QAAQ,oBAAoB;AACvE,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;;AASzD;AACA;AACA;;AA6BA,MAAMC,wCAAwC,GAAGA,CAAA,KAAM;EACrD,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,wBAAwB;MACxBC,QAAQ,EAAE;QAAEC;MAAU,CAAC;MACvBC;IACF;EACF,CA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