@stream-io/video-react-native-sdk 1.3.7 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/commonjs/components/Call/CallContent/CallContent.js +25 -20
- package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +8 -6
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/CallControls.js +2 -2
- package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +11 -18
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +8 -13
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +5 -1
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js +16 -9
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ReactionsButton.js +3 -3
- package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +8 -6
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +10 -10
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +9 -6
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +10 -10
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +9 -6
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/index.js +0 -11
- package/dist/commonjs/components/Call/CallControls/index.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +32 -28
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +31 -25
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +32 -17
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +21 -14
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/Lobby.js +66 -94
- package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/LobbyFooter.js +60 -23
- package/dist/commonjs/components/Call/Lobby/LobbyFooter.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +6 -7
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +6 -7
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +0 -4
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js +3 -3
- package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -1
- package/dist/commonjs/components/Call/index.js +0 -11
- package/dist/commonjs/components/Call/index.js.map +1 -1
- package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +31 -20
- package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +2 -2
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +7 -5
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +5 -3
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +7 -5
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +2 -2
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +1 -1
- package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +2 -2
- package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +2 -2
- package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +2 -2
- package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +16 -5
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +6 -5
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +72 -49
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +5 -5
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +28 -15
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +2 -2
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +29 -21
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js +86 -0
- package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -0
- package/dist/commonjs/components/utility/Avatar.js +1 -1
- package/dist/commonjs/components/utility/Avatar.js.map +1 -1
- package/dist/commonjs/components/utility/ScreenShareOverlay.js +6 -5
- package/dist/commonjs/components/utility/ScreenShareOverlay.js.map +1 -1
- package/dist/commonjs/constants/TestIds.js +1 -1
- package/dist/commonjs/constants/TestIds.js.map +1 -1
- package/dist/commonjs/constants/index.js +24 -5
- package/dist/commonjs/constants/index.js.map +1 -1
- package/dist/commonjs/icons/CameraSwitch.js +6 -3
- package/dist/commonjs/icons/CameraSwitch.js.map +1 -1
- package/dist/commonjs/icons/IconWrapper.js +25 -0
- package/dist/commonjs/icons/IconWrapper.js.map +1 -0
- package/dist/commonjs/icons/Lock.js +26 -0
- package/dist/commonjs/icons/Lock.js.map +1 -0
- package/dist/commonjs/icons/Mic.js +6 -6
- package/dist/commonjs/icons/Mic.js.map +1 -1
- package/dist/commonjs/icons/MicOff.js +6 -3
- package/dist/commonjs/icons/MicOff.js.map +1 -1
- package/dist/commonjs/icons/Phone.js +13 -3
- package/dist/commonjs/icons/Phone.js.map +1 -1
- package/dist/commonjs/icons/PhoneDown.js +6 -3
- package/dist/commonjs/icons/PhoneDown.js.map +1 -1
- package/dist/commonjs/icons/PinVertical.js +5 -2
- package/dist/commonjs/icons/PinVertical.js.map +1 -1
- package/dist/commonjs/icons/Reaction.js +3 -1
- package/dist/commonjs/icons/Reaction.js.map +1 -1
- package/dist/commonjs/icons/ScreenShare.js +6 -3
- package/dist/commonjs/icons/ScreenShare.js.map +1 -1
- package/dist/commonjs/icons/StopScreenShare.js +5 -2
- package/dist/commonjs/icons/StopScreenShare.js.map +1 -1
- package/dist/commonjs/icons/Video.js +6 -3
- package/dist/commonjs/icons/Video.js.map +1 -1
- package/dist/commonjs/icons/VideoSlash.js +6 -3
- package/dist/commonjs/icons/VideoSlash.js.map +1 -1
- package/dist/commonjs/icons/index.js +11 -22
- package/dist/commonjs/icons/index.js.map +1 -1
- package/dist/commonjs/theme/colors.js +22 -39
- package/dist/commonjs/theme/colors.js.map +1 -1
- package/dist/commonjs/theme/constants.js +44 -44
- package/dist/commonjs/theme/constants.js.map +1 -1
- package/dist/commonjs/theme/index.js +11 -10
- package/dist/commonjs/theme/index.js.map +1 -1
- package/dist/commonjs/theme/theme.js +46 -9
- package/dist/commonjs/theme/theme.js.map +1 -1
- package/dist/commonjs/translations/en.json +7 -3
- package/dist/commonjs/version.js +1 -1
- package/dist/module/components/Call/CallContent/CallContent.js +26 -21
- package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
- package/dist/module/components/Call/CallControls/AcceptCallButton.js +9 -7
- package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/CallControls.js +2 -2
- package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/CallControlsButton.js +11 -18
- package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/HangupCallButton.js +8 -13
- package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/IncomingCallControls.js +5 -1
- package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/LobbyControls.js +14 -8
- package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/ReactionsButton.js +4 -4
- package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/RejectCallButton.js +9 -7
- package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js +10 -6
- package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +11 -11
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +10 -7
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +11 -7
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +11 -11
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +10 -7
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/index.js +0 -1
- package/dist/module/components/Call/CallControls/index.js.map +1 -1
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +33 -29
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +29 -24
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +32 -17
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
- package/dist/module/components/Call/Lobby/JoinCallButton.js +19 -13
- package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/module/components/Call/Lobby/Lobby.js +64 -93
- package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
- package/dist/module/components/Call/Lobby/LobbyFooter.js +58 -22
- package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js +6 -7
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +6 -7
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +0 -4
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js +3 -3
- package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/UserInfo.js +1 -1
- package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -1
- package/dist/module/components/Call/index.js +0 -1
- package/dist/module/components/Call/index.js.map +1 -1
- package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +32 -21
- package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +2 -2
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +8 -6
- package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +5 -3
- package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +8 -6
- package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +2 -2
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +1 -1
- package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +2 -2
- package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +2 -2
- package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +2 -2
- package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +17 -6
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/index.js +6 -5
- package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +70 -49
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +5 -5
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +29 -16
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +2 -2
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js +27 -20
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js +78 -0
- package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -0
- package/dist/module/components/utility/Avatar.js +1 -1
- package/dist/module/components/utility/Avatar.js.map +1 -1
- package/dist/module/components/utility/ScreenShareOverlay.js +6 -5
- package/dist/module/components/utility/ScreenShareOverlay.js.map +1 -1
- package/dist/module/constants/TestIds.js +1 -1
- package/dist/module/constants/TestIds.js.map +1 -1
- package/dist/module/constants/index.js +23 -4
- package/dist/module/constants/index.js.map +1 -1
- package/dist/module/icons/CameraSwitch.js +6 -3
- package/dist/module/icons/CameraSwitch.js.map +1 -1
- package/dist/module/icons/IconWrapper.js +17 -0
- package/dist/module/icons/IconWrapper.js.map +1 -0
- package/dist/module/icons/Lock.js +16 -0
- package/dist/module/icons/Lock.js.map +1 -0
- package/dist/module/icons/Mic.js +6 -6
- package/dist/module/icons/Mic.js.map +1 -1
- package/dist/module/icons/MicOff.js +6 -3
- package/dist/module/icons/MicOff.js.map +1 -1
- package/dist/module/icons/Phone.js +13 -3
- package/dist/module/icons/Phone.js.map +1 -1
- package/dist/module/icons/PhoneDown.js +6 -3
- package/dist/module/icons/PhoneDown.js.map +1 -1
- package/dist/module/icons/PinVertical.js +5 -2
- package/dist/module/icons/PinVertical.js.map +1 -1
- package/dist/module/icons/Reaction.js +3 -1
- package/dist/module/icons/Reaction.js.map +1 -1
- package/dist/module/icons/ScreenShare.js +6 -3
- package/dist/module/icons/ScreenShare.js.map +1 -1
- package/dist/module/icons/StopScreenShare.js +5 -2
- package/dist/module/icons/StopScreenShare.js.map +1 -1
- package/dist/module/icons/Video.js +6 -3
- package/dist/module/icons/Video.js.map +1 -1
- package/dist/module/icons/VideoSlash.js +6 -3
- package/dist/module/icons/VideoSlash.js.map +1 -1
- package/dist/module/icons/index.js +1 -2
- package/dist/module/icons/index.js.map +1 -1
- package/dist/module/theme/colors.js +22 -39
- package/dist/module/theme/colors.js.map +1 -1
- package/dist/module/theme/constants.js +44 -44
- package/dist/module/theme/constants.js.map +1 -1
- package/dist/module/theme/index.js +1 -5
- package/dist/module/theme/index.js.map +1 -1
- package/dist/module/theme/theme.js +46 -9
- package/dist/module/theme/theme.js.map +1 -1
- package/dist/module/translations/en.json +7 -3
- package/dist/module/version.js +1 -1
- package/dist/typescript/components/Call/CallContent/CallContent.d.ts +2 -7
- package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/AcceptCallButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts +4 -0
- package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/HangupCallButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/IncomingCallControls.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/LobbyControls.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/RejectCallButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ScreenShareToggleButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ToggleAudioPreviewButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ToggleAudioPublishingButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts +6 -1
- package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ToggleVideoPreviewButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/ToggleVideoPublishingButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/index.d.ts +0 -1
- package/dist/typescript/components/Call/CallControls/index.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -1
- package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts.map +1 -1
- package/dist/typescript/components/Call/Lobby/Lobby.d.ts.map +1 -1
- package/dist/typescript/components/Call/Lobby/LobbyFooter.d.ts.map +1 -1
- package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts +2 -6
- package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts.map +1 -1
- package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts +1 -6
- package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts.map +1 -1
- package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts +0 -5
- package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts.map +1 -1
- package/dist/typescript/components/Call/index.d.ts +0 -1
- package/dist/typescript/components/Call/index.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamControls/LivestreamAudioControlButton.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamControls/LivestreamVideoControlButton.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts.map +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts.map +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/SpeechIndicator.d.ts +18 -0
- package/dist/typescript/components/Participant/ParticipantView/SpeechIndicator.d.ts.map +1 -0
- package/dist/typescript/components/utility/Avatar.d.ts.map +1 -1
- package/dist/typescript/constants/TestIds.d.ts +2 -2
- package/dist/typescript/constants/TestIds.d.ts.map +1 -1
- package/dist/typescript/constants/index.d.ts +0 -1
- package/dist/typescript/constants/index.d.ts.map +1 -1
- package/dist/typescript/icons/CameraSwitch.d.ts +2 -1
- package/dist/typescript/icons/CameraSwitch.d.ts.map +1 -1
- package/dist/typescript/icons/IconWrapper.d.ts +6 -0
- package/dist/typescript/icons/IconWrapper.d.ts.map +1 -0
- package/dist/typescript/icons/{Chat.d.ts → Lock.d.ts} +3 -2
- package/dist/typescript/icons/Lock.d.ts.map +1 -0
- package/dist/typescript/icons/Mic.d.ts +2 -1
- package/dist/typescript/icons/Mic.d.ts.map +1 -1
- package/dist/typescript/icons/MicOff.d.ts +2 -1
- package/dist/typescript/icons/MicOff.d.ts.map +1 -1
- package/dist/typescript/icons/Phone.d.ts +2 -1
- package/dist/typescript/icons/Phone.d.ts.map +1 -1
- package/dist/typescript/icons/PhoneDown.d.ts +2 -1
- package/dist/typescript/icons/PhoneDown.d.ts.map +1 -1
- package/dist/typescript/icons/PinVertical.d.ts +2 -1
- package/dist/typescript/icons/PinVertical.d.ts.map +1 -1
- package/dist/typescript/icons/ScreenShare.d.ts +2 -1
- package/dist/typescript/icons/ScreenShare.d.ts.map +1 -1
- package/dist/typescript/icons/StopScreenShare.d.ts +2 -1
- package/dist/typescript/icons/StopScreenShare.d.ts.map +1 -1
- package/dist/typescript/icons/Video.d.ts +2 -1
- package/dist/typescript/icons/Video.d.ts.map +1 -1
- package/dist/typescript/icons/VideoSlash.d.ts +2 -1
- package/dist/typescript/icons/VideoSlash.d.ts.map +1 -1
- package/dist/typescript/icons/index.d.ts +1 -2
- package/dist/typescript/icons/index.d.ts.map +1 -1
- package/dist/typescript/theme/colors.d.ts +5 -38
- package/dist/typescript/theme/colors.d.ts.map +1 -1
- package/dist/typescript/theme/constants.d.ts +44 -44
- package/dist/typescript/theme/constants.d.ts.map +1 -1
- package/dist/typescript/theme/index.d.ts +1 -2
- package/dist/typescript/theme/index.d.ts.map +1 -1
- package/dist/typescript/theme/theme.d.ts +23 -31
- package/dist/typescript/theme/theme.d.ts.map +1 -1
- package/dist/typescript/theme/types.d.ts +65 -18
- package/dist/typescript/theme/types.d.ts.map +1 -1
- package/dist/typescript/translations/index.d.ts +5 -1
- package/dist/typescript/translations/index.d.ts.map +1 -1
- package/dist/typescript/version.d.ts +1 -1
- package/package.json +3 -3
- package/src/components/Call/CallContent/CallContent.tsx +25 -33
- package/src/components/Call/CallControls/AcceptCallButton.tsx +7 -5
- package/src/components/Call/CallControls/CallControls.tsx +2 -2
- package/src/components/Call/CallControls/CallControlsButton.tsx +14 -20
- package/src/components/Call/CallControls/HangupCallButton.tsx +6 -11
- package/src/components/Call/CallControls/IncomingCallControls.tsx +5 -1
- package/src/components/Call/CallControls/LobbyControls.tsx +16 -8
- package/src/components/Call/CallControls/ReactionsButton.tsx +4 -2
- package/src/components/Call/CallControls/RejectCallButton.tsx +7 -5
- package/src/components/Call/CallControls/ScreenShareToggleButton.tsx +18 -7
- package/src/components/Call/CallControls/ToggleAudioPreviewButton.tsx +11 -13
- package/src/components/Call/CallControls/ToggleAudioPublishingButton.tsx +12 -8
- package/src/components/Call/CallControls/ToggleCameraFaceButton.tsx +23 -10
- package/src/components/Call/CallControls/ToggleVideoPreviewButton.tsx +11 -14
- package/src/components/Call/CallControls/ToggleVideoPublishingButton.tsx +15 -8
- package/src/components/Call/CallControls/index.tsx +0 -1
- package/src/components/Call/CallControls/internal/ReactionsPicker.tsx +34 -32
- package/src/components/Call/CallLayout/CallParticipantsGrid.tsx +2 -4
- package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +29 -23
- package/src/components/Call/CallParticipantsList/CallParticipantsList.tsx +34 -15
- package/src/components/Call/Lobby/JoinCallButton.tsx +21 -15
- package/src/components/Call/Lobby/Lobby.tsx +74 -121
- package/src/components/Call/Lobby/LobbyFooter.tsx +63 -41
- package/src/components/Call/RingingCallContent/IncomingCall.tsx +4 -14
- package/src/components/Call/RingingCallContent/OutgoingCall.tsx +4 -14
- package/src/components/Call/RingingCallContent/RingingCallContent.tsx +3 -17
- package/src/components/Call/RingingCallContent/TextBasedIndicator.tsx +3 -3
- package/src/components/Call/RingingCallContent/UserInfo.tsx +1 -1
- package/src/components/Call/index.ts +0 -1
- package/src/components/Livestream/HostLivestream/HostLivestream.tsx +34 -23
- package/src/components/Livestream/LivestreamControls/HostLivestreamControls.tsx +1 -1
- package/src/components/Livestream/LivestreamControls/HostStartStreamButton.tsx +4 -4
- package/src/components/Livestream/LivestreamControls/LivestreamAudioControlButton.tsx +9 -7
- package/src/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.tsx +4 -4
- package/src/components/Livestream/LivestreamControls/LivestreamVideoControlButton.tsx +9 -7
- package/src/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx +2 -4
- package/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx +1 -3
- package/src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx +1 -1
- package/src/components/Livestream/LivestreamTopView/DurationBadge.tsx +2 -2
- package/src/components/Livestream/LivestreamTopView/FollowerCount.tsx +2 -2
- package/src/components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx +1 -1
- package/src/components/Livestream/LivestreamTopView/LiveIndicator.tsx +2 -2
- package/src/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.tsx +1 -1
- package/src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx +19 -6
- package/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.tsx +0 -1
- package/src/components/Participant/FloatingParticipantView/index.tsx +4 -6
- package/src/components/Participant/ParticipantView/ParticipantLabel.tsx +87 -87
- package/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.tsx +5 -5
- package/src/components/Participant/ParticipantView/ParticipantReaction.tsx +36 -26
- package/src/components/Participant/ParticipantView/ParticipantVideoFallback.tsx +2 -6
- package/src/components/Participant/ParticipantView/ParticipantView.tsx +33 -22
- package/src/components/Participant/ParticipantView/SpeechIndicator.tsx +103 -0
- package/src/components/utility/Avatar.tsx +2 -4
- package/src/components/utility/ScreenShareOverlay.tsx +5 -5
- package/src/constants/TestIds.ts +1 -1
- package/src/constants/index.ts +27 -5
- package/src/icons/CameraSwitch.tsx +4 -3
- package/src/icons/IconWrapper.tsx +15 -0
- package/src/icons/Lock.tsx +19 -0
- package/src/icons/Mic.tsx +4 -7
- package/src/icons/MicOff.tsx +4 -3
- package/src/icons/Phone.tsx +11 -3
- package/src/icons/PhoneDown.tsx +9 -3
- package/src/icons/PinVertical.tsx +3 -2
- package/src/icons/Reaction.tsx +1 -1
- package/src/icons/ScreenShare.tsx +9 -3
- package/src/icons/StopScreenShare.tsx +3 -2
- package/src/icons/Video.tsx +4 -3
- package/src/icons/VideoSlash.tsx +9 -3
- package/src/icons/index.tsx +1 -2
- package/src/theme/colors.ts +27 -42
- package/src/theme/constants.ts +51 -44
- package/src/theme/index.ts +1 -8
- package/src/theme/theme.ts +77 -40
- package/src/theme/types.ts +72 -21
- package/src/translations/en.json +7 -3
- package/src/version.ts +1 -1
- package/dist/commonjs/components/Call/CallControls/ChatButton.js +0 -84
- package/dist/commonjs/components/Call/CallControls/ChatButton.js.map +0 -1
- package/dist/commonjs/components/Call/CallTopView/CallTopView.js +0 -120
- package/dist/commonjs/components/Call/CallTopView/CallTopView.js.map +0 -1
- package/dist/commonjs/components/Call/CallTopView/ParticipantsInfoBadge.js +0 -105
- package/dist/commonjs/components/Call/CallTopView/ParticipantsInfoBadge.js.map +0 -1
- package/dist/commonjs/components/Call/CallTopView/index.js +0 -28
- package/dist/commonjs/components/Call/CallTopView/index.js.map +0 -1
- package/dist/commonjs/icons/Chat.js +0 -19
- package/dist/commonjs/icons/Chat.js.map +0 -1
- package/dist/commonjs/icons/Participants.js +0 -21
- package/dist/commonjs/icons/Participants.js.map +0 -1
- package/dist/module/components/Call/CallControls/ChatButton.js +0 -77
- package/dist/module/components/Call/CallControls/ChatButton.js.map +0 -1
- package/dist/module/components/Call/CallTopView/CallTopView.js +0 -111
- package/dist/module/components/Call/CallTopView/CallTopView.js.map +0 -1
- package/dist/module/components/Call/CallTopView/ParticipantsInfoBadge.js +0 -98
- package/dist/module/components/Call/CallTopView/ParticipantsInfoBadge.js.map +0 -1
- package/dist/module/components/Call/CallTopView/index.js +0 -3
- package/dist/module/components/Call/CallTopView/index.js.map +0 -1
- package/dist/module/icons/Chat.js +0 -11
- package/dist/module/icons/Chat.js.map +0 -1
- package/dist/module/icons/Participants.js +0 -13
- package/dist/module/icons/Participants.js.map +0 -1
- package/dist/typescript/components/Call/CallControls/ChatButton.d.ts +0 -22
- package/dist/typescript/components/Call/CallControls/ChatButton.d.ts.map +0 -1
- package/dist/typescript/components/Call/CallTopView/CallTopView.d.ts +0 -29
- package/dist/typescript/components/Call/CallTopView/CallTopView.d.ts.map +0 -1
- package/dist/typescript/components/Call/CallTopView/ParticipantsInfoBadge.d.ts +0 -12
- package/dist/typescript/components/Call/CallTopView/ParticipantsInfoBadge.d.ts.map +0 -1
- package/dist/typescript/components/Call/CallTopView/index.d.ts +0 -3
- package/dist/typescript/components/Call/CallTopView/index.d.ts.map +0 -1
- package/dist/typescript/icons/Chat.d.ts.map +0 -1
- package/dist/typescript/icons/Participants.d.ts +0 -8
- package/dist/typescript/icons/Participants.d.ts.map +0 -1
- package/src/components/Call/CallControls/ChatButton.tsx +0 -90
- package/src/components/Call/CallTopView/CallTopView.tsx +0 -162
- package/src/components/Call/CallTopView/ParticipantsInfoBadge.tsx +0 -119
- package/src/components/Call/CallTopView/index.ts +0 -2
- package/src/icons/Chat.tsx +0 -16
- package/src/icons/Participants.tsx +0 -18
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { useMemo } from 'react';
|
|
2
2
|
import { View, StyleSheet, Text } from 'react-native';
|
|
3
|
-
import { useCall, useCallStateHooks, useI18n } from '@stream-io/video-react-bindings';
|
|
4
3
|
import { useTheme } from '../../../contexts/ThemeContext';
|
|
4
|
+
import { useCallStateHooks, useI18n } from '@stream-io/video-react-bindings';
|
|
5
|
+
import { Lock } from '../../../icons/Lock';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Props for the Lobby Footer in the Lobby component.
|
|
@@ -18,38 +19,73 @@ export const LobbyFooter = ({
|
|
|
18
19
|
theme: {
|
|
19
20
|
colors,
|
|
20
21
|
lobby,
|
|
21
|
-
|
|
22
|
+
variants
|
|
22
23
|
}
|
|
23
24
|
} = useTheme();
|
|
25
|
+
const styles = useStyles();
|
|
24
26
|
const {
|
|
25
27
|
useCallSession
|
|
26
28
|
} = useCallStateHooks();
|
|
27
29
|
const {
|
|
28
30
|
t
|
|
29
31
|
} = useI18n();
|
|
30
|
-
const call = useCall();
|
|
31
32
|
const session = useCallSession();
|
|
32
|
-
const
|
|
33
|
+
const numberOfParticipants = session?.participants.length;
|
|
34
|
+
const participantsText = useMemo(() => {
|
|
35
|
+
if (!numberOfParticipants) {
|
|
36
|
+
return t('Currently there are no other participants in the call.');
|
|
37
|
+
}
|
|
38
|
+
if (numberOfParticipants === 1) {
|
|
39
|
+
return t('There is {{numberOfParticipants}} more person in the call.', {
|
|
40
|
+
numberOfParticipants
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
return t('There are {{numberOfParticipants}} more people in the call.', {
|
|
44
|
+
numberOfParticipants
|
|
45
|
+
});
|
|
46
|
+
}, [numberOfParticipants, t]);
|
|
33
47
|
return /*#__PURE__*/React.createElement(View, {
|
|
34
|
-
style: [styles.
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}, /*#__PURE__*/React.createElement(
|
|
48
|
+
style: [styles.mainContainer, lobby.infoContainer]
|
|
49
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
50
|
+
style: styles.textContainer
|
|
51
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
52
|
+
style: styles.iconContainer
|
|
53
|
+
}, /*#__PURE__*/React.createElement(Lock, {
|
|
54
|
+
color: colors.iconPrimary,
|
|
55
|
+
size: variants.iconSizes.md
|
|
56
|
+
})), /*#__PURE__*/React.createElement(Text, {
|
|
38
57
|
style: [{
|
|
39
|
-
color: colors.
|
|
40
|
-
},
|
|
41
|
-
}, t('You are about to join a call
|
|
42
|
-
callId: call?.id
|
|
43
|
-
}) + ' ' + (participantsCount ? t('{{ numberOfParticipants }} participant(s) are in the call.', {
|
|
44
|
-
numberOfParticipants: participantsCount
|
|
45
|
-
}) : t('You are first to join the call.'))), JoinCallButton && /*#__PURE__*/React.createElement(JoinCallButton, {
|
|
58
|
+
color: colors.textPrimary
|
|
59
|
+
}, styles.infoText, lobby.infoText]
|
|
60
|
+
}, t('You are about to join a call.') + ' ' + participantsText)), JoinCallButton && /*#__PURE__*/React.createElement(JoinCallButton, {
|
|
46
61
|
onJoinCallHandler: onJoinCallHandler
|
|
47
62
|
}));
|
|
48
63
|
};
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
64
|
+
const useStyles = () => {
|
|
65
|
+
const {
|
|
66
|
+
theme
|
|
67
|
+
} = useTheme();
|
|
68
|
+
return useMemo(() => StyleSheet.create({
|
|
69
|
+
mainContainer: {
|
|
70
|
+
padding: theme.variants.spacingSizes.sm
|
|
71
|
+
},
|
|
72
|
+
textContainer: {
|
|
73
|
+
flexDirection: 'row',
|
|
74
|
+
alignItems: 'center',
|
|
75
|
+
justifyContent: 'center',
|
|
76
|
+
backgroundColor: theme.colors.sheetTertiary,
|
|
77
|
+
paddingHorizontal: theme.variants.spacingSizes.md,
|
|
78
|
+
paddingVertical: theme.variants.spacingSizes.xs,
|
|
79
|
+
borderRadius: theme.variants.borderRadiusSizes.sm
|
|
80
|
+
},
|
|
81
|
+
iconContainer: {
|
|
82
|
+
marginRight: theme.variants.spacingSizes.sm
|
|
83
|
+
},
|
|
84
|
+
infoText: {
|
|
85
|
+
fontSize: theme.variants.fontSizes.sm,
|
|
86
|
+
lineHeight: 20,
|
|
87
|
+
fontWeight: '400'
|
|
88
|
+
}
|
|
89
|
+
}), [theme]);
|
|
90
|
+
};
|
|
55
91
|
//# sourceMappingURL=LobbyFooter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","StyleSheet","Text","
|
|
1
|
+
{"version":3,"names":["React","useMemo","View","StyleSheet","Text","useTheme","useCallStateHooks","useI18n","Lock","LobbyFooter","onJoinCallHandler","JoinCallButton","theme","colors","lobby","variants","styles","useStyles","useCallSession","t","session","numberOfParticipants","participants","length","participantsText","createElement","style","mainContainer","infoContainer","textContainer","iconContainer","color","iconPrimary","size","iconSizes","md","textPrimary","infoText","create","padding","spacingSizes","sm","flexDirection","alignItems","justifyContent","backgroundColor","sheetTertiary","paddingHorizontal","paddingVertical","xs","borderRadius","borderRadiusSizes","marginRight","fontSize","fontSizes","lineHeight","fontWeight"],"sourceRoot":"../../../../../src","sources":["components/Call/Lobby/LobbyFooter.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AAEtC,SAASC,IAAI,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACrD,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,SAASC,iBAAiB,EAAEC,OAAO,QAAQ,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b,EAAE;MACrCc,UAAU,EAAE,EAAE;MACdC,UAAU,EAAE;IACd;EACF,CAAC,CAAC,EACJ,CAAC5C,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import { ImageBackground, StyleSheet, Text, View } from 'react-native';
|
|
3
3
|
import { useCallStateHooks, useConnectedUser, useI18n } from '@stream-io/video-react-bindings';
|
|
4
4
|
import { UserInfo } from './UserInfo';
|
|
5
|
-
import { CallTopView as DefaultCallTopView } from '../CallTopView';
|
|
6
5
|
import { IncomingCallControls as DefaultIncomingCallControls } from '../CallControls';
|
|
7
6
|
import { useTheme } from '../../../contexts';
|
|
8
7
|
import { useApplyDefaultMediaStreamSettings } from '../../../hooks/useApplyDefaultMediaStreamSettings';
|
|
@@ -18,7 +17,6 @@ import { useApplyDefaultMediaStreamSettings } from '../../../hooks/useApplyDefau
|
|
|
18
17
|
export const IncomingCall = ({
|
|
19
18
|
onAcceptCallHandler,
|
|
20
19
|
onRejectCallHandler,
|
|
21
|
-
CallTopView = DefaultCallTopView,
|
|
22
20
|
IncomingCallControls = DefaultIncomingCallControls,
|
|
23
21
|
landscape
|
|
24
22
|
}) => {
|
|
@@ -36,13 +34,13 @@ export const IncomingCall = ({
|
|
|
36
34
|
const landscapeContentStyles = {
|
|
37
35
|
flexDirection: landscape ? 'row' : 'column'
|
|
38
36
|
};
|
|
39
|
-
return /*#__PURE__*/React.createElement(Background, null,
|
|
37
|
+
return /*#__PURE__*/React.createElement(Background, null, /*#__PURE__*/React.createElement(View, {
|
|
40
38
|
style: [styles.content, landscapeContentStyles, incomingCall.content]
|
|
41
39
|
}, /*#__PURE__*/React.createElement(View, {
|
|
42
40
|
style: [styles.topContainer, incomingCall.topContainer]
|
|
43
41
|
}, /*#__PURE__*/React.createElement(UserInfo, null), /*#__PURE__*/React.createElement(Text, {
|
|
44
42
|
style: [styles.incomingCallText, {
|
|
45
|
-
color: colors.
|
|
43
|
+
color: colors.textPrimary
|
|
46
44
|
}, typefaces.heading6, incomingCall.incomingCallText]
|
|
47
45
|
}, t('Incoming Call...'))), /*#__PURE__*/React.createElement(View, {
|
|
48
46
|
style: [styles.bottomContainer, incomingCall.bottomContainer]
|
|
@@ -81,13 +79,13 @@ const Background = ({
|
|
|
81
79
|
uri: avatarsToShow[0]
|
|
82
80
|
},
|
|
83
81
|
style: [styles.background, {
|
|
84
|
-
backgroundColor: colors.
|
|
82
|
+
backgroundColor: colors.sheetTertiary
|
|
85
83
|
}, incomingCall.background]
|
|
86
84
|
}, children);
|
|
87
85
|
}
|
|
88
86
|
return /*#__PURE__*/React.createElement(View, {
|
|
89
87
|
style: [styles.background, {
|
|
90
|
-
backgroundColor: colors.
|
|
88
|
+
backgroundColor: colors.sheetTertiary
|
|
91
89
|
}, incomingCall.background]
|
|
92
90
|
}, children);
|
|
93
91
|
};
|
|
@@ -99,7 +97,8 @@ export const styles = StyleSheet.create({
|
|
|
99
97
|
flex: 1
|
|
100
98
|
},
|
|
101
99
|
topContainer: {
|
|
102
|
-
flex: 1
|
|
100
|
+
flex: 1,
|
|
101
|
+
justifyContent: 'center'
|
|
103
102
|
},
|
|
104
103
|
incomingCallText: {
|
|
105
104
|
marginTop: 8,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","ImageBackground","StyleSheet","Text","View","useCallStateHooks","useConnectedUser","useI18n","UserInfo","
|
|
1
|
+
{"version":3,"names":["React","ImageBackground","StyleSheet","Text","View","useCallStateHooks","useConnectedUser","useI18n","UserInfo","IncomingCallControls","DefaultIncomingCallControls","useTheme","useApplyDefaultMediaStreamSettings","IncomingCall","onAcceptCallHandler","onRejectCallHandler","landscape","t","theme","colors","incomingCall","typefaces","landscapeContentStyles","flexDirection","createElement","Background","style","styles","content","topContainer","incomingCallText","color","textPrimary","heading6","bottomContainer","incomingCallControls","children","connectedUser","useCallMembers","members","avatarsToShow","filter","user","id","map","image","length","blurRadius","source","uri","background","backgroundColor","sheetTertiary","create","flex","justifyContent","marginTop","textAlign"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/IncomingCall.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACEC,eAAe,EACfC,UAAU,EACVC,IAAI,EACJC,IAAI,QAEC,cAAc;AACrB,SACEC,iBAAiB,EACjBC,gBAAgB,EAChBC,OAAO,QACF,iCAAiC;AACxC,SAASC,QAAQ,QAAQ,YAAY;AACrC,SACEC,oBAAoB,IAAIC,2BAA2B,QAE9C,iBAAiB;AACxB,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,kCAAkC,QAAQ,mDAAmD;;AAEtG;AACA;AACA;;AAaA;AACA;AACA;AACA;AACA,OAAO,MAAMC,YAAY,GAAGA,CAAC;EAC3BC,mBAAmB;EACnBC,mBAAmB;EACnBN,oBAAoB,GAAGC,2BAA2B;EAClDM;AACiB,CAAC,KAAK;EACvB,MAAM;IAAEC;EAAE,CAAC,GAAGV,OAAO,CAAC,CAAC;EACvB,MAAM;IACJW,KAAK,EAAE;MAAEC,MAAM;MAAEC,YAAY;MAAEC;IAAU;EAC3C,CAAC,GAAGV,QAAQ,CAAC,CAAC;EAEdC,kCAAkC,CAAC,CAAC;EAEpC,MAAMU,sBAAiC,GAAG;IACxCC,aAAa,EAAEP,SAAS,GAAG,KAAK,GAAG;EACrC,CAAC;EAED,oBACEhB,KAAA,CAAAwB,aAAA,CAACC,UAAU,qBACTzB,KAAA,CAAAwB,aAAA,CAACpB,IAAI;IACHsB,KAAK,EAAE,CAACC,MAAM,CAACC,OAAO,EAAEN,sBAAsB,EAAEF,YAAY,CAACQ,OAAO;EAAE,gBAEtE5B,KAAA,CAAAwB,aAAA,CAACpB,IAAI;IAACsB,KAAK,EAAE,CAACC,MAAM,CAACE,YAAY,EAAET,YAAY,CAACS,YAAY;EAAE,gBAC5D7B,KAAA,CAAAwB,aAAA,CAAChB,QAAQ,MAAE,CAAC,eACZR,KAAA,CAA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K,CAAC;EAE9C,IAAIL,aAAa,CAACM,MAAM,EAAE;IACxB,oBACE9C,KAAA,CAAAwB,aAAA,CAACvB,eAAe;MACd8C,UAAU,EAAE,EAAG;MACfC,MAAM,EAAE;QACNC,GAAG,EAAET,aAAa,CAAC,CAAC;MACtB,CAAE;MACFd,KAAK,EAAE,CACLC,MAAM,CAACuB,UAAU,EACjB;QAAEC,eAAe,EAAEhC,MAAM,CAACiC;MAAc,CAAC,EACzChC,YAAY,CAAC8B,UAAU;IACvB,GAEDd,QACc,CAAC;EAEtB;EACA,oBACEpC,KAAA,CAAAwB,aAAA,CAACpB,IAAI;IACHsB,KAAK,EAAE,CACLC,MAAM,CAACuB,UAAU,EACjB;MAAEC,eAAe,EAAEhC,MAAM,CAACiC;IAAc,CAAC,EACzChC,YAAY,CAAC8B,UAAU;EACvB,GAEDd,QACG,CAAC;AAEX,CAAC;AAED,OAAO,MAAMT,MAAM,GAAGzB,UAAU,CAACmD,MAAM,CAAC;EACtCH,UAAU,EAAE;IACVI,IAAI,EAAE;EACR,CAAC;EACD1B,OAAO,EAAE;IACP0B,IAAI,EAAE;EACR,CAAC;EACDzB,YAAY,EAAE;IAAEyB,IAAI,EAAE,CAAC;IAAEC,cAAc,EAAE;EAAS,CAAC;EACnDzB,gBAAgB,EAAE;IAChB0B,SAAS,EAAE,CAAC;IACZC,SAAS,EAAE;EACb,CAAC;EACDvB,eAAe,EAAE;IAAEoB,IAAI,EAAE,CAAC;IAAEC,cAAc,EAAE;EAAS,CAAC;EACtDpB,oBAAoB,EAAE;IACpBoB,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -6,7 +6,6 @@ import { useCallStateHooks, useI18n } from '@stream-io/video-react-bindings';
|
|
|
6
6
|
import { RTCView } from '@stream-io/react-native-webrtc';
|
|
7
7
|
import { useTheme } from '../../../contexts/ThemeContext';
|
|
8
8
|
import { OutgoingCallControls as DefaultOutgoingCallControls } from '../CallControls';
|
|
9
|
-
import { CallTopView as DefaultCallTopView } from '../CallTopView';
|
|
10
9
|
import { useCallMediaStreamCleanup } from '../../../hooks/internal/useCallMediaStreamCleanup';
|
|
11
10
|
import { useApplyDefaultMediaStreamSettings } from '../../../hooks/useApplyDefaultMediaStreamSettings';
|
|
12
11
|
|
|
@@ -19,7 +18,6 @@ import { useApplyDefaultMediaStreamSettings } from '../../../hooks/useApplyDefau
|
|
|
19
18
|
* Used after the user has initiated a call.
|
|
20
19
|
*/
|
|
21
20
|
export const OutgoingCall = ({
|
|
22
|
-
CallTopView = DefaultCallTopView,
|
|
23
21
|
OutgoingCallControls = DefaultOutgoingCallControls,
|
|
24
22
|
landscape
|
|
25
23
|
}) => {
|
|
@@ -40,13 +38,13 @@ export const OutgoingCall = ({
|
|
|
40
38
|
};
|
|
41
39
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(View, {
|
|
42
40
|
style: [StyleSheet.absoluteFill, styles.container, outgoingCall.container]
|
|
43
|
-
},
|
|
41
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
44
42
|
style: [styles.content, landscapeContentStyles, outgoingCall.content]
|
|
45
43
|
}, /*#__PURE__*/React.createElement(View, {
|
|
46
44
|
style: [styles.topContainer, outgoingCall.topContainer]
|
|
47
45
|
}, /*#__PURE__*/React.createElement(UserInfo, null), /*#__PURE__*/React.createElement(Text, {
|
|
48
46
|
style: [styles.callingText, {
|
|
49
|
-
color: colors.
|
|
47
|
+
color: colors.textPrimary
|
|
50
48
|
}, typefaces.heading6, outgoingCall.callingText]
|
|
51
49
|
}, t('Calling...'))), /*#__PURE__*/React.createElement(View, {
|
|
52
50
|
style: [styles.bottomContainer, outgoingCall.bottomContainer]
|
|
@@ -72,13 +70,13 @@ const Background = () => {
|
|
|
72
70
|
if (isMute || !localVideoStream) {
|
|
73
71
|
return /*#__PURE__*/React.createElement(View, {
|
|
74
72
|
style: [styles.background, {
|
|
75
|
-
backgroundColor: colors.
|
|
73
|
+
backgroundColor: colors.sheetSecondary
|
|
76
74
|
}, outgoingCall.background]
|
|
77
75
|
});
|
|
78
76
|
}
|
|
79
77
|
return /*#__PURE__*/React.createElement(View, {
|
|
80
78
|
style: [styles.background, {
|
|
81
|
-
backgroundColor: colors.
|
|
79
|
+
backgroundColor: colors.sheetSecondary
|
|
82
80
|
}, outgoingCall.background]
|
|
83
81
|
}, /*#__PURE__*/React.createElement(RTCView, {
|
|
84
82
|
streamURL: localVideoStream.toURL(),
|
|
@@ -96,7 +94,8 @@ const styles = StyleSheet.create({
|
|
|
96
94
|
zIndex: Z_INDEX.IN_MIDDLE
|
|
97
95
|
},
|
|
98
96
|
topContainer: {
|
|
99
|
-
flex: 1
|
|
97
|
+
flex: 1,
|
|
98
|
+
justifyContent: 'center'
|
|
100
99
|
},
|
|
101
100
|
content: {
|
|
102
101
|
flex: 1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","Text","View","UserInfo","Z_INDEX","useCallStateHooks","useI18n","RTCView","useTheme","OutgoingCallControls","DefaultOutgoingCallControls","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","Text","View","UserInfo","Z_INDEX","useCallStateHooks","useI18n","RTCView","useTheme","OutgoingCallControls","DefaultOutgoingCallControls","useCallMediaStreamCleanup","useApplyDefaultMediaStreamSettings","OutgoingCall","landscape","theme","colors","typefaces","outgoingCall","t","landscapeContentStyles","flexDirection","createElement","Fragment","style","absoluteFill","styles","container","content","topContainer","callingText","color","textPrimary","heading6","bottomContainer","outgoingCallControls","Background","useCameraState","isMute","camera","localVideoStream","state","mediaStream","background","backgroundColor","sheetSecondary","streamURL","toURL","zOrder","IN_BACK","mirror","objectFit","create","flex","zIndex","IN_MIDDLE","justifyContent","marginTop","textAlign","alignSelf"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/OutgoingCall.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI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AY,CAACyB,UAAU;IACvB,CACH,CAAC;EAEN;EACA,oBACE5C,KAAA,CAAAuB,aAAA,CAACpB,IAAI;IACHsB,KAAK,EAAE,CACLE,MAAM,CAACiB,UAAU,EACjB;MAAEC,eAAe,EAAE5B,MAAM,CAAC6B;IAAe,CAAC,EAC1C3B,YAAY,CAACyB,UAAU;EACvB,gBAEF5C,KAAA,CAAAuB,aAAA,CAACf,OAAO;IACNuC,SAAS,EAAEN,gBAAgB,CAACO,KAAK,CAAC,CAAE;IACpCC,MAAM,EAAE5C,OAAO,CAAC6C,OAAQ;IACxBzB,KAAK,EAAExB,UAAU,CAACyB,YAAa;IAC/ByB,MAAM;IACNC,SAAS,EAAC;EAAO,CAClB,CACG,CAAC;AAEX,CAAC;AAED,MAAMzB,MAAM,GAAG1B,UAAU,CAACoD,MAAM,CAAC;EAC/BT,UAAU,EAAE;IACVU,IAAI,EAAE;EACR,CAAC;EACD1B,SAAS,EAAE;IACT2B,MAAM,EAAElD,OAAO,CAACmD;EAClB,CAAC;EACD1B,YAAY,EAAE;IAAEwB,IAAI,EAAE,CAAC;IAAEG,cAAc,EAAE;EAAS,CAAC;EACnD5B,OAAO,EAAE;IACPyB,IAAI,EAAE;EACR,CAAC;EACDvB,WAAW,EAAE;IACX2B,SAAS,EAAE,EAAE;IACbC,SAAS,EAAE;EACb,CAAC;EACDxB,eAAe,EAAE;IAAEmB,IAAI,EAAE,CAAC;IAAEM,SAAS,EAAE,QAAQ;IAAEH,cAAc,EAAE;EAAS,CAAC;EAC3ErB,oBAAoB,EAAE;IACpBqB,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -17,7 +17,6 @@ const RingingCallPanel = ({
|
|
|
17
17
|
IncomingCall = DefaultIncomingCall,
|
|
18
18
|
OutgoingCall = DefaultOutgoingCall,
|
|
19
19
|
CallContent = DefaultCallContent,
|
|
20
|
-
CallTopView,
|
|
21
20
|
CallLeftIndicator = DefaultCallLeftIndicator,
|
|
22
21
|
CallPreparingIndicator = DefaultCallPreparingIndicator,
|
|
23
22
|
landscape,
|
|
@@ -32,10 +31,8 @@ const RingingCallPanel = ({
|
|
|
32
31
|
switch (callingState) {
|
|
33
32
|
case CallingState.RINGING:
|
|
34
33
|
return isCallCreatedByMe ? OutgoingCall && /*#__PURE__*/React.createElement(OutgoingCall, {
|
|
35
|
-
CallTopView: CallTopView,
|
|
36
34
|
landscape: landscape
|
|
37
35
|
}) : IncomingCall && /*#__PURE__*/React.createElement(IncomingCall, {
|
|
38
|
-
CallTopView: CallTopView,
|
|
39
36
|
landscape: landscape
|
|
40
37
|
});
|
|
41
38
|
case CallingState.LEFT:
|
|
@@ -48,7 +45,6 @@ const RingingCallPanel = ({
|
|
|
48
45
|
});
|
|
49
46
|
default:
|
|
50
47
|
return CallContent && /*#__PURE__*/React.createElement(CallContent, {
|
|
51
|
-
CallTopView: CallTopView,
|
|
52
48
|
landscape: landscape
|
|
53
49
|
});
|
|
54
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["CallingState","useCall","useCallStateHooks","React","StyleSheet","View","CallContent","DefaultCallContent","IncomingCall","DefaultIncomingCall","OutgoingCall","DefaultOutgoingCall","CallLeftIndicator","DefaultCallLeftIndicator","CallPreparingIndicator","DefaultCallPreparingIndicator","useTheme","RingingCallPanel","
|
|
1
|
+
{"version":3,"names":["CallingState","useCall","useCallStateHooks","React","StyleSheet","View","CallContent","DefaultCallContent","IncomingCall","DefaultIncomingCall","OutgoingCall","DefaultOutgoingCall","CallLeftIndicator","DefaultCallLeftIndicator","CallPreparingIndicator","DefaultCallPreparingIndicator","useTheme","RingingCallPanel","landscape","onBackPress","call","isCallCreatedByMe","isCreatedByMe","useCallCallingState","callingState","RINGING","createElement","LEFT","IDLE","RingingCallContent","props","theme","ringingCallContent","style","styles","container","create","absoluteFillObject"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/RingingCallContent.tsx"],"mappings":"AAAA,SAASA,YAAY,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,iBAAiB;QAACO,WAAW,EAAEA;MAAY,CAAE,CAAC;IAExE,KAAKnB,YAAY,CAAC4B,IAAI;MACpB,OACEd,sBAAsB,iBACpBX,KAAA,CAAAuB,aAAA,CAACZ,sBAAsB;QAACK,WAAW,EAAEA;MAAY,CAAE,CACpD;IAEL;MACE,OAAOb,WAAW,iBAAIH,KAAA,CAAAuB,aAAA,CAACpB,WAAW;QAACY,SAAS,EAAEA;MAAU,CAAE,CAAC;EAC/D;AACF,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMW,kBAAkB,GAAIC,KAA8B,IAAK;EACpE,MAAM;IACJC,KAAK,EAAE;MAAEC;IAAmB;EAC9B,CAAC,GAAGhB,QAAQ,CAAC,CAAC;EACd,oBACEb,KAAA,CAAAuB,aAAA,CAACrB,IAAI;IAAC4B,KAAK,EAAE,CAACC,MAAM,CAACC,SAAS,EAAEH,kBAAkB,CAACG,SAAS;EAAE,gBAC5DhC,KAAA,CAAAuB,aAAA,CAACT,gBAAgB,EAAKa,KAAQ,CAC1B,CAAC;AAEX,CAAC;AAED,MAAMI,MAAM,GAAG9B,UAAU,CAACgC,MAAM,CAAC;EAC/BD,SAAS,EAAE;IACT,GAAG/B,UAAU,CAACiC;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -14,7 +14,7 @@ export const TextBasedIndicator = props => {
|
|
|
14
14
|
} = useTheme();
|
|
15
15
|
return /*#__PURE__*/React.createElement(View, {
|
|
16
16
|
style: [styles.container, {
|
|
17
|
-
backgroundColor: colors.
|
|
17
|
+
backgroundColor: colors.sheetTertiary
|
|
18
18
|
}]
|
|
19
19
|
}, props.onBackPress && /*#__PURE__*/React.createElement(View, {
|
|
20
20
|
style: styles.backContainer
|
|
@@ -28,12 +28,12 @@ export const TextBasedIndicator = props => {
|
|
|
28
28
|
width: iconSizes.md
|
|
29
29
|
}]
|
|
30
30
|
}, /*#__PURE__*/React.createElement(Back, {
|
|
31
|
-
color: colors.
|
|
31
|
+
color: colors.iconPrimary
|
|
32
32
|
}))), /*#__PURE__*/React.createElement(View, {
|
|
33
33
|
style: styles.textContainer
|
|
34
34
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
35
35
|
style: [styles.text, {
|
|
36
|
-
color: colors.
|
|
36
|
+
color: colors.textPrimary
|
|
37
37
|
}, typefaces.heading6]
|
|
38
38
|
}, props.text)));
|
|
39
39
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","View","Text","Pressable","useTheme","Back","TextBasedIndicator","props","theme","colors","typefaces","variants","iconSizes","createElement","style","styles","container","backgroundColor","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","Text","Pressable","useTheme","Back","TextBasedIndicator","props","theme","colors","typefaces","variants","iconSizes","createElement","style","styles","container","backgroundColor","sheetTertiary","onBackPress","backContainer","onPress","pressed","opacity","height","md","width","color","iconPrimary","textContainer","text","textPrimary","heading6","create","flex","padding","paddingTop","justifyContent","alignItems","fontSize"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/TextBasedIndicator.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,EAAEC,SAAS,QAAQ,cAAc;AAChE,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,SAASC,IAAI,QAAQ,qBAAqB;AAO1C,OAAO,MAAMC,kBAAkB,GAAIC,KAA8B,IAAK;EACpE,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,SAAS;MACTC,QAAQ,EAAE;QAAEC;MAAU;IACxB;EACF,CAAC,GAAGR,QAAQ,CAAC,CAAC;EAEd,oBACEL,KAAA,CAAAc,aAAA,CAACZ,IAAI;IAACa,KAAK,EAAE,CAACC,MAAM,CAACC,SAAS,EAAE;MAAEC,eAAe,EAAER,MAAM,CAACS;IAAc,CAAC;EAAE,GACxEX,KAAK,CAACY,WAAW,iBAChBpB,KAAA,CAAAc,aAAA,CAACZ,IAAI;IAACa,KAAK,EAAEC,MAAM,CAACK;EAAc,gBAChCrB,KAAA,CAAAc,aAAA,CAACV,SAAS;IACRkB,OAAO,EAAEd,KAAK,CAACY,WAAY;IAC3BL,KAAK,EAAEA,CAAC;MAAEQ;IAAQ,CAAC,KAAK,CACtB;MACEC,OAAO,EAAED,OAAO,GAAG,GAAG,GAAG,CAAC;MAC1BE,MAAM,EAAEZ,SAAS,CAACa,EAAE;MACpBC,KAAK,EAAEd,SAAS,CAACa;IACnB,CAAC;EACD,gBAEF1B,KAAA,CAAAc,aAAA,CAACR,IAAI;IAACsB,KAAK,EAAElB,MAAM,CAACmB;EAAY,CAAE,CACzB,CACP,CACP,eACD7B,KAAA,CAAAc,aAAA,CAACZ,IAAI;IAACa,KAAK,EAAEC,MAAM,CAACc;EAAc,gBAChC9B,KAAA,CAAAc,aAAA,CAACX,IAAI;IACHY,KAAK,EAAE,CACLC,MAAM,CAACe,IAAI,EACX;MAAEH,KAAK,EAAElB,MAAM,CAACsB;IAAY,CAAC,EAC7BrB,SAAS,CAACsB,QAAQ;EAClB,GAEDzB,KAAK,CAACuB,IACH,CACF,CACF,CAAC;AAEX,CAAC;AAED,MAAMf,MAAM,GAAGf,UAAU,CAACiC,MAAM,CAAC;EAC/BjB,SAAS,EAAE;IACTkB,IAAI,EAAE;EACR,CAAC;EACDd,aAAa,EAAE;IACbe,OAAO,EAAE,CAAC;IACVC,UAAU,EAAE;EACd,CAAC;EACDP,aAAa,EAAE;IACbK,IAAI,EAAE,CAAC;IACPG,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EACd,CAAC;EACDR,IAAI,EAAE;IACJS,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Image","StyleSheet","Text","View","generateCallTitle","useCallStateHooks","useConnectedUser","useTheme","AvatarModes","UserInfo","includeSelf","totalMembersToShow","theme","colors","typefaces","variants","avatarSizes","userInfo","connectedUser","useCallMembers","members","membersToShow","filter","user","user_id","id","slice","map","find","self","splice","memberUserIds","memberToShow","name","callTitle","avatarSizeModes","large","medium","small","mode","length","avatarStyles","height","width","borderRadius","marginVertical","fontStyleByMembersCount","heading5","heading4","createElement","style","styles","container","avatarGroup","image","key","source","uri","color","
|
|
1
|
+
{"version":3,"names":["React","Image","StyleSheet","Text","View","generateCallTitle","useCallStateHooks","useConnectedUser","useTheme","AvatarModes","UserInfo","includeSelf","totalMembersToShow","theme","colors","typefaces","variants","avatarSizes","userInfo","connectedUser","useCallMembers","members","membersToShow","filter","user","user_id","id","slice","map","find","self","splice","memberUserIds","memberToShow","name","callTitle","avatarSizeModes","large","medium","small","mode","length","avatarStyles","height","width","borderRadius","marginVertical","fontStyleByMembersCount","heading5","heading4","createElement","style","styles","container","avatarGroup","image","key","source","uri","color","textPrimary","create","paddingHorizontal","display","flexDirection","justifyContent","flexWrap","textAlign","marginTop"],"sourceRoot":"../../../../../src","sources":["components/Call/RingingCallContent/UserInfo.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AAC5D,SAASC,iBAAiB,QAAQ,gBAAgB;AAClD,SACEC,iBAAiB,EACjBC,gBAAgB,QACX,iCAAiC;AAExC,SAASC,QAAQ,QAAQ,gCAAgC;AAAC,IAErDC,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA,EAAXA,WAAW;AAoBhB,OAAO,MAAMC,QAAQ,GAAGA,CAAC;EACvBC,WAAW,GAAG,KAAK;EACnBC,kBAAkB,GAAG;AACT,CAAC,KAAK;EAClB,MAAM;IACJC,KAAK,EAAE;MACLC,MAAM;MACNC,SAAS;MACTC,QAAQ,EAAE;QAAEC;MAAY,CAAC;MACzBC;IACF;EACF,CAAC,GAAGV,QAAQ,CAAC,CAAC;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TS,iBAAiB,EAAE,EAAE;IACrBC,OAAO,EAAE,MAAM;IACfC,aAAa,EAAE,QAAQ;IACvBC,cAAc,EAAE;EAClB,CAAC;EACDX,WAAW,EAAE;IACXS,OAAO,EAAE,MAAM;IACfC,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,cAAc;IAC9BC,QAAQ,EAAE;EACZ,CAAC;EACDhC,IAAI,EAAE;IACJiC,SAAS,EAAE,QAAQ;IACnBC,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Call/index.ts"],"mappings":"AAAA,cAAc,eAAe;AAC7B,cAAc,
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Call/index.ts"],"mappings":"AAAA,cAAc,eAAe;AAC7B,cAAc,cAAc;AAC5B,cAAc,gBAAgB;AAC9B,cAAc,wBAAwB;AACtC,cAAc,sBAAsB;AACpC,cAAc,SAAS","ignoreList":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useEffect } from 'react';
|
|
1
|
+
import React, { useEffect, useMemo } from 'react';
|
|
2
2
|
import { StyleSheet, View } from 'react-native';
|
|
3
3
|
import InCallManager from 'react-native-incall-manager';
|
|
4
4
|
import { useTheme } from '../../../contexts';
|
|
@@ -34,6 +34,7 @@ export const HostLivestream = ({
|
|
|
34
34
|
hls,
|
|
35
35
|
disableStopPublishedStreamsOnEndStream
|
|
36
36
|
}) => {
|
|
37
|
+
const styles = useStyles();
|
|
37
38
|
const {
|
|
38
39
|
theme: {
|
|
39
40
|
colors,
|
|
@@ -67,7 +68,7 @@ export const HostLivestream = ({
|
|
|
67
68
|
};
|
|
68
69
|
return /*#__PURE__*/React.createElement(View, {
|
|
69
70
|
style: [styles.container, {
|
|
70
|
-
backgroundColor: colors.
|
|
71
|
+
backgroundColor: colors.sheetTertiary
|
|
71
72
|
}, hostLivestream.container]
|
|
72
73
|
}, HostLivestreamTopView && /*#__PURE__*/React.createElement(View, {
|
|
73
74
|
style: styles.topViewContainer,
|
|
@@ -94,23 +95,33 @@ export const HostLivestream = ({
|
|
|
94
95
|
disableStopPublishedStreamsOnEndStream: disableStopPublishedStreamsOnEndStream
|
|
95
96
|
}));
|
|
96
97
|
};
|
|
97
|
-
const
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
98
|
+
const useStyles = () => {
|
|
99
|
+
const {
|
|
100
|
+
theme
|
|
101
|
+
} = useTheme();
|
|
102
|
+
return useMemo(() => StyleSheet.create({
|
|
103
|
+
container: {
|
|
104
|
+
flex: 1,
|
|
105
|
+
paddingBottom: theme.variants.insets.bottom,
|
|
106
|
+
paddingLeft: theme.variants.insets.left,
|
|
107
|
+
paddingRight: theme.variants.insets.right,
|
|
108
|
+
paddingTop: theme.variants.insets.top,
|
|
109
|
+
backgroundColor: theme.colors.sheetPrimary
|
|
110
|
+
},
|
|
111
|
+
topViewContainer: {
|
|
112
|
+
position: 'absolute',
|
|
113
|
+
top: 0,
|
|
114
|
+
left: 0,
|
|
115
|
+
right: 0,
|
|
116
|
+
zIndex: Z_INDEX.IN_FRONT
|
|
117
|
+
},
|
|
118
|
+
controlsViewContainer: {
|
|
119
|
+
position: 'absolute',
|
|
120
|
+
bottom: 0,
|
|
121
|
+
left: 0,
|
|
122
|
+
right: 0,
|
|
123
|
+
zIndex: Z_INDEX.IN_FRONT
|
|
124
|
+
}
|
|
125
|
+
}), [theme]);
|
|
126
|
+
};
|
|
116
127
|
//# sourceMappingURL=HostLivestream.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","StyleSheet","View","InCallManager","useTheme","HostLivestreamTopView","DefaultHostLivestreamTopView","HostLivestreamControls","DefaultHostLivestreamControls","LivestreamLayout","DefaultLivestreamLayout","Z_INDEX","FloatingParticipantView","DefaultFloatingParticipantView","useCallStateHooks","hasVideo","ScreenShareOverlay","DefaultScreenShaerOverlay","HostLivestream","LiveIndicator","FollowerCount","DurationBadge","HostStartStreamButton","LivestreamMediaControls","onEndStreamHandler","onStartStreamHandler","hls","disableStopPublishedStreamsOnEndStream","theme","colors","hostLivestream","useParticipants","useHasOngoingScreenShare","currentSpeaker","hasOngoingScreenShare","floatingParticipant","start","media","stop","topViewHeight","setTopViewHeight","useState","controlsHeight","setControlsHeight","topViewProps","onLayout","event","nativeEvent","layout","height","createElement","style","
|
|
1
|
+
{"version":3,"names":["React","useEffect","useMemo","StyleSheet","View","InCallManager","useTheme","HostLivestreamTopView","DefaultHostLivestreamTopView","HostLivestreamControls","DefaultHostLivestreamControls","LivestreamLayout","DefaultLivestreamLayout","Z_INDEX","FloatingParticipantView","DefaultFloatingParticipantView","useCallStateHooks","hasVideo","ScreenShareOverlay","DefaultScreenShaerOverlay","HostLivestream","LiveIndicator","FollowerCount","DurationBadge","HostStartStreamButton","LivestreamMediaControls","onEndStreamHandler","onStartStreamHandler","hls","disableStopPublishedStreamsOnEndStream","styles","useStyles","theme","colors","hostLivestream","useParticipants","useHasOngoingScreenShare","currentSpeaker","hasOngoingScreenShare","floatingParticipant","start","media","stop","topViewHeight","setTopViewHeight","useState","controlsHeight","setControlsHeight","topViewProps","onLayout","event","nativeEvent","layout","height","createElement","style","container","backgroundColor","sheetTertiary","topViewContainer","participant","draggableContainerStyle","absoluteFill","top","bottom","create","flex","paddingBottom","variants","insets","paddingLeft","left","paddingRight","right","paddingTop","sheetPrimary","position","zIndex","IN_FRONT","controlsViewContainer"],"sourceRoot":"../../../../../src","sources":["components/Livestream/HostLivestream/HostLivestream.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC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AK,EAAE,CAAC;MACRI,MAAM,EAAEhE,OAAO,CAACiE;IAClB,CAAC;IACDC,qBAAqB,EAAE;MACrBH,QAAQ,EAAE,UAAU;MACpBZ,MAAM,EAAE,CAAC;MACTO,IAAI,EAAE,CAAC;MACPE,KAAK,EAAE,CAAC;MACRI,MAAM,EAAEhE,OAAO,CAACiE;IAClB;EACF,CAAC,CAAC,EACJ,CAAC9C,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -29,7 +29,7 @@ export const HostLivestreamControls = ({
|
|
|
29
29
|
} = useTheme();
|
|
30
30
|
return /*#__PURE__*/React.createElement(View, {
|
|
31
31
|
style: [styles.container, {
|
|
32
|
-
backgroundColor: colors.
|
|
32
|
+
backgroundColor: colors.sheetOverlay
|
|
33
33
|
}, hostLivestreamControls.container],
|
|
34
34
|
onLayout: onLayout
|
|
35
35
|
}, /*#__PURE__*/React.createElement(View, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","View","HostStartStreamButton","DefaultHostStartStreamButton","LivestreamMediaControls","DefaultLivestreamMediaControls","useTheme","Z_INDEX","HostLivestreamControls","onEndStreamHandler","onStartStreamHandler","hls","disableStopPublishedStreamsOnEndStream","onLayout","theme","colors","hostLivestreamControls","createElement","style","styles","container","backgroundColor","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","HostStartStreamButton","DefaultHostStartStreamButton","LivestreamMediaControls","DefaultLivestreamMediaControls","useTheme","Z_INDEX","HostLivestreamControls","onEndStreamHandler","onStartStreamHandler","hls","disableStopPublishedStreamsOnEndStream","onLayout","theme","colors","hostLivestreamControls","createElement","style","styles","container","backgroundColor","sheetOverlay","leftElement","rightElement","create","position","bottom","flexDirection","alignItems","paddingVertical","paddingHorizontal","zIndex","IN_FRONT","flex"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamControls/HostLivestreamControls.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SA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CACF,CAAC;AAEX,CAAC;AAED,MAAMe,MAAM,GAAGnB,UAAU,CAACyB,MAAM,CAAC;EAC/BL,SAAS,EAAE;IACTM,QAAQ,EAAE,UAAU;IACpBC,MAAM,EAAE,CAAC;IACTC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,eAAe,EAAE,EAAE;IACnBC,iBAAiB,EAAE,CAAC;IACpBC,MAAM,EAAEzB,OAAO,CAAC0B;EAClB,CAAC;EACDV,WAAW,EAAE;IACXW,IAAI,EAAE,CAAC;IACPL,UAAU,EAAE;EACd,CAAC;EACDL,YAAY,EAAE;IACZU,IAAI,EAAE,CAAC;IACPL,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -80,7 +80,7 @@ export const HostStartStreamButton = ({
|
|
|
80
80
|
return /*#__PURE__*/React.createElement(Pressable, {
|
|
81
81
|
disabled: isAwaitingResponse,
|
|
82
82
|
style: [styles.container, {
|
|
83
|
-
backgroundColor: isAwaitingResponse ? colors.
|
|
83
|
+
backgroundColor: isAwaitingResponse ? colors.sheetTertiary : liveOrBroadcasting ? colors.buttonWarning : colors.buttonPrimary
|
|
84
84
|
}, hostStartStreamButton.container],
|
|
85
85
|
onPress: liveOrBroadcasting ? onEndStreamButtonPress : onStartStreamButtonPress
|
|
86
86
|
}, /*#__PURE__*/React.createElement(View, {
|
|
@@ -90,7 +90,7 @@ export const HostStartStreamButton = ({
|
|
|
90
90
|
}, hostStartStreamButton.icon]
|
|
91
91
|
}, isAwaitingResponse ? /*#__PURE__*/React.createElement(ActivityIndicator, null) : liveOrBroadcasting ? /*#__PURE__*/React.createElement(EndBroadcastIcon, null) : /*#__PURE__*/React.createElement(StartStreamIcon, null)), /*#__PURE__*/React.createElement(Text, {
|
|
92
92
|
style: [styles.text, typefaces.subtitleBold, {
|
|
93
|
-
color: colors.
|
|
93
|
+
color: colors.textPrimary
|
|
94
94
|
}, hostStartStreamButton.text]
|
|
95
95
|
}, isAwaitingResponse ? t('Loading...') : liveOrBroadcasting ? t('Stop Livestream') : t('Start Livestream')));
|
|
96
96
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useCall","useCallStateHooks","useI18n","React","useState","ActivityIndicator","Pressable","StyleSheet","Text","View","useTheme","EndBroadcastIcon","StartStreamIcon","SfuModels","getLogger","HostStartStreamButton","onEndStreamHandler","onStartStreamHandler","hls","disableStopPublishedStreamsOnEndStream","isAwaitingResponse","setIsAwaitingResponse","useIsCallLive","useIsCallHLSBroadcastingInProgress","theme","colors","variants","iconSizes","typefaces","hostStartStreamButton","call","isCallLive","isCallBroadcasting","t","liveOrBroadcasting","onStartStreamButtonPress","goLive","startHLS","error","logger","onEndStreamButtonPress","stopPublish","TrackType","VIDEO","SCREEN_SHARE","stopHLS","stopLive","createElement","disabled","style","styles","container","backgroundColor","
|
|
1
|
+
{"version":3,"names":["useCall","useCallStateHooks","useI18n","React","useState","ActivityIndicator","Pressable","StyleSheet","Text","View","useTheme","EndBroadcastIcon","StartStreamIcon","SfuModels","getLogger","HostStartStreamButton","onEndStreamHandler","onStartStreamHandler","hls","disableStopPublishedStreamsOnEndStream","isAwaitingResponse","setIsAwaitingResponse","useIsCallLive","useIsCallHLSBroadcastingInProgress","theme","colors","variants","iconSizes","typefaces","hostStartStreamButton","call","isCallLive","isCallBroadcasting","t","liveOrBroadcasting","onStartStreamButtonPress","goLive","startHLS","error","logger","onEndStreamButtonPress","stopPublish","TrackType","VIDEO","SCREEN_SHARE","stopHLS","stopLive","createElement","disabled","style","styles","container","backgroundColor","sheetTertiary","buttonWarning","buttonPrimary","onPress","icon","height","xs","width","text","subtitleBold","color","textPrimary","create","flexDirection","alignItems","padding","borderRadius","marginLeft","includeFontPadding"],"sourceRoot":"../../../../../src","sources":["components/Livestream/LivestreamControls/HostStartStreamButton.tsx"],"mappings":"AAAA,SACEA,OAAO,EACPC,iBAAiB,EACjBC,OAAO,QACF,iCAAiC;AACxC,OAAOC,KAA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