@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, { useEffect, useMemo, useRef } from 'react';
|
|
4
2
|
import { Pressable, StyleSheet, Animated, Easing } from 'react-native';
|
|
5
3
|
import { useCall } from '@stream-io/video-react-bindings';
|
|
@@ -7,7 +5,6 @@ import { getLogger } from '@stream-io/video-client';
|
|
|
7
5
|
import { ComponentTestIds } from '../../../../constants/TestIds';
|
|
8
6
|
import { useTheme } from '../../../../contexts/ThemeContext';
|
|
9
7
|
import { defaultEmojiReactions } from '../../../../constants';
|
|
10
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
8
|
export const ReactionsPicker = ({
|
|
12
9
|
supportedReactions = defaultEmojiReactions,
|
|
13
10
|
reactionsButtonLayoutRectangle,
|
|
@@ -81,44 +78,40 @@ export const ReactionsPicker = ({
|
|
|
81
78
|
easing: Easing.linear
|
|
82
79
|
}).start(onRequestedClose);
|
|
83
80
|
};
|
|
84
|
-
return /*#__PURE__*/
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}, reactionsPicker.reactionsButtonDimmer],
|
|
119
|
-
onPress: () => onClose()
|
|
120
|
-
})]
|
|
121
|
-
});
|
|
81
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Pressable, {
|
|
82
|
+
testID: ComponentTestIds.REACTIONS_PICKER,
|
|
83
|
+
style: [styles.reactionsPopup, reactionsPopupStyle, {
|
|
84
|
+
backgroundColor: colors.sheetSecondary
|
|
85
|
+
}, reactionsPicker.reactionsPopup],
|
|
86
|
+
onPress: () => {
|
|
87
|
+
onClose();
|
|
88
|
+
}
|
|
89
|
+
}, supportedReactions.map(supportedReaction => /*#__PURE__*/React.createElement(Pressable, {
|
|
90
|
+
key: supportedReaction.emoji_code,
|
|
91
|
+
style: [styles.reactionItem, reactionItemStyle, {
|
|
92
|
+
backgroundColor: colors.buttonSecondary
|
|
93
|
+
}, reactionsPicker.reactionItem],
|
|
94
|
+
onPress: () => {
|
|
95
|
+
onClose({
|
|
96
|
+
type: supportedReaction.type,
|
|
97
|
+
custom: supportedReaction.custom,
|
|
98
|
+
emoji_code: supportedReaction.emoji_code
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
}, /*#__PURE__*/React.createElement(Animated.Text, {
|
|
102
|
+
style: [styles.reactionText, {
|
|
103
|
+
transform: [{
|
|
104
|
+
scaleY: elasticAnimRef.current
|
|
105
|
+
}, {
|
|
106
|
+
scaleX: elasticAnimRef.current
|
|
107
|
+
}]
|
|
108
|
+
}, reactionsPicker.reactionText]
|
|
109
|
+
}, supportedReaction.icon)))), /*#__PURE__*/React.createElement(Pressable, {
|
|
110
|
+
style: [reactionsButtonDimmerStyle, {
|
|
111
|
+
backgroundColor: colors.sheetSecondary
|
|
112
|
+
}, reactionsPicker.reactionsButtonDimmer],
|
|
113
|
+
onPress: () => onClose()
|
|
114
|
+
}));
|
|
122
115
|
};
|
|
123
116
|
const useStyles = () => {
|
|
124
117
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","useMemo","useRef","Pressable","StyleSheet","Animated","Easing","useCall","getLogger","ComponentTestIds","useTheme","defaultEmojiReactions","
|
|
1
|
+
{"version":3,"names":["React","useEffect","useMemo","useRef","Pressable","StyleSheet","Animated","Easing","useCall","getLogger","ComponentTestIds","useTheme","defaultEmojiReactions","ReactionsPicker","supportedReactions","reactionsButtonLayoutRectangle","onRequestedClose","theme","colors","reactionsPicker","variants","styles","useStyles","call","size","width","reactionItemSize","popupHeight","spacingSizes","xs","length","reactionsPopupStyle","top","y","left","x","height","borderTopStartRadius","borderTopEndRadius","elasticAnimRef","Value","timing","current","toValue","duration","useNativeDriver","easing","elastic","start","reactionItemStyle","borderRadius","reactionsButtonDimmerStyle","reactionsButtonDimmer","onClose","reaction","sendReaction","catch","e","logger","linear","createElement","Fragment","testID","REACTIONS_PICKER","style","reactionsPopup","backgroundColor","sheetSecondary","onPress","map","supportedReaction","key","emoji_code","reactionItem","buttonSecondary","type","custom","Text","reactionText","transform","scaleY","scaleX","icon","create","position","alignItems","paddingTop","opacity","justifyContent","marginBottom","fontSize"],"sourceRoot":"../../../../../../src","sources":["components/Call/CallControls/internal/ReactionsPicker.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO,EAAEC,MAAM,QAAQ,OAAO;AACzD,SAEEC,SAAS,EACTC,UAAU,EACVC,QAAQ,EACRC,MAAM,QACD,cAAc;AACrB,SAASC,OAAO,QAAQ,iCAAiC;AACzD,SAAmCC,SAAS,QAAQ,yBAAyB;AAC7E,SAASC,gBAAgB,QAAQ,+BAA+B;AAChE,SAASC,QAAQ,QAAQ,mCAAmC;AAE5D,SAASC,qBAAqB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/B,SAAS,GAAGA,CAAA,KAAM;EACtB,MAAM;IAAEL;EAAM,CAAC,GAAGN,QAAQ,CAAC,CAAC;EAC5B,OAAOT,OAAO,CACZ,MACEG,UAAU,CAAC8E,MAAM,CAAC;IAChBlB,cAAc,EAAE;MACdmB,QAAQ,EAAE,UAAU;MACpBC,UAAU,EAAE,QAAQ;MACpBC,UAAU,EAAErE,KAAK,CAACG,QAAQ,CAACQ,YAAY,CAACC;IAC1C,CAAC;IACDuB,qBAAqB,EAAE;MACrBgC,QAAQ,EAAE,UAAU;MACpBG,OAAO,EAAE;IACX,CAAC;IACDd,YAAY,EAAE;MACZY,UAAU,EAAE,QAAQ;MACpBG,cAAc,EAAE,QAAQ;MACxBC,YAAY,EAAExE,KAAK,CAACG,QAAQ,CAACQ,YAAY,CAACC;IAC5C,CAAC;IACDiD,YAAY,EAAE;MACZY,QAAQ,EAAE;IACZ;EACF,CAAC,CAAC,EACJ,CAACzE,KAAK,CACR,CAAC;AACH,CAAC","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 { StyleSheet, View } from 'react-native';
|
|
5
4
|
import { useCallStateHooks } from '@stream-io/video-react-bindings';
|
|
@@ -12,7 +11,7 @@ import { useIsInPiPMode } from '../../../hooks/useIsInPiPMode';
|
|
|
12
11
|
/**
|
|
13
12
|
* Props for the CallParticipantsGrid component.
|
|
14
13
|
*/
|
|
15
|
-
|
|
14
|
+
|
|
16
15
|
/**
|
|
17
16
|
* Component used to display the list of participants in a grid mode.
|
|
18
17
|
*/
|
|
@@ -72,18 +71,16 @@ export const CallParticipantsGrid = ({
|
|
|
72
71
|
ParticipantVideoFallback,
|
|
73
72
|
VideoRenderer
|
|
74
73
|
};
|
|
75
|
-
return /*#__PURE__*/
|
|
74
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
76
75
|
style: [styles.container, landscapeStyles, {
|
|
77
76
|
backgroundColor: colors.sheetPrimary
|
|
78
77
|
}, callParticipantsGrid.container],
|
|
79
|
-
testID: ComponentTestIds.CALL_PARTICIPANTS_GRID
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
})
|
|
86
|
-
});
|
|
78
|
+
testID: ComponentTestIds.CALL_PARTICIPANTS_GRID
|
|
79
|
+
}, CallParticipantsList && /*#__PURE__*/React.createElement(CallParticipantsList, _extends({
|
|
80
|
+
participants: participants,
|
|
81
|
+
supportedReactions: supportedReactions,
|
|
82
|
+
landscape: landscape
|
|
83
|
+
}, participantViewProps)));
|
|
87
84
|
};
|
|
88
85
|
const styles = StyleSheet.create({
|
|
89
86
|
container: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","View","useCallStateHooks","useDebouncedValue","CallParticipantsList","DefaultCallParticipantsList","ComponentTestIds","useTheme","useIsInPiPMode","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","useCallStateHooks","useDebouncedValue","CallParticipantsList","DefaultCallParticipantsList","ComponentTestIds","useTheme","useIsInPiPMode","CallParticipantsGrid","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ParticipantView","VideoRenderer","showLocalParticipant","supportedReactions","landscape","theme","colors","callParticipantsGrid","useRemoteParticipants","useParticipants","useLocalParticipant","useDominantSpeaker","_remoteParticipants","localParticipant","_allParticipants","dominantSpeaker","remoteParticipants","allParticipants","landscapeStyles","flexDirection","isInPiPMode","showFloatingView","length","participants","isLocalParticipant","participantViewProps","createElement","style","styles","container","backgroundColor","sheetPrimary","testID","CALL_PARTICIPANTS_GRID","_extends","create","flex"],"sourceRoot":"../../../../../src","sources":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CAAC;AAED,MAAMG,MAAM,GAAG1C,UAAU,CAACiD,MAAM,CAAC;EAC/BN,SAAS,EAAE;IAAEO,IAAI,EAAE;EAAE;AACvB,CAAC,CAAC","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, { useMemo } from 'react';
|
|
4
3
|
import { hasScreenShare, speakerLayoutSortPreset } from '@stream-io/video-client';
|
|
5
4
|
import { useCallStateHooks } from '@stream-io/video-react-bindings';
|
|
@@ -14,7 +13,7 @@ import { useIsInPiPMode } from '../../../hooks/useIsInPiPMode';
|
|
|
14
13
|
/**
|
|
15
14
|
* Props for the CallParticipantsSpotlight component.
|
|
16
15
|
*/
|
|
17
|
-
|
|
16
|
+
|
|
18
17
|
/**
|
|
19
18
|
* Component used to display the list of participants in a spotlight mode.
|
|
20
19
|
* This can be used when you want to render the screen sharing stream.
|
|
@@ -67,28 +66,24 @@ export const CallParticipantsSpotlight = ({
|
|
|
67
66
|
marginHorizontal: landscape ? 0 : variants.spacingSizes.xs
|
|
68
67
|
};
|
|
69
68
|
const showShareScreenOverlay = participantInSpotlight?.isLocalParticipant && isScreenShareOnSpotlight && ScreenShareOverlay;
|
|
70
|
-
return /*#__PURE__*/
|
|
69
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
71
70
|
testID: ComponentTestIds.CALL_PARTICIPANTS_SPOTLIGHT,
|
|
72
|
-
style: [styles.container, landscapeStyles, callParticipantsSpotlight.container]
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
...callParticipantsListProps
|
|
89
|
-
})
|
|
90
|
-
})]
|
|
91
|
-
});
|
|
71
|
+
style: [styles.container, landscapeStyles, callParticipantsSpotlight.container]
|
|
72
|
+
}, participantInSpotlight && ParticipantView && (showShareScreenOverlay ? /*#__PURE__*/React.createElement(ScreenShareOverlay, null) : /*#__PURE__*/React.createElement(ParticipantView, _extends({
|
|
73
|
+
participant: participantInSpotlight,
|
|
74
|
+
style: isUserAloneInCall ? [styles.fullScreenSpotlightContainer, callParticipantsSpotlight.fullScreenSpotlightContainer] : [styles.spotlightContainer, spotlightContainerLandscapeStyles, callParticipantsSpotlight.spotlightContainer],
|
|
75
|
+
objectFit: isScreenShareOnSpotlight ? 'contain' : 'cover',
|
|
76
|
+
trackType: isScreenShareOnSpotlight ? 'screenShareTrack' : 'videoTrack',
|
|
77
|
+
supportedReactions: supportedReactions
|
|
78
|
+
}, participantViewProps))), !isInPiP && !isUserAloneInCall && /*#__PURE__*/React.createElement(View, {
|
|
79
|
+
style: [styles.callParticipantsListContainer, callParticipantsSpotlight.callParticipantsListContainer]
|
|
80
|
+
}, CallParticipantsList && /*#__PURE__*/React.createElement(CallParticipantsList, _extends({
|
|
81
|
+
participants: isScreenShareOnSpotlight ? allParticipants : otherParticipants,
|
|
82
|
+
supportedReactions: supportedReactions,
|
|
83
|
+
horizontal: !landscape,
|
|
84
|
+
numberOfColumns: !landscape ? 2 : 1,
|
|
85
|
+
landscape: landscape
|
|
86
|
+
}, callParticipantsListProps))));
|
|
92
87
|
};
|
|
93
88
|
const useStyles = () => {
|
|
94
89
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","hasScreenShare","speakerLayoutSortPreset","useCallStateHooks","StyleSheet","View","useDebouncedValue","ComponentTestIds","CallParticipantsList","DefaultCallParticipantsList","ParticipantView","DefaultParticipantView","useTheme","useIsInPiPMode","
|
|
1
|
+
{"version":3,"names":["React","useMemo","hasScreenShare","speakerLayoutSortPreset","useCallStateHooks","StyleSheet","View","useDebouncedValue","ComponentTestIds","CallParticipantsList","DefaultCallParticipantsList","ParticipantView","DefaultParticipantView","useTheme","useIsInPiPMode","CallParticipantsSpotlight","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ScreenShareOverlay","VideoRenderer","supportedReactions","landscape","theme","callParticipantsSpotlight","variants","styles","useStyles","useParticipants","_allParticipants","sortBy","allParticipants","participantInSpotlight","otherParticipants","isScreenShareOnSpotlight","isUserAloneInCall","length","isInPiP","participantViewProps","callParticipantsListProps","landscapeStyles","flexDirection","spotlightContainerLandscapeStyles","marginHorizontal","spacingSizes","xs","showShareScreenOverlay","isLocalParticipant","createElement","testID","CALL_PARTICIPANTS_SPOTLIGHT","style","container","_extends","participant","fullScreenSpotlightContainer","spotlightContainer","objectFit","trackType","callParticipantsListContainer","participants","horizontal","numberOfColumns","create","flex","backgroundColor","colors","sheetPrimary","overflow","borderRadius","borderRadiusSizes","sm"],"sourceRoot":"../../../../../src","sources":["components/Call/CallLayout/CallParticipantsSpotlight.tsx"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SACEC,cAAc,EACdC,uBAAuB,QAClB,yBAAyB;AAChC,SAASC,iBAAiB,QAAQ,iCAAiC;AACnE,SAASC,UAAU,EAAEC,IAAI,QAAwB,cAAc;AAC/D,SAASC,iBAAiB,QAAQ,wCAAwC;AAC1E,SAASC,gBAAgB,QAAQ,4BAA4B;AAC7D,SACEC,oBAAoB,IAAIC,2BAA2B,QAE9C,8CAA8C;AACrD,SACEC,eAAe,IAAIC,sBAAsB,QAEpC,mBAAmB;AAC1B,SAASC,QAAQ,QAAQ,gCAAgC;AAEzD,SAASC,cAAc,QAAQ,+BAA+B;;AAE9D;AACA;AACA;;AAcA;AACA;AACA;AACA;AACA,OAAO,MAAMC,yBAAyB,GAAGA,CAAC;EACxCN,oBAAoB,GAAGC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AU,GACjBiB,yBAAyB,CAC9B,CAEC,CAEJ,CAAC;AAEX,CAAC;AAED,MAAMZ,SAAS,GAAGA,CAAA,KAAM;EACtB,MAAM;IAAEJ;EAAM,CAAC,GAAGX,QAAQ,CAAC,CAAC;EAC5B,OAAOZ,OAAO,CACZ,MACEI,UAAU,CAAC2D,MAAM,CAAC;IAChBX,SAAS,EAAE;MACTY,IAAI,EAAE,CAAC;MACPC,eAAe,EAAE1C,KAAK,CAAC2C,MAAM,CAACC;IAChC,CAAC;IACDZ,4BAA4B,EAAE;MAC5BS,IAAI,EAAE;IACR,CAAC;IACDR,kBAAkB,EAAE;MAClBQ,IAAI,EAAE,CAAC;MACPI,QAAQ,EAAE,QAAQ;MAClBC,YAAY,EAAE9C,KAAK,CAACE,QAAQ,CAAC6C,iBAAiB,CAACC,EAAE;MACjD5B,gBAAgB,EAAEpB,KAAK,CAACE,QAAQ,CAACmB,YAAY,CAAC2B;IAChD,CAAC;IACDZ,6BAA6B,EAAE;MAC7BK,IAAI,EAAE;IACR;EACF,CAAC,CAAC,EACJ,CAACzC,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Call/CallLayout/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Call/CallLayout/index.ts"],"mappings":"AAAA,cAAc,wBAAwB;AACtC,cAAc,6BAA6B","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, { useCallback, useMemo, useReducer, useRef, useState } from 'react';
|
|
4
3
|
import { FlatList, StyleSheet } from 'react-native';
|
|
5
4
|
import { VisibilityState } from '@stream-io/video-client';
|
|
@@ -8,7 +7,6 @@ import { useCall } from '@stream-io/video-react-bindings';
|
|
|
8
7
|
import { ComponentTestIds } from '../../../constants/TestIds';
|
|
9
8
|
import { ParticipantView as DefaultParticipantView } from '../../Participant/ParticipantView';
|
|
10
9
|
import { useTheme } from '../../../contexts';
|
|
11
|
-
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
12
10
|
const VIEWABILITY_CONFIG = {
|
|
13
11
|
waitForInteraction: false,
|
|
14
12
|
itemVisiblePercentThreshold: 60
|
|
@@ -147,16 +145,13 @@ export const CallParticipantsList = ({
|
|
|
147
145
|
item: participant
|
|
148
146
|
}) => {
|
|
149
147
|
const isVisible = viewableParticipantSessionIds.current.has(participant.sessionId);
|
|
150
|
-
return /*#__PURE__*/
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
...participantProps
|
|
158
|
-
})
|
|
159
|
-
});
|
|
148
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, ParticipantView && /*#__PURE__*/React.createElement(ParticipantView, _extends({
|
|
149
|
+
participant: participant,
|
|
150
|
+
style: itemContainerStyle,
|
|
151
|
+
trackType: "videoTrack",
|
|
152
|
+
isVisible: isVisible,
|
|
153
|
+
supportedReactions: supportedReactions
|
|
154
|
+
}, participantProps)));
|
|
160
155
|
},
|
|
161
156
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
162
157
|
[itemContainerStyle]);
|
|
@@ -165,21 +160,20 @@ export const CallParticipantsList = ({
|
|
|
165
160
|
// else we display them both in a stretched row on the screen
|
|
166
161
|
const shouldWrapByColumns = !!horizontal || participants.length > 2;
|
|
167
162
|
if (!shouldWrapByColumns) {
|
|
168
|
-
return /*#__PURE__*/
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
})
|
|
178
|
-
});
|
|
163
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, participants.map((participant, index) => {
|
|
164
|
+
return ParticipantView && /*#__PURE__*/React.createElement(ParticipantView, _extends({
|
|
165
|
+
participant: participant,
|
|
166
|
+
style: styles.flexed,
|
|
167
|
+
trackType: "videoTrack",
|
|
168
|
+
key: keyExtractor(participant, index),
|
|
169
|
+
supportedReactions: supportedReactions
|
|
170
|
+
}, participantProps));
|
|
171
|
+
}));
|
|
179
172
|
}
|
|
180
|
-
return /*#__PURE__*/
|
|
173
|
+
return /*#__PURE__*/React.createElement(FlatList, {
|
|
181
174
|
onLayout: onLayout,
|
|
182
|
-
// setting numColumns as key is a strict requirement of react-native to support changing numColumns on the fly
|
|
175
|
+
key: !horizontal ? numberOfColumns : undefined // setting numColumns as key is a strict requirement of react-native to support changing numColumns on the fly
|
|
176
|
+
,
|
|
183
177
|
data: participants,
|
|
184
178
|
keyExtractor: keyExtractor,
|
|
185
179
|
viewabilityConfig: VIEWABILITY_CONFIG,
|
|
@@ -191,7 +185,7 @@ export const CallParticipantsList = ({
|
|
|
191
185
|
extraData: `${forceUpdateValue}` // this is important to force re-render when visibility changes
|
|
192
186
|
,
|
|
193
187
|
testID: ComponentTestIds.CALL_PARTICIPANTS_LIST
|
|
194
|
-
}
|
|
188
|
+
});
|
|
195
189
|
};
|
|
196
190
|
const useStyles = () => {
|
|
197
191
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useCallback","useMemo","useReducer","useRef","useState","FlatList","StyleSheet","VisibilityState","useDebouncedValue","useCall","ComponentTestIds","ParticipantView","DefaultParticipantView","useTheme","
|
|
1
|
+
{"version":3,"names":["React","useCallback","useMemo","useReducer","useRef","useState","FlatList","StyleSheet","VisibilityState","useDebouncedValue","useCall","ComponentTestIds","ParticipantView","DefaultParticipantView","useTheme","VIEWABILITY_CONFIG","waitForInteraction","itemVisiblePercentThreshold","CallParticipantsList","numberOfColumns","horizontal","participants","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","VideoRenderer","supportedReactions","landscape","styles","useStyles","containerLayout","setContainerLayout","width","height","viewableParticipantSessionIds","Set","_forceUpdateValue","forceUpdate","x","forceUpdateValue","activeCall","activeCallRef","current","onViewableItemsChanged","viewableItems","participantPatches","mustUpdate","newVisibleParticipantSessionIds","map","v","key","oldVisibleParticipantSessionIds","forEach","has","viewportVisibilityState","videoTrack","VISIBLE","screenShareTrack","UNKNOWN","state","updateParticipants","keyExtractor","item","sessionId","onLayout","event","nativeEvent","layout","prev","itemHeight","itemWidth","calculateParticipantViewSize","containerHeight","containerWidth","participantsLength","length","margin","participant","itemContainerStyle","style","participantWrapperHorizontal","landScapeStyle","participantProps","renderItem","isVisible","createElement","Fragment","_extends","trackType","shouldWrapByColumns","index","flexed","undefined","data","viewabilityConfig","numColumns","showsHorizontalScrollIndicator","extraData","testID","CALL_PARTICIPANTS_LIST","theme","create","flex","marginHorizontal","variants","spacingSizes","sm","borderRadius","borderRadiusSizes","xs"],"sourceRoot":"../../../../../src","sources":["components/Call/CallParticipantsList/CallParticipantsList.tsx"],"mappings":";AAAA,OAAOA,KAAK,IACVC,WAAW,EACXC,OAAO,EACPC,UAAU,EACVC,MAAM,EACNC,QAAQ,QACH,OAAO;AACd,SACEC,QAAQ,EAERC,UAAU,QAEL,cAAc;AAErB,SAGEC,eAAe,QACV,yBAAyB;AAChC,SAASC,iBAAiB,QAAQ,wCAAwC;AAC1E,SAASC,OAAO,QAAQ,iCAAiC;AACzD,SAASC,gBAAgB,QAAQ,4BAA4B;AAC7D,SACEC,eAAe,IAAIC,sBAAsB,QAGpC,mCAAmC;AAE1C,SAASC,QAAQ,QAAQ,mBAAmB;AAM5C,MAAMC,kBAAsD,GAAG;EAC7DC,kBAAkB,EAAE,KAAK;EACzBC,2BAA2B,EAAE;AAC/B,CAAC;;AAUD;AACA;AACA;;AAuBA;AACA;AACA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,GAAG,CAAC;EAC/B;EAEAD,UAAU,GAAGA,UAAU,GAAGO,MAAM;EAChCN,SAAS,GAAGA,SAAS,GAAGM,MAAM;EAC9B,OAAO;IAAEP,UAAU;IAAEC;EAAU,CAAC;AAClC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Call/CallParticipantsList/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Call/CallParticipantsList/index.ts"],"mappings":"AAAA,cAAc,wBAAwB","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import React, { useMemo, useState } from 'react';
|
|
4
2
|
import { Pressable, StyleSheet, Text } from 'react-native';
|
|
5
3
|
import { useCall, useI18n } from '@stream-io/video-react-bindings';
|
|
@@ -9,7 +7,7 @@ import { getLogger } from '@stream-io/video-client';
|
|
|
9
7
|
/**
|
|
10
8
|
* Props for the Join Call Button in the Lobby component.
|
|
11
9
|
*/
|
|
12
|
-
|
|
10
|
+
|
|
13
11
|
/**
|
|
14
12
|
* The default Join call button to be used in the Lobby component.
|
|
15
13
|
*/
|
|
@@ -51,19 +49,17 @@ export const JoinCallButton = ({
|
|
|
51
49
|
}
|
|
52
50
|
};
|
|
53
51
|
const backgroundColor = isLoading ? colors.buttonDisabled : colors.buttonPrimary;
|
|
54
|
-
return /*#__PURE__*/
|
|
52
|
+
return /*#__PURE__*/React.createElement(Pressable, {
|
|
55
53
|
style: [styles.container, {
|
|
56
54
|
backgroundColor
|
|
57
55
|
}, joinCallButton.container],
|
|
58
56
|
onPress: onPress,
|
|
59
|
-
disabled: isLoading
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
})
|
|
66
|
-
});
|
|
57
|
+
disabled: isLoading
|
|
58
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
59
|
+
style: [styles.label, {
|
|
60
|
+
color: colors.textPrimary
|
|
61
|
+
}, typefaces.subtitleBold, joinCallButton.label]
|
|
62
|
+
}, isLoading ? t('Joining...') : t('Join')));
|
|
67
63
|
};
|
|
68
64
|
const useStyles = () => {
|
|
69
65
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","useState","Pressable","StyleSheet","Text","useCall","useI18n","useTheme","getLogger","
|
|
1
|
+
{"version":3,"names":["React","useMemo","useState","Pressable","StyleSheet","Text","useCall","useI18n","useTheme","getLogger","JoinCallButton","onJoinCallHandler","onPressHandler","theme","colors","typefaces","joinCallButton","styles","useStyles","isLoading","setIsLoading","t","call","onPress","join","create","error","logger","backgroundColor","buttonDisabled","buttonPrimary","createElement","style","container","disabled","label","color","textPrimary","subtitleBold","borderRadius","variants","borderRadiusSizes","lg","marginTop","spacingSizes","md","paddingVertical","sm","textAlign"],"sourceRoot":"../../../../../src","sources":["components/Call/Lobby/JoinCallButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAEhD,SAASC,SAAS,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC1D,SAASC,OAAO,EAAEC,OAAO,QAAQ,iCAAiC;AAClE,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,SAASC,SAAS,QAAQ,yBAAyB;;AAEnD;AACA;AACA;;AAKA;AACA;AACA;AACA,OAAO,MAAMC,cAAc,GAAGA,CAAC;EAC7BC,iBAAiB;EACjBC;AACmB,CAAC,KAAK;EACzB,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,SAAS;MAAEC;IAAe;EAC7C,CAAC,GAAGR,QAAQ,CAAC,CAAC;EACd,MAAMS,MAAM,GAAGC,SAAS,CAAC,CAAC;EAC1B,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAGlB,QAAQ,CAAC,KAAK,CAAC;EACjD,MAAM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,CAAA,KAAM;EACtB,MAAM;IAAEL;EAAM,CAAC,GAAGL,QAAQ,CAAC,CAAC;EAC5B,OAAOP,OAAO,CACZ,MACEG,UAAU,CAACqB,MAAM,CAAC;IAChBQ,SAAS,EAAE;MACTM,YAAY,EAAE1B,KAAK,CAAC2B,QAAQ,CAACC,iBAAiB,CAACC,EAAE;MACjDC,SAAS,EAAE9B,KAAK,CAAC2B,QAAQ,CAACI,YAAY,CAACC,EAAE;MACzCC,eAAe,EAAEjC,KAAK,CAAC2B,QAAQ,CAACI,YAAY,CAACG;IAC/C,CAAC;IACDZ,KAAK,EAAE;MACLa,SAAS,EAAE;IACb;EACF,CAAC,CAAC,EACJ,CAACnC,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import React, { useMemo } from 'react';
|
|
4
2
|
import { StyleSheet, Text, View } from 'react-native';
|
|
5
3
|
import { useCallStateHooks, useConnectedUser, useI18n } from '@stream-io/video-react-bindings';
|
|
@@ -15,7 +13,7 @@ import { useApplyDefaultMediaStreamSettings } from '../../../hooks/useApplyDefau
|
|
|
15
13
|
/**
|
|
16
14
|
* Props for the Lobby Component.
|
|
17
15
|
*/
|
|
18
|
-
|
|
16
|
+
|
|
19
17
|
/**
|
|
20
18
|
* Components that acts as a pre-join view for the call. Where you can preview your video and audio. Check for call details and check for number of participants already in the call.
|
|
21
19
|
*/
|
|
@@ -56,38 +54,31 @@ export const Lobby = ({
|
|
|
56
54
|
image: connectedUser?.image,
|
|
57
55
|
name: connectedUser?.name
|
|
58
56
|
};
|
|
59
|
-
return /*#__PURE__*/
|
|
60
|
-
style: [styles.container, lobby.container]
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}), /*#__PURE__*/_jsx(ParticipantStatus, {})]
|
|
85
|
-
})]
|
|
86
|
-
}), LobbyControls && /*#__PURE__*/_jsx(LobbyControls, {}), LobbyFooter && /*#__PURE__*/_jsx(LobbyFooter, {
|
|
87
|
-
JoinCallButton: JoinCallButton,
|
|
88
|
-
onJoinCallHandler: onJoinCallHandler
|
|
89
|
-
})]
|
|
90
|
-
});
|
|
57
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
58
|
+
style: [styles.container, lobby.container]
|
|
59
|
+
}, connectedUser && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
|
|
60
|
+
style: [styles.heading, typefaces.heading5, lobby.heading]
|
|
61
|
+
}, t('Before joining')), /*#__PURE__*/React.createElement(Text, {
|
|
62
|
+
style: [styles.subHeading, lobby.subHeading]
|
|
63
|
+
}, t('Setup your audio and video')), isVideoEnabledInCall && /*#__PURE__*/React.createElement(View, {
|
|
64
|
+
style: [styles.videoContainer, {
|
|
65
|
+
backgroundColor: colors.sheetTertiary
|
|
66
|
+
}, lobby.videoContainer]
|
|
67
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
68
|
+
style: styles.topView
|
|
69
|
+
}), !cameraIsMuted && localVideoStream ? /*#__PURE__*/React.createElement(RTCView, {
|
|
70
|
+
mirror: true,
|
|
71
|
+
streamURL: localVideoStream.toURL(),
|
|
72
|
+
objectFit: "cover",
|
|
73
|
+
style: StyleSheet.absoluteFillObject
|
|
74
|
+
}) : /*#__PURE__*/React.createElement(View, {
|
|
75
|
+
style: [styles.avatarContainer, lobby.avatarContainer]
|
|
76
|
+
}, /*#__PURE__*/React.createElement(Avatar, {
|
|
77
|
+
participant: connectedUserAsParticipant
|
|
78
|
+
})), /*#__PURE__*/React.createElement(ParticipantStatus, null))), LobbyControls && /*#__PURE__*/React.createElement(LobbyControls, null), LobbyFooter && /*#__PURE__*/React.createElement(LobbyFooter, {
|
|
79
|
+
JoinCallButton: JoinCallButton,
|
|
80
|
+
onJoinCallHandler: onJoinCallHandler
|
|
81
|
+
}));
|
|
91
82
|
};
|
|
92
83
|
const ParticipantStatus = () => {
|
|
93
84
|
const {
|
|
@@ -100,18 +91,16 @@ const ParticipantStatus = () => {
|
|
|
100
91
|
const styles = useStyles();
|
|
101
92
|
const connectedUser = useConnectedUser();
|
|
102
93
|
const participantLabel = connectedUser?.name ?? connectedUser?.id;
|
|
103
|
-
return /*#__PURE__*/
|
|
94
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
104
95
|
style: [styles.participantStatusContainer, {
|
|
105
96
|
backgroundColor: colors.sheetOverlay
|
|
106
|
-
}, lobby.participantStatusContainer]
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
})
|
|
114
|
-
});
|
|
97
|
+
}, lobby.participantStatusContainer]
|
|
98
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
99
|
+
style: [styles.userNameLabel, {
|
|
100
|
+
color: colors.textPrimary
|
|
101
|
+
}, typefaces.caption, lobby.userNameLabel],
|
|
102
|
+
numberOfLines: 1
|
|
103
|
+
}, participantLabel));
|
|
115
104
|
};
|
|
116
105
|
const useStyles = (landscape = false) => {
|
|
117
106
|
const {
|