@stream-io/video-react-native-sdk 1.39.0 → 1.40.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 +24 -6
- package/android/src/main/java/com/streamvideo/reactnative/StreamVideoReactNativeModule.kt +81 -0
- package/android/src/main/java/com/streamvideo/reactnative/recorder/AudioPipeline.kt +436 -0
- package/android/src/main/java/com/streamvideo/reactnative/recorder/EncoderConstants.kt +17 -0
- package/android/src/main/java/com/streamvideo/reactnative/recorder/PipelineHost.kt +36 -0
- package/android/src/main/java/com/streamvideo/reactnative/recorder/RecorderPlaybackSamplesSink.kt +60 -0
- package/android/src/main/java/com/streamvideo/reactnative/recorder/RecorderVideoSink.kt +31 -0
- package/android/src/main/java/com/streamvideo/reactnative/recorder/TracksRecorderManager.kt +338 -0
- package/android/src/main/java/com/streamvideo/reactnative/recorder/VideoPipeline.kt +472 -0
- package/dist/commonjs/components/Call/CallContent/CallContent.js +93 -48
- package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
- package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js +22 -20
- package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
- package/dist/commonjs/components/Call/CallContent/RTCViewPipNative.js +2 -1
- package/dist/commonjs/components/Call/CallContent/RTCViewPipNative.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/CallControls.js +7 -5
- package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +11 -8
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +11 -9
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js +5 -3
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js +12 -9
- package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ReactionsButton.js +22 -15
- package/dist/commonjs/components/Call/CallControls/ReactionsButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +10 -6
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js +15 -11
- package/dist/commonjs/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +13 -9
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +18 -13
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +17 -12
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +13 -9
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +17 -12
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +39 -34
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +17 -12
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +36 -24
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +30 -28
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +10 -7
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/Lobby.js +45 -35
- package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
- package/dist/commonjs/components/Call/Lobby/LobbyFooter.js +21 -16
- package/dist/commonjs/components/Call/Lobby/LobbyFooter.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js +2 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js +2 -1
- package/dist/commonjs/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +32 -22
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +37 -27
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +13 -11
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js +28 -22
- package/dist/commonjs/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +25 -22
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -1
- package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +38 -34
- package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +16 -12
- package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +16 -12
- package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +19 -14
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js +5 -3
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +19 -16
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +19 -14
- package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +11 -8
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +78 -57
- package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +13 -46
- package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamEnded.js +48 -22
- package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamEnded.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +7 -5
- package/dist/commonjs/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +12 -9
- package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +11 -7
- package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +18 -13
- package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +10 -7
- package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
- package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +18 -13
- package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +41 -37
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLobby.js +33 -23
- package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLobby.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +18 -15
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +20 -16
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +55 -48
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +64 -52
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +30 -27
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +11 -7
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +17 -14
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +27 -24
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js +8 -7
- package/dist/commonjs/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
- package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer/index.js +35 -32
- package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer/index.js.map +1 -1
- package/dist/commonjs/components/utility/Avatar.js +18 -15
- package/dist/commonjs/components/utility/Avatar.js.map +1 -1
- package/dist/commonjs/components/utility/ScreenShareOverlay.js +35 -29
- package/dist/commonjs/components/utility/ScreenShareOverlay.js.map +1 -1
- package/dist/commonjs/contexts/BackgroundFilters.js +5 -3
- package/dist/commonjs/contexts/BackgroundFilters.js.map +1 -1
- package/dist/commonjs/contexts/ThemeContext.js +5 -3
- package/dist/commonjs/contexts/ThemeContext.js.map +1 -1
- package/dist/commonjs/contexts/internal/ScreenshotIosContext.js +5 -3
- package/dist/commonjs/contexts/internal/ScreenshotIosContext.js.map +1 -1
- package/dist/commonjs/hooks/index.js +11 -0
- package/dist/commonjs/hooks/index.js.map +1 -1
- package/dist/commonjs/hooks/useAutoEnterPiPEffect.js +5 -10
- package/dist/commonjs/hooks/useAutoEnterPiPEffect.js.map +1 -1
- package/dist/commonjs/hooks/useLoopbackRecording.js +263 -0
- package/dist/commonjs/hooks/useLoopbackRecording.js.map +1 -0
- package/dist/commonjs/hooks/useModeration.js +4 -1
- package/dist/commonjs/hooks/useModeration.js.map +1 -1
- package/dist/commonjs/icons/Back.js +8 -6
- package/dist/commonjs/icons/Back.js.map +1 -1
- package/dist/commonjs/icons/BadNetwork.js +11 -9
- package/dist/commonjs/icons/BadNetwork.js.map +1 -1
- package/dist/commonjs/icons/CameraSwitch.js +8 -6
- package/dist/commonjs/icons/CameraSwitch.js.map +1 -1
- package/dist/commonjs/icons/EndStreamIcon.js +8 -6
- package/dist/commonjs/icons/EndStreamIcon.js.map +1 -1
- package/dist/commonjs/icons/Eye.js +8 -6
- package/dist/commonjs/icons/Eye.js.map +1 -1
- package/dist/commonjs/icons/IconWrapper.js +5 -3
- package/dist/commonjs/icons/IconWrapper.js.map +1 -1
- package/dist/commonjs/icons/LivestreamControls.js +44 -39
- package/dist/commonjs/icons/LivestreamControls.js.map +1 -1
- package/dist/commonjs/icons/Lock.js +8 -6
- package/dist/commonjs/icons/Lock.js.map +1 -1
- package/dist/commonjs/icons/Maximize.js +33 -31
- package/dist/commonjs/icons/Maximize.js.map +1 -1
- package/dist/commonjs/icons/Mic.js +8 -6
- package/dist/commonjs/icons/Mic.js.map +1 -1
- package/dist/commonjs/icons/MicOff.js +8 -6
- package/dist/commonjs/icons/MicOff.js.map +1 -1
- package/dist/commonjs/icons/Phone.js +8 -6
- package/dist/commonjs/icons/Phone.js.map +1 -1
- package/dist/commonjs/icons/PhoneDown.js +8 -6
- package/dist/commonjs/icons/PhoneDown.js.map +1 -1
- package/dist/commonjs/icons/PinVertical.js +8 -6
- package/dist/commonjs/icons/PinVertical.js.map +1 -1
- package/dist/commonjs/icons/Reaction.js +8 -6
- package/dist/commonjs/icons/Reaction.js.map +1 -1
- package/dist/commonjs/icons/ScreenShare.js +8 -6
- package/dist/commonjs/icons/ScreenShare.js.map +1 -1
- package/dist/commonjs/icons/ScreenShareIndicator.js +21 -18
- package/dist/commonjs/icons/ScreenShareIndicator.js.map +1 -1
- package/dist/commonjs/icons/StartStreamIcon.js +8 -6
- package/dist/commonjs/icons/StartStreamIcon.js.map +1 -1
- package/dist/commonjs/icons/StopScreenShare.js +11 -9
- package/dist/commonjs/icons/StopScreenShare.js.map +1 -1
- package/dist/commonjs/icons/Video.js +8 -6
- package/dist/commonjs/icons/Video.js.map +1 -1
- package/dist/commonjs/icons/VideoSlash.js +8 -6
- package/dist/commonjs/icons/VideoSlash.js.map +1 -1
- package/dist/commonjs/icons/index.js +0 -66
- package/dist/commonjs/icons/index.js.map +1 -1
- package/dist/commonjs/package.json +1 -0
- package/dist/commonjs/providers/BusyTonePlayer.js +7 -7
- package/dist/commonjs/providers/BusyTonePlayer.js.map +1 -1
- package/dist/commonjs/providers/NoiseCancellation/NoiseCancellationProvider.js +5 -3
- package/dist/commonjs/providers/NoiseCancellation/NoiseCancellationProvider.js.map +1 -1
- package/dist/commonjs/providers/StreamCall/AppStateListener.js +3 -0
- package/dist/commonjs/providers/StreamCall/AppStateListener.js.map +1 -1
- package/dist/commonjs/providers/StreamCall/DeviceStats.js +1 -1
- package/dist/commonjs/providers/StreamCall/DeviceStats.js.map +1 -1
- package/dist/commonjs/providers/StreamCall/index.js +5 -3
- package/dist/commonjs/providers/StreamCall/index.js.map +1 -1
- package/dist/commonjs/providers/StreamVideo.js +10 -5
- package/dist/commonjs/providers/StreamVideo.js.map +1 -1
- package/dist/commonjs/utils/StreamVideoRN/index.js +0 -1
- package/dist/commonjs/utils/StreamVideoRN/index.js.map +1 -1
- package/dist/commonjs/utils/internal/callingx/callingx.js +4 -4
- package/dist/commonjs/utils/internal/callingx/callingx.js.map +1 -1
- package/dist/commonjs/utils/internal/registerSDKGlobals.js +2 -2
- package/dist/commonjs/utils/internal/registerSDKGlobals.js.map +1 -1
- package/dist/commonjs/utils/push/libs/firebaseMessaging/index.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/module/components/Call/CallContent/CallContent.js +95 -48
- package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
- package/dist/module/components/Call/CallContent/RTCViewPipIOS.js +24 -20
- package/dist/module/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
- package/dist/module/components/Call/CallContent/RTCViewPipNative.js +4 -1
- package/dist/module/components/Call/CallContent/RTCViewPipNative.js.map +1 -1
- package/dist/module/components/Call/CallContent/index.js +2 -0
- package/dist/module/components/Call/CallContent/index.js.map +1 -1
- package/dist/module/components/Call/CallControls/AcceptCallButton.js +12 -7
- package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/CallControls.js +9 -6
- package/dist/module/components/Call/CallControls/CallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/CallControlsButton.js +13 -8
- package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/HangupCallButton.js +12 -7
- package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/IncomingCallControls.js +13 -10
- package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/LobbyControls.js +7 -3
- package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/OutgoingCallControls.js +14 -10
- package/dist/module/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
- package/dist/module/components/Call/CallControls/ReactionsButton.js +24 -16
- package/dist/module/components/Call/CallControls/ReactionsButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/RejectCallButton.js +12 -7
- package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js +17 -12
- package/dist/module/components/Call/CallControls/ScreenShareToggleButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +15 -10
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +20 -14
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +19 -13
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +15 -10
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +19 -13
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
- package/dist/module/components/Call/CallControls/index.js +2 -0
- package/dist/module/components/Call/CallControls/index.js.map +1 -1
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +41 -34
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +19 -13
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +38 -25
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
- package/dist/module/components/Call/CallLayout/index.js +2 -0
- package/dist/module/components/Call/CallLayout/index.js.map +1 -1
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +32 -28
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
- package/dist/module/components/Call/CallParticipantsList/index.js +2 -0
- package/dist/module/components/Call/CallParticipantsList/index.js.map +1 -1
- package/dist/module/components/Call/Lobby/JoinCallButton.js +12 -8
- package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/module/components/Call/Lobby/Lobby.js +47 -36
- package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
- package/dist/module/components/Call/Lobby/LobbyFooter.js +23 -17
- package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -1
- package/dist/module/components/Call/Lobby/index.js +2 -0
- package/dist/module/components/Call/Lobby/index.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js +4 -1
- package/dist/module/components/Call/RingingCallContent/CallLeftIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js +4 -1
- package/dist/module/components/Call/RingingCallContent/CallPreparingIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js +34 -23
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +39 -28
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +15 -12
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js +30 -22
- package/dist/module/components/Call/RingingCallContent/TextBasedIndicator.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/UserInfo.js +27 -22
- package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -1
- package/dist/module/components/Call/RingingCallContent/index.js +2 -0
- package/dist/module/components/Call/RingingCallContent/index.js.map +1 -1
- package/dist/module/components/Call/index.js +2 -0
- package/dist/module/components/Call/index.js.map +1 -1
- package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +40 -35
- package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -1
- package/dist/module/components/Livestream/HostLivestream/index.js +2 -0
- package/dist/module/components/Livestream/HostLivestream/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +18 -13
- package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +18 -13
- package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +21 -14
- package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js +7 -4
- package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js +21 -16
- package/dist/module/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +21 -14
- package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +13 -9
- package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +80 -58
- package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamControls/index.js +2 -0
- package/dist/module/components/Livestream/LivestreamControls/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +14 -46
- package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamLayout/index.js +2 -0
- package/dist/module/components/Livestream/LivestreamLayout/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamPlayer/LivestreamEnded.js +52 -25
- package/dist/module/components/Livestream/LivestreamPlayer/LivestreamEnded.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js +9 -5
- package/dist/module/components/Livestream/LivestreamPlayer/LivestreamPlayer.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamPlayer/index.js +2 -0
- package/dist/module/components/Livestream/LivestreamPlayer/index.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +14 -10
- package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +13 -8
- package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +20 -14
- package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +12 -8
- package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +20 -14
- package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -1
- package/dist/module/components/Livestream/LivestreamTopView/index.js +2 -0
- package/dist/module/components/Livestream/LivestreamTopView/index.js.map +1 -1
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +43 -38
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -1
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLobby.js +35 -23
- package/dist/module/components/Livestream/ViewerLivestream/ViewerLobby.js.map +1 -1
- package/dist/module/components/Livestream/ViewerLivestream/index.js +2 -0
- package/dist/module/components/Livestream/ViewerLivestream/index.js.map +1 -1
- package/dist/module/components/Livestream/index.js +2 -0
- package/dist/module/components/Livestream/index.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +20 -15
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +22 -16
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js +2 -0
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js +2 -0
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/index.js +56 -49
- package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -1
- package/dist/module/components/Participant/FloatingParticipantView/useFloatingVideoDimensions.js +2 -0
- package/dist/module/components/Participant/FloatingParticipantView/useFloatingVideoDimensions.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +66 -53
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +32 -28
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +13 -8
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +19 -15
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js +29 -24
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js +10 -8
- package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/VideoRenderer/TrackSubscriber.js +2 -0
- package/dist/module/components/Participant/ParticipantView/VideoRenderer/TrackSubscriber.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/VideoRenderer/index.js +37 -31
- package/dist/module/components/Participant/ParticipantView/VideoRenderer/index.js.map +1 -1
- package/dist/module/components/Participant/ParticipantView/index.js +2 -0
- package/dist/module/components/Participant/ParticipantView/index.js.map +1 -1
- package/dist/module/components/Participant/index.js +2 -0
- package/dist/module/components/Participant/index.js.map +1 -1
- package/dist/module/components/index.js +2 -0
- package/dist/module/components/index.js.map +1 -1
- package/dist/module/components/utility/Avatar.js +20 -16
- package/dist/module/components/utility/Avatar.js.map +1 -1
- package/dist/module/components/utility/ScreenShareOverlay.js +37 -30
- package/dist/module/components/utility/ScreenShareOverlay.js.map +1 -1
- package/dist/module/components/utility/index.js +2 -0
- package/dist/module/components/utility/index.js.map +1 -1
- package/dist/module/constants/TestIds.js +2 -0
- package/dist/module/constants/TestIds.js.map +1 -1
- package/dist/module/constants/index.js +2 -0
- package/dist/module/constants/index.js.map +1 -1
- package/dist/module/contexts/BackgroundFilters.js +7 -4
- package/dist/module/contexts/BackgroundFilters.js.map +1 -1
- package/dist/module/contexts/ThemeContext.js +7 -4
- package/dist/module/contexts/ThemeContext.js.map +1 -1
- package/dist/module/contexts/index.js +2 -0
- package/dist/module/contexts/index.js.map +1 -1
- package/dist/module/contexts/internal/BackgroundFiltersContext.js +2 -0
- package/dist/module/contexts/internal/BackgroundFiltersContext.js.map +1 -1
- package/dist/module/contexts/internal/ScreenshotIosContext.js +7 -3
- package/dist/module/contexts/internal/ScreenshotIosContext.js.map +1 -1
- package/dist/module/hooks/index.js +3 -0
- package/dist/module/hooks/index.js.map +1 -1
- package/dist/module/hooks/push/index.js +2 -0
- package/dist/module/hooks/push/index.js.map +1 -1
- package/dist/module/hooks/push/useCallingExpWithCallingStateEffect.js +2 -0
- package/dist/module/hooks/push/useCallingExpWithCallingStateEffect.js.map +1 -1
- package/dist/module/hooks/push/useInitAndroidTokenAndRest.js +2 -0
- package/dist/module/hooks/push/useInitAndroidTokenAndRest.js.map +1 -1
- package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js +2 -0
- package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
- package/dist/module/hooks/useAndroidKeepCallAliveEffect.js +2 -0
- package/dist/module/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
- package/dist/module/hooks/useAutoEnterPiPEffect.js +7 -10
- package/dist/module/hooks/useAutoEnterPiPEffect.js.map +1 -1
- package/dist/module/hooks/useIsInPiPMode.js +2 -0
- package/dist/module/hooks/useIsInPiPMode.js.map +1 -1
- package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js +2 -0
- package/dist/module/hooks/useIsIosScreenshareBroadcastStarted.js.map +1 -1
- package/dist/module/hooks/useLoopbackRecording.js +260 -0
- package/dist/module/hooks/useLoopbackRecording.js.map +1 -0
- package/dist/module/hooks/useModeration.js +6 -1
- package/dist/module/hooks/useModeration.js.map +1 -1
- package/dist/module/hooks/usePaginatedLayoutSortPreset.js +2 -0
- package/dist/module/hooks/usePaginatedLayoutSortPreset.js.map +1 -1
- package/dist/module/hooks/usePermissionNotification.js +2 -0
- package/dist/module/hooks/usePermissionNotification.js.map +1 -1
- package/dist/module/hooks/usePermissionRequest.js +2 -0
- package/dist/module/hooks/usePermissionRequest.js.map +1 -1
- package/dist/module/hooks/useScreenShareAudioMixing.js +2 -0
- package/dist/module/hooks/useScreenShareAudioMixing.js.map +1 -1
- package/dist/module/hooks/useScreenShareButton.js +2 -0
- package/dist/module/hooks/useScreenShareButton.js.map +1 -1
- package/dist/module/hooks/useScreenshot.js +2 -0
- package/dist/module/hooks/useScreenshot.js.map +1 -1
- package/dist/module/hooks/useTrackDimensions.js +2 -0
- package/dist/module/hooks/useTrackDimensions.js.map +1 -1
- package/dist/module/icons/Back.js +10 -6
- package/dist/module/icons/Back.js.map +1 -1
- package/dist/module/icons/BadNetwork.js +13 -9
- package/dist/module/icons/BadNetwork.js.map +1 -1
- package/dist/module/icons/CameraSwitch.js +10 -6
- package/dist/module/icons/CameraSwitch.js.map +1 -1
- package/dist/module/icons/EndStreamIcon.js +10 -6
- package/dist/module/icons/EndStreamIcon.js.map +1 -1
- package/dist/module/icons/Eye.js +10 -6
- package/dist/module/icons/Eye.js.map +1 -1
- package/dist/module/icons/IconWrapper.js +7 -3
- package/dist/module/icons/IconWrapper.js.map +1 -1
- package/dist/module/icons/LivestreamControls.js +46 -39
- package/dist/module/icons/LivestreamControls.js.map +1 -1
- package/dist/module/icons/Lock.js +10 -6
- package/dist/module/icons/Lock.js.map +1 -1
- package/dist/module/icons/Maximize.js +35 -31
- package/dist/module/icons/Maximize.js.map +1 -1
- package/dist/module/icons/Mic.js +10 -6
- package/dist/module/icons/Mic.js.map +1 -1
- package/dist/module/icons/MicOff.js +10 -6
- package/dist/module/icons/MicOff.js.map +1 -1
- package/dist/module/icons/Phone.js +10 -6
- package/dist/module/icons/Phone.js.map +1 -1
- package/dist/module/icons/PhoneDown.js +10 -6
- package/dist/module/icons/PhoneDown.js.map +1 -1
- package/dist/module/icons/PinVertical.js +10 -6
- package/dist/module/icons/PinVertical.js.map +1 -1
- package/dist/module/icons/Reaction.js +10 -6
- package/dist/module/icons/Reaction.js.map +1 -1
- package/dist/module/icons/ScreenShare.js +10 -6
- package/dist/module/icons/ScreenShare.js.map +1 -1
- package/dist/module/icons/ScreenShareIndicator.js +23 -18
- package/dist/module/icons/ScreenShareIndicator.js.map +1 -1
- package/dist/module/icons/StartStreamIcon.js +10 -6
- package/dist/module/icons/StartStreamIcon.js.map +1 -1
- package/dist/module/icons/StopScreenShare.js +13 -9
- package/dist/module/icons/StopScreenShare.js.map +1 -1
- package/dist/module/icons/Video.js +10 -6
- package/dist/module/icons/Video.js.map +1 -1
- package/dist/module/icons/VideoSlash.js +10 -6
- package/dist/module/icons/VideoSlash.js.map +1 -1
- package/dist/module/icons/index.js +2 -6
- package/dist/module/icons/index.js.map +1 -1
- package/dist/module/index.js +2 -0
- package/dist/module/index.js.map +1 -1
- package/dist/module/modules/ScreenShareAudioManager.js +2 -0
- package/dist/module/modules/ScreenShareAudioManager.js.map +1 -1
- package/dist/module/modules/call-manager/CallManager.js +2 -0
- package/dist/module/modules/call-manager/CallManager.js.map +1 -1
- package/dist/module/modules/call-manager/PrevLibDetection.js +2 -0
- package/dist/module/modules/call-manager/PrevLibDetection.js.map +1 -1
- package/dist/module/modules/call-manager/index.js +2 -0
- package/dist/module/modules/call-manager/index.js.map +1 -1
- package/dist/module/modules/call-manager/native-module.d.js +2 -0
- package/dist/module/modules/call-manager/native-module.d.js.map +1 -1
- package/dist/module/modules/call-manager/types.js +1 -1
- package/dist/module/providers/BusyTonePlayer.js +9 -7
- package/dist/module/providers/BusyTonePlayer.js.map +1 -1
- package/dist/module/providers/NoiseCancellation/NoiseCancellationProvider.js +7 -4
- package/dist/module/providers/NoiseCancellation/NoiseCancellationProvider.js.map +1 -1
- package/dist/module/providers/NoiseCancellation/index.js +2 -0
- package/dist/module/providers/NoiseCancellation/index.js.map +1 -1
- package/dist/module/providers/NoiseCancellation/lib.js +2 -0
- package/dist/module/providers/NoiseCancellation/lib.js.map +1 -1
- package/dist/module/providers/StreamCall/AppStateListener.js +5 -0
- package/dist/module/providers/StreamCall/AppStateListener.js.map +1 -1
- package/dist/module/providers/StreamCall/AudioInterruptionTracer.js +2 -0
- package/dist/module/providers/StreamCall/AudioInterruptionTracer.js.map +1 -1
- package/dist/module/providers/StreamCall/DeviceStats.js +3 -1
- package/dist/module/providers/StreamCall/DeviceStats.js.map +1 -1
- package/dist/module/providers/StreamCall/index.js +7 -4
- package/dist/module/providers/StreamCall/index.js.map +1 -1
- package/dist/module/providers/StreamVideo.js +12 -5
- package/dist/module/providers/StreamVideo.js.map +1 -1
- package/dist/module/theme/colors.js +2 -0
- package/dist/module/theme/colors.js.map +1 -1
- package/dist/module/theme/constants.js +2 -0
- package/dist/module/theme/constants.js.map +1 -1
- package/dist/module/theme/index.js +2 -0
- package/dist/module/theme/index.js.map +1 -1
- package/dist/module/theme/theme.js +2 -0
- package/dist/module/theme/theme.js.map +1 -1
- package/dist/module/theme/types.js +2 -0
- package/dist/module/translations/index.js +2 -0
- package/dist/module/translations/index.js.map +1 -1
- package/dist/module/utils/StreamVideoRN/index.js +2 -1
- package/dist/module/utils/StreamVideoRN/index.js.map +1 -1
- package/dist/module/utils/StreamVideoRN/types.js +2 -0
- package/dist/module/utils/enterPiPAndroid.js +2 -0
- package/dist/module/utils/enterPiPAndroid.js.map +1 -1
- package/dist/module/utils/getAndroidDefaultRingtoneUrl.js +2 -0
- package/dist/module/utils/getAndroidDefaultRingtoneUrl.js.map +1 -1
- package/dist/module/utils/hooks/index.js +2 -0
- package/dist/module/utils/hooks/index.js.map +1 -1
- package/dist/module/utils/hooks/usePrevious.js +2 -0
- package/dist/module/utils/hooks/usePrevious.js.map +1 -1
- package/dist/module/utils/index.js +2 -0
- package/dist/module/utils/index.js.map +1 -1
- package/dist/module/utils/internal/callingx/audioSessionPromise.js +2 -0
- package/dist/module/utils/internal/callingx/audioSessionPromise.js.map +1 -1
- package/dist/module/utils/internal/callingx/callingx.js +6 -4
- package/dist/module/utils/internal/callingx/callingx.js.map +1 -1
- package/dist/module/utils/internal/optionallibs/gestureHandler.js +2 -0
- package/dist/module/utils/internal/optionallibs/gestureHandler.js.map +1 -1
- package/dist/module/utils/internal/optionallibs/index.js +2 -0
- package/dist/module/utils/internal/optionallibs/index.js.map +1 -1
- package/dist/module/utils/internal/optionallibs/reanimated.js +2 -0
- package/dist/module/utils/internal/optionallibs/reanimated.js.map +1 -1
- package/dist/module/utils/internal/pushLogoutCallback.js +2 -0
- package/dist/module/utils/internal/pushLogoutCallback.js.map +1 -1
- package/dist/module/utils/internal/registerSDKGlobals.js +4 -2
- package/dist/module/utils/internal/registerSDKGlobals.js.map +1 -1
- package/dist/module/utils/internal/rxSubjects.js +2 -0
- package/dist/module/utils/internal/rxSubjects.js.map +1 -1
- package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js +2 -0
- package/dist/module/utils/internal/shouldDisableIOSLocalVideoOnBackground.js.map +1 -1
- package/dist/module/utils/keepCallAliveHeadlessTask.js +2 -0
- package/dist/module/utils/keepCallAliveHeadlessTask.js.map +1 -1
- package/dist/module/utils/push/android.js +2 -0
- package/dist/module/utils/push/android.js.map +1 -1
- package/dist/module/utils/push/index.js +2 -0
- package/dist/module/utils/push/index.js.map +1 -1
- package/dist/module/utils/push/internal/constants.js +2 -0
- package/dist/module/utils/push/internal/constants.js.map +1 -1
- package/dist/module/utils/push/internal/ios.js +2 -0
- package/dist/module/utils/push/internal/ios.js.map +1 -1
- package/dist/module/utils/push/internal/utils.js +2 -0
- package/dist/module/utils/push/internal/utils.js.map +1 -1
- package/dist/module/utils/push/libs/callingx.js +2 -0
- package/dist/module/utils/push/libs/callingx.js.map +1 -1
- package/dist/module/utils/push/libs/firebaseMessaging/index.js +2 -0
- package/dist/module/utils/push/libs/firebaseMessaging/index.js.map +1 -1
- package/dist/module/utils/push/libs/firebaseMessaging/lib.js +2 -0
- package/dist/module/utils/push/libs/firebaseMessaging/lib.js.map +1 -1
- package/dist/module/utils/push/libs/index.js +2 -0
- package/dist/module/utils/push/libs/index.js.map +1 -1
- package/dist/module/utils/push/setupCallingExpEvents.js +2 -0
- package/dist/module/utils/push/setupCallingExpEvents.js.map +1 -1
- package/dist/module/utils/push/setupIosVoipPushEvents.js +2 -0
- package/dist/module/utils/push/setupIosVoipPushEvents.js.map +1 -1
- package/dist/module/utils/push/utils.js +2 -0
- package/dist/module/utils/push/utils.js.map +1 -1
- package/dist/module/utils/setClientDetails.js +2 -0
- package/dist/module/utils/setClientDetails.js.map +1 -1
- package/dist/module/version.js +3 -1
- package/dist/module/version.js.map +1 -1
- package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
- package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.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/Lobby.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamLayout/LivestreamLayout.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/LivestreamPlayer/LivestreamEnded.d.ts.map +1 -1
- package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts.map +1 -1
- package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts +1 -1
- package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -1
- package/dist/typescript/components/Participant/ParticipantView/VideoRenderer/index.d.ts +1 -1
- package/dist/typescript/components/Participant/ParticipantView/VideoRenderer/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/hooks/index.d.ts +1 -0
- package/dist/typescript/hooks/index.d.ts.map +1 -1
- package/dist/typescript/hooks/useAutoEnterPiPEffect.d.ts.map +1 -1
- package/dist/typescript/hooks/useLoopbackRecording.d.ts +85 -0
- package/dist/typescript/hooks/useLoopbackRecording.d.ts.map +1 -0
- package/dist/typescript/hooks/useModeration.d.ts.map +1 -1
- package/dist/typescript/icons/index.d.ts +0 -6
- package/dist/typescript/icons/index.d.ts.map +1 -1
- package/dist/typescript/providers/StreamCall/AppStateListener.d.ts.map +1 -1
- package/dist/typescript/providers/StreamCall/DeviceStats.d.ts.map +1 -1
- package/dist/typescript/utils/StreamVideoRN/index.d.ts +0 -1
- package/dist/typescript/utils/StreamVideoRN/index.d.ts.map +1 -1
- package/dist/typescript/utils/internal/callingx/callingx.d.ts.map +1 -1
- package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts +2 -16
- package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts.map +1 -1
- package/dist/typescript/version.d.ts +1 -1
- package/ios/StreamVideoReactNative-Bridging-Header.h +2 -0
- package/ios/StreamVideoReactNative.m +81 -0
- package/ios/TracksRecorder/AudioPipeline.swift +270 -0
- package/ios/TracksRecorder/PipelineHost.swift +56 -0
- package/ios/TracksRecorder/RecorderAudioRenderTap.swift +144 -0
- package/ios/TracksRecorder/RecorderVideoSink.swift +137 -0
- package/ios/TracksRecorder/TracksRecorderManager.swift +333 -0
- package/ios/TracksRecorder/VideoPipeline.swift +297 -0
- package/package.json +10 -8
- package/src/components/Call/CallContent/CallContent.tsx +69 -39
- package/src/components/Call/CallLayout/CallParticipantsGrid.tsx +4 -6
- package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +30 -21
- package/src/components/Call/CallParticipantsList/CallParticipantsList.tsx +23 -9
- package/src/components/Call/Lobby/Lobby.tsx +9 -5
- package/src/components/Livestream/HostLivestream/HostLivestream.tsx +5 -6
- package/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx +1 -1
- package/src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx +4 -64
- package/src/components/Livestream/LivestreamPlayer/LivestreamEnded.tsx +54 -18
- package/src/components/Livestream/LivestreamTopView/DurationBadge.tsx +2 -2
- package/src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx +10 -12
- package/src/components/Participant/FloatingParticipantView/index.tsx +26 -18
- package/src/components/Participant/ParticipantView/ParticipantReaction.tsx +1 -1
- package/src/components/Participant/ParticipantView/ParticipantView.tsx +68 -64
- package/src/components/Participant/ParticipantView/VideoRenderer/index.tsx +192 -179
- package/src/hooks/index.ts +1 -0
- package/src/hooks/useAutoEnterPiPEffect.tsx +5 -11
- package/src/hooks/useLoopbackRecording.ts +448 -0
- package/src/hooks/useModeration.ts +4 -1
- package/src/icons/index.tsx +0 -6
- package/src/providers/BusyTonePlayer.tsx +11 -11
- package/src/providers/StreamCall/AppStateListener.tsx +3 -0
- package/src/providers/StreamCall/DeviceStats.tsx +2 -1
- package/src/utils/StreamVideoRN/index.ts +0 -1
- package/src/utils/internal/callingx/callingx.ts +20 -10
- package/src/utils/internal/registerSDKGlobals.ts +2 -2
- package/src/utils/push/libs/firebaseMessaging/index.ts +4 -2
- package/src/version.ts +1 -1
- package/dist/commonjs/icons/LeaveStreamIcon.js +0 -20
- package/dist/commonjs/icons/LeaveStreamIcon.js.map +0 -1
- package/dist/commonjs/icons/Settings.js +0 -22
- package/dist/commonjs/icons/Settings.js.map +0 -1
- package/dist/commonjs/icons/ShieldBadge.js +0 -20
- package/dist/commonjs/icons/ShieldBadge.js.map +0 -1
- package/dist/commonjs/icons/Spotlight.js +0 -21
- package/dist/commonjs/icons/Spotlight.js.map +0 -1
- package/dist/commonjs/icons/ThreeDots.js +0 -31
- package/dist/commonjs/icons/ThreeDots.js.map +0 -1
- package/dist/commonjs/icons/TopViewBackground.js +0 -35
- package/dist/commonjs/icons/TopViewBackground.js.map +0 -1
- package/dist/module/icons/LeaveStreamIcon.js +0 -12
- package/dist/module/icons/LeaveStreamIcon.js.map +0 -1
- package/dist/module/icons/Settings.js +0 -13
- package/dist/module/icons/Settings.js.map +0 -1
- package/dist/module/icons/ShieldBadge.js +0 -12
- package/dist/module/icons/ShieldBadge.js.map +0 -1
- package/dist/module/icons/Spotlight.js +0 -13
- package/dist/module/icons/Spotlight.js.map +0 -1
- package/dist/module/icons/ThreeDots.js +0 -23
- package/dist/module/icons/ThreeDots.js.map +0 -1
- package/dist/module/icons/TopViewBackground.js +0 -27
- package/dist/module/icons/TopViewBackground.js.map +0 -1
- package/dist/typescript/icons/LeaveStreamIcon.d.ts +0 -3
- package/dist/typescript/icons/LeaveStreamIcon.d.ts.map +0 -1
- package/dist/typescript/icons/Settings.d.ts +0 -7
- package/dist/typescript/icons/Settings.d.ts.map +0 -1
- package/dist/typescript/icons/ShieldBadge.d.ts +0 -3
- package/dist/typescript/icons/ShieldBadge.d.ts.map +0 -1
- package/dist/typescript/icons/Spotlight.d.ts +0 -8
- package/dist/typescript/icons/Spotlight.d.ts.map +0 -1
- package/dist/typescript/icons/ThreeDots.d.ts +0 -7
- package/dist/typescript/icons/ThreeDots.d.ts.map +0 -1
- package/dist/typescript/icons/TopViewBackground.d.ts +0 -15
- package/dist/typescript/icons/TopViewBackground.d.ts.map +0 -1
- package/src/icons/LeaveStreamIcon.tsx +0 -13
- package/src/icons/Settings.tsx +0 -14
- package/src/icons/ShieldBadge.tsx +0 -13
- package/src/icons/Spotlight.tsx +0 -18
- package/src/icons/ThreeDots.tsx +0 -14
- package/src/icons/TopViewBackground.tsx +0 -43
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","useMemo","useRef","useState","NativeModules","Platform","StyleSheet","View","CallParticipantsGrid","CallParticipantsSpotlight","CallControls","DefaultCallControls","useCall","useCallStateHooks","CallingState","videoLoggerSystem","debounceTime","Z_INDEX","FloatingParticipantView","DefaultFloatingParticipantView","useTheme","useAutoEnterPiPEffect","useIsInPiPMode","ScreenShareOverlay","DefaultScreenShareOverlay","RTCViewPipIOS","getRNInCallManagerLibNoThrow","CallContent","onHangupCallHandler","CallParticipantsList","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ParticipantView","VideoRenderer","mirror","layout","landscape","supportedReactions","initialInCallManagerAudioMode","iOSPiPIncludeLocalParticipantVideo","disablePictureInPicture","showRemoteParticipantInFloatingView","setShowRemoteParticipantInFloatingView","styles","useStyles","theme","callContent","call","useHasOngoingScreenShare","useLocalParticipant","
|
|
1
|
+
{"version":3,"names":["React","useEffect","useMemo","useRef","useState","NativeModules","Platform","StyleSheet","View","CallParticipantsGrid","CallParticipantsSpotlight","CallControls","DefaultCallControls","useCall","useCallStateHooks","CallingState","videoLoggerSystem","debounceTime","Z_INDEX","FloatingParticipantView","DefaultFloatingParticipantView","useTheme","useAutoEnterPiPEffect","useIsInPiPMode","ScreenShareOverlay","DefaultScreenShareOverlay","RTCViewPipIOS","getRNInCallManagerLibNoThrow","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","CallContent","onHangupCallHandler","CallParticipantsList","ParticipantLabel","ParticipantNetworkQualityIndicator","ParticipantReaction","ParticipantVideoFallback","ParticipantView","VideoRenderer","mirror","layout","landscape","supportedReactions","initialInCallManagerAudioMode","iOSPiPIncludeLocalParticipantVideo","disablePictureInPicture","showRemoteParticipantInFloatingView","setShowRemoteParticipantInFloatingView","styles","useStyles","theme","callContent","call","useHasOngoingScreenShare","useLocalParticipant","floatingViewState","setFloatingViewState","remote","state","remoteParticipants","remoteCountBucket","Math","min","length","firstRemoteParticipant","undefined","sub","remoteParticipants$","pipe","subscribe","prev","unsubscribe","localParticipant","isInPiPMode","hasScreenShare","showSpotlightLayout","OS","unsubFunc","on","getLogger","debug","StreamVideoReactNative","exitPipMode","subscription","callingState$","LEFT","showFloatingView","isRemoteParticipantInFloatingView","incallManagerModeRef","prevInCallManager","start","media","current","stop","handleFloatingViewParticipantSwitch","prevState","participantViewProps","callParticipantsGridProps","showLocalParticipant","callParticipantsSpotlightProps","children","includeLocalParticipantVideo","style","container","landscapeStyles","row","column","content","callParticipantsContainer","absoluteFill","view","topContainer","pointerEvents","participant","onPressHandler","objectFit","create","flexDirection","flex","paddingBottom","variants","insets","bottom","paddingLeft","left","paddingRight","right","paddingTop","top","backgroundColor","colors","sheetPrimary","zIndex","IN_FRONT"],"sourceRoot":"../../../../../src","sources":["components/Call/CallContent/CallContent.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,OAAO,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AACnE,SAASC,aAAa,EAAEC,QAAQ,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AACxE,SACEC,oBAAoB,EAEpBC,yBAAyB,QAEpB,eAAe;AACtB,SAEEC,YAAY,IAAIC,mBAAmB,QAE9B,iBAAiB;AACxB,SAASC,OAAO,EAAEC,iBAAiB,QAAQ,iCAAiC;AAC5E,SACEC,YAAY,EAGZC,iBAAiB,QACZ,yBAAyB;AAChC,SAASC,YAAY,QAAQ,MAAM;AAEnC,SAASC,OAAO,QAAQ,oBAAoB;AAC5C,SACEC,uBAAuB,IAAIC,8BAA8B,QAGpD,mBAAmB;AAC1B,SAASC,QAAQ,QAAQ,mBAAmB;AAK5C,SAASC,qBAAqB,EAAEC,cAAc,QAAQ,gBAAgB;AACtE,SACEC,kBAAkB,IAAIC,yBAAyB,QAE1C,kCAAkC;AACzC,SAASC,aAAa,QAAQ,iBAAiB;AAC/C,SAASC,4BAA4B,QAAQ,gDAAgD;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AA+D9F,OAAO,MAAMC,WAAW,GAAGA,CA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AQ,CAACC,MAAM,CAACO,GAAG;MACrCC,eAAe,EAAE/E,KAAK,CAACgF,MAAM,CAACC;IAChC,CAAC;IACDxB,OAAO,EAAE;MAAEW,IAAI,EAAE;IAAE,CAAC;IACpBR,IAAI,EAAE;MACJsB,MAAM,EAAEtH,OAAO,CAACuH;IAClB;EACF,CAAC,CAAC,EACJ,CAACnF,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import { CallingState, SfuModels, hasAudio, hasPausedTrack, hasScreenShare, videoLoggerSystem, hasVideo, isPinned } from '@stream-io/video-client';
|
|
2
4
|
import { useCall, useCallStateHooks } from '@stream-io/video-react-bindings';
|
|
3
5
|
import React, { useEffect, useCallback, useState } from 'react';
|
|
@@ -7,6 +9,7 @@ import { debounceTime } from 'rxjs';
|
|
|
7
9
|
import { shouldDisableIOSLocalVideoOnBackgroundRef } from '../../../utils/internal/shouldDisableIOSLocalVideoOnBackground';
|
|
8
10
|
import { useTrackDimensions } from '../../../hooks/useTrackDimensions';
|
|
9
11
|
import { isInPiPMode$ } from '../../../utils/internal/rxSubjects';
|
|
12
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
13
|
export const RTCViewPipIOS = /*#__PURE__*/React.memo(props => {
|
|
11
14
|
const {
|
|
12
15
|
includeLocalParticipantVideo,
|
|
@@ -117,26 +120,27 @@ export const RTCViewPipIOS = /*#__PURE__*/React.memo(props => {
|
|
|
117
120
|
|
|
118
121
|
// Get connection quality (convert enum to number: UNSPECIFIED=0, POOR=1, GOOD=2, EXCELLENT=3)
|
|
119
122
|
const participantConnectionQuality = participantInSpotlight?.connectionQuality ?? SfuModels.ConnectionQuality.UNSPECIFIED;
|
|
120
|
-
return /*#__PURE__*/
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
123
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
124
|
+
children: [/*#__PURE__*/_jsx(RTCViewPipNative, {
|
|
125
|
+
streamURL: streamURL,
|
|
126
|
+
mirror: mirror,
|
|
127
|
+
ref: nativeRef,
|
|
128
|
+
onPiPChange: handlePiPChange,
|
|
129
|
+
participantName: participantName,
|
|
130
|
+
participantImageURL: participantImageURL,
|
|
131
|
+
isReconnecting: isReconnecting,
|
|
132
|
+
isScreenSharing: isScreenSharing,
|
|
133
|
+
hasAudio: participantHasAudio,
|
|
134
|
+
isTrackPaused: isVideoTrackPaused,
|
|
135
|
+
isPinned: participantIsPinned,
|
|
136
|
+
isSpeaking: participantIsSpeaking,
|
|
137
|
+
connectionQuality: participantConnectionQuality
|
|
138
|
+
}), participantInSpotlight && /*#__PURE__*/_jsx(DimensionsUpdatedRenderless, {
|
|
139
|
+
participant: participantInSpotlight,
|
|
140
|
+
trackType: isScreenSharing ? 'screenShareTrack' : 'videoTrack',
|
|
141
|
+
onDimensionsUpdated: onDimensionsUpdated
|
|
142
|
+
}, streamURL)]
|
|
143
|
+
});
|
|
140
144
|
});
|
|
141
145
|
const DimensionsUpdatedRenderless = /*#__PURE__*/React.memo(({
|
|
142
146
|
participant,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["CallingState","SfuModels","hasAudio","hasPausedTrack","hasScreenShare","videoLoggerSystem","hasVideo","isPinned","useCall","useCallStateHooks","React","useEffect","useCallback","useState","findNodeHandle","onNativeCallClosed","onNativeDimensionsUpdated","RTCViewPipNative","debounceTime","shouldDisableIOSLocalVideoOnBackgroundRef","useTrackDimensions","isInPiPMode$","RTCViewPipIOS","memo","props","includeLocalParticipantVideo","mirror","mirrorOverride","onPiPChange","call","useCameraState","useCallCallingState","callingState","direction","allParticipants","setAllParticipants","state","participants","subscription","participants$","pipe","subscribe","unsubscribe","dominantSpeaker","dominantSpeaker2","filter","participant","isLocalParticipant","participantInSpotlight","current","nativeRef","useRef","callClosedInvokedOnce","onCallClosed","node","unsubFunc","on","getLogger","debug","callingState$","LEFT","onDimensionsUpdated","width","height","videoStream","screenShareStream","isScreenSharing","videoStreamToRender","isPublishingTrack","streamURL","toURL","undefined","handlePiPChange","event","next","nativeEvent","active","participantName","name","participantImageURL","image","isReconnecting","MIGRATING","RECONNECTING","RECONNECTING_FAILED","OFFLINE","participantHasAudio","trackType","isVideoTrackPaused","participantIsPinned","participantIsSpeaking","isSpeaking","participantConnectionQuality","connectionQuality","ConnectionQuality","UNSPECIFIED","
|
|
1
|
+
{"version":3,"names":["CallingState","SfuModels","hasAudio","hasPausedTrack","hasScreenShare","videoLoggerSystem","hasVideo","isPinned","useCall","useCallStateHooks","React","useEffect","useCallback","useState","findNodeHandle","onNativeCallClosed","onNativeDimensionsUpdated","RTCViewPipNative","debounceTime","shouldDisableIOSLocalVideoOnBackgroundRef","useTrackDimensions","isInPiPMode$","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","RTCViewPipIOS","memo","props","includeLocalParticipantVideo","mirror","mirrorOverride","onPiPChange","call","useCameraState","useCallCallingState","callingState","direction","allParticipants","setAllParticipants","state","participants","subscription","participants$","pipe","subscribe","unsubscribe","dominantSpeaker","dominantSpeaker2","filter","participant","isLocalParticipant","participantInSpotlight","current","nativeRef","useRef","callClosedInvokedOnce","onCallClosed","node","unsubFunc","on","getLogger","debug","callingState$","LEFT","onDimensionsUpdated","width","height","videoStream","screenShareStream","isScreenSharing","videoStreamToRender","isPublishingTrack","streamURL","toURL","undefined","handlePiPChange","event","next","nativeEvent","active","participantName","name","participantImageURL","image","isReconnecting","MIGRATING","RECONNECTING","RECONNECTING_FAILED","OFFLINE","participantHasAudio","trackType","isVideoTrackPaused","participantIsPinned","participantIsSpeaking","isSpeaking","participantConnectionQuality","connectionQuality","ConnectionQuality","UNSPECIFIED","children","ref","isTrackPaused","DimensionsUpdatedRenderless","displayName"],"sourceRoot":"../../../../../src","sources":["components/Call/CallContent/RTCViewPipIOS.tsx"],"mappings":";;AAAA,SACEA,YAAY,EACZC,SAAS,EACTC,QAAQ,EACRC,cAAc,EACdC,cAAc,EAEdC,iBAAiB,EAEjBC,QAAQ,EACRC,QAAQ,QACH,yBAAyB;AAChC,SAASC,OAAO,EAAEC,iBAAiB,QAAQ,iCAAiC;AAE5E,OAAOC,KAAK,IAAIC,SAAS,EAAEC,WAAW,EAAEC,QAAQ,QAAQ,OAAO;AAC/D,SAASC,cAAc,QAAQ,cAAc;AAC7C,SACEC,kBAAkB,EAClBC,yBAAyB,EACzBC,gBAAgB,QACX,oBAAoB;AAC3B,SAASC,YAAY,QAAQ,MAAM;AACnC,SAASC,yCAAyC,QAAQ,gEAAgE;AAC1H,SAASC,kBAAkB,QAAQ,mCAAmC;AACtE,SAASC,YAAY,QAAQ,oCAAoC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AAelE,OAAO,MAAMC,aAAa,gBAAGlB,KAAK,CAACmB,IAAI,CAAEC,KAAY,IAAK;EACxD,MAAM;IACJC,4BAA4B;IAC5BC,MAAM,EAAEC,cAAc;IACtBC;EACF,CAAC,GAAGJ,KAAK;EACT,MAAMK,IAAI,GAAG3B,OAAO,CAAC,CAAC;EACtB,MAAM;IAAE4B,cAAc;IAAEC;EAAoB,CAAC,GAAG5B,iBAAiB,CAAC,CAAC;EACnE,MAAM6B,YAAY,GAAGD,mBAAmB,CAAC,CAAC;EAC1C,MAAM;IAAEE;EAAU,CAAC,GAAGH,cAAc,CAAC,CAAC;EAEtC,MAAM,CAACI,eAAe,EAAEC,kBAAkB,CAAC,GAAG5B,QAAQ,CAEpDsB,IAAI,EAAEO,KAAK,CAACC,YAAY,IAA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,CAACC,WAAW,GAAG,6BAA6B;AACvE9E,aAAa,CAAC8E,WAAW,GAAG,eAAe","ignoreList":[]}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { Platform, requireNativeComponent, StyleSheet, UIManager } from 'react-native';
|
|
3
5
|
import { videoLoggerSystem } from '@stream-io/video-client';
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
7
|
const COMPONENT_NAME = 'RTCViewPip';
|
|
5
8
|
const NativeComponent = requireNativeComponent(COMPONENT_NAME);
|
|
6
9
|
export function onNativeCallClosed(reactTag) {
|
|
@@ -23,7 +26,7 @@ export function onNativeDimensionsUpdated(reactTag, width, height) {
|
|
|
23
26
|
* meant to stay private and not exposed */
|
|
24
27
|
export const RTCViewPipNative = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef((props, ref) => {
|
|
25
28
|
if (Platform.OS !== 'ios') return null;
|
|
26
|
-
return /*#__PURE__*/
|
|
29
|
+
return /*#__PURE__*/_jsx(NativeComponent, {
|
|
27
30
|
style: StyleSheet.absoluteFill,
|
|
28
31
|
pointerEvents: 'none'
|
|
29
32
|
// eslint-disable-next-line react/prop-types
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Platform","requireNativeComponent","StyleSheet","UIManager","videoLoggerSystem","COMPONENT_NAME","NativeComponent","onNativeCallClosed","reactTag","getLogger","debug","commandId","getViewManagerConfig","Commands","onCallClosed","dispatchViewManagerCommand","onNativeDimensionsUpdated","width","height","setPreferredContentSize","RTCViewPipNative","memo","forwardRef","props","ref","OS","
|
|
1
|
+
{"version":3,"names":["React","Platform","requireNativeComponent","StyleSheet","UIManager","videoLoggerSystem","jsx","_jsx","COMPONENT_NAME","NativeComponent","onNativeCallClosed","reactTag","getLogger","debug","commandId","getViewManagerConfig","Commands","onCallClosed","dispatchViewManagerCommand","onNativeDimensionsUpdated","width","height","setPreferredContentSize","RTCViewPipNative","memo","forwardRef","props","ref","OS","style","absoluteFill","pointerEvents","streamURL","mirror","onPiPChange","participantName","participantImageURL","isReconnecting","isScreenSharing","hasAudio","isTrackPaused","isPinned","isSpeaking","connectionQuality"],"sourceRoot":"../../../../../src","sources":["components/Call/CallContent/RTCViewPipNative.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAEEC,QAAQ,EACRC,sBAAsB,EACtBC,UAAU,EACVC,SAAS,QACJ,cAAc;AACrB,SAASC,iBAAiB,QAAQ,yBAAyB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE5D,MAAMC,cAAc,GAAG,YAAY;AA8BnC,MAAMC,eAAqD,GACzDP,sBAAsB,CAACM,cAAc,CAAC;AAExC,OAAO,SAASE,kBAAkBA,CAACC,QAAgB,EAAE;EACnDN,iBAAiB,CAACO,SAAS,CAAC,kBAAkB,CAAC,CAACC,KAAK,CAAC,oBAAoB,CAAC;EAC3E,MAAMC,SAAS,GACbV,SAAS,CAACW,oBAAoB,CAACP,cAAc,CAAC,CAACQ,QAAQ,CAACC,YAAY;EACtE,IAAI,CAACH,SAAS,EAAE;EAChBV,SAAS,CAACc,0BAA0B,CAACP,QAAQ,EAAEG,SAAS,EAAE,EAAE,CAAC;AAC/D;AAEA,OAAO,SAASK,yBAAyBA,CACvCR,QAAgB,EAChBS,KAAa,EACbC,MAAc,EACd;EACAhB,iBAAiB,CACdO,SAAS,CAAC,kBAAkB,CAAC,CAC7BC,KAAK,CAAC,2BAA2B,EAAE;IAClCO,KAAK;IACLC;EACF,CAAC,CAAC;EACJ,MAAMP,SAAS,GACbV,SAAS,CAACW,oBAAoB,CAACP,cAAc,CAAC,CAACQ,QAAQ,CACpDM,uBAAuB;EAC5B,IAAI,CAACR,SAAS,EAAE;EAChBV,SAAS,CAACc,0BAA0B,CAACP,QAAQ,EAAEG,SAAS,EAAE,CAACM,KAAK,EAAEC,MAAM,CAAC,CAAC;AAC5E;;AAEA;AACA;AACA,OAAO,MAAME,gBAAgB,gBAAGvB,KAAK,CAACwB,IAAI,cACxCxB,KAAK,CAACyB,UAAU,CAAwC,CAACC,KAAK,EAAEC,GAAG,KAAK;EACtE,IAAI1B,QAAQ,CAAC2B,EAAE,KAAK,KAAK,EAAE,OAAO,IAAI;EAEtC,oBACErB,IAAA,CAACE,eAAe;IACdoB,KAAK,EAAE1B,UAAU,CAAC2B,YAAa;IAC/BC,aAAa,EAAE;IACf;IAAA;IACAC,SAAS,EAAEN,KAAK,CAACM;IACjB;IAAA;IACAC,MAAM,EAAEP,KAAK,CAACO;IACd;IAAA;IACAC,WAAW,EAAER,KAAK,CAACQ;IACnB;IAAA;IACAC,eAAe,EAAET,KAAK,CAACS;IACvB;IAAA;IACAC,mBAAmB,EAAEV,KAAK,CAACU;IAC3B;IAAA;IACAC,cAAc,EAAEX,KAAK,CAACW;IACtB;IAAA;IACAC,eAAe,EAAEZ,KAAK,CAACY;IACvB;IAAA;IACAC,QAAQ,EAAEb,KAAK,CAACa;IAChB;IAAA;IACAC,aAAa,EAAEd,KAAK,CAACc;IACrB;IAAA;IACAC,QAAQ,EAAEf,KAAK,CAACe;IAChB;IAAA;IACAC,UAAU,EAAEhB,KAAK,CAACgB;IAClB;IAAA;IACAC,iBAAiB,EAAEjB,KAAK,CAACiB;IACzB;IAAA;IACAhB,GAAG,EAAEA;EAAI,CACV,CAAC;AAEN,CAAC,CACH,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Call/CallContent/index.ts"],"mappings":"AAAA,cAAc,eAAe;AAC7B,cAAc,iBAAiB","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/Call/CallContent/index.ts"],"mappings":";;AAAA,cAAc,eAAe;AAC7B,cAAc,iBAAiB","ignoreList":[]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import { useCall } from '@stream-io/video-react-bindings';
|
|
2
4
|
import React, { useState } from 'react';
|
|
3
5
|
import { CallControlsButton } from './CallControlsButton';
|
|
@@ -8,7 +10,7 @@ import { videoLoggerSystem } from '@stream-io/video-client';
|
|
|
8
10
|
/**
|
|
9
11
|
* The props for the Accept Call button.
|
|
10
12
|
*/
|
|
11
|
-
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
14
|
/**
|
|
13
15
|
* Button to accept a call.
|
|
14
16
|
*
|
|
@@ -48,15 +50,18 @@ export const AcceptCallButton = ({
|
|
|
48
50
|
setIsLoading(false);
|
|
49
51
|
}
|
|
50
52
|
};
|
|
51
|
-
return /*#__PURE__*/
|
|
53
|
+
return /*#__PURE__*/_jsx(CallControlsButton, {
|
|
52
54
|
onPress: acceptCallHandler,
|
|
53
55
|
color: colors.buttonSuccess,
|
|
54
56
|
size: buttonSizes.md,
|
|
55
57
|
style: acceptCallButton,
|
|
56
|
-
disabled: isLoading
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
disabled: isLoading,
|
|
59
|
+
children: /*#__PURE__*/_jsx(IconWrapper, {
|
|
60
|
+
children: /*#__PURE__*/_jsx(Phone, {
|
|
61
|
+
color: colors.iconPrimary,
|
|
62
|
+
size: iconSizes.lg
|
|
63
|
+
})
|
|
64
|
+
})
|
|
65
|
+
});
|
|
61
66
|
};
|
|
62
67
|
//# sourceMappingURL=AcceptCallButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useCall","React","useState","CallControlsButton","IconWrapper","Phone","useTheme","videoLoggerSystem","AcceptCallButton","onPressHandler","onAcceptCallHandler","call","theme","colors","variants","buttonSizes","iconSizes","acceptCallButton","isLoading","setIsLoading","acceptCallHandler","join","error","logger","getLogger","
|
|
1
|
+
{"version":3,"names":["useCall","React","useState","CallControlsButton","IconWrapper","Phone","useTheme","videoLoggerSystem","jsx","_jsx","AcceptCallButton","onPressHandler","onAcceptCallHandler","call","theme","colors","variants","buttonSizes","iconSizes","acceptCallButton","isLoading","setIsLoading","acceptCallHandler","join","error","logger","getLogger","onPress","color","buttonSuccess","size","md","style","disabled","children","iconPrimary","lg"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/AcceptCallButton.tsx"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,iCAAiC;AACzD,OAAOC,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,WAAW,EAAEC,KAAK,QAAQ,gBAAgB;AACnD,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,SAASC,iBAAiB,QAAQ,yBAAyB;;AAE3D;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA;AAgBA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,gBAAgB,GAAGA,CAAC;EAC/BC,cAAc;EACdC;AACqB,CAAC,KAAK;EAC3B,MAAMC,IAAI,GAAGb,OAAO,CAAC,CAAC;EACtB,MAAM;IACJc,KAAK,EAAE;MACLC,MAAM;MACNC,QAAQ,EAAE;QAAEC,WAAW;QAAEC;MAAU,CAAC;MACpCC;IACF;EACF,CAAC,GAAGb,QAAQ,CAAC,CAAC;EACd,MAAM,CAACc,SAAS,EAAEC,YAAY,CAAC,GAAGnB,QAAQ,CAAC,KAAK,CAAC;EAEjD,MAAMoB,iBAAiB,GAAG,MAAAA,CAAA,KAAY;IACpC,IAAIX,cAAc,EAAE;MAClBA,cAAc,CAAC,CAAC;MAChB;IACF;IACA,IAAI,CAACE,IAAI,EAAE;IACXQ,YAAY,CAAC,IAAI,CAAC;IAClB,IAAI;MACF,MAAMR,IAAI,CAACU,IAAI,CAAC,CAAC;MACjBX,mBAAmB,GAAG,CAAC;IACzB,CAAC,CAAC,OAAOY,KAAK,EAAE;MACd,MAAMC,MAAM,GAAGlB,iBAAiB,CAACmB,SAAS,CAAC,kBAAkB,CAAC;MAC9DD,MAAM,CAACD,KAAK,CAAC,oBAAoB,EAAEA,KAAK,CAAC;MACzCZ,mBAAmB,GAAGY,KAAc,CAAC;IACvC,CAAC,SAAS;MACRH,YAAY,CAAC,KAAK,CAAC;IACrB;EACF,CAAC;EAED,oBACEZ,IAAA,CAACN,kBAAkB;IACjBwB,OAAO,EAAEL,iBAAkB;IAC3BM,KAAK,EAAEb,MAAM,CAACc,aAAc;IAC5BC,IAAI,EAAEb,WAAW,CAACc,EAAG;IACrBC,KAAK,EAAEb,gBAAiB;IACxBc,QAAQ,EAAEb,SAAU;IAAAc,QAAA,eAEpBzB,IAAA,CAACL,WAAW;MAAA8B,QAAA,eACVzB,IAAA,CAACJ,KAAK;QAACuB,KAAK,EAAEb,MAAM,CAACoB,WAAY;QAACL,IAAI,EAAEZ,SAAS,CAACkB;MAAG,CAAE;IAAC,CAC7C;EAAC,CACI,CAAC;AAEzB,CAAC","ignoreList":[]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { StyleSheet, View } from 'react-native';
|
|
3
5
|
import { ToggleAudioPublishingButton } from './ToggleAudioPublishingButton';
|
|
@@ -10,7 +12,7 @@ import { useTheme } from '../../../contexts/ThemeContext';
|
|
|
10
12
|
/**
|
|
11
13
|
* Props for the CallControls Component.
|
|
12
14
|
*/
|
|
13
|
-
|
|
15
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
16
|
/**
|
|
15
17
|
* A list/row of controls (mute audio/video, toggle front/back camera, hangup call etc.)
|
|
16
18
|
* the user can trigger within an active call.
|
|
@@ -31,13 +33,14 @@ export const CallControls = ({
|
|
|
31
33
|
paddingHorizontal: landscape ? 12 : 0,
|
|
32
34
|
paddingVertical: landscape ? 0 : 12
|
|
33
35
|
};
|
|
34
|
-
return /*#__PURE__*/
|
|
36
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
35
37
|
style: [styles.container, {
|
|
36
38
|
backgroundColor: colors.sheetPrimary
|
|
37
|
-
}, callControls.container, landscapeStyles, style]
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
}, callControls.container, landscapeStyles, style],
|
|
40
|
+
children: [/*#__PURE__*/_jsx(ToggleVideoPublishingButton, {}), /*#__PURE__*/_jsx(ToggleAudioPublishingButton, {}), /*#__PURE__*/_jsx(ToggleCameraFaceButton, {}), /*#__PURE__*/_jsx(HangUpCallButton, {
|
|
41
|
+
onHangupCallHandler: onHangupCallHandler
|
|
42
|
+
})]
|
|
43
|
+
});
|
|
41
44
|
};
|
|
42
45
|
const styles = StyleSheet.create({
|
|
43
46
|
container: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","View","ToggleAudioPublishingButton","ToggleVideoPublishingButton","ToggleCameraFaceButton","Z_INDEX","HangUpCallButton","useTheme","CallControls","style","onHangupCallHandler","landscape","theme","colors","callControls","landscapeStyles","flexDirection","paddingHorizontal","paddingVertical","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","ToggleAudioPublishingButton","ToggleVideoPublishingButton","ToggleCameraFaceButton","Z_INDEX","HangUpCallButton","useTheme","jsx","_jsx","jsxs","_jsxs","CallControls","style","onHangupCallHandler","landscape","theme","colors","callControls","landscapeStyles","flexDirection","paddingHorizontal","paddingVertical","styles","container","backgroundColor","sheetPrimary","children","create","justifyContent","zIndex","IN_FRONT"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/CallControls.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAwC,cAAc;AAC/E,SAASC,2BAA2B,QAAQ,+BAA+B;AAC3E,SAASC,2BAA2B,QAAQ,+BAA+B;AAC3E,SAASC,sBAAsB,QAAQ,0BAA0B;AACjE,SAASC,OAAO,QAAQ,oBAAoB;AAC5C,SACEC,gBAAgB,QAEX,oBAAoB;AAC3B,SAASC,QAAQ,QAAQ,gCAAgC;;AAEzD;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAYA;AACA;AACA;AACA;AACA,OAAO,MAAMC,YAAY,GAAGA,CAAC;EAC3BC,KAAK;EACLC,mBAAmB;EACnBC;AACgB,CAAC,KAAK;EACtB,MAAM;IACJC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAa;EAChC,CAAC,GAAGX,QAAQ,CAAC,CAAC;EACd,MAAMY,eAA0B,GAAG;IACjCC,aAAa,EAAE,KAAK;IACpBC,iBAAiB,EAAEN,SAAS,GAAG,EAAE,GAAG,CAAC;IACrCO,eAAe,EAAEP,SAAS,GAAG,CAAC,GAAG;EACnC,CAAC;EACD,oBACEJ,KAAA,CAACV,IAAI;IACHY,KAAK,EAAE,CACLU,MAAM,CAACC,SAAS,EAChB;MAAEC,eAAe,EAAER,MAAM,CAACS;IAAa,CAAC,EACxCR,YAAY,CAACM,SAAS,EACtBL,eAAe,EACfN,KAAK,CACL;IAAAc,QAAA,gBAEFlB,IAAA,CAACN,2BAA2B,IAAE,CAAC,eAC/BM,IAAA,CAACP,2BAA2B,IAAE,CAAC,eAC/BO,IAAA,CAACL,sBAAsB,IAAE,CAAC,eAC1BK,IAAA,CAACH,gBAAgB;MAACQ,mBAAmB,EAAEA;IAAoB,CAAE,CAAC;EAAA,CAC1D,CAAC;AAEX,CAAC;AAED,MAAMS,MAAM,GAAGvB,UAAU,CAAC4B,MAAM,CAAC;EAC/BJ,SAAS,EAAE;IACTK,cAAc,EAAE,cAAc;IAC9BC,MAAM,EAAEzB,OAAO,CAAC0B;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { Pressable, StyleSheet, View } from 'react-native';
|
|
3
5
|
import { useTheme } from '../../../contexts/ThemeContext';
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
7
|
export const CallControlsButton = props => {
|
|
5
8
|
const {
|
|
6
9
|
onPress,
|
|
@@ -35,18 +38,20 @@ export const CallControlsButton = props => {
|
|
|
35
38
|
borderRadius: defaults.borderRadius
|
|
36
39
|
}, styleProp?.container ?? null, container];
|
|
37
40
|
const childrenSize = (size || roundButtonSizes.lg) / 2 - 5;
|
|
38
|
-
return /*#__PURE__*/
|
|
41
|
+
return /*#__PURE__*/_jsx(Pressable, {
|
|
39
42
|
disabled: disabled,
|
|
40
43
|
style: pressableStyle,
|
|
41
44
|
onPress: onPress,
|
|
42
45
|
testID: testID,
|
|
43
|
-
onLayout: onLayout
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
onLayout: onLayout,
|
|
47
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
48
|
+
style: [{
|
|
49
|
+
height: childrenSize,
|
|
50
|
+
width: childrenSize
|
|
51
|
+
}, styleProp?.svgContainer ?? null],
|
|
52
|
+
children: children
|
|
53
|
+
})
|
|
54
|
+
});
|
|
50
55
|
};
|
|
51
56
|
const styles = StyleSheet.create({
|
|
52
57
|
container: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Pressable","StyleSheet","View","useTheme","CallControlsButton","props","onPress","children","disabled","color","colorProp","disabledColor","disabledColorProp","style","styleProp","size","testID","onLayout","theme","colors","defaults","variants","roundButtonSizes","callControlsButton","container","pressableStyle","pressed","styles","backgroundColor","buttonDisabled","buttonSecondary","opacity","height","lg","width","borderRadius","childrenSize","
|
|
1
|
+
{"version":3,"names":["React","Pressable","StyleSheet","View","useTheme","jsx","_jsx","CallControlsButton","props","onPress","children","disabled","color","colorProp","disabledColor","disabledColorProp","style","styleProp","size","testID","onLayout","theme","colors","defaults","variants","roundButtonSizes","callControlsButton","container","pressableStyle","pressed","styles","backgroundColor","buttonDisabled","buttonSecondary","opacity","height","lg","width","borderRadius","childrenSize","svgContainer","create","justifyContent","alignItems","elevation"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/CallControlsButton.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAEEC,SAAS,EAETC,UAAU,EACVC,IAAI,QACC,cAAc;AACrB,SAASC,QAAQ,QAAQ,gCAAgC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAuC1D,OAAO,MAAMC,kBAAkB,GAC7BC,KAAuD,IACpD;EACH,MAAM;IACJC,OAAO;IACPC,QAAQ;IACRC,QAAQ;IACRC,KAAK,EAAEC,SAAS;IAChBC,aAAa,EAAEC,iBAAiB;IAChCC,KAAK,EAAEC,SAAS;IAChBC,IAAI;IACJC,MAAM;IACNC;EACF,CAAC,GAAGZ,KAAK;EAET,MAAM;IACJa,KAAK,EAAE;MACLC,MAAM;MACNC,QAAQ;MACRC,QAAQ,EAAE;QAAEC;MAAiB,CAAC;MAC9BC,kBAAkB,EAAE;QAAEC;MAAU;IAClC;EACF,CAAC,GAAGvB,QAAQ,CAAC,CAAC;EAEd,MAAMwB,cAAuC,GAAGA,CAAC;IAAEC;EAAQ,CAAC,KAAK,CAC/DC,MAAM,CAACH,SAAS,EAChB;IACEI,eAAe,EAAEpB,QAAQ,GACrBI,iBAAiB,IAAIO,MAAM,CAACU,cAAc,GAC1CnB,SAAS,IAAIS,MAAM,CAACW,eAAe;IACvCC,OAAO,EAAEL,OAAO,GAAG,GAAG,GAAG,CAAC;IAC1BM,MAAM,EAAEjB,IAAI,IAAIO,gBAAgB,CAACW,EAAE;IACnCC,KAAK,EAAEnB,IAAI,IAAIO,gBAAgB,CAACW,EAAE;IAClCE,YAAY,EAAEf,QAAQ,CAACe;EACzB,CAAC,EACDrB,SAAS,EAAEU,SAAS,IAAI,IAAI,EAC5BA,SAAS,CACV;EAED,MAAMY,YAAY,GAAG,CAACrB,IAAI,IAAIO,gBAAgB,CAACW,EAAE,IAAI,CAAC,GAAG,CAAC;EAC1D,oBACE9B,IAAA,CAACL,SAAS;IACRU,QAAQ,EAAEA,QAAS;IACnBK,KAAK,EAAEY,cAAe;IACtBnB,OAAO,EAAEA,OAAQ;IACjBU,MAAM,EAAEA,MAAO;IACfC,QAAQ,EAAEA,QAAS;IAAAV,QAAA,eAEnBJ,IAAA,CAACH,IAAI;MACHa,KAAK,EAAE,CACL;QAAEmB,MAAM,EAAEI,YAAY;QAAEF,KAAK,EAAEE;MAAa,CAAC,EAC7CtB,SAAS,EAAEuB,YAAY,IAAI,IAAI,CAC/B;MAAA9B,QAAA,EAEDA;IAAQ,CACL;EAAC,CACE,CAAC;AAEhB,CAAC;AAED,MAAMoB,MAAM,GAAG5B,UAAU,CAACuC,MAAM,CAAC;EAC/Bd,SAAS,EAAE;IACTe,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IAEpB;IACAC,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { CallControlsButton } from './CallControlsButton';
|
|
3
5
|
import { PhoneDown } from '../../../icons';
|
|
@@ -10,7 +12,7 @@ import { IconWrapper } from '../../../icons/IconWrapper';
|
|
|
10
12
|
/**
|
|
11
13
|
* The props for the Hang up call button in the Call Controls.
|
|
12
14
|
*/
|
|
13
|
-
|
|
15
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
16
|
/**
|
|
15
17
|
* Button to hangup a call.
|
|
16
18
|
*
|
|
@@ -50,15 +52,18 @@ export const HangUpCallButton = ({
|
|
|
50
52
|
onHangupCallHandler?.(error);
|
|
51
53
|
}
|
|
52
54
|
};
|
|
53
|
-
return /*#__PURE__*/
|
|
55
|
+
return /*#__PURE__*/_jsx(CallControlsButton, {
|
|
54
56
|
onPress: onPress,
|
|
55
57
|
color: colors.buttonWarning,
|
|
56
58
|
style: hangupCallButton,
|
|
57
59
|
size: size,
|
|
58
|
-
testID: ButtonTestIds.HANG_UP_CALL
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
testID: ButtonTestIds.HANG_UP_CALL,
|
|
61
|
+
children: /*#__PURE__*/_jsx(IconWrapper, {
|
|
62
|
+
children: /*#__PURE__*/_jsx(PhoneDown, {
|
|
63
|
+
color: colors.iconPrimary,
|
|
64
|
+
size: variants.iconSizes.md
|
|
65
|
+
})
|
|
66
|
+
})
|
|
67
|
+
});
|
|
63
68
|
};
|
|
64
69
|
//# sourceMappingURL=HangupCallButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","CallControlsButton","PhoneDown","ButtonTestIds","useCall","useCallStateHooks","CallingState","videoLoggerSystem","useTheme","IconWrapper","HangUpCallButton","size","onPressHandler","onHangupCallHandler","call","useCallCallingState","callingState","theme","colors","hangupCallButton","variants","onPress","LEFT","leave","error","logger","getLogger","
|
|
1
|
+
{"version":3,"names":["React","CallControlsButton","PhoneDown","ButtonTestIds","useCall","useCallStateHooks","CallingState","videoLoggerSystem","useTheme","IconWrapper","jsx","_jsx","HangUpCallButton","size","onPressHandler","onHangupCallHandler","call","useCallCallingState","callingState","theme","colors","hangupCallButton","variants","onPress","LEFT","leave","error","logger","getLogger","color","buttonWarning","style","testID","HANG_UP_CALL","children","iconPrimary","iconSizes","md"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/HangupCallButton.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,kBAAkB,QAAQ,sBAAsB;AACzD,SAASC,SAAS,QAAQ,gBAAgB;AAC1C,SAASC,aAAa,QAAQ,4BAA4B;AAC1D,SAASC,OAAO,EAAEC,iBAAiB,QAAQ,iCAAiC;AAC5E,SAASC,YAAY,EAAEC,iBAAiB,QAAQ,yBAAyB;AACzE,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,SAASC,WAAW,QAAQ,4BAA4B;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WAAY;QAACtB,IAAI,EAAES,QAAQ,CAACc,SAAS,CAACC;MAAG,CAAE;IAAC,CAC1D;EAAC,CACI,CAAC;AAEzB,CAAC","ignoreList":[]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { StyleSheet, View } from 'react-native';
|
|
3
5
|
import { useTheme } from '../../../contexts';
|
|
@@ -7,7 +9,7 @@ import { RejectCallButton } from './RejectCallButton';
|
|
|
7
9
|
/**
|
|
8
10
|
* Props for the IncomingCallControls Component.
|
|
9
11
|
*/
|
|
10
|
-
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
13
|
export const IncomingCallControls = ({
|
|
12
14
|
onAcceptCallHandler,
|
|
13
15
|
onRejectCallHandler
|
|
@@ -20,15 +22,16 @@ export const IncomingCallControls = ({
|
|
|
20
22
|
}
|
|
21
23
|
}
|
|
22
24
|
} = useTheme();
|
|
23
|
-
return /*#__PURE__*/
|
|
24
|
-
style: [styles.buttonGroup, incomingCall.buttonGroup]
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
26
|
+
style: [styles.buttonGroup, incomingCall.buttonGroup],
|
|
27
|
+
children: [/*#__PURE__*/_jsx(RejectCallButton, {
|
|
28
|
+
onRejectCallHandler: onRejectCallHandler,
|
|
29
|
+
size: buttonSizes.md,
|
|
30
|
+
rejectReason: "decline"
|
|
31
|
+
}), /*#__PURE__*/_jsx(AcceptCallButton, {
|
|
32
|
+
onAcceptCallHandler: onAcceptCallHandler
|
|
33
|
+
})]
|
|
34
|
+
});
|
|
32
35
|
};
|
|
33
36
|
const styles = StyleSheet.create({
|
|
34
37
|
buttonGroup: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","View","useTheme","AcceptCallButton","RejectCallButton","IncomingCallControls","onAcceptCallHandler","onRejectCallHandler","theme","incomingCall","variants","buttonSizes","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","useTheme","AcceptCallButton","RejectCallButton","jsx","_jsx","jsxs","_jsxs","IncomingCallControls","onAcceptCallHandler","onRejectCallHandler","theme","incomingCall","variants","buttonSizes","style","styles","buttonGroup","children","size","md","rejectReason","create","flexDirection","justifyContent","alignItems"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/IncomingCallControls.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,gBAAgB,QAAQ,oBAAoB;AACrD,SAASC,gBAAgB,QAAQ,oBAAoB;;AAErD;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAcA,OAAO,MAAMC,oBAAoB,GAAGA,CAAC;EACnCC,mBAAmB;EACnBC;AACyB,CAAC,KAAK;EAC/B,MAAM;IACJC,KAAK,EAAE;MACLC,YAAY;MACZC,QAAQ,EAAE;QAAEC;MAAY;IAC1B;EACF,CAAC,GAAGb,QAAQ,CAAC,CAAC;EACd,oBACEM,KAAA,CAACP,IAAI;IAACe,KAAK,EAAE,CAACC,MAAM,CAACC,WAAW,EAAEL,YAAY,CAACK,WAAW,CAAE;IAAAC,QAAA,gBAC1Db,IAAA,CAACF,gBAAgB;MACfO,mBAAmB,EAAEA,mBAAoB;MACzCS,IAAI,EAAEL,WAAW,CAACM,EAAG;MACrBC,YAAY,EAAC;IAAS,CACvB,CAAC,eACFhB,IAAA,CAACH,gBAAgB;MAACO,mBAAmB,EAAEA;IAAoB,CAAE,CAAC;EAAA,CAC1D,CAAC;AAEX,CAAC;AAED,MAAMO,MAAM,GAAGjB,UAAU,CAACuB,MAAM,CAAC;EAC/BL,WAAW,EAAE;IACXM,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,cAAc;IAC9BC,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import React, { useMemo } from 'react';
|
|
2
4
|
import { StyleSheet, View } from 'react-native';
|
|
3
5
|
import { ToggleAudioPreviewButton } from './ToggleAudioPreviewButton';
|
|
@@ -7,6 +9,7 @@ import { useTheme } from '../../../contexts/ThemeContext';
|
|
|
7
9
|
/**
|
|
8
10
|
* Controls for the Lobby Component
|
|
9
11
|
*/
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
13
|
export const LobbyControls = () => {
|
|
11
14
|
const {
|
|
12
15
|
theme: {
|
|
@@ -14,9 +17,10 @@ export const LobbyControls = () => {
|
|
|
14
17
|
}
|
|
15
18
|
} = useTheme();
|
|
16
19
|
const styles = useStyles();
|
|
17
|
-
return /*#__PURE__*/
|
|
18
|
-
style: [styles.container, lobbyControls.container]
|
|
19
|
-
|
|
20
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
21
|
+
style: [styles.container, lobbyControls.container],
|
|
22
|
+
children: [/*#__PURE__*/_jsx(ToggleAudioPreviewButton, {}), /*#__PURE__*/_jsx(ToggleVideoPreviewButton, {})]
|
|
23
|
+
});
|
|
20
24
|
};
|
|
21
25
|
const useStyles = () => {
|
|
22
26
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","StyleSheet","View","ToggleAudioPreviewButton","ToggleVideoPreviewButton","useTheme","LobbyControls","theme","lobbyControls","styles","useStyles","
|
|
1
|
+
{"version":3,"names":["React","useMemo","StyleSheet","View","ToggleAudioPreviewButton","ToggleVideoPreviewButton","useTheme","jsx","_jsx","jsxs","_jsxs","LobbyControls","theme","lobbyControls","styles","useStyles","style","container","children","create","paddingTop","variants","spacingSizes","xs","flexDirection","justifyContent"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/LobbyControls.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,wBAAwB,QAAQ,4BAA4B;AACrE,SAASC,wBAAwB,QAAQ,4BAA4B;AACrE,SAASC,QAAQ,QAAQ,gCAAgC;;AAEzD;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGA,OAAO,MAAMC,aAAa,GAAGA,CAAA,KAAM;EACjC,MAAM;IACJC,KAAK,EAAE;MAAEC;IAAc;EACzB,CAAC,GAAGP,QAAQ,CAAC,CAAC;EACd,MAAMQ,MAAM,GAAGC,SAAS,CAAC,CAAC;EAC1B,oBACEL,KAAA,CAACP,IAAI;IAACa,KAAK,EAAE,CAACF,MAAM,CAACG,SAAS,EAAEJ,aAAa,CAACI,SAAS,CAAE;IAAAC,QAAA,gBACvDV,IAAA,CAACJ,wBAAwB,IAAE,CAAC,eAC5BI,IAAA,CAACH,wBAAwB,IAAE,CAAC;EAAA,CACxB,CAAC;AAEX,CAAC;AAED,MAAMU,SAAS,GAAGA,CAAA,KAAM;EACtB,MAAM;IAAEH;EAAM,CAAC,GAAGN,QAAQ,CAAC,CAAC;EAC5B,OAAOL,OAAO,CACZ,MACEC,UAAU,CAACiB,MAAM,CAAC;IAChBF,SAAS,EAAE;MACTG,UAAU,EAAER,KAAK,CAACS,QAAQ,CAACC,YAAY,CAACC,EAAE;MAC1CC,aAAa,EAAE,KAAK;MACpBC,cAAc,EAAE;IAClB;EACF,CAAC,CAAC,EACJ,CAACb,KAAK,CACR,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import React from 'react';
|
|
2
4
|
import { StyleSheet, View } from 'react-native';
|
|
3
5
|
import { useTheme } from '../../../contexts';
|
|
@@ -8,7 +10,7 @@ import { RejectCallButton } from './RejectCallButton';
|
|
|
8
10
|
/**
|
|
9
11
|
* Props for the OutgoingCallControls Component.
|
|
10
12
|
*/
|
|
11
|
-
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
14
|
export const OutgoingCallControls = ({
|
|
13
15
|
onHangupCallHandler
|
|
14
16
|
}) => {
|
|
@@ -20,15 +22,17 @@ export const OutgoingCallControls = ({
|
|
|
20
22
|
}
|
|
21
23
|
}
|
|
22
24
|
} = useTheme();
|
|
23
|
-
return /*#__PURE__*/
|
|
24
|
-
style: [styles.buttonGroup, outgoingCall.buttonGroup]
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
26
|
+
style: [styles.buttonGroup, outgoingCall.buttonGroup],
|
|
27
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
28
|
+
style: [styles.deviceControlButtons, outgoingCall.deviceControlButtons],
|
|
29
|
+
children: [/*#__PURE__*/_jsx(ToggleAudioPreviewButton, {}), /*#__PURE__*/_jsx(ToggleVideoPreviewButton, {})]
|
|
30
|
+
}), /*#__PURE__*/_jsx(RejectCallButton, {
|
|
31
|
+
onRejectCallHandler: onHangupCallHandler,
|
|
32
|
+
size: buttonSizes.md,
|
|
33
|
+
rejectReason: "cancel"
|
|
34
|
+
})]
|
|
35
|
+
});
|
|
32
36
|
};
|
|
33
37
|
const styles = StyleSheet.create({
|
|
34
38
|
buttonGroup: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","View","useTheme","ToggleAudioPreviewButton","ToggleVideoPreviewButton","RejectCallButton","OutgoingCallControls","onHangupCallHandler","theme","outgoingCall","variants","buttonSizes","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","useTheme","ToggleAudioPreviewButton","ToggleVideoPreviewButton","RejectCallButton","jsx","_jsx","jsxs","_jsxs","OutgoingCallControls","onHangupCallHandler","theme","outgoingCall","variants","buttonSizes","style","styles","buttonGroup","children","deviceControlButtons","onRejectCallHandler","size","md","rejectReason","create","alignItems","width","flexDirection","justifyContent"],"sourceRoot":"../../../../../src","sources":["components/Call/CallControls/OutgoingCallControls.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,wBAAwB,QAAQ,4BAA4B;AACrE,SAASC,wBAAwB,QAAQ,4BAA4B;AACrE,SAASC,gBAAgB,QAAQ,oBAAoB;;AAErD;AACA;AACA;AAFA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAUA,OAAO,MAAMC,oBAAoB,GAAGA,CAAC;EACnCC;AACyB,CAAC,KAAK;EAC/B,MAAM;IACJC,KAAK,EAAE;MACLC,YAAY;MACZC,QAAQ,EAAE;QAAEC;MAAY;IAC1B;EACF,CAAC,GAAGb,QAAQ,CAAC,CAAC;EACd,oBACEO,KAAA,CAACR,IAAI;IAACe,KAAK,EAAE,CAACC,MAAM,CAACC,WAAW,EAAEL,YAAY,CAACK,WAAW,CAAE;IAAAC,QAAA,gBAC1DV,KAAA,CAACR,IAAI;MACHe,KAAK,EAAE,CAACC,MAAM,CAACG,oBAAoB,EAAEP,YAAY,CAACO,oBAAoB,CAAE;MAAAD,QAAA,gBAExEZ,IAAA,CAACJ,wBAAwB,IAAE,CAAC,eAC5BI,IAAA,CAACH,wBAAwB,IAAE,CAAC;IAAA,CACxB,CAAC,eACPG,IAAA,CAACF,gBAAgB;MACfgB,mBAAmB,EAAEV,mBAAoB;MACzCW,IAAI,EAAEP,WAAW,CAACQ,EAAG;MACrBC,YAAY,EAAC;IAAQ,CACtB,CAAC;EAAA,CACE,CAAC;AAEX,CAAC;A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