@stream-io/video-react-native-sdk 1.9.31 → 1.10.1
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 +22 -0
- package/dist/commonjs/components/Call/CallContent/CallContent.js +31 -21
- package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
- package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js +3 -2
- package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/CallControls.js +7 -5
- package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +11 -8
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +11 -9
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js +5 -3
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js +12 -9
- package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ReactionsButton.js +22 -15
- package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js +15 -11
- package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +13 -9
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +18 -13
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +17 -12
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +13 -9
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +17 -12
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +39 -34
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +10 -8
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +22 -18
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +25 -21
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +10 -7
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/Lobby.js +43 -33
- package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/LobbyFooter.js +21 -16
- package/dist/commonjs/components/Call/Lobby/LobbyFooter.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js +2 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js +2 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +32 -22
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +35 -25
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +12 -8
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js +28 -22
- package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +25 -22
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -1
- package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +31 -26
- package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +16 -12
- package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +16 -12
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +19 -14
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js +5 -3
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +19 -16
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +19 -14
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +16 -12
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +12 -9
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +14 -12
- package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +5 -3
- package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +16 -12
- package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +16 -12
- package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +18 -13
- package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +10 -7
- package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +18 -13
- package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +19 -15
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +18 -15
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +20 -16
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/common.js +4 -0
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/common.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +39 -33
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +54 -43
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +30 -27
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +11 -7
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +17 -14
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +23 -20
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js +8 -7
- package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer.js +13 -11
- package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer.js.map +1 -1
- package/dist/commonjs/components/utility/Avatar.js +18 -15
- package/dist/commonjs/components/utility/Avatar.js.map +1 -1
- package/dist/commonjs/components/utility/ScreenShareOverlay.js +35 -29
- package/dist/commonjs/components/utility/ScreenShareOverlay.js.map +1 -1
- package/dist/commonjs/contexts/BackgroundFilters.js +5 -3
- package/dist/commonjs/contexts/BackgroundFilters.js.map +1 -1
- package/dist/commonjs/contexts/StreamVideoContext.js +6 -5
- package/dist/commonjs/contexts/StreamVideoContext.js.map +1 -1
- package/dist/commonjs/contexts/ThemeContext.js +5 -3
- package/dist/commonjs/contexts/ThemeContext.js.map +1 -1
- package/dist/commonjs/hooks/push/useIosVoipPushEventsSetupEffect.js +14 -1
- package/dist/commonjs/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
- package/dist/commonjs/icons/Back.js +8 -6
- package/dist/commonjs/icons/Back.js.map +1 -1
- package/dist/commonjs/icons/CameraSwitch.js +8 -6
- package/dist/commonjs/icons/CameraSwitch.js.map +1 -1
- package/dist/commonjs/icons/EndStreamIcon.js +8 -6
- package/dist/commonjs/icons/EndStreamIcon.js.map +1 -1
- package/dist/commonjs/icons/Eye.js +8 -6
- package/dist/commonjs/icons/Eye.js.map +1 -1
- package/dist/commonjs/icons/IconWrapper.js +5 -3
- package/dist/commonjs/icons/IconWrapper.js.map +1 -1
- package/dist/commonjs/icons/LeaveStreamIcon.js +8 -6
- package/dist/commonjs/icons/LeaveStreamIcon.js.map +1 -1
- package/dist/commonjs/icons/Lock.js +8 -6
- package/dist/commonjs/icons/Lock.js.map +1 -1
- package/dist/commonjs/icons/Mic.js +8 -6
- package/dist/commonjs/icons/Mic.js.map +1 -1
- package/dist/commonjs/icons/MicOff.js +8 -6
- package/dist/commonjs/icons/MicOff.js.map +1 -1
- package/dist/commonjs/icons/Phone.js +8 -6
- package/dist/commonjs/icons/Phone.js.map +1 -1
- package/dist/commonjs/icons/PhoneDown.js +8 -6
- package/dist/commonjs/icons/PhoneDown.js.map +1 -1
- package/dist/commonjs/icons/PinVertical.js +8 -6
- package/dist/commonjs/icons/PinVertical.js.map +1 -1
- package/dist/commonjs/icons/Reaction.js +8 -6
- package/dist/commonjs/icons/Reaction.js.map +1 -1
- package/dist/commonjs/icons/ScreenShare.js +8 -6
- package/dist/commonjs/icons/ScreenShare.js.map +1 -1
- package/dist/commonjs/icons/ScreenShareIndicator.js +21 -18
- package/dist/commonjs/icons/ScreenShareIndicator.js.map +1 -1
- package/dist/commonjs/icons/Settings.js +7 -5
- package/dist/commonjs/icons/Settings.js.map +1 -1
- package/dist/commonjs/icons/ShieldBadge.js +8 -6
- package/dist/commonjs/icons/ShieldBadge.js.map +1 -1
- package/dist/commonjs/icons/Spotlight.js +10 -8
- package/dist/commonjs/icons/Spotlight.js.map +1 -1
- package/dist/commonjs/icons/StartStreamIcon.js +8 -6
- package/dist/commonjs/icons/StartStreamIcon.js.map +1 -1
- package/dist/commonjs/icons/StopScreenShare.js +11 -9
- package/dist/commonjs/icons/StopScreenShare.js.map +1 -1
- package/dist/commonjs/icons/ThreeDots.js +20 -18
- package/dist/commonjs/icons/ThreeDots.js.map +1 -1
- package/dist/commonjs/icons/TopViewBackground.js +24 -19
- package/dist/commonjs/icons/TopViewBackground.js.map +1 -1
- package/dist/commonjs/icons/Video.js +8 -6
- package/dist/commonjs/icons/Video.js.map +1 -1
- package/dist/commonjs/icons/VideoSlash.js +8 -6
- package/dist/commonjs/icons/VideoSlash.js.map +1 -1
- package/dist/commonjs/package.json +1 -0
- package/dist/commonjs/providers/StreamCall/index.js +5 -3
- package/dist/commonjs/providers/StreamCall/index.js.map +1 -1
- package/dist/commonjs/providers/StreamVideo.js +10 -5
- package/dist/commonjs/providers/StreamVideo.js.map +1 -1
- package/dist/commonjs/utils/StreamVideoRN/index.js +3 -0
- package/dist/commonjs/utils/StreamVideoRN/index.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/module/components/Call/CallContent/CallContent.js +33 -21
- package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
- package/dist/module/components/Call/CallContent/RTCViewPipIOS.js +5 -2
- package/dist/module/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
- package/dist/module/components/Call/CallContent/index.js +2 -0
- package/dist/module/components/Call/CallContent/index.js.map +1 -1
- package/dist/module/components/Call/CallControls/AcceptCallButton.js +12 -7
- package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/CallControls.js +9 -6
- package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/CallControlsButton.js +13 -8
- package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/HangupCallButton.js +12 -7
- package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/IncomingCallControls.js +13 -10
- package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/LobbyControls.js +7 -3
- package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/OutgoingCallControls.js +14 -10
- package/dist/module/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/ReactionsButton.js +24 -16
- package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/RejectCallButton.js +12 -7
- package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js +17 -12
- package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +15 -10
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +20 -14
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +19 -13
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +15 -10
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +19 -13
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/index.js +2 -0
- package/dist/module/components/Call/CallControls/index.js.map +1 -1
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +41 -34
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +12 -9
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +24 -19
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
- package/dist/module/components/Call/CallLayout/index.js +2 -0
- package/dist/module/components/Call/CallLayout/index.js.map +1 -1
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +27 -21
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
- package/dist/module/components/Call/CallParticipantsList/index.js +2 -0
- package/dist/module/components/Call/CallParticipantsList/index.js.map +1 -1
- package/dist/module/components/Call/Lobby/JoinCallButton.js +12 -8
- package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/module/components/Call/Lobby/Lobby.js +45 -34
- package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
- package/dist/module/components/Call/Lobby/LobbyFooter.js +23 -17
- package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -1
- package/dist/module/components/Call/Lobby/index.js +2 -0
- package/dist/module/components/Call/Lobby/index.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js +4 -1
- package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js +4 -1
- package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js +34 -23
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +37 -26
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +14 -9
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js +30 -22
- package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/UserInfo.js +27 -22
- package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/index.js +2 -0
- package/dist/module/components/Call/RingingCallContent/index.js.map +1 -1
- package/dist/module/components/Call/index.js +2 -0
- package/dist/module/components/Call/index.js.map +1 -1
- package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +33 -27
- package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
- package/dist/module/components/Livestream/HostLivestream/index.js +2 -0
- package/dist/module/components/Livestream/HostLivestream/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +18 -13
- package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +18 -13
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +21 -14
- package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js +7 -4
- package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +21 -16
- package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +21 -14
- package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +18 -13
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +14 -10
- package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/index.js +2 -0
- package/dist/module/components/Livestream/LivestreamControls/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +16 -13
- package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamLayout/index.js +2 -0
- package/dist/module/components/Livestream/LivestreamLayout/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +7 -3
- package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamPlayer/index.js +2 -0
- package/dist/module/components/Livestream/LivestreamPlayer/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +18 -13
- package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +18 -13
- package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +20 -14
- package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +12 -8
- package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +20 -14
- package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/index.js +2 -0
- package/dist/module/components/Livestream/LivestreamTopView/index.js.map +1 -1
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +21 -16
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
- package/dist/module/components/Livestream/ViewerLivestream/index.js +2 -0
- package/dist/module/components/Livestream/ViewerLivestream/index.js.map +1 -1
- package/dist/module/components/Livestream/index.js +2 -0
- package/dist/module/components/Livestream/index.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +20 -15
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +22 -16
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js +6 -0
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js +2 -0
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/index.js +41 -34
- package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +56 -44
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +32 -28
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +13 -8
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +19 -15
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js +25 -21
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js +10 -8
- package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/VideoRenderer.js +15 -11
- package/dist/module/components/Participant/ParticipantView/VideoRenderer.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/index.js +2 -0
- package/dist/module/components/Participant/ParticipantView/index.js.map +1 -1
- package/dist/module/components/Participant/index.js +2 -0
- package/dist/module/components/Participant/index.js.map +1 -1
- package/dist/module/components/index.js +2 -0
- package/dist/module/components/index.js.map +1 -1
- package/dist/module/components/utility/Avatar.js +20 -16
- package/dist/module/components/utility/Avatar.js.map +1 -1
- package/dist/module/components/utility/ScreenShareOverlay.js +37 -30
- package/dist/module/components/utility/ScreenShareOverlay.js.map +1 -1
- package/dist/module/components/utility/index.js +2 -0
- package/dist/module/components/utility/index.js.map +1 -1
- package/dist/module/constants/TestIds.js +2 -0
- package/dist/module/constants/TestIds.js.map +1 -1
- package/dist/module/constants/index.js +2 -0
- package/dist/module/constants/index.js.map +1 -1
- package/dist/module/contexts/BackgroundFilters.js +7 -3
- package/dist/module/contexts/BackgroundFilters.js.map +1 -1
- package/dist/module/contexts/StreamVideoContext.js +7 -3
- package/dist/module/contexts/StreamVideoContext.js.map +1 -1
- package/dist/module/contexts/ThemeContext.js +7 -3
- package/dist/module/contexts/ThemeContext.js.map +1 -1
- package/dist/module/contexts/index.js +2 -0
- package/dist/module/contexts/index.js.map +1 -1
- package/dist/module/hooks/index.js +2 -0
- package/dist/module/hooks/index.js.map +1 -1
- package/dist/module/hooks/internal/useCallMediaStreamCleanup.js +2 -0
- package/dist/module/hooks/internal/useCallMediaStreamCleanup.js.map +1 -1
- package/dist/module/hooks/push/index.js +2 -0
- package/dist/module/hooks/push/index.js.map +1 -1
- package/dist/module/hooks/push/useInitAndroidTokenAndRest.js +2 -0
- package/dist/module/hooks/push/useInitAndroidTokenAndRest.js.map +1 -1
- package/dist/module/hooks/push/useIosCallKeepEventsSetupEffect.js +2 -0
- package/dist/module/hooks/push/useIosCallKeepEventsSetupEffect.js.map +1 -1
- package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js +2 -0
- package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js.map +1 -1
- package/dist/module/hooks/push/useIosInitRemoteNotifications.js +2 -0
- package/dist/module/hooks/push/useIosInitRemoteNotifications.js.map +1 -1
- package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js +16 -1
- package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
- package/dist/module/hooks/push/useProcessPushCallEffect.js +2 -0
- package/dist/module/hooks/push/useProcessPushCallEffect.js.map +1 -1
- package/dist/module/hooks/push/useProcessPushNonRingingCallEffect.js +2 -0
- package/dist/module/hooks/push/useProcessPushNonRingingCallEffect.js.map +1 -1
- package/dist/module/hooks/useAndroidKeepCallAliveEffect.js +2 -0
- package/dist/module/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
- package/dist/module/hooks/useApplyDefaultMediaStreamSettings.js +2 -0
- package/dist/module/hooks/useApplyDefaultMediaStreamSettings.js.map +1 -1
- package/dist/module/hooks/useAutoEnterPiPEffect.js +2 -0
- package/dist/module/hooks/useAutoEnterPiPEffect.js.map +1 -1
- package/dist/module/hooks/useIsInPiPMode.js +2 -0
- package/dist/module/hooks/useIsInPiPMode.js.map +1 -1
- package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js +2 -0
- package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js.map +1 -1
- package/dist/module/hooks/usePaginatedLayoutSortPreset.js +2 -0
- package/dist/module/hooks/usePaginatedLayoutSortPreset.js.map +1 -1
- package/dist/module/hooks/usePermissionNotification.js +2 -0
- package/dist/module/hooks/usePermissionNotification.js.map +1 -1
- package/dist/module/hooks/usePermissionRequest.js +2 -0
- package/dist/module/hooks/usePermissionRequest.js.map +1 -1
- package/dist/module/hooks/useScreenShareButton.js +2 -0
- package/dist/module/hooks/useScreenShareButton.js.map +1 -1
- package/dist/module/hooks/useTrackDimensions.js +2 -0
- package/dist/module/hooks/useTrackDimensions.js.map +1 -1
- package/dist/module/icons/Back.js +10 -6
- package/dist/module/icons/Back.js.map +1 -1
- package/dist/module/icons/CameraSwitch.js +10 -6
- package/dist/module/icons/CameraSwitch.js.map +1 -1
- package/dist/module/icons/EndStreamIcon.js +10 -6
- package/dist/module/icons/EndStreamIcon.js.map +1 -1
- package/dist/module/icons/Eye.js +10 -6
- package/dist/module/icons/Eye.js.map +1 -1
- package/dist/module/icons/IconWrapper.js +7 -3
- package/dist/module/icons/IconWrapper.js.map +1 -1
- package/dist/module/icons/LeaveStreamIcon.js +10 -6
- package/dist/module/icons/LeaveStreamIcon.js.map +1 -1
- package/dist/module/icons/Lock.js +10 -6
- package/dist/module/icons/Lock.js.map +1 -1
- package/dist/module/icons/Mic.js +10 -6
- package/dist/module/icons/Mic.js.map +1 -1
- package/dist/module/icons/MicOff.js +10 -6
- package/dist/module/icons/MicOff.js.map +1 -1
- package/dist/module/icons/Phone.js +10 -6
- package/dist/module/icons/Phone.js.map +1 -1
- package/dist/module/icons/PhoneDown.js +10 -6
- package/dist/module/icons/PhoneDown.js.map +1 -1
- package/dist/module/icons/PinVertical.js +10 -6
- package/dist/module/icons/PinVertical.js.map +1 -1
- package/dist/module/icons/Reaction.js +10 -6
- package/dist/module/icons/Reaction.js.map +1 -1
- package/dist/module/icons/ScreenShare.js +10 -6
- package/dist/module/icons/ScreenShare.js.map +1 -1
- package/dist/module/icons/ScreenShareIndicator.js +23 -18
- package/dist/module/icons/ScreenShareIndicator.js.map +1 -1
- package/dist/module/icons/Settings.js +9 -5
- package/dist/module/icons/Settings.js.map +1 -1
- package/dist/module/icons/ShieldBadge.js +10 -6
- package/dist/module/icons/ShieldBadge.js.map +1 -1
- package/dist/module/icons/Spotlight.js +12 -8
- package/dist/module/icons/Spotlight.js.map +1 -1
- package/dist/module/icons/StartStreamIcon.js +10 -6
- package/dist/module/icons/StartStreamIcon.js.map +1 -1
- package/dist/module/icons/StopScreenShare.js +13 -9
- package/dist/module/icons/StopScreenShare.js.map +1 -1
- package/dist/module/icons/ThreeDots.js +22 -18
- package/dist/module/icons/ThreeDots.js.map +1 -1
- package/dist/module/icons/TopViewBackground.js +26 -19
- package/dist/module/icons/TopViewBackground.js.map +1 -1
- package/dist/module/icons/Video.js +10 -6
- package/dist/module/icons/Video.js.map +1 -1
- package/dist/module/icons/VideoSlash.js +10 -6
- package/dist/module/icons/VideoSlash.js.map +1 -1
- package/dist/module/icons/index.js +2 -0
- package/dist/module/icons/index.js.map +1 -1
- package/dist/module/index.js +2 -0
- package/dist/module/index.js.map +1 -1
- package/dist/module/package.json +1 -0
- package/dist/module/providers/StreamCall/AppStateListener.js +2 -0
- package/dist/module/providers/StreamCall/AppStateListener.js.map +1 -1
- package/dist/module/providers/StreamCall/DeviceStats.js +2 -0
- package/dist/module/providers/StreamCall/DeviceStats.js.map +1 -1
- package/dist/module/providers/StreamCall/index.js +7 -4
- package/dist/module/providers/StreamCall/index.js.map +1 -1
- package/dist/module/providers/StreamVideo.js +12 -5
- package/dist/module/providers/StreamVideo.js.map +1 -1
- package/dist/module/theme/colors.js +2 -0
- package/dist/module/theme/colors.js.map +1 -1
- package/dist/module/theme/constants.js +2 -0
- package/dist/module/theme/constants.js.map +1 -1
- package/dist/module/theme/index.js +2 -0
- package/dist/module/theme/index.js.map +1 -1
- package/dist/module/theme/theme.js +2 -0
- package/dist/module/theme/theme.js.map +1 -1
- package/dist/module/theme/types.js +2 -0
- package/dist/module/translations/index.js +2 -0
- package/dist/module/translations/index.js.map +1 -1
- package/dist/module/utils/StreamVideoRN/index.js +5 -0
- package/dist/module/utils/StreamVideoRN/index.js.map +1 -1
- package/dist/module/utils/StreamVideoRN/types.js +2 -0
- package/dist/module/utils/enterPiPAndroid.js +2 -0
- package/dist/module/utils/enterPiPAndroid.js.map +1 -1
- package/dist/module/utils/getAndroidDefaultRingtoneUrl.js +2 -0
- package/dist/module/utils/getAndroidDefaultRingtoneUrl.js.map +1 -1
- package/dist/module/utils/hooks/index.js +2 -0
- package/dist/module/utils/hooks/index.js.map +1 -1
- package/dist/module/utils/hooks/useDebouncedValue.js +2 -0
- package/dist/module/utils/hooks/useDebouncedValue.js.map +1 -1
- package/dist/module/utils/hooks/usePrevious.js +2 -0
- package/dist/module/utils/hooks/usePrevious.js.map +1 -1
- package/dist/module/utils/index.js +2 -0
- package/dist/module/utils/index.js.map +1 -1
- package/dist/module/utils/internal/newNotificationCallbacks.js +2 -0
- package/dist/module/utils/internal/newNotificationCallbacks.js.map +1 -1
- package/dist/module/utils/internal/optionallibs/gestureHandler.js +2 -0
- package/dist/module/utils/internal/optionallibs/gestureHandler.js.map +1 -1
- package/dist/module/utils/internal/optionallibs/index.js +2 -0
- package/dist/module/utils/internal/optionallibs/index.js.map +1 -1
- package/dist/module/utils/internal/optionallibs/reanimated.js +2 -0
- package/dist/module/utils/internal/optionallibs/reanimated.js.map +1 -1
- package/dist/module/utils/internal/pushLogoutCallback.js +2 -0
- package/dist/module/utils/internal/pushLogoutCallback.js.map +1 -1
- package/dist/module/utils/internal/rxSubjects.js +2 -0
- package/dist/module/utils/internal/rxSubjects.js.map +1 -1
- package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js +2 -0
- package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js.map +1 -1
- package/dist/module/utils/push/android.js +2 -0
- package/dist/module/utils/push/android.js.map +1 -1
- package/dist/module/utils/push/index.js +2 -0
- package/dist/module/utils/push/index.js.map +1 -1
- package/dist/module/utils/push/internal/rxSubjects.js +2 -0
- package/dist/module/utils/push/internal/rxSubjects.js.map +1 -1
- package/dist/module/utils/push/internal/utils.js +2 -0
- package/dist/module/utils/push/internal/utils.js.map +1 -1
- package/dist/module/utils/push/ios.js +2 -0
- package/dist/module/utils/push/ios.js.map +1 -1
- package/dist/module/utils/push/libs/callkeep.js +2 -0
- package/dist/module/utils/push/libs/callkeep.js.map +1 -1
- package/dist/module/utils/push/libs/expoNotifications.js +2 -0
- package/dist/module/utils/push/libs/expoNotifications.js.map +1 -1
- package/dist/module/utils/push/libs/firebaseMessaging/index.js +2 -0
- package/dist/module/utils/push/libs/firebaseMessaging/index.js.map +1 -1
- package/dist/module/utils/push/libs/firebaseMessaging/lib.js +2 -0
- package/dist/module/utils/push/libs/firebaseMessaging/lib.js.map +1 -1
- package/dist/module/utils/push/libs/index.js +2 -0
- package/dist/module/utils/push/libs/index.js.map +1 -1
- package/dist/module/utils/push/libs/iosPushNotification.js +2 -0
- package/dist/module/utils/push/libs/iosPushNotification.js.map +1 -1
- package/dist/module/utils/push/libs/notifee/index.js +2 -0
- package/dist/module/utils/push/libs/notifee/index.js.map +1 -1
- package/dist/module/utils/push/libs/notifee/lib.js +2 -0
- package/dist/module/utils/push/libs/notifee/lib.js.map +1 -1
- package/dist/module/utils/push/libs/voipPushNotification.js +2 -0
- package/dist/module/utils/push/libs/voipPushNotification.js.map +1 -1
- package/dist/module/utils/push/utils.js +2 -0
- package/dist/module/utils/push/utils.js.map +1 -1
- package/dist/module/utils/setClientDetails.js +2 -0
- package/dist/module/utils/setClientDetails.js.map +1 -1
- package/dist/module/version.js +3 -1
- package/dist/module/version.js.map +1 -1
- package/dist/typescript/hooks/push/useIosVoipPushEventsSetupEffect.d.ts.map +1 -1
- package/dist/typescript/utils/StreamVideoRN/index.d.ts +1 -0
- package/dist/typescript/utils/StreamVideoRN/index.d.ts.map +1 -1
- package/dist/typescript/version.d.ts +1 -1
- package/package.json +8 -8
- package/src/hooks/push/useIosVoipPushEventsSetupEffect.ts +18 -5
- package/src/utils/StreamVideoRN/index.ts +4 -0
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [1.10.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.10.0...@stream-io/video-react-native-sdk-1.10.1) (2025-02-18)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* do not remove voip listeners for wrong user ([#1686](https://github.com/GetStream/stream-video-js/issues/1686)) ([c6dd17d](https://github.com/GetStream/stream-video-js/commit/c6dd17d040bb84a388d773020a833cbe4b67b41c))
|
|
11
|
+
|
|
12
|
+
## [1.10.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.9.31...@stream-io/video-react-native-sdk-1.10.0) (2025-02-17)
|
|
13
|
+
|
|
14
|
+
### Dependency Updates
|
|
15
|
+
|
|
16
|
+
* `@stream-io/video-client` updated to version `1.17.0`
|
|
17
|
+
* `@stream-io/video-react-bindings` updated to version `1.5.0`
|
|
18
|
+
* `@stream-io/video-filters-react-native` updated to version `0.2.8`
|
|
19
|
+
|
|
20
|
+
* update webrtc deps ([6ea4861](https://github.com/GetStream/stream-video-js/commit/6ea4861eb1b390c82f6ea6d01d6c5e80bdab8b84))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* support static token and token provider at the same time ([#1685](https://github.com/GetStream/stream-video-js/issues/1685)) ([4365a3d](https://github.com/GetStream/stream-video-js/commit/4365a3dd0a14c98041982bde8be21258b8cfd571))
|
|
26
|
+
|
|
5
27
|
## [1.9.31](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.9.30...@stream-io/video-react-native-sdk-1.9.31) (2025-02-13)
|
|
6
28
|
|
|
7
29
|
|
|
@@ -17,10 +17,10 @@ var _contexts = require("../../../contexts");
|
|
|
17
17
|
var _hooks2 = require("../../../hooks");
|
|
18
18
|
var _ScreenShareOverlay = require("../../utility/ScreenShareOverlay");
|
|
19
19
|
var _RTCViewPipIOS = _interopRequireDefault(require("./RTCViewPipIOS"));
|
|
20
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
21
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
21
22
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
22
23
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
23
|
-
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); }
|
|
24
24
|
const CallContent = ({
|
|
25
25
|
onHangupCallHandler,
|
|
26
26
|
CallParticipantsList,
|
|
@@ -105,26 +105,36 @@ const CallContent = ({
|
|
|
105
105
|
const landscapeStyles = {
|
|
106
106
|
flexDirection: landscape ? 'row' : 'column'
|
|
107
107
|
};
|
|
108
|
-
return /*#__PURE__*/
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
108
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
109
|
+
children: [!disablePictureInPicture && /*#__PURE__*/(0, _jsxRuntime.jsx)(_RTCViewPipIOS.default, {
|
|
110
|
+
includeLocalParticipantVideo: iOSPiPIncludeLocalParticipantVideo
|
|
111
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
112
|
+
style: [styles.container, landscapeStyles, callContent.container],
|
|
113
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
114
|
+
style: [styles.content, callContent.callParticipantsContainer],
|
|
115
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
116
|
+
style: [styles.view, callContent.topContainer]
|
|
117
|
+
// "box-none" disallows the container view to be not take up touches
|
|
118
|
+
// and allows only the top and floating view (its child views) to take up the touches
|
|
119
|
+
,
|
|
120
|
+
pointerEvents: "box-none",
|
|
121
|
+
children: showFloatingView && FloatingParticipantView && /*#__PURE__*/(0, _jsxRuntime.jsx)(FloatingParticipantView, {
|
|
122
|
+
participant: isRemoteParticipantInFloatingView ? remoteParticipants[0] : localParticipant,
|
|
123
|
+
onPressHandler: handleFloatingViewParticipantSwitch,
|
|
124
|
+
supportedReactions: supportedReactions,
|
|
125
|
+
...participantViewProps
|
|
126
|
+
})
|
|
127
|
+
}), showSpotlightLayout ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_CallLayout.CallParticipantsSpotlight, {
|
|
128
|
+
...callParticipantsSpotlightProps
|
|
129
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_CallLayout.CallParticipantsGrid, {
|
|
130
|
+
...callParticipantsGridProps
|
|
131
|
+
})]
|
|
132
|
+
}), !isInPiPMode && CallControls && /*#__PURE__*/(0, _jsxRuntime.jsx)(CallControls, {
|
|
133
|
+
onHangupCallHandler: onHangupCallHandler,
|
|
134
|
+
landscape: landscape
|
|
135
|
+
})]
|
|
136
|
+
})]
|
|
137
|
+
});
|
|
128
138
|
};
|
|
129
139
|
exports.CallContent = CallContent;
|
|
130
140
|
const useStyles = () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeIncallManager","_interopRequireDefault","_CallLayout","_CallControls","_videoReactBindings","_constants","_hooks","_Participant","_contexts","_hooks2","_ScreenShareOverlay","_RTCViewPipIOS","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeIncallManager","_interopRequireDefault","_CallLayout","_CallControls","_videoReactBindings","_constants","_hooks","_Participant","_contexts","_hooks2","_ScreenShareOverlay","_RTCViewPipIOS","_jsxRuntime","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","CallContent","onHangupCallHandler","CallParticipantsList","CallControls","DefaultCallControls","FloatingParticipantView","DefaultFloatingParticipantView","ScreenShareOverlay","DefaultScreenShareOverlay","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ParticipantView","VideoRenderer","layout","landscape","supportedReactions","iOSPiPIncludeLocalParticipantVideo","disablePictureInPicture","showRemoteParticipantInFloatingView","setShowRemoteParticipantInFloatingView","useState","styles","useStyles","theme","callContent","useTheme","useCallSettings","useHasOngoingScreenShare","useRemoteParticipants","useLocalParticipant","useCallStateHooks","useAutoEnterPiPEffect","callSettings","isVideoEnabledInCall","video","enabled","_remoteParticipants","remoteParticipants","useDebouncedValue","localParticipant","isInPiPMode","useIsInPiPMode","hasScreenShare","showSpotlightLayout","showFloatingView","length","isRemoteParticipantInFloatingView","useEffect","InCallManager","start","media","stop","handleFloatingViewParticipantSwitch","prevState","participantViewProps","callParticipantsGridProps","showLocalParticipant","callParticipantsSpotlightProps","landscapeStyles","flexDirection","jsxs","Fragment","children","jsx","includeLocalParticipantVideo","View","style","container","content","callParticipantsContainer","view","topContainer","pointerEvents","participant","onPressHandler","CallParticipantsSpotlight","CallParticipantsGrid","exports","useMemo","StyleSheet","create","flex","paddingBottom","variants","insets","bottom","paddingLeft","left","paddingRight","right","paddingTop","top","backgroundColor","colors","sheetPrimary","absoluteFillObject","zIndex","Z_INDEX","IN_FRONT"],"sourceRoot":"../../../../../src","sources":["components/Call/CallContent/CallContent.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,yBAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AAMA,IAAAK,aAAA,GAAAL,OAAA;AAKA,IAAAM,mBAAA,GAAAN,OAAA;AAGA,IAAAO,UAAA,GAAAP,OAAA;AACA,IAAAQ,MAAA,GAAAR,OAAA;AACA,IAAAS,YAAA,GAAAT,OAAA;AAKA,IAAAU,SAAA,GAAAV,OAAA;AAKA,IAAAW,OAAA,GAAAX,OAAA;AACA,IAAAY,mBAAA,GAAAZ,OAAA;AAIA,IAAAa,cAAA,GAAAV,sBAAA,CAAAH,OAAA;AAA4C,IAAAc,WAAA,GAAAd,OAAA;AAAA,SAAAG,uBAAAY,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,CAAAH,CAAA,WAAAA,CAAA,GAAAM,CAAA,GAAAD,CAAA,KAAAL,CAAA;AAAA,SAAAhB,wBAAAgB,CAAA,EAAAK,CAAA,SAAAA,CAAA,IA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C4D,QAAQ,CAACC,MAAM,CAACC,MAAM;MAC3CC,WAAW,EAAE/D,KAAK,CAAC4D,QAAQ,CAACC,MAAM,CAACG,IAAI;MACvCC,YAAY,EAAEjE,KAAK,CAAC4D,QAAQ,CAACC,MAAM,CAACK,KAAK;MACzCC,UAAU,EAAEnE,KAAK,CAAC4D,QAAQ,CAACC,MAAM,CAACO,GAAG;MACrCC,eAAe,EAAErE,KAAK,CAACsE,MAAM,CAACC;IAChC,CAAC;IACD1B,OAAO,EAAE;MAAEa,IAAI,EAAE;IAAE,CAAC;IACpBX,IAAI,EAAE;MACJ,GAAGS,uBAAU,CAACgB,kBAAkB;MAChCC,MAAM,EAAEC,kBAAO,CAACC;IAClB;EACF,CAAC,CAAC,EACJ,CAAC3E,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -10,6 +10,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
10
10
|
var _reactNative = require("react-native");
|
|
11
11
|
var _useDebouncedValue = require("../../../utils/hooks/useDebouncedValue");
|
|
12
12
|
var _shouldDisableIOSLocalVideoOnBackground = require("../../../utils/internal/shouldDisableIOSLocalVideoOnBackground");
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
14
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
15
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
16
|
const COMPONENT_NAME = 'RTCViewPip';
|
|
@@ -20,7 +21,7 @@ const RTCViewPipNative = (0, _reactNative.requireNativeComponent)(COMPONENT_NAME
|
|
|
20
21
|
const RTCViewPip = /*#__PURE__*/_react.default.memo(/*#__PURE__*/_react.default.forwardRef((props, ref) => {
|
|
21
22
|
if (_reactNative.Platform.OS !== 'ios') return null;
|
|
22
23
|
// @ts-ignore
|
|
23
|
-
return /*#__PURE__*/
|
|
24
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(RTCViewPipNative, {
|
|
24
25
|
streamURL: props.streamURL,
|
|
25
26
|
ref: ref
|
|
26
27
|
});
|
|
@@ -90,7 +91,7 @@ const RTCViewPipIOS = /*#__PURE__*/_react.default.memo(({
|
|
|
90
91
|
const videoStreamToRender = isScreenSharing ? screenShareStream : videoStream;
|
|
91
92
|
return videoStreamToRender?.toURL();
|
|
92
93
|
}, [participantInSpotlight]);
|
|
93
|
-
return /*#__PURE__*/
|
|
94
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(RTCViewPip, {
|
|
94
95
|
streamURL: streamURL,
|
|
95
96
|
ref: nativeRef
|
|
96
97
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_videoClient","require","_videoReactBindings","_react","_interopRequireWildcard","_reactNative","_useDebouncedValue","_shouldDisableIOSLocalVideoOnBackground","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","COMPONENT_NAME","RTCViewPipNative","requireNativeComponent","RTCViewPip","React","memo","forwardRef","props","ref","Platform","OS","
|
|
1
|
+
{"version":3,"names":["_videoClient","require","_videoReactBindings","_react","_interopRequireWildcard","_reactNative","_useDebouncedValue","_shouldDisableIOSLocalVideoOnBackground","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","COMPONENT_NAME","RTCViewPipNative","requireNativeComponent","RTCViewPip","React","memo","forwardRef","props","ref","Platform","OS","jsx","streamURL","RTCViewPipIOS","includeLocalParticipantVideo","useCall","useParticipants","useCallStateHooks","_allParticipants","sortBy","speakerLayoutSortPreset","allParticipants","useDebouncedValue","dominantSpeaker","dominantSpeaker2","filter","participant","isLocalParticipant","participantInSpotlight","useEffect","shouldDisableIOSLocalVideoOnBackgroundRef","current","nativeRef","useRef","callClosedInvokedOnce","onCallClosed","node","findNodeHandle","UIManager","dispatchViewManagerCommand","getViewManagerConfig","Commands","unsubFunc","on","subscription","state","callingState$","subscribe","CallingState","LEFT","IDLE","unsubscribe","useMemo","undefined","videoStream","screenShareStream","isScreenSharing","hasScreenShare","videoStreamToRender","toURL","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/CallContent/RTCViewPipIOS.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAKA,IAAAC,mBAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAC,uBAAA,CAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AAOA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,uCAAA,GAAAN,OAAA;AAA2H,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAQ,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAN,wBAAAM,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CA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8C,EAAE,CAAC,YAAY,EAAE,MAAM;MAC7CR,YAAY,CAAC,CAAC;IAChB,CAAC,CAAC;IACF,MAAMS,YAAY,GAAG/C,IAAI,EAAEgD,KAAK,CAACC,aAAa,CAACC,SAAS,CAAEF,KAAK,IAAK;MAClE,IAAIA,KAAK,KAAKG,yBAAY,CAACC,IAAI,IAAIJ,KAAK,KAAKG,yBAAY,CAACE,IAAI,EAAE;QAC9Df,YAAY,CAAC,CAAC;MAChB;IACF,CAAC,CAAC;IACF,OAAO,MAAM;MACXA,YAAY,CAAC,CAAC;MACdO,SAAS,GAAG,CAAC;MACbE,YAAY,EAAEO,WAAW,CAAC,CAAC;IAC7B,CAAC;EACH,CAAC,EAAE,CAACtD,IAAI,CAAC,CAAC;EAEV,MAAMe,SAAS,GAAG,IAAAwC,cAAO,EAAC,MAAM;IAC9B,IAAI,CAACxB,sBAAsB,EAAE;MAC3B,OAAOyB,SAAS;IAClB;IAEA,MAAM;MAAEC,WAAW;MAAEC;IAAkB,CAAC,GAAG3B,sBAAsB;IAEjE,MAAM4B,eAAe,GAAG,IAAAC,2BAAc,EAAC7B,sBAAsB,CAAC;IAE9D,MAAM8B,mBAAmB,GAAIF,eAAe,GACxCD,iBAAiB,GACjBD,WAAkD;IAEtD,OAAOI,mBAAmB,EAAEC,KAAK,CAAC,CAAC;EACrC,CAAC,EAAE,CAAC/B,sBAAsB,CAAC,CAAC;EAE5B,oBAAO,IAAAjD,WAAA,CAAAgC,GAAA,EAACR,UAAU;IAACS,SAAS,EAAEA,SAAU;IAACJ,GAAG,EAAEwB;EAAU,CAAE,CAAC;AAC7D,CAAC,CAAC;AAAC,IAAA4B,QAAA,GAAAC,OAAA,CAAA3E,OAAA,GAEY2B,aAAa","ignoreList":[]}
|
|
@@ -10,6 +10,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
10
10
|
var _CallControlsButton = require("./CallControlsButton");
|
|
11
11
|
var _icons = require("../../../icons");
|
|
12
12
|
var _ThemeContext = require("../../../contexts/ThemeContext");
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
14
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
15
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
16
|
/**
|
|
@@ -55,16 +56,19 @@ const AcceptCallButton = ({
|
|
|
55
56
|
setIsLoading(false);
|
|
56
57
|
}
|
|
57
58
|
};
|
|
58
|
-
return /*#__PURE__*/
|
|
59
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_CallControlsButton.CallControlsButton, {
|
|
59
60
|
onPress: acceptCallHandler,
|
|
60
61
|
color: colors.buttonSuccess,
|
|
61
62
|
size: buttonSizes.md,
|
|
62
63
|
style: acceptCallButton,
|
|
63
|
-
disabled: isLoading
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
disabled: isLoading,
|
|
65
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.IconWrapper, {
|
|
66
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.Phone, {
|
|
67
|
+
color: colors.iconPrimary,
|
|
68
|
+
size: iconSizes.lg
|
|
69
|
+
})
|
|
70
|
+
})
|
|
71
|
+
});
|
|
68
72
|
};
|
|
69
73
|
exports.AcceptCallButton = AcceptCallButton;
|
|
70
74
|
//# sourceMappingURL=AcceptCallButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_videoReactBindings","require","_videoClient","_react","_interopRequireWildcard","_CallControlsButton","_icons","_ThemeContext","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","AcceptCallButton","onPressHandler","onAcceptCallHandler","useCall","theme","colors","variants","buttonSizes","iconSizes","acceptCallButton","useTheme","isLoading","setIsLoading","useState","acceptCallHandler","join","error","logger","getLogger","
|
|
1
|
+
{"version":3,"names":["_videoReactBindings","require","_videoClient","_react","_interopRequireWildcard","_CallControlsButton","_icons","_ThemeContext","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","AcceptCallButton","onPressHandler","onAcceptCallHandler","useCall","theme","colors","variants","buttonSizes","iconSizes","acceptCallButton","useTheme","isLoading","setIsLoading","useState","acceptCallHandler","join","error","logger","getLogger","jsx","CallControlsButton","onPress","color","buttonSuccess","size","md","style","disabled","children","IconWrapper","Phone","iconPrimary","lg","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/AcceptCallButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,mBAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,uBAAA,CAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AAA0D,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAQ,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAN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CAAC,GAAG,IAAAC,eAAQ,EAAC,KAAK,CAAC;EAEjD,MAAMC,iBAAiB,GAAG,MAAAA,CAAA,KAAY;IACpCF,YAAY,CAAC,IAAI,CAAC;IAClB,IAAIX,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IACA,IAAI;MACF,MAAMJ,IAAI,EAAEkB,IAAI,CAAC,CAAC;MAClB,IAAIb,mBAAmB,EAAE;QACvBA,mBAAmB,CAAC,CAAC;MACvB;IACF,CAAC,CAAC,OAAOc,KAAK,EAAE;MACd,MAAMC,MAAM,GAAG,IAAAC,sBAAS,EAAC,CAAC,kBAAkB,CAAC,CAAC;MAC9CD,MAAM,CAAC,OAAO,EAAE,oBAAoB,EAAED,KAAK,CAAC;IAC9C,CAAC,SAAS;MACRJ,YAAY,CAAC,KAAK,CAAC;IACrB;EACF,CAAC;EAED,oBACE,IAAAjC,WAAA,CAAAwC,GAAA,EAAC3C,mBAAA,CAAA4C,kBAAkB;IACjBC,OAAO,EAAEP,iBAAkB;IAC3BQ,KAAK,EAAEjB,MAAM,CAACkB,aAAc;IAC5BC,IAAI,EAAEjB,WAAW,CAACkB,EAAG;IACrBC,KAAK,EAAEjB,gBAAiB;IACxBkB,QAAQ,EAAEhB,SAAU;IAAAiB,QAAA,eAEpB,IAAAjD,WAAA,CAAAwC,GAAA,EAAC1C,MAAA,CAAAoD,WAAW;MAAAD,QAAA,eACV,IAAAjD,WAAA,CAAAwC,GAAA,EAAC1C,MAAA,CAAAqD,KAAK;QAACR,KAAK,EAAEjB,MAAM,CAAC0B,WAAY;QAACP,IAAI,EAAEhB,SAAS,CAACwB;MAAG,CAAE;IAAC,CAC7C;EAAC,CACI,CAAC;AAEzB,CAAC;AAACC,OAAA,CAAAjC,gBAAA,GAAAA,gBAAA","ignoreList":[]}
|
|
@@ -12,6 +12,7 @@ var _ToggleCameraFaceButton = require("./ToggleCameraFaceButton");
|
|
|
12
12
|
var _constants = require("../../../constants");
|
|
13
13
|
var _HangupCallButton = require("./HangupCallButton");
|
|
14
14
|
var _ThemeContext = require("../../../contexts/ThemeContext");
|
|
15
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
17
|
/**
|
|
17
18
|
* Props for the CallControls Component.
|
|
@@ -37,13 +38,14 @@ const CallControls = ({
|
|
|
37
38
|
paddingHorizontal: landscape ? 12 : 0,
|
|
38
39
|
paddingVertical: landscape ? 0 : 12
|
|
39
40
|
};
|
|
40
|
-
return /*#__PURE__*/
|
|
41
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
41
42
|
style: [styles.container, {
|
|
42
43
|
backgroundColor: colors.sheetPrimary
|
|
43
|
-
}, callControls.container, landscapeStyles, style]
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
}, callControls.container, landscapeStyles, style],
|
|
45
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ToggleVideoPublishingButton.ToggleVideoPublishingButton, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ToggleAudioPublishingButton.ToggleAudioPublishingButton, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ToggleCameraFaceButton.ToggleCameraFaceButton, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_HangupCallButton.HangUpCallButton, {
|
|
46
|
+
onPressHandler: onHangupCallHandler
|
|
47
|
+
})]
|
|
48
|
+
});
|
|
47
49
|
};
|
|
48
50
|
exports.CallControls = CallControls;
|
|
49
51
|
const styles = _reactNative.StyleSheet.create({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ToggleAudioPublishingButton","_ToggleVideoPublishingButton","_ToggleCameraFaceButton","_constants","_HangupCallButton","_ThemeContext","e","__esModule","default","CallControls","style","onHangupCallHandler","landscape","theme","colors","callControls","useTheme","landscapeStyles","flexDirection","paddingHorizontal","paddingVertical","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ToggleAudioPublishingButton","_ToggleVideoPublishingButton","_ToggleCameraFaceButton","_constants","_HangupCallButton","_ThemeContext","_jsxRuntime","e","__esModule","default","CallControls","style","onHangupCallHandler","landscape","theme","colors","callControls","useTheme","landscapeStyles","flexDirection","paddingHorizontal","paddingVertical","jsxs","View","styles","container","backgroundColor","sheetPrimary","children","jsx","ToggleVideoPublishingButton","ToggleAudioPublishingButton","ToggleCameraFaceButton","HangUpCallButton","onPressHandler","exports","StyleSheet","create","justifyContent","zIndex","Z_INDEX","IN_FRONT"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/CallControls.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,4BAAA,GAAAF,OAAA;AACA,IAAAG,4BAAA,GAAAH,OAAA;AACA,IAAAI,uBAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,iBAAA,GAAAN,OAAA;AACA,IAAAO,aAAA,GAAAP,OAAA;AAA0D,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAD,uBAAAU,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE1D;AACA;AACA;;AAUA;AACA;AACA;AACA;AACO,MAAMG,YAAY,GAAGA,CAAC;EAC3BC,KAAK;EACLC,mBAAmB;EACnBC;AACgB,CAAC,KAAK;EACtB,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAa;EAChC,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EACd,MAAMC,eAA0B,GAAG;IACjCC,aAAa,EAAEN,SAAS,GAAG,gBAAgB,GAAG,KAAK;IACnDO,iBAAiB,EAAEP,SAAS,GAAG,EAAE,GAAG,CAAC;IACrCQ,eAAe,EAAER,SAAS,GAAG,CAAC,GAAG;EACnC,CAAC;EACD,oBACE,IAAAP,WAAA,CAAAgB,IAAA,EAACvB,YAAA,CAAAwB,IAAI;IACHZ,KAAK,EAAE,CACLa,MAAM,CAACC,SAAS,EAChB;MAAEC,eAAe,EAAEX,MAAM,CAACY;IAAa,CAAC,EACxCX,YAAY,CAACS,SAAS,EACtBP,eAAe,EACfP,KAAK,CACL;IAAAiB,QAAA,gBAEF,IAAAtB,WAAA,CAAAuB,GAAA,EAAC5B,4BAAA,CAAA6B,2BAA2B,IAAE,CAAC,eAC/B,IAAAxB,WAAA,CAAAuB,GAAA,EAAC7B,4BAAA,CAAA+B,2BAA2B,IAAE,CAAC,eAC/B,IAAAzB,WAAA,CAAAuB,GAAA,EAAC3B,uBAAA,CAAA8B,sBAAsB,IAAE,CAAC,eAC1B,IAAA1B,WAAA,CAAAuB,GAAA,EAACzB,iBAAA,CAAA6B,gBAAgB;MAACC,cAAc,EAAEtB;IAAoB,CAAE,CAAC;EAAA,CACrD,CAAC;AAEX,CAAC;AAACuB,OAAA,CAAAzB,YAAA,GAAAA,YAAA;AAEF,MAAMc,MAAM,GAAGY,uBAAU,CAACC,MAAM,CAAC;EAC/BZ,SAAS,EAAE;IACTa,cAAc,EAAE,cAAc;IAC9BC,MAAM,EAAEC,kBAAO,CAACC;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -7,6 +7,7 @@ exports.CallControlsButton = void 0;
|
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
9
|
var _ThemeContext = require("../../../contexts/ThemeContext");
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
11
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
12
|
const CallControlsButton = props => {
|
|
12
13
|
const {
|
|
@@ -42,18 +43,20 @@ const CallControlsButton = props => {
|
|
|
42
43
|
borderRadius: defaults.borderRadius
|
|
43
44
|
}, styleProp?.container ?? null, container];
|
|
44
45
|
const childrenSize = (size || roundButtonSizes.lg) / 2 - 5;
|
|
45
|
-
return /*#__PURE__*/
|
|
46
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
|
|
46
47
|
disabled: disabled,
|
|
47
48
|
style: pressableStyle,
|
|
48
49
|
onPress: onPress,
|
|
49
50
|
testID: testID,
|
|
50
|
-
onLayout: onLayout
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
51
|
+
onLayout: onLayout,
|
|
52
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
53
|
+
style: [{
|
|
54
|
+
height: childrenSize,
|
|
55
|
+
width: childrenSize
|
|
56
|
+
}, styleProp?.svgContainer ?? null],
|
|
57
|
+
children: children
|
|
58
|
+
})
|
|
59
|
+
});
|
|
57
60
|
};
|
|
58
61
|
exports.CallControlsButton = CallControlsButton;
|
|
59
62
|
const styles = _reactNative.StyleSheet.create({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ThemeContext","e","__esModule","default","CallControlsButton","props","onPress","children","disabled","color","colorProp","disabledColor","disabledColorProp","style","styleProp","size","testID","onLayout","theme","colors","defaults","variants","roundButtonSizes","callControlsButton","container","useTheme","pressableStyle","pressed","styles","backgroundColor","buttonDisabled","buttonSecondary","opacity","height","lg","width","borderRadius","childrenSize","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ThemeContext","_jsxRuntime","e","__esModule","default","CallControlsButton","props","onPress","children","disabled","color","colorProp","disabledColor","disabledColorProp","style","styleProp","size","testID","onLayout","theme","colors","defaults","variants","roundButtonSizes","callControlsButton","container","useTheme","pressableStyle","pressed","styles","backgroundColor","buttonDisabled","buttonSecondary","opacity","height","lg","width","borderRadius","childrenSize","jsx","Pressable","View","svgContainer","exports","StyleSheet","create","justifyContent","alignItems","elevation"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/CallControlsButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,aAAA,GAAAF,OAAA;AAA0D,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAuCnD,MAAMG,kBAAkB,GAC7BC,KAAuD,IACpD;EACH,MAAM;IACJC,OAAO;IACPC,QAAQ;IACRC,QAAQ;IACRC,KAAK,EAAEC,SAAS;IAChBC,aAAa,EAAEC,iBAAiB;IAChCC,KAAK,EAAEC,SAAS;IAChBC,IAAI;IACJC,MAAM;IACNC;EACF,CAAC,GAAGZ,KAAK;EAET,MAAM;IACJa,KAAK,EAAE;MACLC,MAAM;MACNC,QAAQ;MACRC,QAAQ,EAAE;QAAEC;MAAiB,CAAC;MAC9BC,kBAAkB,EAAE;QAAEC;MAAU;IAClC;EACF,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAEd,MAAMC,cAAuC,GAAGA,CAAC;IAAEC;EAAQ,CAAC,KAAK,CAC/DC,MAAM,CAACJ,SAAS,EAChB;IACEK,eAAe,EAAErB,QAAQ,GACrBI,iBAAiB,IAAIO,MAAM,CAACW,cAAc,GAC1CpB,SAAS,IAAIS,MAAM,CAACY,eAAe;IACvCC,OAAO,EAAEL,OAAO,GAAG,GAAG,GAAG,CAAC;IAC1BM,MAAM,EAAElB,IAAI,IAAIO,gBAAgB,CAACY,EAAE;IACnCC,KAAK,EAAEpB,IAAI,IAAIO,gBAAgB,CAACY,EAAE;IAClCE,YAAY,EAAEhB,QAAQ,CAACgB;EACzB,CAAC,EACDtB,SAAS,EAAEU,SAAS,IAAI,IAAI,EAC5BA,SAAS,CACV;EAED,MAAMa,YAAY,GAAG,CAACtB,IAAI,IAAIO,gBAAgB,CAACY,EAAE,IAAI,CAAC,GAAG,CAAC;EAC1D,oBACE,IAAAlC,WAAA,CAAAsC,GAAA,EAACxC,YAAA,CAAAyC,SAAS;IACR/B,QAAQ,EAAEA,QAAS;IACnBK,KAAK,EAAEa,cAAe;IACtBpB,OAAO,EAAEA,OAAQ;IACjBU,MAAM,EAAEA,MAAO;IACfC,QAAQ,EAAEA,QAAS;IAAAV,QAAA,eAEnB,IAAAP,WAAA,CAAAsC,GAAA,EAACxC,YAAA,CAAA0C,IAAI;MACH3B,KAAK,EAAE,CACL;QAAEoB,MAAM,EAAEI,YAAY;QAAEF,KAAK,EAAEE;MAAa,CAAC,EAC7CvB,SAAS,EAAE2B,YAAY,IAAI,IAAI,CAC/B;MAAAlC,QAAA,EAEDA;IAAQ,CACL;EAAC,CACE,CAAC;AAEhB,CAAC;AAACmC,OAAA,CAAAtC,kBAAA,GAAAA,kBAAA;AAEF,MAAMwB,MAAM,GAAGe,uBAAU,CAACC,MAAM,CAAC;EAC/BpB,SAAS,EAAE;IACTqB,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IAEpB;IACAC,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -12,6 +12,7 @@ var _TestIds = require("../../../constants/TestIds");
|
|
|
12
12
|
var _videoReactBindings = require("@stream-io/video-react-bindings");
|
|
13
13
|
var _ThemeContext = require("../../../contexts/ThemeContext");
|
|
14
14
|
var _IconWrapper = require("../../../icons/IconWrapper");
|
|
15
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
17
|
/**
|
|
17
18
|
* The props for the Hang up call button in the Call Controls.
|
|
@@ -57,16 +58,19 @@ const HangUpCallButton = ({
|
|
|
57
58
|
logger('error', 'Error leaving Call', error);
|
|
58
59
|
}
|
|
59
60
|
};
|
|
60
|
-
return /*#__PURE__*/
|
|
61
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_CallControlsButton.CallControlsButton, {
|
|
61
62
|
onPress: onPress,
|
|
62
63
|
color: colors.buttonWarning,
|
|
63
64
|
style: hangupCallButton,
|
|
64
65
|
size: size,
|
|
65
|
-
testID: _TestIds.ButtonTestIds.HANG_UP_CALL
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
66
|
+
testID: _TestIds.ButtonTestIds.HANG_UP_CALL,
|
|
67
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_IconWrapper.IconWrapper, {
|
|
68
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.PhoneDown, {
|
|
69
|
+
color: colors.iconPrimary,
|
|
70
|
+
size: variants.iconSizes.md
|
|
71
|
+
})
|
|
72
|
+
})
|
|
73
|
+
});
|
|
70
74
|
};
|
|
71
75
|
exports.HangUpCallButton = HangUpCallButton;
|
|
72
76
|
//# sourceMappingURL=HangupCallButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_videoClient","_CallControlsButton","_icons","_TestIds","_videoReactBindings","_ThemeContext","_IconWrapper","e","__esModule","default","HangUpCallButton","size","onPressHandler","onHangupCallHandler","call","useCall","useCallCallingState","useCallStateHooks","callingState","theme","colors","hangupCallButton","variants","useTheme","onPress","CallingState","LEFT","leave","error","logger","getLogger","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_videoClient","_CallControlsButton","_icons","_TestIds","_videoReactBindings","_ThemeContext","_IconWrapper","_jsxRuntime","e","__esModule","default","HangUpCallButton","size","onPressHandler","onHangupCallHandler","call","useCall","useCallCallingState","useCallStateHooks","callingState","theme","colors","hangupCallButton","variants","useTheme","onPress","CallingState","LEFT","leave","error","logger","getLogger","jsx","CallControlsButton","color","buttonWarning","style","testID","ButtonTestIds","HANG_UP_CALL","children","IconWrapper","PhoneDown","iconPrimary","iconSizes","md","exports"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/HangupCallButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,mBAAA,GAAAL,OAAA;AAEA,IAAAM,aAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AAAyD,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAD,uBAAAU,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEzD;AACA;AACA;;AAmBA;AACA;AACA;AACA;AACA;AACO,MAAMG,gBAAgB,GAAGA,CAAC;EAC/BC,IAAI;EACJC,cAAc;EACdC;AACqB,CAAC,KAAK;EAC3B,MAAMC,IAAI,GAAG,IAAAC,2BAAO,EAAC,CAAC;EACtB,MAAM;IAAEC;EAAoB,CAAC,GAAG,IAAAC,qCAAiB,EAAC,CAAC;EACnD,MAAMC,YAAY,GAAGF,mBAAmB,CAAC,CAAC;EAC1C,MAAM;IACJG,KAAK,EAAE;MAAEC,MAAM;MAAEC,gBAAgB;MAAEC;IAAS;EAC9C,CAAC,GAAG,IAAAC,sBAAQ,EAAC,CAAC;EAEd,MAAMC,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,IAAIZ,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IACA,IAAI;MACF,IAAIM,YAAY,KAAKO,yBAAY,CAACC,IAAI,EAAE;QACtC;MACF;MACA,MAAMZ,IAAI,EAAEa,KAAK,CAAC,CAAC;MACnB,IAAId,mBAAmB,EAAE;QACvBA,mBAAmB,CAAC,CAAC;MACvB;IACF,CAAC,CAAC,OAAOe,KAAK,EAAE;MACd,MAAMC,MAAM,GAAG,IAAAC,sBAAS,EAAC,CAAC,kBAAkB,CAAC,CAAC;MAC9CD,MAAM,CAAC,OAAO,EAAE,oBAAoB,EAAED,KAAK,CAAC;IAC9C;EACF,CAAC;EAED,oBACE,IAAAtB,WAAA,CAAAyB,GAAA,EAAC/B,mBAAA,CAAAgC,kBAAkB;IACjBR,OAAO,EAAEA,OAAQ;IACjBS,KAAK,EAAEb,MAAM,CAACc,aAAc;IAC5BC,KAAK,EAAEd,gBAAiB;IACxBV,IAAI,EAAEA,IAAK;IACXyB,MAAM,EAAEC,sBAAa,CAACC,YAAa;IAAAC,QAAA,eAEnC,IAAAjC,WAAA,CAAAyB,GAAA,EAAC1B,YAAA,CAAAmC,WAAW;MAAAD,QAAA,eACV,IAAAjC,WAAA,CAAAyB,GAAA,EAAC9B,MAAA,CAAAwC,SAAS;QAACR,KAAK,EAAEb,MAAM,CAACsB,WAAY;QAAC/B,IAAI,EAAEW,QAAQ,CAACqB,SAAS,CAACC;MAAG,CAAE;IAAC,CAC1D;EAAC,CACI,CAAC;AAEzB,CAAC;AAACC,OAAA,CAAAnC,gBAAA,GAAAA,gBAAA","ignoreList":[]}
|
|
@@ -9,6 +9,7 @@ var _reactNative = require("react-native");
|
|
|
9
9
|
var _contexts = require("../../../contexts");
|
|
10
10
|
var _AcceptCallButton = require("./AcceptCallButton");
|
|
11
11
|
var _RejectCallButton = require("./RejectCallButton");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
14
|
/**
|
|
14
15
|
* Props for the IncomingCallControls Component.
|
|
@@ -26,15 +27,16 @@ const IncomingCallControls = ({
|
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
} = (0, _contexts.useTheme)();
|
|
29
|
-
return /*#__PURE__*/
|
|
30
|
-
style: [styles.buttonGroup, incomingCall.buttonGroup]
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
30
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
31
|
+
style: [styles.buttonGroup, incomingCall.buttonGroup],
|
|
32
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_RejectCallButton.RejectCallButton, {
|
|
33
|
+
onPressHandler: onRejectCallHandler,
|
|
34
|
+
size: buttonSizes.md,
|
|
35
|
+
rejectReason: "decline"
|
|
36
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_AcceptCallButton.AcceptCallButton, {
|
|
37
|
+
onPressHandler: onAcceptCallHandler
|
|
38
|
+
})]
|
|
39
|
+
});
|
|
38
40
|
};
|
|
39
41
|
exports.IncomingCallControls = IncomingCallControls;
|
|
40
42
|
const styles = _reactNative.StyleSheet.create({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_contexts","_AcceptCallButton","_RejectCallButton","e","__esModule","default","IncomingCallControls","onAcceptCallHandler","onRejectCallHandler","theme","incomingCall","variants","buttonSizes","useTheme","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_contexts","_AcceptCallButton","_RejectCallButton","_jsxRuntime","e","__esModule","default","IncomingCallControls","onAcceptCallHandler","onRejectCallHandler","theme","incomingCall","variants","buttonSizes","useTheme","jsxs","View","style","styles","buttonGroup","children","jsx","RejectCallButton","onPressHandler","size","md","rejectReason","AcceptCallButton","exports","StyleSheet","create","flexDirection","justifyContent","alignItems"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/IncomingCallControls.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,iBAAA,GAAAH,OAAA;AACA,IAAAI,iBAAA,GAAAJ,OAAA;AAAsD,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEtD;AACA;AACA;;AAYO,MAAMG,oBAAoB,GAAGA,CAAC;EACnCC,mBAAmB;EACnBC;AACyB,CAAC,KAAK;EAC/B,MAAM;IACJC,KAAK,EAAE;MACLC,YAAY;MACZC,QAAQ,EAAE;QAAEC;MAAY;IAC1B;EACF,CAAC,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EACd,oBACE,IAAAX,WAAA,CAAAY,IAAA,EAAChB,YAAA,CAAAiB,IAAI;IAACC,KAAK,EAAE,CAACC,MAAM,CAACC,WAAW,EAAER,YAAY,CAACQ,WAAW,CAAE;IAAAC,QAAA,gBAC1D,IAAAjB,WAAA,CAAAkB,GAAA,EAACnB,iBAAA,CAAAoB,gBAAgB;MACfC,cAAc,EAAEd,mBAAoB;MACpCe,IAAI,EAAEX,WAAW,CAACY,EAAG;MACrBC,YAAY,EAAC;IAAS,CACvB,CAAC,eACF,IAAAvB,WAAA,CAAAkB,GAAA,EAACpB,iBAAA,CAAA0B,gBAAgB;MAACJ,cAAc,EAAEf;IAAoB,CAAE,CAAC;EAAA,CACrD,CAAC;AAEX,CAAC;AAACoB,OAAA,CAAArB,oBAAA,GAAAA,oBAAA;AAEF,MAAMW,MAAM,GAAGW,uBAAU,CAACC,MAAM,CAAC;EAC/BX,WAAW,EAAE;IACXY,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,cAAc;IAC9BC,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -9,6 +9,7 @@ var _reactNative = require("react-native");
|
|
|
9
9
|
var _ToggleAudioPreviewButton = require("./ToggleAudioPreviewButton");
|
|
10
10
|
var _ToggleVideoPreviewButton = require("./ToggleVideoPreviewButton");
|
|
11
11
|
var _ThemeContext = require("../../../contexts/ThemeContext");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
13
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
15
|
/**
|
|
@@ -21,9 +22,10 @@ const LobbyControls = () => {
|
|
|
21
22
|
}
|
|
22
23
|
} = (0, _ThemeContext.useTheme)();
|
|
23
24
|
const styles = useStyles();
|
|
24
|
-
return /*#__PURE__*/
|
|
25
|
-
style: [styles.container, lobbyControls.container]
|
|
26
|
-
|
|
25
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
26
|
+
style: [styles.container, lobbyControls.container],
|
|
27
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ToggleAudioPreviewButton.ToggleAudioPreviewButton, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ToggleVideoPreviewButton.ToggleVideoPreviewButton, {})]
|
|
28
|
+
});
|
|
27
29
|
};
|
|
28
30
|
exports.LobbyControls = LobbyControls;
|
|
29
31
|
const useStyles = () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_ToggleAudioPreviewButton","_ToggleVideoPreviewButton","_ThemeContext","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","LobbyControls","theme","lobbyControls","useTheme","styles","useStyles","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_ToggleAudioPreviewButton","_ToggleVideoPreviewButton","_ThemeContext","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","LobbyControls","theme","lobbyControls","useTheme","styles","useStyles","jsxs","View","style","container","children","jsx","ToggleAudioPreviewButton","ToggleVideoPreviewButton","exports","useMemo","StyleSheet","create","paddingTop","variants","spacingSizes","xs","flexDirection","justifyContent"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/LobbyControls.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,yBAAA,GAAAF,OAAA;AACA,IAAAG,yBAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AAA0D,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAM,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAR,wBAAAQ,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CA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IAAAY,cAAO,EACZ,MACEC,uBAAU,CAACC,MAAM,CAAC;IAChBR,SAAS,EAAE;MACTS,UAAU,EAAEjB,KAAK,CAACkB,QAAQ,CAACC,YAAY,CAACC,EAAE;MAC1CC,aAAa,EAAE,KAAK;MACpBC,cAAc,EAAE;IAClB;EACF,CAAC,CAAC,EACJ,CAACtB,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -10,6 +10,7 @@ var _contexts = require("../../../contexts");
|
|
|
10
10
|
var _ToggleAudioPreviewButton = require("./ToggleAudioPreviewButton");
|
|
11
11
|
var _ToggleVideoPreviewButton = require("./ToggleVideoPreviewButton");
|
|
12
12
|
var _RejectCallButton = require("./RejectCallButton");
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
15
|
/**
|
|
15
16
|
* Props for the OutgoingCallControls Component.
|
|
@@ -26,15 +27,17 @@ const OutgoingCallControls = ({
|
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
} = (0, _contexts.useTheme)();
|
|
29
|
-
return /*#__PURE__*/
|
|
30
|
-
style: [styles.buttonGroup, outgoingCall.buttonGroup]
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
30
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
31
|
+
style: [styles.buttonGroup, outgoingCall.buttonGroup],
|
|
32
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
33
|
+
style: [styles.deviceControlButtons, outgoingCall.deviceControlButtons],
|
|
34
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ToggleAudioPreviewButton.ToggleAudioPreviewButton, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ToggleVideoPreviewButton.ToggleVideoPreviewButton, {})]
|
|
35
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_RejectCallButton.RejectCallButton, {
|
|
36
|
+
onPressHandler: onHangupCallHandler,
|
|
37
|
+
size: buttonSizes.md,
|
|
38
|
+
rejectReason: "cancel"
|
|
39
|
+
})]
|
|
40
|
+
});
|
|
38
41
|
};
|
|
39
42
|
exports.OutgoingCallControls = OutgoingCallControls;
|
|
40
43
|
const styles = _reactNative.StyleSheet.create({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_contexts","_ToggleAudioPreviewButton","_ToggleVideoPreviewButton","_RejectCallButton","e","__esModule","default","OutgoingCallControls","onHangupCallHandler","theme","outgoingCall","variants","buttonSizes","useTheme","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_contexts","_ToggleAudioPreviewButton","_ToggleVideoPreviewButton","_RejectCallButton","_jsxRuntime","e","__esModule","default","OutgoingCallControls","onHangupCallHandler","theme","outgoingCall","variants","buttonSizes","useTheme","jsxs","View","style","styles","buttonGroup","children","deviceControlButtons","jsx","ToggleAudioPreviewButton","ToggleVideoPreviewButton","RejectCallButton","onPressHandler","size","md","rejectReason","exports","StyleSheet","create","alignItems","width","flexDirection","justifyContent"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/OutgoingCallControls.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,yBAAA,GAAAH,OAAA;AACA,IAAAI,yBAAA,GAAAJ,OAAA;AACA,IAAAK,iBAAA,GAAAL,OAAA;AAAsD,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAD,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEtD;AACA;AACA;;AAQO,MAAMG,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