@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 { Restricted } from '@stream-io/video-react-bindings';
|
|
4
2
|
import React, { useState } from 'react';
|
|
5
3
|
import { CallControlsButton } from './CallControlsButton';
|
|
@@ -12,7 +10,7 @@ import { useTheme } from '../../../contexts/ThemeContext';
|
|
|
12
10
|
/**
|
|
13
11
|
* Props for the Reaction button
|
|
14
12
|
*/
|
|
15
|
-
|
|
13
|
+
|
|
16
14
|
/**
|
|
17
15
|
* Button to display the list of Reactions supported in the call.
|
|
18
16
|
* On press, it opens a view that can be used to send Reaction.
|
|
@@ -45,26 +43,20 @@ export const ReactionsButton = ({
|
|
|
45
43
|
}
|
|
46
44
|
setShowReactionsPicker(true);
|
|
47
45
|
};
|
|
48
|
-
return /*#__PURE__*/
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
reactionsButtonLayoutRectangle: reactionsButtonLayoutRectangle,
|
|
64
|
-
onRequestedClose: () => {
|
|
65
|
-
setShowReactionsPicker(false);
|
|
66
|
-
}
|
|
67
|
-
})]
|
|
68
|
-
});
|
|
46
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Restricted, {
|
|
47
|
+
requiredGrants: [OwnCapability.CREATE_REACTION]
|
|
48
|
+
}, /*#__PURE__*/React.createElement(CallControlsButton, {
|
|
49
|
+
testID: ButtonTestIds.REACTION,
|
|
50
|
+
onPress: reactionsButtonHandler,
|
|
51
|
+
onLayout: onReactionsButtonLayout
|
|
52
|
+
}, /*#__PURE__*/React.createElement(IconWrapper, null, /*#__PURE__*/React.createElement(Reaction, {
|
|
53
|
+
color: colors.iconPrimary
|
|
54
|
+
})))), showReactionsPicker && /*#__PURE__*/React.createElement(ReactionsPicker, {
|
|
55
|
+
supportedReactions: supportedReactions,
|
|
56
|
+
reactionsButtonLayoutRectangle: reactionsButtonLayoutRectangle,
|
|
57
|
+
onRequestedClose: () => {
|
|
58
|
+
setShowReactionsPicker(false);
|
|
59
|
+
}
|
|
60
|
+
}));
|
|
69
61
|
};
|
|
70
62
|
//# sourceMappingURL=ReactionsButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Restricted","React","useState","CallControlsButton","OwnCapability","ButtonTestIds","IconWrapper","Reaction","ReactionsPicker","useTheme","
|
|
1
|
+
{"version":3,"names":["Restricted","React","useState","CallControlsButton","OwnCapability","ButtonTestIds","IconWrapper","Reaction","ReactionsPicker","useTheme","ReactionsButton","supportedReactions","onPressHandler","showReactionsPicker","setShowReactionsPicker","reactionsButtonLayoutRectangle","setReactionsButtonLayoutRectangle","theme","colors","onReactionsButtonLayout","event","layout","nativeEvent","prev","width","height","x","y","reactionsButtonHandler","createElement","Fragment","requiredGrants","CREATE_REACTION","testID","REACTION","onPress","onLayout","color","iconPrimary","onRequestedClose"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ReactionsButton.tsx"],"mappings":"AAAA,SAASA,UAAU,QAAQ,iCAAiC;AAC5D,OAAOC,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,aAAa,QAAQ,yBAAyB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C3B,aAAa,CAAC4B,eAAe;EAAE,gBAC1D/B,KAAA,CAAA4B,aAAA,CAAC1B,kBAAkB;IACjB8B,MAAM,EAAE5B,aAAa,CAAC6B,QAAS;IAC/BC,OAAO,EAAEP,sBAAuB;IAChCQ,QAAQ,EAAEjB;EAAwB,gBAElClB,KAAA,CAAA4B,aAAA,CAACvB,WAAW,qBACVL,KAAA,CAAA4B,aAAA,CAACtB,QAAQ;IAAC8B,KAAK,EAAEnB,MAAM,CAACoB;EAAY,CAAE,CAC3B,CACK,CACV,CAAC,EACZzB,mBAAmB,iBAClBZ,KAAA,CAAA4B,aAAA,CAACrB,eAAe;IACdG,kBAAkB,EAAEA,kBAAmB;IACvCI,8BAA8B,EAAEA,8BAA+B;IAC/DwB,gBAAgB,EAAEA,CAAA,KAAM;MACtBzB,sBAAsB,CAAC,KAAK,CAAC;IAC/B;EAAE,CACH,CAEH,CAAC;AAEP,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import { useCall, useCallStateHooks } from '@stream-io/video-react-bindings';
|
|
4
2
|
import React, { useState } from 'react';
|
|
5
3
|
import { CallControlsButton } from './CallControlsButton';
|
|
@@ -10,7 +8,7 @@ import { useTheme } from '../../../contexts/ThemeContext';
|
|
|
10
8
|
/**
|
|
11
9
|
* The props for the Reject Call button.
|
|
12
10
|
*/
|
|
13
|
-
|
|
11
|
+
|
|
14
12
|
/**
|
|
15
13
|
* Button to reject a call.
|
|
16
14
|
*
|
|
@@ -62,7 +60,7 @@ export const RejectCallButton = ({
|
|
|
62
60
|
setIsLoading(false);
|
|
63
61
|
}
|
|
64
62
|
};
|
|
65
|
-
return /*#__PURE__*/
|
|
63
|
+
return /*#__PURE__*/React.createElement(CallControlsButton, {
|
|
66
64
|
onPress: rejectCallHandler,
|
|
67
65
|
color: colors.buttonWarning,
|
|
68
66
|
size: size ?? buttonSizes.md
|
|
@@ -70,13 +68,10 @@ export const RejectCallButton = ({
|
|
|
70
68
|
// svgContainerStyle={theme.icon.lg}
|
|
71
69
|
,
|
|
72
70
|
style: rejectCallButton,
|
|
73
|
-
disabled: isLoading
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
})
|
|
79
|
-
})
|
|
80
|
-
});
|
|
71
|
+
disabled: isLoading
|
|
72
|
+
}, /*#__PURE__*/React.createElement(IconWrapper, null, /*#__PURE__*/React.createElement(PhoneDown, {
|
|
73
|
+
color: colors.iconPrimary,
|
|
74
|
+
size: iconSizes.lg
|
|
75
|
+
})));
|
|
81
76
|
};
|
|
82
77
|
//# sourceMappingURL=RejectCallButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useCall","useCallStateHooks","React","useState","CallControlsButton","IconWrapper","PhoneDown","CallingState","getLogger","useTheme","
|
|
1
|
+
{"version":3,"names":["useCall","useCallStateHooks","React","useState","CallControlsButton","IconWrapper","PhoneDown","CallingState","getLogger","useTheme","RejectCallButton","onPressHandler","onRejectCallHandler","size","rejectReason","call","useCallCallingState","callingState","theme","colors","rejectCallButton","variants","buttonSizes","iconSizes","isLoading","setIsLoading","rejectCallHandler","LEFT","leave","reject","reason","error","logger","createElement","onPress","color","buttonWarning","md","style","disabled","iconPrimary","lg"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/RejectCallButton.tsx"],"mappings":"AAAA,SAASA,OAAO,EAAEC,iBAAiB,QAAQ,iCAAiC;AAC5E,OAAOC,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,WAAW,EAAEC,SAAS,QAAQ,gBAAgB;AACvD,SAASC,YAAY,EAAEC,SAAS,QAAQ,yBAAyB;AACjE,SAASC,QAAQ,QAAQ,gCAAgC;;AAEzD;AACA;AACA;;AA6BA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,gBAAgB,GAAGA,CAAC;EAC/BC,cAAc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AAK,EAAElB,gBAAiB;IACxBmB,QAAQ,EAAEf;EAAU,gBAEpBtB,KAAA,CAAA+B,aAAA,CAAC5B,WAAW,qBACVH,KAAA,CAAA+B,aAAA,CAAC3B,SAAS;IAAC6B,KAAK,EAAEhB,MAAM,CAACqB,WAAY;IAAC3B,IAAI,EAAEU,SAAS,CAACkB;EAAG,CAAE,CAChD,CACK,CAAC;AAEzB,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import React, { useRef } from 'react';
|
|
4
2
|
import { Platform } from 'react-native';
|
|
5
3
|
import { ScreenCapturePickerView } from '@stream-io/react-native-webrtc';
|
|
@@ -13,7 +11,7 @@ import { IconWrapper } from '../../../icons';
|
|
|
13
11
|
/**
|
|
14
12
|
* The props for the Screen Share button in the Call Controls.
|
|
15
13
|
*/
|
|
16
|
-
|
|
14
|
+
|
|
17
15
|
/**
|
|
18
16
|
* Button to start/stop screen share.
|
|
19
17
|
* Note: This button is enabled only on iOS >= 14.0 and any Android version.
|
|
@@ -35,24 +33,21 @@ export const ScreenShareToggleButton = ({
|
|
|
35
33
|
hasPublishedScreenShare
|
|
36
34
|
} = useScreenShareButton(screenCapturePickerViewiOSRef, onScreenShareStartedHandler, onScreenShareStoppedHandler);
|
|
37
35
|
if (!onPress) return null;
|
|
38
|
-
return /*#__PURE__*/
|
|
36
|
+
return /*#__PURE__*/React.createElement(CallControlsButton, {
|
|
39
37
|
onPress: onPress,
|
|
40
38
|
color: hasPublishedScreenShare ? colors.buttonWarning : colors.buttonSecondary,
|
|
41
39
|
style: {
|
|
42
40
|
container: screenShareToggleButton.container,
|
|
43
41
|
svgContainer: screenShareToggleButton.svgContainer
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
ref: screenCapturePickerViewiOSRef
|
|
55
|
-
})]
|
|
56
|
-
});
|
|
42
|
+
}
|
|
43
|
+
}, /*#__PURE__*/React.createElement(IconWrapper, null, hasPublishedScreenShare ? /*#__PURE__*/React.createElement(StopScreenShare, {
|
|
44
|
+
size: variants.iconSizes.md,
|
|
45
|
+
color: colors.iconPrimary
|
|
46
|
+
}) : /*#__PURE__*/React.createElement(ScreenShare, {
|
|
47
|
+
size: variants.iconSizes.md,
|
|
48
|
+
color: colors.iconPrimary
|
|
49
|
+
})), Platform.OS === 'ios' && /*#__PURE__*/React.createElement(ScreenCapturePickerView, {
|
|
50
|
+
ref: screenCapturePickerViewiOSRef
|
|
51
|
+
}));
|
|
57
52
|
};
|
|
58
53
|
//# sourceMappingURL=ScreenShareToggleButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useRef","Platform","ScreenCapturePickerView","ScreenShare","StopScreenShare","CallControlsButton","useTheme","useScreenShareButton","IconWrapper","
|
|
1
|
+
{"version":3,"names":["React","useRef","Platform","ScreenCapturePickerView","ScreenShare","StopScreenShare","CallControlsButton","useTheme","useScreenShareButton","IconWrapper","ScreenShareToggleButton","onScreenShareStartedHandler","onScreenShareStoppedHandler","theme","colors","screenShareToggleButton","variants","screenCapturePickerViewiOSRef","onPress","hasPublishedScreenShare","createElement","color","buttonWarning","buttonSecondary","style","container","svgContainer","size","iconSizes","md","iconPrimary","OS","ref"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ScreenShareToggleButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,SAASC,QAAQ,QAAQ,cAAc;AACvC,SAASC,uBAAuB,QAAQ,gCAAgC;AACxE,SAASC,WAAW,QAAQ,4BAA4B;AACxD,SAASC,eAAe,QAAQ,gCAAgC;AAChE,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,SAASC,oBAAoB,QAAQ,qCAAqC;AAC1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;AAEzB,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import { useCallStateHooks } from '@stream-io/video-react-bindings';
|
|
4
2
|
import React from 'react';
|
|
5
3
|
import { useTheme } from '../../../contexts';
|
|
@@ -9,7 +7,7 @@ import { CallControlsButton } from './CallControlsButton';
|
|
|
9
7
|
/**
|
|
10
8
|
* Props for the Toggle Audio preview button
|
|
11
9
|
*/
|
|
12
|
-
|
|
10
|
+
|
|
13
11
|
/**
|
|
14
12
|
* Button to toggle audio mute/unmute status before joining the call.
|
|
15
13
|
*/
|
|
@@ -40,23 +38,20 @@ export const ToggleAudioPreviewButton = ({
|
|
|
40
38
|
}
|
|
41
39
|
await microphone.toggle();
|
|
42
40
|
};
|
|
43
|
-
return /*#__PURE__*/
|
|
41
|
+
return /*#__PURE__*/React.createElement(CallControlsButton, {
|
|
44
42
|
onPress: onPress,
|
|
45
43
|
color: !optimisticIsMute ? colors.buttonSecondary : colors.buttonWarning,
|
|
46
44
|
size: buttonSizes.md,
|
|
47
45
|
style: {
|
|
48
46
|
container: toggleAudioPreviewButton.container,
|
|
49
47
|
svgContainer: toggleAudioPreviewButton.svgContainer
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
})
|
|
59
|
-
})
|
|
60
|
-
});
|
|
48
|
+
}
|
|
49
|
+
}, /*#__PURE__*/React.createElement(IconWrapper, null, !optimisticIsMute ? /*#__PURE__*/React.createElement(Mic, {
|
|
50
|
+
color: colors.iconPrimary,
|
|
51
|
+
size: defaults.iconSize
|
|
52
|
+
}) : /*#__PURE__*/React.createElement(MicOff, {
|
|
53
|
+
color: colors.iconPrimary,
|
|
54
|
+
size: defaults.iconSize
|
|
55
|
+
})));
|
|
61
56
|
};
|
|
62
57
|
//# sourceMappingURL=ToggleAudioPreviewButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useCallStateHooks","React","useTheme","IconWrapper","Mic","MicOff","CallControlsButton","
|
|
1
|
+
{"version":3,"names":["useCallStateHooks","React","useTheme","IconWrapper","Mic","MicOff","CallControlsButton","ToggleAudioPreviewButton","onPressHandler","theme","colors","toggleAudioPreviewButton","variants","buttonSizes","defaults","useMicrophoneState","optimisticIsMute","microphone","onPress","toggle","createElement","color","buttonSecondary","buttonWarning","size","md","style","container","svgContainer","iconPrimary","iconSize"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleAudioPreviewButton.tsx"],"mappings":"AAAA,SAASA,iBAAiB,QAAQ,iCAAiC;AACnE,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,WAAW,EAAEC,GAAG,EAAEC,MAAM,QAAQ,gBAAgB;AACzD,SAASC,kBAAkB,QAAQ,sBAAsB;;AAEzD;AACA;AACA;;AASA;AACA;AACA;AACA,OAAO,MAAMC,wBAAwB,GAAGA,CAAC;EACvCC;AAC6B,CAAC,KAAK;EACnC,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,wBAAwB;MACxBC,QAAQ,EAAE;QAAEC;MAAY,CAAC;MACzBC;IACF;EACF,CAAC,GAAGZ,QAAQ,CAAC,CAAC;EACd,MAAM;IAAEa;EAAmB,CAAC,GAAGf,iBAAiB,CAAC,CAAC;EAClD,MAAM;IAAEgB,gBAAgB;IAAEC;EAAW,CAAC,GAAGF,kBAAkB,CAAC,CAAC;EAE7D,MAAMG,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,IAAIV,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IACA,MAAMS,UAAU,CAACE,MAAM,CAAC,CAAC;EAC3B,CAAC;EAED,oBACElB,KAAA,CAAAmB,aAAA,CAACd,kBAAkB;IACjBY,OAAO,EAAEA,OAAQ;IACjBG,KAAK,EAAE,CAACL,gBAAgB,GAAGN,MAAM,CAACY,eAAe,GAAGZ,MAAM,CAACa,aAAc;IACzEC,IAAI,EAAEX,WAAW,CAACY,EAAG;IACrBC,KAAK,EAAE;MACLC,SAAS,EAAEhB,wBAAwB,CAACgB,SAAS;MAC7CC,YAAY,EAAEjB,wBAAwB,CAACiB;IACzC;EAAE,gBAEF3B,KAAA,CAAAmB,aAAA,CAACjB,WAAW,QACT,CAACa,gBAAgB,gBAChBf,KAAA,CAAAmB,aAAA,CAAChB,GAAG;IAACiB,KAAK,EAAEX,MAAM,CAACmB,WAAY;IAACL,IAAI,EAAEV,QAAQ,CAACgB;EAAS,CAAE,CAAC,gBAE3D7B,KAAA,CAAAmB,aAAA,CAACf,MAAM;IAACgB,KAAK,EAAEX,MAAM,CAACmB,WAAY;IAACL,IAAI,EAAEV,QAAQ,CAACgB;EAAS,CAAE,CAEpD,CACK,CAAC;AAEzB,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import React from 'react';
|
|
4
2
|
import { OwnCapability } from '@stream-io/video-client';
|
|
5
3
|
import { Restricted, useCallStateHooks } from '@stream-io/video-react-bindings';
|
|
@@ -10,7 +8,7 @@ import { useTheme } from '../../../contexts/ThemeContext';
|
|
|
10
8
|
/**
|
|
11
9
|
* Props for the Toggle Audio publishing button
|
|
12
10
|
*/
|
|
13
|
-
|
|
11
|
+
|
|
14
12
|
/**
|
|
15
13
|
* Button to toggle audio mute/unmute status while in the call.
|
|
16
14
|
*/
|
|
@@ -38,22 +36,18 @@ export const ToggleAudioPublishingButton = ({
|
|
|
38
36
|
}
|
|
39
37
|
await microphone.toggle();
|
|
40
38
|
};
|
|
41
|
-
return /*#__PURE__*/
|
|
42
|
-
requiredGrants: [OwnCapability.SEND_AUDIO]
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
})
|
|
55
|
-
})
|
|
56
|
-
})
|
|
57
|
-
});
|
|
39
|
+
return /*#__PURE__*/React.createElement(Restricted, {
|
|
40
|
+
requiredGrants: [OwnCapability.SEND_AUDIO]
|
|
41
|
+
}, /*#__PURE__*/React.createElement(CallControlsButton, {
|
|
42
|
+
onPress: onPress,
|
|
43
|
+
color: !optimisticIsMute ? colors.buttonSecondary : colors.buttonWarning,
|
|
44
|
+
style: toggleAudioPublishingButton
|
|
45
|
+
}, /*#__PURE__*/React.createElement(IconWrapper, null, !optimisticIsMute ? /*#__PURE__*/React.createElement(Mic, {
|
|
46
|
+
color: colors.iconPrimary,
|
|
47
|
+
size: defaults.iconSize
|
|
48
|
+
}) : /*#__PURE__*/React.createElement(MicOff, {
|
|
49
|
+
color: colors.iconPrimary,
|
|
50
|
+
size: defaults.iconSize
|
|
51
|
+
}))));
|
|
58
52
|
};
|
|
59
53
|
//# sourceMappingURL=ToggleAudioPublishingButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","OwnCapability","Restricted","useCallStateHooks","CallControlsButton","IconWrapper","Mic","MicOff","useTheme","
|
|
1
|
+
{"version":3,"names":["React","OwnCapability","Restricted","useCallStateHooks","CallControlsButton","IconWrapper","Mic","MicOff","useTheme","ToggleAudioPublishingButton","onPressHandler","useMicrophoneState","optimisticIsMute","microphone","theme","colors","toggleAudioPublishingButton","defaults","onPress","toggle","createElement","requiredGrants","SEND_AUDIO","color","buttonSecondary","buttonWarning","style","iconPrimary","size","iconSize"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleAudioPublishingButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,QAAQ,yBAAyB;AACvD,SAASC,UAAU,EAAEC,iBAAiB,QAAQ,iCAAiC;AAC/E,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,WAAW,EA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
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import { OwnCapability } from '@stream-io/video-client';
|
|
4
2
|
import { Restricted, useCallStateHooks } from '@stream-io/video-react-bindings';
|
|
5
3
|
import React from 'react';
|
|
@@ -10,7 +8,7 @@ import { useTheme } from '../../../contexts/ThemeContext';
|
|
|
10
8
|
/**
|
|
11
9
|
* Props for the Toggle Camera face button.
|
|
12
10
|
*/
|
|
13
|
-
|
|
11
|
+
|
|
14
12
|
/**
|
|
15
13
|
* Button to toggle camera face(front/back) when in the call.
|
|
16
14
|
*/
|
|
@@ -46,21 +44,17 @@ export const ToggleCameraFaceButton = ({
|
|
|
46
44
|
if (!isVideoEnabledInCall) {
|
|
47
45
|
return;
|
|
48
46
|
}
|
|
49
|
-
return /*#__PURE__*/
|
|
50
|
-
requiredGrants: [OwnCapability.SEND_VIDEO]
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
})
|
|
62
|
-
})
|
|
63
|
-
})
|
|
64
|
-
});
|
|
47
|
+
return /*#__PURE__*/React.createElement(Restricted, {
|
|
48
|
+
requiredGrants: [OwnCapability.SEND_VIDEO]
|
|
49
|
+
}, /*#__PURE__*/React.createElement(CallControlsButton, {
|
|
50
|
+
onPress: onPress,
|
|
51
|
+
color: backgroundColor || colors.buttonSecondary,
|
|
52
|
+
disabledColor: backgroundColor || colors.sheetSecondary,
|
|
53
|
+
disabled: optimisticIsMute,
|
|
54
|
+
style: toggleCameraFaceButton
|
|
55
|
+
}, /*#__PURE__*/React.createElement(IconWrapper, null, /*#__PURE__*/React.createElement(CameraSwitch, {
|
|
56
|
+
size: variants.iconSizes.md,
|
|
57
|
+
color: optimisticIsMute ? colors.buttonDisabled : direction === 'front' || direction === undefined ? colors.iconPrimary : colors.buttonPrimary
|
|
58
|
+
}))));
|
|
65
59
|
};
|
|
66
60
|
//# sourceMappingURL=ToggleCameraFaceButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["OwnCapability","Restricted","useCallStateHooks","React","CallControlsButton","CameraSwitch","IconWrapper","useTheme","
|
|
1
|
+
{"version":3,"names":["OwnCapability","Restricted","useCallStateHooks","React","CallControlsButton","CameraSwitch","IconWrapper","useTheme","ToggleCameraFaceButton","onPressHandler","backgroundColor","useCameraState","useCallSettings","camera","optimisticIsMute","direction","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","toggleCameraFaceButton","variants","onPress","flip","createElement","requiredGrants","SEND_VIDEO","color","buttonSecondary","disabledColor","sheetSecondary","disabled","style","size","iconSizes","md","buttonDisabled","undefined","iconPrimary","buttonPrimary"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleCameraFaceButton.tsx"],"mappings":"AAAA,SAASA,aAAa,QAAQ,yBAAyB;AACvD,SAASC,UAAU,EAAEC,iBAAiB,QAAQ,iCAAiC;AAC/E,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,YAAY,EAAEC,WAAW,QAAQ,gBAAgB;AAC1D,SAASC,QAAQ,QAAQ,gCAAgC;;AAGzD;AACA;AACA;;AAcA;AACA;AACA;AACA,OAAO,MAAMC,sBAAsB,GAAGA,CAAC;EACrCC,cAAc;EACdC;AAC2B,CAAC,KAAK;EACjC,MAAM;IAAEC,cAAc;IAAEC;EAAgB,CAAC,GAAGV,iBAAiB,CAAC,CAAC;EAC/D,MAAM;IAAEW,MAAM;IAAEC,gBAAgB;IAAEC;EAAU,CAAC,GAAGJ,cAAc,CAAC,CAAC;EAChE,MAAMK,YAAY,GAAGJ,eAAe,CAAC,CAAC;EACtC,MAAMK,oBAAoB,GAAGD,YAAY,EAAEE,KAAK,CAACC,OAAO;EAExD,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC,sBAAsB;MAAEC;IAAS;EACpD,CAAC,GAAGhB,QAAQ,CAAC,CAAC;EACd,MAAMiB,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,IAAIf,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IAEA,MAAMI,MAAM,CAACY,IAAI,CAAC,CAAC;EACrB,CAAC;EAED,IAAI,CAACR,oBAAoB,EAAE;IACzB;EACF;EAEA,oBACEd,KAAA,CAAAuB,aAAA,CAACzB,UAAU;IAAC0B,cAAc,EAAE,CAAC3B,aAAa,CAAC4B,UAAU;EAAE,gBACrDzB,KAAA,CAAAuB,aAAA,CAACtB,kBAAkB;IACjBoB,OAAO,EAAEA,OAAQ;IACjBK,KAAK,EAAEnB,eAAe,IAAIW,MAAM,CAACS,eAAgB;IACjDC,aAAa,EAAErB,eAAe,IAAIW,MAAM,CAACW,cAAe;IACxDC,QAAQ,EAAEnB,gBAAiB;IAC3BoB,KAAK,EAAEZ;EAAuB,gBAE9BnB,KAAA,CAAAuB,aAAA,CAACpB,WAAW,qBACVH,KAAA,CAAAuB,aAAA,CAACrB,YAAY;IACX8B,IAAI,EAAEZ,QAAQ,CAACa,SAAS,CAACC,EAAG;IAC5BR,KAAK,EACHf,gBAAgB,GACZO,MAAM,CAACiB,cAAc,GACrBvB,SAAS,KAAK,OAAO,IAAIA,SAAS,KAAKwB,SAAS,GAC9ClB,MAAM,CAACmB,WAAW,GAClBnB,MAAM,CAACoB;EACd,CACF,CACU,CACK,CACV,CAAC;AAEjB,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import React from 'react';
|
|
4
2
|
import { useCallStateHooks } from '@stream-io/video-react-bindings';
|
|
5
3
|
import { useTheme } from '../../../contexts';
|
|
@@ -9,7 +7,7 @@ import { IconWrapper, Video, VideoSlash } from '../../../icons';
|
|
|
9
7
|
/**
|
|
10
8
|
* Props for the Toggle Video preview button
|
|
11
9
|
*/
|
|
12
|
-
|
|
10
|
+
|
|
13
11
|
/**
|
|
14
12
|
* Button to toggle video mute/unmute status before joining the call.
|
|
15
13
|
*/
|
|
@@ -46,23 +44,20 @@ export const ToggleVideoPreviewButton = ({
|
|
|
46
44
|
if (!isVideoEnabledInCall) {
|
|
47
45
|
return;
|
|
48
46
|
}
|
|
49
|
-
return /*#__PURE__*/
|
|
47
|
+
return /*#__PURE__*/React.createElement(CallControlsButton, {
|
|
50
48
|
onPress: onPress,
|
|
51
49
|
color: !optimisticIsMute ? colors.buttonSecondary : colors.buttonWarning,
|
|
52
50
|
size: buttonSizes.md,
|
|
53
51
|
style: {
|
|
54
52
|
container: toggleVideoPreviewButton.container,
|
|
55
53
|
svgContainer: toggleVideoPreviewButton.svgContainer
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
})
|
|
65
|
-
})
|
|
66
|
-
});
|
|
54
|
+
}
|
|
55
|
+
}, /*#__PURE__*/React.createElement(IconWrapper, null, !optimisticIsMute ? /*#__PURE__*/React.createElement(Video, {
|
|
56
|
+
color: colors.iconPrimary,
|
|
57
|
+
size: iconSizes.lg
|
|
58
|
+
}) : /*#__PURE__*/React.createElement(VideoSlash, {
|
|
59
|
+
color: colors.iconPrimary,
|
|
60
|
+
size: iconSizes.lg
|
|
61
|
+
})));
|
|
67
62
|
};
|
|
68
63
|
//# sourceMappingURL=ToggleVideoPreviewButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useCallStateHooks","useTheme","CallControlsButton","IconWrapper","Video","VideoSlash","
|
|
1
|
+
{"version":3,"names":["React","useCallStateHooks","useTheme","CallControlsButton","IconWrapper","Video","VideoSlash","ToggleVideoPreviewButton","onPressHandler","theme","colors","toggleVideoPreviewButton","variants","buttonSizes","iconSizes","useCameraState","useCallSettings","callSettings","isVideoEnabledInCall","video","enabled","optimisticIsMute","camera","onPress","toggle","createElement","color","buttonSecondary","buttonWarning","size","md","style","container","svgContainer","iconPrimary","lg"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleVideoPreviewButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,iBAAiB,QAAQ,iCAAiC;AACnE,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,WAAW,EAAEC,KAAK,EAAEC,UAAU,QAAQ,gBAAgB;;AAE/D;AACA;AACA;;AASA;AACA;AACA;AACA,OAAO,MAAMC,wBAAwB,GAAGA,CAAC;EACvCC;AAC6B,CAAC,KAAK;EACnC,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,wBAAwB;MACxBC,QAAQ,EAAE;QAAEC,WAAW;QAAEC;MAAU;IACrC;EACF,CAAC,GAAGZ,QAAQ,CAAC,CAAC;EACd,MAAM;IAAEa,cAAc;IAAEC;EAAgB,CAAC,GAAGf,iBAAiB,CAAC,CAAC;EAC/D,MAAMgB,YAAY,GAAGD,eAAe,CAAC,CAAC;EACtC,MAAME,oBAAoB,GAAGD,YAAY,EAAEE,KAAK,CAACC,OAAO;EACxD,MAAM;IAAEC,gBAAgB;IAAEC;EAAO,CAAC,GAAGP,cAAc,CAAC,CAAC;EACrD,MAAMQ,OAAO,GAAG,MAAAA,CAAA,KAAY;IAC1B,IAAIf,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IACA,MAAMc,MAAM,CAACE,MAAM,CAAC,CAAC;EACvB,CAAC;EAED,IAAI,CAACN,oBAAoB,EAAE;IACzB;EACF;EAEA,oBACElB,KAAA,CAAAyB,aAAA,CAACtB,kBAAkB;IACjBoB,OAAO,EAAEA,OAAQ;IACjBG,KAAK,EAAE,CAACL,gBAAgB,GAAGX,MAAM,CAACiB,eAAe,GAAGjB,MAAM,CAACkB,aAAc;IACzEC,IAAI,EAAEhB,WAAW,CAACiB,EAAG;IACrBC,KAAK,EAAE;MACLC,SAAS,EAAErB,wBAAwB,CAACqB,SAAS;MAC7CC,YAAY,EAAEtB,wBAAwB,CAACsB;IACzC;EAAE,gBAEFjC,KAAA,CAAAyB,aAAA,CAACrB,WAAW,QACT,CAACiB,gBAAgB,gBAChBrB,KAAA,CAAAyB,aAAA,CAACpB,KAAK;IAACqB,KAAK,EAAEhB,MAAM,CAACwB,WAAY;IAACL,IAAI,EAAEf,SAAS,CAACqB;EAAG,CAAE,CAAC,gBAExDnC,KAAA,CAAAyB,aAAA,CAACnB,UAAU;IAACoB,KAAK,EAAEhB,MAAM,CAACwB,WAAY;IAACL,IAAI,EAAEf,SAAS,CAACqB;EAAG,CAAE,CAEnD,CACK,CAAC;AAEzB,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import React from 'react';
|
|
4
2
|
import { OwnCapability } from '@stream-io/video-client';
|
|
5
3
|
import { Restricted, useCallStateHooks } from '@stream-io/video-react-bindings';
|
|
@@ -10,7 +8,7 @@ import { useTheme } from '../../../contexts/ThemeContext';
|
|
|
10
8
|
/**
|
|
11
9
|
* Props for the Toggle Video publishing button
|
|
12
10
|
*/
|
|
13
|
-
|
|
11
|
+
|
|
14
12
|
/**
|
|
15
13
|
* Button to toggle video mute/unmute status while in the call.
|
|
16
14
|
*/
|
|
@@ -43,21 +41,17 @@ export const ToggleVideoPublishingButton = ({
|
|
|
43
41
|
if (!isVideoEnabledInCall) {
|
|
44
42
|
return;
|
|
45
43
|
}
|
|
46
|
-
return /*#__PURE__*/
|
|
47
|
-
requiredGrants: [OwnCapability.SEND_VIDEO]
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
})
|
|
59
|
-
})
|
|
60
|
-
})
|
|
61
|
-
});
|
|
44
|
+
return /*#__PURE__*/React.createElement(Restricted, {
|
|
45
|
+
requiredGrants: [OwnCapability.SEND_VIDEO]
|
|
46
|
+
}, /*#__PURE__*/React.createElement(CallControlsButton, {
|
|
47
|
+
onPress: onPress,
|
|
48
|
+
color: !optimisticIsMute ? colors.buttonSecondary : colors.buttonWarning
|
|
49
|
+
}, /*#__PURE__*/React.createElement(IconWrapper, null, !optimisticIsMute ? /*#__PURE__*/React.createElement(Video, {
|
|
50
|
+
color: colors.iconPrimary,
|
|
51
|
+
size: variants.iconSizes.md
|
|
52
|
+
}) : /*#__PURE__*/React.createElement(VideoSlash, {
|
|
53
|
+
color: colors.iconPrimary,
|
|
54
|
+
size: variants.iconSizes.md
|
|
55
|
+
}))));
|
|
62
56
|
};
|
|
63
57
|
//# sourceMappingURL=ToggleVideoPublishingButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","OwnCapability","Restricted","useCallStateHooks","CallControlsButton","IconWrapper","Video","VideoSlash","useTheme","
|
|
1
|
+
{"version":3,"names":["React","OwnCapability","Restricted","useCallStateHooks","CallControlsButton","IconWrapper","Video","VideoSlash","useTheme","ToggleVideoPublishingButton","onPressHandler","useCameraState","useCallSettings","camera","optimisticIsMute","callSettings","isVideoEnabledInCall","video","enabled","theme","colors","variants","onPress","toggle","createElement","requiredGrants","SEND_VIDEO","color","buttonSecondary","buttonWarning","iconPrimary","size","iconSizes","md"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/ToggleVideoPublishingButton.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,QAAQ,yBAAyB;AACvD,SAASC,UAAU,EAAEC,iBAAiB,QAAQ,iCAAiC;AAC/E,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,WAAW,EAAEC,KAAK,EAAEC,UAAU,QAAQ,gBAAgB;AAC/D,SAASC,QAAQ,QAAQ,gCAAgC;;AAEzD;AACA;AACA;;AASA;AACA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,CACK,CACV,CAAC;AAEjB,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/index.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/index.tsx"],"mappings":"AAAA,cAAc,oBAAoB;AAClC,cAAc,oBAAoB;AAClC,cAAc,oBAAoB;AAClC,cAAc,4BAA4B;AAC1C,cAAc,4BAA4B;AAC1C,cAAc,+BAA+B;AAC7C,cAAc,+BAA+B;AAC7C,cAAc,0BAA0B;AACxC,cAAc,mBAAmB;AACjC,cAAc,gBAAgB;AAC9B,cAAc,sBAAsB;AACpC,cAAc,iBAAiB;AAC/B,cAAc,wBAAwB;AACtC,cAAc,wBAAwB;AACtC,cAAc,2BAA2B","ignoreList":[]}
|