@100mslive/react-native-room-kit 1.1.6 → 1.1.8
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/lib/commonjs/HMSRoomSetup.js +8 -0
- package/lib/commonjs/HMSRoomSetup.js.map +1 -1
- package/lib/commonjs/Icons/Pause/assets/pause-med.png +0 -0
- package/lib/commonjs/Icons/Pause/assets/pause-med@2x.png +0 -0
- package/lib/commonjs/Icons/Pause/assets/pause-med@3x.png +0 -0
- package/lib/commonjs/Icons/Pause/index.js +35 -0
- package/lib/commonjs/Icons/Pause/index.js.map +1 -0
- package/lib/commonjs/Icons/Pencil/assets/pencil-board.png +0 -0
- package/lib/commonjs/Icons/Pencil/assets/pencil-board@2x.png +0 -0
- package/lib/commonjs/Icons/Pencil/assets/pencil-board@3x.png +0 -0
- package/lib/commonjs/Icons/Pencil/index.js +2 -1
- package/lib/commonjs/Icons/Pencil/index.js.map +1 -1
- package/lib/commonjs/Icons/Play/assets/play-med.png +0 -0
- package/lib/commonjs/Icons/Play/assets/play-med@2x.png +0 -0
- package/lib/commonjs/Icons/Play/assets/play-med@3x.png +0 -0
- package/lib/commonjs/Icons/Play/index.js +35 -0
- package/lib/commonjs/Icons/Play/index.js.map +1 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-backward-arrow.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-backward-arrow@2x.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-backward-arrow@3x.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-forward-arrow.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-forward-arrow@2x.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-forward-arrow@3x.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/index.js +34 -0
- package/lib/commonjs/Icons/SeekArrow/index.js.map +1 -0
- package/lib/commonjs/Icons/index.js +33 -0
- package/lib/commonjs/Icons/index.js.map +1 -1
- package/lib/commonjs/components/DisplayView.js +2 -1
- package/lib/commonjs/components/DisplayView.js.map +1 -1
- package/lib/commonjs/components/Footer.js +1 -1
- package/lib/commonjs/components/Footer.js.map +1 -1
- package/lib/commonjs/components/FullScreenWhiteboard.js +58 -0
- package/lib/commonjs/components/FullScreenWhiteboard.js.map +1 -0
- package/lib/commonjs/components/GridView.js +6 -4
- package/lib/commonjs/components/GridView.js.map +1 -1
- package/lib/commonjs/components/HLSChatMessages.js +4 -5
- package/lib/commonjs/components/HLSChatMessages.js.map +1 -1
- package/lib/commonjs/components/HLSChatView.js +7 -2
- package/lib/commonjs/components/HLSChatView.js.map +1 -1
- package/lib/commonjs/components/HLSCloseMeetingControl.js +41 -0
- package/lib/commonjs/components/HLSCloseMeetingControl.js.map +1 -0
- package/lib/commonjs/components/HLSClosedCaptionControl.js +109 -0
- package/lib/commonjs/components/HLSClosedCaptionControl.js.map +1 -0
- package/lib/commonjs/components/HLSDistanceFromLive.js +56 -0
- package/lib/commonjs/components/HLSDistanceFromLive.js.map +1 -0
- package/lib/commonjs/components/HLSFullScreenControl.js +42 -0
- package/lib/commonjs/components/HLSFullScreenControl.js.map +1 -0
- package/lib/commonjs/components/HLSGoLiveControl.js +78 -0
- package/lib/commonjs/components/HLSGoLiveControl.js.map +1 -0
- package/lib/commonjs/components/HLSPlayPauseControl.js +62 -0
- package/lib/commonjs/components/HLSPlayPauseControl.js.map +1 -0
- package/lib/commonjs/components/HLSPlayer.js +82 -81
- package/lib/commonjs/components/HLSPlayer.js.map +1 -1
- package/lib/commonjs/components/HLSPlayerContainer.js +65 -3
- package/lib/commonjs/components/HLSPlayerContainer.js.map +1 -1
- package/lib/commonjs/components/HLSPlayerControls.js +89 -46
- package/lib/commonjs/components/HLSPlayerControls.js.map +1 -1
- package/lib/commonjs/components/HLSSeekbackwardControl.js +67 -0
- package/lib/commonjs/components/HLSSeekbackwardControl.js.map +1 -0
- package/lib/commonjs/components/HLSSeekbar.js +285 -0
- package/lib/commonjs/components/HLSSeekbar.js.map +1 -0
- package/lib/commonjs/components/HLSSeekforwardControl.js +71 -0
- package/lib/commonjs/components/HLSSeekforwardControl.js.map +1 -0
- package/lib/commonjs/components/HMSHLSMessage.js +19 -41
- package/lib/commonjs/components/HMSHLSMessage.js.map +1 -1
- package/lib/commonjs/components/HMSHLSMessageList.js +2 -2
- package/lib/commonjs/components/HMSHLSMessageList.js.map +1 -1
- package/lib/commonjs/components/HMSOverlayMessageView.js +150 -0
- package/lib/commonjs/components/HMSOverlayMessageView.js.map +1 -0
- package/lib/commonjs/components/MeetingScreenContent.js +22 -2
- package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsList.js +4 -4
- package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -1
- package/lib/commonjs/components/RoomSettingsModalContent.js +63 -6
- package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/TilesContainer.js +4 -4
- package/lib/commonjs/components/TilesContainer.js.map +1 -1
- package/lib/commonjs/components/WebrtcView.js +2 -2
- package/lib/commonjs/components/WebrtcView.js.map +1 -1
- package/lib/commonjs/components/Whiteboard.js +72 -0
- package/lib/commonjs/components/Whiteboard.js.map +1 -0
- package/lib/commonjs/components/WhiteboardContainer.js +35 -0
- package/lib/commonjs/components/WhiteboardContainer.js.map +1 -0
- package/lib/commonjs/components/WhiteboardFullScreenButton.js +42 -0
- package/lib/commonjs/components/WhiteboardFullScreenButton.js.map +1 -0
- package/lib/commonjs/hooks-util.js +66 -8
- package/lib/commonjs/hooks-util.js.map +1 -1
- package/lib/commonjs/redux/actionTypes.js +5 -0
- package/lib/commonjs/redux/actionTypes.js.map +1 -1
- package/lib/commonjs/redux/actions/index.js +22 -3
- package/lib/commonjs/redux/actions/index.js.map +1 -1
- package/lib/commonjs/redux/reducers/appState.js +17 -1
- package/lib/commonjs/redux/reducers/appState.js.map +1 -1
- package/lib/commonjs/redux/reducers/hmsStates.js +7 -1
- package/lib/commonjs/redux/reducers/hmsStates.js.map +1 -1
- package/lib/module/HMSRoomSetup.js +10 -2
- package/lib/module/HMSRoomSetup.js.map +1 -1
- package/lib/module/Icons/Pause/assets/pause-med.png +0 -0
- package/lib/module/Icons/Pause/assets/pause-med@2x.png +0 -0
- package/lib/module/Icons/Pause/assets/pause-med@3x.png +0 -0
- package/lib/module/Icons/Pause/index.js +27 -0
- package/lib/module/Icons/Pause/index.js.map +1 -0
- package/lib/module/Icons/Pencil/assets/pencil-board.png +0 -0
- package/lib/module/Icons/Pencil/assets/pencil-board@2x.png +0 -0
- package/lib/module/Icons/Pencil/assets/pencil-board@3x.png +0 -0
- package/lib/module/Icons/Pencil/index.js +2 -1
- package/lib/module/Icons/Pencil/index.js.map +1 -1
- package/lib/module/Icons/Play/assets/play-med.png +0 -0
- package/lib/module/Icons/Play/assets/play-med@2x.png +0 -0
- package/lib/module/Icons/Play/assets/play-med@3x.png +0 -0
- package/lib/module/Icons/Play/index.js +27 -0
- package/lib/module/Icons/Play/index.js.map +1 -0
- package/lib/module/Icons/SeekArrow/assets/seek-backward-arrow.png +0 -0
- package/lib/module/Icons/SeekArrow/assets/seek-backward-arrow@2x.png +0 -0
- package/lib/module/Icons/SeekArrow/assets/seek-backward-arrow@3x.png +0 -0
- package/lib/module/Icons/SeekArrow/assets/seek-forward-arrow.png +0 -0
- package/lib/module/Icons/SeekArrow/assets/seek-forward-arrow@2x.png +0 -0
- package/lib/module/Icons/SeekArrow/assets/seek-forward-arrow@3x.png +0 -0
- package/lib/module/Icons/SeekArrow/index.js +26 -0
- package/lib/module/Icons/SeekArrow/index.js.map +1 -0
- package/lib/module/Icons/index.js +3 -0
- package/lib/module/Icons/index.js.map +1 -1
- package/lib/module/components/DisplayView.js +2 -1
- package/lib/module/components/DisplayView.js.map +1 -1
- package/lib/module/components/Footer.js +1 -1
- package/lib/module/components/Footer.js.map +1 -1
- package/lib/module/components/FullScreenWhiteboard.js +48 -0
- package/lib/module/components/FullScreenWhiteboard.js.map +1 -0
- package/lib/module/components/GridView.js +6 -4
- package/lib/module/components/GridView.js.map +1 -1
- package/lib/module/components/HLSChatMessages.js +5 -6
- package/lib/module/components/HLSChatMessages.js.map +1 -1
- package/lib/module/components/HLSChatView.js +7 -2
- package/lib/module/components/HLSChatView.js.map +1 -1
- package/lib/module/components/HLSCloseMeetingControl.js +33 -0
- package/lib/module/components/HLSCloseMeetingControl.js.map +1 -0
- package/lib/module/components/HLSClosedCaptionControl.js +100 -0
- package/lib/module/components/HLSClosedCaptionControl.js.map +1 -0
- package/lib/module/components/HLSDistanceFromLive.js +48 -0
- package/lib/module/components/HLSDistanceFromLive.js.map +1 -0
- package/lib/module/components/HLSFullScreenControl.js +34 -0
- package/lib/module/components/HLSFullScreenControl.js.map +1 -0
- package/lib/module/components/HLSGoLiveControl.js +70 -0
- package/lib/module/components/HLSGoLiveControl.js.map +1 -0
- package/lib/module/components/HLSPlayPauseControl.js +54 -0
- package/lib/module/components/HLSPlayPauseControl.js.map +1 -0
- package/lib/module/components/HLSPlayer.js +83 -81
- package/lib/module/components/HLSPlayer.js.map +1 -1
- package/lib/module/components/HLSPlayerContainer.js +65 -3
- package/lib/module/components/HLSPlayerContainer.js.map +1 -1
- package/lib/module/components/HLSPlayerControls.js +89 -50
- package/lib/module/components/HLSPlayerControls.js.map +1 -1
- package/lib/module/components/HLSSeekbackwardControl.js +59 -0
- package/lib/module/components/HLSSeekbackwardControl.js.map +1 -0
- package/lib/module/components/HLSSeekbar.js +276 -0
- package/lib/module/components/HLSSeekbar.js.map +1 -0
- package/lib/module/components/HLSSeekforwardControl.js +63 -0
- package/lib/module/components/HLSSeekforwardControl.js.map +1 -0
- package/lib/module/components/HMSHLSMessage.js +19 -41
- package/lib/module/components/HMSHLSMessage.js.map +1 -1
- package/lib/module/components/HMSHLSMessageList.js +2 -2
- package/lib/module/components/HMSHLSMessageList.js.map +1 -1
- package/lib/module/components/HMSOverlayMessageView.js +142 -0
- package/lib/module/components/HMSOverlayMessageView.js.map +1 -0
- package/lib/module/components/MeetingScreenContent.js +23 -3
- package/lib/module/components/MeetingScreenContent.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsList.js +4 -4
- package/lib/module/components/Participants/ParticipantsList.js.map +1 -1
- package/lib/module/components/RoomSettingsModalContent.js +65 -8
- package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/module/components/TilesContainer.js +4 -4
- package/lib/module/components/TilesContainer.js.map +1 -1
- package/lib/module/components/WebrtcView.js +2 -2
- package/lib/module/components/WebrtcView.js.map +1 -1
- package/lib/module/components/Whiteboard.js +64 -0
- package/lib/module/components/Whiteboard.js.map +1 -0
- package/lib/module/components/WhiteboardContainer.js +27 -0
- package/lib/module/components/WhiteboardContainer.js.map +1 -0
- package/lib/module/components/WhiteboardFullScreenButton.js +33 -0
- package/lib/module/components/WhiteboardFullScreenButton.js.map +1 -0
- package/lib/module/hooks-util.js +66 -9
- package/lib/module/hooks-util.js.map +1 -1
- package/lib/module/redux/actionTypes.js +5 -0
- package/lib/module/redux/actionTypes.js.map +1 -1
- package/lib/module/redux/actions/index.js +16 -0
- package/lib/module/redux/actions/index.js.map +1 -1
- package/lib/module/redux/reducers/appState.js +17 -1
- package/lib/module/redux/reducers/appState.js.map +1 -1
- package/lib/module/redux/reducers/hmsStates.js +7 -1
- package/lib/module/redux/reducers/hmsStates.js.map +1 -1
- package/lib/typescript/HMSRoomSetup.d.ts.map +1 -1
- package/lib/typescript/Icons/Pause/index.d.ts +8 -0
- package/lib/typescript/Icons/Pause/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Pencil/index.d.ts +1 -0
- package/lib/typescript/Icons/Pencil/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Play/index.d.ts +8 -0
- package/lib/typescript/Icons/Play/index.d.ts.map +1 -0
- package/lib/typescript/Icons/SeekArrow/index.d.ts +8 -0
- package/lib/typescript/Icons/SeekArrow/index.d.ts.map +1 -0
- package/lib/typescript/Icons/index.d.ts +3 -0
- package/lib/typescript/Icons/index.d.ts.map +1 -1
- package/lib/typescript/components/CustomButton.d.ts +5 -5
- package/lib/typescript/components/CustomButton.d.ts.map +1 -1
- package/lib/typescript/components/DisplayView.d.ts.map +1 -1
- package/lib/typescript/components/Footer.d.ts.map +1 -1
- package/lib/typescript/components/FullScreenWhiteboard.d.ts +3 -0
- package/lib/typescript/components/FullScreenWhiteboard.d.ts.map +1 -0
- package/lib/typescript/components/GridView.d.ts.map +1 -1
- package/lib/typescript/components/HLSChatMessages.d.ts.map +1 -1
- package/lib/typescript/components/HLSChatView.d.ts.map +1 -1
- package/lib/typescript/components/HLSCloseMeetingControl.d.ts +8 -0
- package/lib/typescript/components/HLSCloseMeetingControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSClosedCaptionControl.d.ts +10 -0
- package/lib/typescript/components/HLSClosedCaptionControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSDistanceFromLive.d.ts +8 -0
- package/lib/typescript/components/HLSDistanceFromLive.d.ts.map +1 -0
- package/lib/typescript/components/HLSFullScreenControl.d.ts +8 -0
- package/lib/typescript/components/HLSFullScreenControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSGoLiveControl.d.ts +10 -0
- package/lib/typescript/components/HLSGoLiveControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSPlayPauseControl.d.ts +8 -0
- package/lib/typescript/components/HLSPlayPauseControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSPlayer.d.ts +4 -2
- package/lib/typescript/components/HLSPlayer.d.ts.map +1 -1
- package/lib/typescript/components/HLSPlayerContainer.d.ts.map +1 -1
- package/lib/typescript/components/HLSPlayerControls.d.ts +12 -2
- package/lib/typescript/components/HLSPlayerControls.d.ts.map +1 -1
- package/lib/typescript/components/HLSSeekbackwardControl.d.ts +8 -0
- package/lib/typescript/components/HLSSeekbackwardControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSSeekbar.d.ts +66 -0
- package/lib/typescript/components/HLSSeekbar.d.ts.map +1 -0
- package/lib/typescript/components/HLSSeekforwardControl.d.ts +8 -0
- package/lib/typescript/components/HLSSeekforwardControl.d.ts.map +1 -0
- package/lib/typescript/components/HMSHLSMessage.d.ts.map +1 -1
- package/lib/typescript/components/HMSOverlayMessageView.d.ts +8 -0
- package/lib/typescript/components/HMSOverlayMessageView.d.ts.map +1 -0
- package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -1
- package/lib/typescript/components/Modals.d.ts +3 -3
- package/lib/typescript/components/Modals.d.ts.map +1 -1
- package/lib/typescript/components/Participants/ParticipantsList.d.ts.map +1 -1
- package/lib/typescript/components/Preview.d.ts.map +1 -1
- package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -1
- package/lib/typescript/components/TilesContainer.d.ts.map +1 -1
- package/lib/typescript/components/WebrtcView.d.ts.map +1 -1
- package/lib/typescript/components/Whiteboard.d.ts +6 -0
- package/lib/typescript/components/Whiteboard.d.ts.map +1 -0
- package/lib/typescript/components/WhiteboardContainer.d.ts +6 -0
- package/lib/typescript/components/WhiteboardContainer.d.ts.map +1 -0
- package/lib/typescript/components/WhiteboardFullScreenButton.d.ts +5 -0
- package/lib/typescript/components/WhiteboardFullScreenButton.d.ts.map +1 -0
- package/lib/typescript/hooks-util.d.ts +12 -7
- package/lib/typescript/hooks-util.d.ts.map +1 -1
- package/lib/typescript/redux/actionTypes.d.ts +3 -0
- package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
- package/lib/typescript/redux/actions/index.d.ts +17 -1
- package/lib/typescript/redux/actions/index.d.ts.map +1 -1
- package/lib/typescript/redux/index.d.ts +19 -16
- package/lib/typescript/redux/index.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/appState.d.ts +2 -0
- package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/hmsStates.d.ts +7 -2
- package/lib/typescript/redux/reducers/hmsStates.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/index.d.ts +19 -16
- package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
- package/package.json +4 -3
- package/src/HMSRoomSetup.tsx +21 -0
- package/src/Icons/Pause/assets/pause-med.png +0 -0
- package/src/Icons/Pause/assets/pause-med@2x.png +0 -0
- package/src/Icons/Pause/assets/pause-med@3x.png +0 -0
- package/src/Icons/Pause/index.tsx +36 -0
- package/src/Icons/Pencil/assets/pencil-board.png +0 -0
- package/src/Icons/Pencil/assets/pencil-board@2x.png +0 -0
- package/src/Icons/Pencil/assets/pencil-board@3x.png +0 -0
- package/src/Icons/Pencil/index.tsx +9 -2
- package/src/Icons/Play/assets/play-med.png +0 -0
- package/src/Icons/Play/assets/play-med@2x.png +0 -0
- package/src/Icons/Play/assets/play-med@3x.png +0 -0
- package/src/Icons/Play/index.tsx +36 -0
- package/src/Icons/SeekArrow/assets/seek-backward-arrow.png +0 -0
- package/src/Icons/SeekArrow/assets/seek-backward-arrow@2x.png +0 -0
- package/src/Icons/SeekArrow/assets/seek-backward-arrow@3x.png +0 -0
- package/src/Icons/SeekArrow/assets/seek-forward-arrow.png +0 -0
- package/src/Icons/SeekArrow/assets/seek-forward-arrow@2x.png +0 -0
- package/src/Icons/SeekArrow/assets/seek-forward-arrow@3x.png +0 -0
- package/src/Icons/SeekArrow/index.tsx +40 -0
- package/src/Icons/index.ts +3 -0
- package/src/components/DisplayView.tsx +3 -0
- package/src/components/Footer.tsx +5 -2
- package/src/components/FullScreenWhiteboard.tsx +59 -0
- package/src/components/GridView.tsx +14 -5
- package/src/components/HLSChatMessages.tsx +4 -6
- package/src/components/HLSChatView.tsx +7 -4
- package/src/components/HLSCloseMeetingControl.tsx +39 -0
- package/src/components/HLSClosedCaptionControl.tsx +140 -0
- package/src/components/HLSDistanceFromLive.tsx +69 -0
- package/src/components/HLSFullScreenControl.tsx +46 -0
- package/src/components/HLSGoLiveControl.tsx +104 -0
- package/src/components/HLSPlayPauseControl.tsx +69 -0
- package/src/components/HLSPlayer.tsx +98 -88
- package/src/components/HLSPlayerContainer.tsx +89 -14
- package/src/components/HLSPlayerControls.tsx +137 -58
- package/src/components/HLSSeekbackwardControl.tsx +88 -0
- package/src/components/HLSSeekbar.tsx +381 -0
- package/src/components/HLSSeekforwardControl.tsx +97 -0
- package/src/components/HMSHLSMessage.tsx +32 -49
- package/src/components/HMSHLSMessageList.tsx +2 -2
- package/src/components/HMSOverlayMessageView.tsx +189 -0
- package/src/components/MeetingScreenContent.tsx +28 -2
- package/src/components/Participants/ParticipantsList.tsx +12 -10
- package/src/components/RoomSettingsModalContent.tsx +77 -2
- package/src/components/TilesContainer.tsx +7 -5
- package/src/components/WebrtcView.tsx +11 -4
- package/src/components/Whiteboard.tsx +101 -0
- package/src/components/WhiteboardContainer.tsx +35 -0
- package/src/components/WhiteboardFullScreenButton.tsx +52 -0
- package/src/hooks-util.ts +80 -10
- package/src/redux/actionTypes.ts +7 -0
- package/src/redux/actions/index.ts +16 -0
- package/src/redux/reducers/appState.ts +16 -0
- package/src/redux/reducers/hmsStates.ts +15 -1
- package/lib/commonjs/components/CustomHLSPlayerControls.js +0 -80
- package/lib/commonjs/components/CustomHLSPlayerControls.js.map +0 -1
- package/lib/module/components/CustomHLSPlayerControls.js +0 -72
- package/lib/module/components/CustomHLSPlayerControls.js.map +0 -1
- package/lib/typescript/components/CustomHLSPlayerControls.d.ts +0 -7
- package/lib/typescript/components/CustomHLSPlayerControls.d.ts.map +0 -1
- package/src/components/CustomHLSPlayerControls.tsx +0 -92
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { StyleSheet } from 'react-native';
|
|
3
|
+
import { useDispatch, useSelector } from 'react-redux';
|
|
4
|
+
|
|
5
|
+
import { PressableIcon } from './PressableIcon';
|
|
6
|
+
import { MaximizeIcon, MinimizeIcon } from '../Icons';
|
|
7
|
+
import { useHMSRoomStyle } from '../hooks-util';
|
|
8
|
+
import { hexToRgbA } from '../utils/theme';
|
|
9
|
+
import type { RootState } from '../redux';
|
|
10
|
+
import { setFullScreenWhiteboard } from '../redux/actions';
|
|
11
|
+
|
|
12
|
+
export interface WhiteboardFullScreenButtonProps {}
|
|
13
|
+
|
|
14
|
+
export const WhiteboardFullScreenButton: React.FC<
|
|
15
|
+
WhiteboardFullScreenButtonProps
|
|
16
|
+
> = () => {
|
|
17
|
+
const dispatch = useDispatch();
|
|
18
|
+
const fullScreenWhiteboard = useSelector(
|
|
19
|
+
(state: RootState) => state.app.fullScreenWhiteboard
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
const buttonStyles = useHMSRoomStyle((theme) => ({
|
|
23
|
+
backgroundColor:
|
|
24
|
+
theme.palette.background_dim &&
|
|
25
|
+
hexToRgbA(theme.palette.background_dim, 0.64),
|
|
26
|
+
}));
|
|
27
|
+
|
|
28
|
+
const maximizeAction = !fullScreenWhiteboard;
|
|
29
|
+
|
|
30
|
+
const handleFullScreenPress = () => {
|
|
31
|
+
dispatch(setFullScreenWhiteboard(!fullScreenWhiteboard));
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
return (
|
|
35
|
+
<PressableIcon
|
|
36
|
+
border={false}
|
|
37
|
+
onPress={handleFullScreenPress}
|
|
38
|
+
style={[styles.container, buttonStyles]}
|
|
39
|
+
>
|
|
40
|
+
{maximizeAction ? <MaximizeIcon /> : <MinimizeIcon />}
|
|
41
|
+
</PressableIcon>
|
|
42
|
+
);
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
const styles = StyleSheet.create({
|
|
46
|
+
container: {
|
|
47
|
+
position: 'absolute',
|
|
48
|
+
top: 8,
|
|
49
|
+
right: 8,
|
|
50
|
+
padding: 8,
|
|
51
|
+
},
|
|
52
|
+
});
|
package/src/hooks-util.ts
CHANGED
|
@@ -24,10 +24,13 @@ import {
|
|
|
24
24
|
WindowController,
|
|
25
25
|
useHMSHLSPlayerCue,
|
|
26
26
|
HMSPollUpdateType,
|
|
27
|
+
useHMSHLSPlayerPlaybackState,
|
|
28
|
+
HMSHLSPlayerPlaybackState,
|
|
27
29
|
} from '@100mslive/react-native-hms';
|
|
28
30
|
import type { Chat as ChatConfig } from '@100mslive/types-prebuilt/elements/chat';
|
|
29
31
|
import { SoftInputModes } from '@100mslive/react-native-hms';
|
|
30
32
|
import type {
|
|
33
|
+
HMSHLSPlayer,
|
|
31
34
|
HMSPIPConfig,
|
|
32
35
|
HMSRole,
|
|
33
36
|
HMSSessionStore,
|
|
@@ -93,6 +96,7 @@ import {
|
|
|
93
96
|
saveUserData,
|
|
94
97
|
setActiveChatBottomSheetTab,
|
|
95
98
|
setActiveSpeakers,
|
|
99
|
+
setAndroidHLSStreamPaused,
|
|
96
100
|
setAutoEnterPipMode,
|
|
97
101
|
setChatPeerBlacklist,
|
|
98
102
|
setChatState,
|
|
@@ -597,9 +601,11 @@ const useHMSTrackUpdate = (
|
|
|
597
601
|
const miniviewPeerTrackNode = reduxState.app.miniviewPeerTrackNode;
|
|
598
602
|
const localPeerTrackNode = reduxState.app.localPeerTrackNode;
|
|
599
603
|
|
|
604
|
+
const localPeerRole = reduxState.hmsStates.localPeer?.role ?? null;
|
|
605
|
+
|
|
600
606
|
const currentLayoutConfig = selectLayoutConfigForRole(
|
|
601
607
|
reduxState.hmsStates.layoutConfig,
|
|
602
|
-
|
|
608
|
+
localPeerRole
|
|
603
609
|
);
|
|
604
610
|
|
|
605
611
|
const localTileInsetEnabled =
|
|
@@ -613,6 +619,26 @@ const useHMSTrackUpdate = (
|
|
|
613
619
|
if (!peer.isLocal && track.type === HMSTrackType.VIDEO) {
|
|
614
620
|
dispatch(addScreenshareTile(newPeerTrackNode));
|
|
615
621
|
}
|
|
622
|
+
if (track.type === HMSTrackType.VIDEO) {
|
|
623
|
+
const whiteboard = reduxState.hmsStates.whiteboard;
|
|
624
|
+
// If white board is open and local peer is owner, close whiteboard
|
|
625
|
+
if (
|
|
626
|
+
whiteboard &&
|
|
627
|
+
// Is local peer has whiteboard admin permission
|
|
628
|
+
!!localPeerRole?.permissions?.whiteboard?.admin &&
|
|
629
|
+
// Is local peer owner of whiteboard
|
|
630
|
+
whiteboard.isOwner
|
|
631
|
+
) {
|
|
632
|
+
hmsInstance.interactivityCenter
|
|
633
|
+
.stopWhiteboard()
|
|
634
|
+
.then((success) => {
|
|
635
|
+
console.log('StopWhiteboard on Screenshare: ', success);
|
|
636
|
+
})
|
|
637
|
+
.catch((error) => {
|
|
638
|
+
console.log('StopWhiteboard error: ', error);
|
|
639
|
+
});
|
|
640
|
+
}
|
|
641
|
+
}
|
|
616
642
|
} else {
|
|
617
643
|
setPeerTrackNodes((prevPeerTrackNodes) => {
|
|
618
644
|
if (
|
|
@@ -3096,6 +3122,11 @@ export const useCanShowRoomOptionsButton = () => {
|
|
|
3096
3122
|
return permissions?.pollRead || permissions?.pollWrite;
|
|
3097
3123
|
});
|
|
3098
3124
|
|
|
3125
|
+
const canStartStopWhiteboard = useSelector((state: RootState) => {
|
|
3126
|
+
const permissions = state.hmsStates.localPeer?.role?.permissions;
|
|
3127
|
+
return permissions?.whiteboard?.admin;
|
|
3128
|
+
});
|
|
3129
|
+
|
|
3099
3130
|
const { canShowParticipants } = useShowChatAndParticipants();
|
|
3100
3131
|
|
|
3101
3132
|
const canEditUsernameFromRoomModal = isViewer && !editUsernameDisabled;
|
|
@@ -3107,15 +3138,18 @@ export const useCanShowRoomOptionsButton = () => {
|
|
|
3107
3138
|
canStartRecording ||
|
|
3108
3139
|
canEditUsernameFromRoomModal ||
|
|
3109
3140
|
canReadOrWritePoll ||
|
|
3141
|
+
canStartStopWhiteboard ||
|
|
3110
3142
|
isNoiseCancellationAvailable;
|
|
3111
3143
|
|
|
3112
3144
|
return canShowOptions;
|
|
3113
3145
|
};
|
|
3114
3146
|
|
|
3115
3147
|
export const useHLSViewsConstraints = () => {
|
|
3116
|
-
const
|
|
3117
|
-
|
|
3118
|
-
|
|
3148
|
+
const fullScreenMode = useSelector((state: RootState) => {
|
|
3149
|
+
const hlsFullScreen = state.app.hlsFullScreen;
|
|
3150
|
+
const isPipModeActive = state.app.pipModeStatus === PipModes.ACTIVE;
|
|
3151
|
+
return hlsFullScreen || isPipModeActive;
|
|
3152
|
+
});
|
|
3119
3153
|
const isLandscapeOrientation = useIsLandscapeOrientation();
|
|
3120
3154
|
const { width: safeAreaWidthFrame, height: safeAreaHeightFrame } =
|
|
3121
3155
|
useSafeAreaFrame();
|
|
@@ -3126,7 +3160,7 @@ export const useHLSViewsConstraints = () => {
|
|
|
3126
3160
|
right: rightInset,
|
|
3127
3161
|
} = useSafeAreaInsets();
|
|
3128
3162
|
|
|
3129
|
-
const playerWrapperConstraints =
|
|
3163
|
+
const playerWrapperConstraints = fullScreenMode
|
|
3130
3164
|
? {
|
|
3131
3165
|
width: safeAreaWidthFrame - leftInset - rightInset,
|
|
3132
3166
|
height: isLandscapeOrientation
|
|
@@ -3161,9 +3195,11 @@ export const useHLSViewsConstraints = () => {
|
|
|
3161
3195
|
};
|
|
3162
3196
|
|
|
3163
3197
|
export const useHLSPlayerConstraints = () => {
|
|
3164
|
-
const
|
|
3165
|
-
|
|
3166
|
-
|
|
3198
|
+
const fullScreenMode = useSelector((state: RootState) => {
|
|
3199
|
+
const hlsFullScreen = state.app.hlsFullScreen;
|
|
3200
|
+
const isPipModeActive = state.app.pipModeStatus === PipModes.ACTIVE;
|
|
3201
|
+
return hlsFullScreen || isPipModeActive;
|
|
3202
|
+
});
|
|
3167
3203
|
const isLandscapeOrientation = useIsLandscapeOrientation();
|
|
3168
3204
|
|
|
3169
3205
|
const resolution = useHMSHLSPlayerResolution();
|
|
@@ -3187,7 +3223,7 @@ export const useHLSPlayerConstraints = () => {
|
|
|
3187
3223
|
* Handling Landscape Orientation for both Full and Normal screen
|
|
3188
3224
|
*/
|
|
3189
3225
|
if (isLandscapeOrientation) {
|
|
3190
|
-
return sr >
|
|
3226
|
+
return sr > wr
|
|
3191
3227
|
? {
|
|
3192
3228
|
width: wrapperWidth,
|
|
3193
3229
|
height: wrapperWidth / sr,
|
|
@@ -3201,7 +3237,7 @@ export const useHLSPlayerConstraints = () => {
|
|
|
3201
3237
|
/**
|
|
3202
3238
|
* Handling Portrait Orientation
|
|
3203
3239
|
*/
|
|
3204
|
-
if (
|
|
3240
|
+
if (fullScreenMode) {
|
|
3205
3241
|
return {
|
|
3206
3242
|
width: sr > wr ? wrapperWidth : wrapperHeight * sr,
|
|
3207
3243
|
height: sr > wr ? wrapperWidth / sr : wrapperHeight,
|
|
@@ -3213,3 +3249,37 @@ export const useHLSPlayerConstraints = () => {
|
|
|
3213
3249
|
height: wrapperHeight,
|
|
3214
3250
|
};
|
|
3215
3251
|
};
|
|
3252
|
+
|
|
3253
|
+
export const useHLSStreamResumePause = (
|
|
3254
|
+
playerRef: React.RefObject<React.ComponentRef<typeof HMSHLSPlayer>>
|
|
3255
|
+
) => {
|
|
3256
|
+
const dispatch = useDispatch();
|
|
3257
|
+
|
|
3258
|
+
const isPaused = Platform.select({
|
|
3259
|
+
android: useSelector(
|
|
3260
|
+
(state: RootState) => state.app.hlsStreamPaused_android
|
|
3261
|
+
),
|
|
3262
|
+
ios: useHMSHLSPlayerPlaybackState() === HMSHLSPlayerPlaybackState.PAUSED,
|
|
3263
|
+
default: false,
|
|
3264
|
+
});
|
|
3265
|
+
|
|
3266
|
+
const resumeStream = useCallback(() => {
|
|
3267
|
+
playerRef.current?.resume();
|
|
3268
|
+
if (Platform.OS === 'android') {
|
|
3269
|
+
dispatch(setAndroidHLSStreamPaused(false));
|
|
3270
|
+
}
|
|
3271
|
+
}, []);
|
|
3272
|
+
|
|
3273
|
+
const pauseStream = useCallback(() => {
|
|
3274
|
+
playerRef.current?.pause();
|
|
3275
|
+
if (Platform.OS === 'android') {
|
|
3276
|
+
dispatch(setAndroidHLSStreamPaused(true));
|
|
3277
|
+
}
|
|
3278
|
+
}, []);
|
|
3279
|
+
|
|
3280
|
+
return {
|
|
3281
|
+
isPaused,
|
|
3282
|
+
resumeStream,
|
|
3283
|
+
pauseStream,
|
|
3284
|
+
};
|
|
3285
|
+
};
|
package/src/redux/actionTypes.ts
CHANGED
|
@@ -66,6 +66,8 @@ const UPDATE_MINI_VIEW_PEERTRACKNODE = 'UPDATE_MINI_VIEW_PEERTRACKNODE';
|
|
|
66
66
|
|
|
67
67
|
const SET_FULLSCREEN_PEERTRACKNODE = 'SET_FULLSCREEN_PEERTRACKNODE';
|
|
68
68
|
|
|
69
|
+
const SET_FULLSCREEN_WHITEBOARD = 'SET_FULLSCREEN_WHITEBOARD';
|
|
70
|
+
|
|
69
71
|
const UPDATE_FULLSCREEN_PEERTRACKNODE = 'UPDATE_FULLSCREEN_PEERTRACKNODE';
|
|
70
72
|
|
|
71
73
|
const SET_LOCAL_PEERTRACKNODE = 'SET_LOCAL_PEERTRACKNODE';
|
|
@@ -113,6 +115,8 @@ const SET_HLS_DESC_PANE_VISIBLE = 'SET_HLS_DESC_PANE_VISIBLE';
|
|
|
113
115
|
|
|
114
116
|
const SET_HLS_FULL_SCREEN = 'SET_HLS_FULL_SCREEN';
|
|
115
117
|
|
|
118
|
+
const SET_ANDROID_HLS_STREAM_PAUSED = 'SET_ANDROID_HLS_STREAM_PAUSED';
|
|
119
|
+
|
|
116
120
|
const FILTER_OUT_BLOCKED_MSGS = 'FILTER_OUT_BLOCKED_MSGS';
|
|
117
121
|
|
|
118
122
|
export default {
|
|
@@ -141,6 +145,7 @@ export default {
|
|
|
141
145
|
SET_MINI_VIEW_PEERTRACKNODE,
|
|
142
146
|
UPDATE_MINI_VIEW_PEERTRACKNODE,
|
|
143
147
|
SET_FULLSCREEN_PEERTRACKNODE,
|
|
148
|
+
SET_FULLSCREEN_WHITEBOARD,
|
|
144
149
|
UPDATE_FULLSCREEN_PEERTRACKNODE,
|
|
145
150
|
SET_LOCAL_PEERTRACKNODE,
|
|
146
151
|
UPDATE_LOCAL_PEERTRACKNODE,
|
|
@@ -164,6 +169,7 @@ export default {
|
|
|
164
169
|
SET_CHAT_PEER_BLACKLIST,
|
|
165
170
|
SET_HLS_DESC_PANE_VISIBLE,
|
|
166
171
|
SET_HLS_FULL_SCREEN,
|
|
172
|
+
SET_ANDROID_HLS_STREAM_PAUSED,
|
|
167
173
|
FILTER_OUT_BLOCKED_MSGS,
|
|
168
174
|
};
|
|
169
175
|
|
|
@@ -192,6 +198,7 @@ export enum HmsStateActionTypes {
|
|
|
192
198
|
SET_ACTIVE_SPEAKERS = 'SET_ACTIVE_SPEAKERS',
|
|
193
199
|
SET_RECONNECTING = 'SET_RECONNECTING',
|
|
194
200
|
SET_NOISE_CANCELLATION_PLUGIN = 'SET_NOISE_CANCELLATION_PLUGIN',
|
|
201
|
+
SET_WHITEBOARD = 'SET_WHITEBOARD',
|
|
195
202
|
SET_INITIAL_ROLE = 'SET_INITIAL_ROLE',
|
|
196
203
|
}
|
|
197
204
|
|
|
@@ -14,6 +14,7 @@ import type {
|
|
|
14
14
|
HMSSDK,
|
|
15
15
|
HMSSessionStore,
|
|
16
16
|
HMSSpeaker,
|
|
17
|
+
HMSWhiteboard,
|
|
17
18
|
} from '@100mslive/react-native-hms';
|
|
18
19
|
import type { Layout } from '@100mslive/types-prebuilt';
|
|
19
20
|
|
|
@@ -285,6 +286,11 @@ export const setFullScreenPeerTrackNode = (
|
|
|
285
286
|
payload: { fullScreenPeerTrackNode },
|
|
286
287
|
});
|
|
287
288
|
|
|
289
|
+
export const setFullScreenWhiteboard = (fullScreenWhiteboard: boolean) => ({
|
|
290
|
+
type: actionTypes.SET_FULLSCREEN_WHITEBOARD,
|
|
291
|
+
payload: { fullScreenWhiteboard },
|
|
292
|
+
});
|
|
293
|
+
|
|
288
294
|
export const updateFullScreenPeerTrackNode = (
|
|
289
295
|
data: Partial<Omit<PeerTrackNode, 'id'>>
|
|
290
296
|
) => ({
|
|
@@ -439,6 +445,11 @@ export const setNoiseCancellationPlugin = (
|
|
|
439
445
|
noiseCancellationPlugin,
|
|
440
446
|
});
|
|
441
447
|
|
|
448
|
+
export const setWhiteboard = (whiteboard: HMSWhiteboard | null) => ({
|
|
449
|
+
type: HmsStateActionTypes.SET_WHITEBOARD,
|
|
450
|
+
whiteboard,
|
|
451
|
+
});
|
|
452
|
+
|
|
442
453
|
export const setHandleBackButton = (handleBackButton?: boolean) => ({
|
|
443
454
|
type: actionTypes.SET_HANDLE_BACK_BUTTON,
|
|
444
455
|
payload: { handleBackButton },
|
|
@@ -486,6 +497,11 @@ export const setHlsFullScreen = (fullScreen: boolean) => ({
|
|
|
486
497
|
payload: { fullScreen },
|
|
487
498
|
});
|
|
488
499
|
|
|
500
|
+
export const setAndroidHLSStreamPaused = (paused: boolean) => ({
|
|
501
|
+
type: actionTypes.SET_ANDROID_HLS_STREAM_PAUSED,
|
|
502
|
+
payload: { hlsStreamPaused_android: paused },
|
|
503
|
+
});
|
|
504
|
+
|
|
489
505
|
/**
|
|
490
506
|
* POLLS
|
|
491
507
|
*/
|
|
@@ -50,6 +50,7 @@ type IntialStateType = {
|
|
|
50
50
|
gridViewActivePage: number;
|
|
51
51
|
startingOrStoppingRecording: boolean;
|
|
52
52
|
fullScreenPeerTrackNode: null | PeerTrackNode;
|
|
53
|
+
fullScreenWhiteboard: boolean;
|
|
53
54
|
screensharePeerTrackNodes: PeerTrackNode[];
|
|
54
55
|
notifications: Notification[];
|
|
55
56
|
activeChatBottomSheetTab: (typeof ChatBottomSheetTabs)[number];
|
|
@@ -64,6 +65,7 @@ type IntialStateType = {
|
|
|
64
65
|
chatPeerBlacklist: string[]; // list of userIds
|
|
65
66
|
hlsDescriptionPaneVisible: boolean;
|
|
66
67
|
hlsFullScreen: boolean;
|
|
68
|
+
hlsStreamPaused_android: boolean;
|
|
67
69
|
};
|
|
68
70
|
|
|
69
71
|
const INITIAL_STATE: IntialStateType = {
|
|
@@ -89,6 +91,7 @@ const INITIAL_STATE: IntialStateType = {
|
|
|
89
91
|
gridViewActivePage: 0,
|
|
90
92
|
startingOrStoppingRecording: false,
|
|
91
93
|
fullScreenPeerTrackNode: null,
|
|
94
|
+
fullScreenWhiteboard: false,
|
|
92
95
|
screensharePeerTrackNodes: [],
|
|
93
96
|
notifications: [],
|
|
94
97
|
activeChatBottomSheetTab: ChatBottomSheetTabs[0],
|
|
@@ -103,6 +106,7 @@ const INITIAL_STATE: IntialStateType = {
|
|
|
103
106
|
chatPeerBlacklist: [],
|
|
104
107
|
hlsDescriptionPaneVisible: false,
|
|
105
108
|
hlsFullScreen: false,
|
|
109
|
+
hlsStreamPaused_android: false,
|
|
106
110
|
};
|
|
107
111
|
|
|
108
112
|
const appReducer = (
|
|
@@ -240,6 +244,12 @@ const appReducer = (
|
|
|
240
244
|
},
|
|
241
245
|
};
|
|
242
246
|
}
|
|
247
|
+
case ActionTypes.SET_FULLSCREEN_WHITEBOARD: {
|
|
248
|
+
return {
|
|
249
|
+
...state,
|
|
250
|
+
fullScreenWhiteboard: action.payload.fullScreenWhiteboard,
|
|
251
|
+
};
|
|
252
|
+
}
|
|
243
253
|
case ActionTypes.SET_STARTING_HLS_STREAM:
|
|
244
254
|
return { ...state, startingHLSStream: action.payload.startingHLSStream };
|
|
245
255
|
case ActionTypes.SET_GRID_VIEW_ACTIVE_PAGE:
|
|
@@ -373,6 +383,12 @@ const appReducer = (
|
|
|
373
383
|
hlsFullScreen: action.payload.fullScreen,
|
|
374
384
|
};
|
|
375
385
|
}
|
|
386
|
+
case ActionTypes.SET_ANDROID_HLS_STREAM_PAUSED: {
|
|
387
|
+
return {
|
|
388
|
+
...state,
|
|
389
|
+
hlsStreamPaused_android: action.payload.hlsStreamPaused_android,
|
|
390
|
+
};
|
|
391
|
+
}
|
|
376
392
|
case HmsStateActionTypes.CLEAR_STATES:
|
|
377
393
|
return INITIAL_STATE;
|
|
378
394
|
default:
|
|
@@ -6,6 +6,7 @@ import type {
|
|
|
6
6
|
HMSRoleChangeRequest,
|
|
7
7
|
HMSRoom,
|
|
8
8
|
HMSSpeaker,
|
|
9
|
+
HMSWhiteboard,
|
|
9
10
|
} from '@100mslive/react-native-hms';
|
|
10
11
|
import type { Layout } from '@100mslive/types-prebuilt';
|
|
11
12
|
import { HmsStateActionTypes } from '../actionTypes';
|
|
@@ -31,7 +32,8 @@ type ActionType =
|
|
|
31
32
|
| ReplaceParticipantsList
|
|
32
33
|
| SetActiveSpeakers
|
|
33
34
|
| SetReconnecting
|
|
34
|
-
| SetNoiseCancellationPlugin
|
|
35
|
+
| SetNoiseCancellationPlugin
|
|
36
|
+
| SetWhiteboard;
|
|
35
37
|
|
|
36
38
|
type SetRoomAction = {
|
|
37
39
|
type: HmsStateActionTypes.SET_ROOM_STATE;
|
|
@@ -138,6 +140,11 @@ type SetNoiseCancellationPlugin = {
|
|
|
138
140
|
noiseCancellationPlugin: HMSNoiseCancellationPlugin;
|
|
139
141
|
};
|
|
140
142
|
|
|
143
|
+
type SetWhiteboard = {
|
|
144
|
+
type: HmsStateActionTypes.SET_WHITEBOARD;
|
|
145
|
+
whiteboard: HMSWhiteboard | null;
|
|
146
|
+
};
|
|
147
|
+
|
|
141
148
|
type IntialStateType = {
|
|
142
149
|
isLocalAudioMuted: boolean | undefined;
|
|
143
150
|
isLocalVideoMuted: boolean | undefined;
|
|
@@ -153,6 +160,7 @@ type IntialStateType = {
|
|
|
153
160
|
layoutConfig: Layout[] | null;
|
|
154
161
|
roleChangeRequest: HMSRoleChangeRequest | null;
|
|
155
162
|
noiseCancellationPlugin: HMSNoiseCancellationPlugin | null;
|
|
163
|
+
whiteboard: HMSWhiteboard | null;
|
|
156
164
|
};
|
|
157
165
|
|
|
158
166
|
const INITIAL_STATE: IntialStateType = {
|
|
@@ -170,6 +178,7 @@ const INITIAL_STATE: IntialStateType = {
|
|
|
170
178
|
layoutConfig: null,
|
|
171
179
|
roleChangeRequest: null,
|
|
172
180
|
noiseCancellationPlugin: null,
|
|
181
|
+
whiteboard: null,
|
|
173
182
|
};
|
|
174
183
|
|
|
175
184
|
const hmsStatesReducer = (
|
|
@@ -571,6 +580,11 @@ const hmsStatesReducer = (
|
|
|
571
580
|
...state,
|
|
572
581
|
noiseCancellationPlugin: action.noiseCancellationPlugin,
|
|
573
582
|
};
|
|
583
|
+
case HmsStateActionTypes.SET_WHITEBOARD:
|
|
584
|
+
return {
|
|
585
|
+
...state,
|
|
586
|
+
whiteboard: action.whiteboard,
|
|
587
|
+
};
|
|
574
588
|
case HmsStateActionTypes.CLEAR_STATES:
|
|
575
589
|
return INITIAL_STATE;
|
|
576
590
|
default:
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.CustomControls = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _theme = require("../utils/theme");
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
const CustomControls = ({
|
|
12
|
-
handleControlPress
|
|
13
|
-
}) => {
|
|
14
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.View, null, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
15
|
-
style: styles.wrapper
|
|
16
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
17
|
-
style: styles.button,
|
|
18
|
-
onPress: () => handleControlPress('play')
|
|
19
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
20
|
-
style: styles.text
|
|
21
|
-
}, "Play")), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
22
|
-
style: styles.button,
|
|
23
|
-
onPress: () => handleControlPress('stop')
|
|
24
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
25
|
-
style: styles.text
|
|
26
|
-
}, "Stop")), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
27
|
-
style: styles.button,
|
|
28
|
-
onPress: () => handleControlPress('pause')
|
|
29
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
30
|
-
style: styles.text
|
|
31
|
-
}, "Pause")), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
32
|
-
style: styles.button,
|
|
33
|
-
onPress: () => handleControlPress('resume')
|
|
34
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
35
|
-
style: styles.text
|
|
36
|
-
}, "Resume"))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
37
|
-
style: styles.spacedWrapper
|
|
38
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
39
|
-
style: styles.button,
|
|
40
|
-
onPress: () => handleControlPress('seekForward', 5)
|
|
41
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
42
|
-
style: styles.text
|
|
43
|
-
}, "Forward 5 sec")), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
44
|
-
style: styles.button,
|
|
45
|
-
onPress: () => handleControlPress('seekBackward', 5)
|
|
46
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
47
|
-
style: styles.text
|
|
48
|
-
}, "Backward 5 sec"))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
49
|
-
style: styles.spacedWrapper
|
|
50
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
51
|
-
style: styles.button,
|
|
52
|
-
onPress: () => handleControlPress('seekToLive')
|
|
53
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
54
|
-
style: styles.text
|
|
55
|
-
}, "Go to Live")), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
56
|
-
style: styles.button,
|
|
57
|
-
onPress: () => handleControlPress('setVolume', 50)
|
|
58
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
59
|
-
style: styles.text
|
|
60
|
-
}, "Low Volume to `50`"))));
|
|
61
|
-
};
|
|
62
|
-
exports.CustomControls = CustomControls;
|
|
63
|
-
const styles = _reactNative.StyleSheet.create({
|
|
64
|
-
wrapper: {
|
|
65
|
-
flexDirection: 'row',
|
|
66
|
-
justifyContent: 'space-evenly'
|
|
67
|
-
},
|
|
68
|
-
spacedWrapper: {
|
|
69
|
-
flexDirection: 'row',
|
|
70
|
-
justifyContent: 'space-evenly',
|
|
71
|
-
marginVertical: 8
|
|
72
|
-
},
|
|
73
|
-
button: {
|
|
74
|
-
padding: 12
|
|
75
|
-
},
|
|
76
|
-
text: {
|
|
77
|
-
color: _theme.COLORS.PRIMARY.LIGHT
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
//# sourceMappingURL=CustomHLSPlayerControls.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_theme","obj","__esModule","default","CustomControls","handleControlPress","createElement","View","style","styles","wrapper","TouchableOpacity","button","onPress","Text","text","spacedWrapper","exports","StyleSheet","create","flexDirection","justifyContent","marginVertical","padding","color","COLORS","PRIMARY","LIGHT"],"sourceRoot":"../../../src","sources":["components/CustomHLSPlayerControls.tsx"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { View, Text, TouchableOpacity, StyleSheet } from 'react-native';
|
|
3
|
-
import { COLORS } from '../utils/theme';
|
|
4
|
-
export const CustomControls = ({
|
|
5
|
-
handleControlPress
|
|
6
|
-
}) => {
|
|
7
|
-
return /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(View, {
|
|
8
|
-
style: styles.wrapper
|
|
9
|
-
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
10
|
-
style: styles.button,
|
|
11
|
-
onPress: () => handleControlPress('play')
|
|
12
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
13
|
-
style: styles.text
|
|
14
|
-
}, "Play")), /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
15
|
-
style: styles.button,
|
|
16
|
-
onPress: () => handleControlPress('stop')
|
|
17
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
18
|
-
style: styles.text
|
|
19
|
-
}, "Stop")), /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
20
|
-
style: styles.button,
|
|
21
|
-
onPress: () => handleControlPress('pause')
|
|
22
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
23
|
-
style: styles.text
|
|
24
|
-
}, "Pause")), /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
25
|
-
style: styles.button,
|
|
26
|
-
onPress: () => handleControlPress('resume')
|
|
27
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
28
|
-
style: styles.text
|
|
29
|
-
}, "Resume"))), /*#__PURE__*/React.createElement(View, {
|
|
30
|
-
style: styles.spacedWrapper
|
|
31
|
-
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
32
|
-
style: styles.button,
|
|
33
|
-
onPress: () => handleControlPress('seekForward', 5)
|
|
34
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
35
|
-
style: styles.text
|
|
36
|
-
}, "Forward 5 sec")), /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
37
|
-
style: styles.button,
|
|
38
|
-
onPress: () => handleControlPress('seekBackward', 5)
|
|
39
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
40
|
-
style: styles.text
|
|
41
|
-
}, "Backward 5 sec"))), /*#__PURE__*/React.createElement(View, {
|
|
42
|
-
style: styles.spacedWrapper
|
|
43
|
-
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
44
|
-
style: styles.button,
|
|
45
|
-
onPress: () => handleControlPress('seekToLive')
|
|
46
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
47
|
-
style: styles.text
|
|
48
|
-
}, "Go to Live")), /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
49
|
-
style: styles.button,
|
|
50
|
-
onPress: () => handleControlPress('setVolume', 50)
|
|
51
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
52
|
-
style: styles.text
|
|
53
|
-
}, "Low Volume to `50`"))));
|
|
54
|
-
};
|
|
55
|
-
const styles = StyleSheet.create({
|
|
56
|
-
wrapper: {
|
|
57
|
-
flexDirection: 'row',
|
|
58
|
-
justifyContent: 'space-evenly'
|
|
59
|
-
},
|
|
60
|
-
spacedWrapper: {
|
|
61
|
-
flexDirection: 'row',
|
|
62
|
-
justifyContent: 'space-evenly',
|
|
63
|
-
marginVertical: 8
|
|
64
|
-
},
|
|
65
|
-
button: {
|
|
66
|
-
padding: 12
|
|
67
|
-
},
|
|
68
|
-
text: {
|
|
69
|
-
color: COLORS.PRIMARY.LIGHT
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
//# sourceMappingURL=CustomHLSPlayerControls.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","Text","TouchableOpacity","StyleSheet","COLORS","CustomControls","handleControlPress","createElement","style","styles","wrapper","button","onPress","text","spacedWrapper","create","flexDirection","justifyContent","marginVertical","padding","color","PRIMARY","LIGHT"],"sourceRoot":"../../../src","sources":["components/CustomHLSPlayerControls.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,UAAU,QAAQ,cAAc;AAEvE,SAASC,MAAM,QAAQ,gBAAgB;AAgBvC,OAAO,MAAMC,cAA6C,GAAGA,CAAC;EAC5DC;AACF,CAAC,KAAK;EACJ,oBACEP,KAAA,CAAAQ,aAAA,CAACP,IAAI,qBACHD,KAAA,CAAAQ,aAAA,CAACP,IAAI;IAACQ,KAAK,EAAEC,MAAM,CAACC;EAAQ,gBAC1BX,KAAA,CAAAQ,aAAA,CAACL,gBAAgB;IACfM,KAAK,EAAEC,MAAM,CAACE,MAAO;IACrBC,OAAO,EAAEA,CAAA,KAAMN,kBAAkB,CAAC,MAAM;EAAE,gBAE1CP,KAAA,CAAAQ,aAAA,CAACN,IAAI;IAACO,KAAK,EAAEC,MAAM,CAACI;EAAK,GAAC,MAAU,CACpB,CAAC,eACnBd,KAAA,CAAAQ,aAAA,CAACL,gBAAgB;IACfM,KAAK,EAAEC,MAAM,CAACE,MAAO;IACrBC,OAAO,EAAEA,CAAA,KAAMN,kBAAkB,CAAC,MAAM;EAAE,gBAE1CP,KAAA,CAAAQ,aAAA,CAACN,IAAI;IAACO,KAAK,EAAEC,MAAM,CAACI;EAAK,GAAC,MAAU,CACpB,CAAC,eACnBd,KAAA,CAAAQ,aAAA,CAACL,gBAAgB;IACfM,KAAK,EAAEC,MAAM,CAACE,MAAO;IACrBC,OAAO,EAAEA,CAAA,KAAMN,kBAAkB,CAAC,OAAO;EAAE,gBAE3CP,KAAA,CAAAQ,aAAA,CAACN,IAAI;IAACO,KAAK,EAAEC,MAAM,CAACI;EAAK,GAAC,OAAW,CACrB,CAAC,eACnBd,KAAA,CAAAQ,aAAA,CAACL,gBAAgB;IACfM,KAAK,EAAEC,MAAM,CAACE,MAAO;IACrBC,OAAO,EAAEA,CAAA,KAAMN,kBAAkB,CAAC,QAAQ;EAAE,gBAE5CP,KAAA,CAAAQ,aAAA,CAACN,IAAI;IAACO,KAAK,EAAEC,MAAM,CAACI;EAAK,GAAC,QAAY,CACtB,CACd,CAAC,eACPd,KAAA,CAAAQ,aAAA,CAACP,IAAI;IAACQ,KAAK,EAAEC,MAAM,CAACK;EAAc,gBAChCf,KAAA,CAAAQ,aAAA,CAACL,gBAAgB;IACfM,KAAK,EAAEC,MAAM,CAACE,MAAO;IACrBC,OAAO,EAAEA,CAAA,KAAMN,kBAAkB,CAAC,aAAa,EAAE,CAAC;EAAE,gBAEpDP,KAAA,CAAAQ,aAAA,CAACN,IAAI;IAACO,KAAK,EAAEC,MAAM,CAACI;EAAK,GAAC,eAAmB,CAC7B,CAAC,eACnBd,KAAA,CAAAQ,aAAA,CAACL,gBAAgB;IACfM,KAAK,EAAEC,MAAM,CAACE,MAAO;IACrBC,OAAO,EAAEA,CAAA,KAAMN,kBAAkB,CAAC,cAAc,EAAE,CAAC;EAAE,gBAErDP,KAAA,CAAAQ,aAAA,CAACN,IAAI;IAACO,KAAK,EAAEC,MAAM,CAACI;EAAK,GAAC,gBAAoB,CAC9B,CACd,CAAC,eACPd,KAAA,CAAAQ,aAAA,CAACP,IAAI;IAACQ,KAAK,EAAEC,MAAM,CAACK;EAAc,gBAChCf,KAAA,CAAAQ,aAAA,CAACL,gBAAgB;IACfM,KAAK,EAAEC,MAAM,CAACE,MAAO;IACrBC,OAAO,EAAEA,CAAA,KAAMN,kBAAkB,CAAC,YAAY;EAAE,gBAEhDP,KAAA,CAAAQ,aAAA,CAACN,IAAI;IAACO,KAAK,EAAEC,MAAM,CAACI;EAAK,GAAC,YAAgB,CAC1B,CAAC,eACnBd,KAAA,CAAAQ,aAAA,CAACL,gBAAgB;IACfM,KAAK,EAAEC,MAAM,CAACE,MAAO;IACrBC,OAAO,EAAEA,CAAA,KAAMN,kBAAkB,CAAC,WAAW,EAAE,EAAE;EAAE,gBAEnDP,KAAA,CAAAQ,aAAA,CAACN,IAAI;IAACO,KAAK,EAAEC,MAAM,CAACI;EAAK,GAAC,oBAAwB,CAClC,CACd,CACF,CAAC;AAEX,CAAC;AAED,MAAMJ,MAAM,GAAGN,UAAU,CAACY,MAAM,CAAC;EAC/BL,OAAO,EAAE;IAAEM,aAAa,EAAE,KAAK;IAAEC,cAAc,EAAE;EAAe,CAAC;EACjEH,aAAa,EAAE;IACbE,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,cAAc;IAC9BC,cAAc,EAAE;EAClB,CAAC;EACDP,MAAM,EAAE;IAAEQ,OAAO,EAAE;EAAG,CAAC;EACvBN,IAAI,EAAE;IAAEO,KAAK,EAAEhB,MAAM,CAACiB,OAAO,CAACC;EAAM;AACtC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type ControlType = 'play' | 'stop' | 'pause' | 'resume' | 'seekForward' | 'seekBackward' | 'seekToLive' | 'setVolume';
|
|
3
|
-
export interface CustomControlsProps {
|
|
4
|
-
handleControlPress(action: ControlType, data?: any): void;
|
|
5
|
-
}
|
|
6
|
-
export declare const CustomControls: React.FC<CustomControlsProps>;
|
|
7
|
-
//# sourceMappingURL=CustomHLSPlayerControls.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CustomHLSPlayerControls.d.ts","sourceRoot":"","sources":["../../../src/components/CustomHLSPlayerControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,MAAM,WAAW,GACnB,MAAM,GACN,MAAM,GACN,OAAO,GACP,QAAQ,GACR,aAAa,GACb,cAAc,GACd,YAAY,GACZ,WAAW,CAAC;AAEhB,MAAM,WAAW,mBAAmB;IAClC,kBAAkB,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;CAC3D;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA6DxD,CAAC"}
|