@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
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare const store: import("redux").Store<import("redux").EmptyObject & {
|
|
2
2
|
messages: {
|
|
3
3
|
messages: import("@100mslive/react-native-hms").HMSMessage[];
|
|
4
|
-
pinnedMessages: import("
|
|
4
|
+
pinnedMessages: import("../types").PinnedMessage[];
|
|
5
5
|
};
|
|
6
6
|
app: {
|
|
7
|
-
peerState: import("
|
|
8
|
-
pipModeStatus: import("
|
|
7
|
+
peerState: import("../utils/types").PeerTrackNode[];
|
|
8
|
+
pipModeStatus: import("../utils/types").PipModes;
|
|
9
9
|
rtcStats: Record<string, import("@100mslive/react-native-hms").HMSLocalAudioStats | import("@100mslive/react-native-hms").HMSRemoteAudioStats | import("@100mslive/react-native-hms").HMSRemoteVideoStats | import("@100mslive/react-native-hms").HMSLocalVideoStats[] | undefined>;
|
|
10
10
|
hlsAspectRatio: {
|
|
11
11
|
value: number;
|
|
@@ -19,22 +19,23 @@ export declare const store: import("redux").Store<import("redux").EmptyObject &
|
|
|
19
19
|
enableHLSPlayerControls: boolean;
|
|
20
20
|
showCustomHLSPlayerControls: boolean;
|
|
21
21
|
};
|
|
22
|
-
modalType: import("
|
|
22
|
+
modalType: import("../utils/types").ModalTypes;
|
|
23
23
|
peerToUpdate: import("@100mslive/react-native-hms").HMSPeer | null;
|
|
24
|
-
meetingState: import("
|
|
24
|
+
meetingState: import("../types").MeetingState;
|
|
25
25
|
startingHLSStream: boolean;
|
|
26
26
|
insetViewMinimized: boolean;
|
|
27
|
-
miniviewPeerTrackNode: import("
|
|
28
|
-
localPeerTrackNode: import("
|
|
27
|
+
miniviewPeerTrackNode: import("../utils/types").PeerTrackNode | null;
|
|
28
|
+
localPeerTrackNode: import("../utils/types").PeerTrackNode | null;
|
|
29
29
|
gridViewActivePage: number;
|
|
30
30
|
startingOrStoppingRecording: boolean;
|
|
31
|
-
fullScreenPeerTrackNode: import("
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
fullScreenPeerTrackNode: import("../utils/types").PeerTrackNode | null;
|
|
32
|
+
fullScreenWhiteboard: boolean;
|
|
33
|
+
screensharePeerTrackNodes: import("../utils/types").PeerTrackNode[];
|
|
34
|
+
notifications: import("../types").Notification[];
|
|
34
35
|
activeChatBottomSheetTab: "Chat" | "Participants";
|
|
35
36
|
chatFilterSheetVisible: boolean;
|
|
36
37
|
chatMoreActionsSheetVisible: boolean;
|
|
37
|
-
chatState: import("
|
|
38
|
+
chatState: import("../types").ChatState | null;
|
|
38
39
|
handleBackButton: boolean;
|
|
39
40
|
autoEnterPipMode: boolean;
|
|
40
41
|
editUsernameDisabled: boolean;
|
|
@@ -43,6 +44,7 @@ export declare const store: import("redux").Store<import("redux").EmptyObject &
|
|
|
43
44
|
chatPeerBlacklist: string[];
|
|
44
45
|
hlsDescriptionPaneVisible: boolean;
|
|
45
46
|
hlsFullScreen: boolean;
|
|
47
|
+
hlsStreamPaused_android: boolean;
|
|
46
48
|
};
|
|
47
49
|
user: {
|
|
48
50
|
userName: string;
|
|
@@ -61,8 +63,8 @@ export declare const store: import("redux").Store<import("redux").EmptyObject &
|
|
|
61
63
|
token: string | undefined;
|
|
62
64
|
isHLSFlow: boolean;
|
|
63
65
|
roles: import("@100mslive/react-native-hms").HMSRole[];
|
|
64
|
-
iosBuildConfig: import("
|
|
65
|
-
onLeave: import("
|
|
66
|
+
iosBuildConfig: import("..").HMSIOSScreenShareConfig | null;
|
|
67
|
+
onLeave: import("..").OnLeaveHandler | undefined;
|
|
66
68
|
};
|
|
67
69
|
hmsStates: {
|
|
68
70
|
isLocalAudioMuted: boolean | undefined;
|
|
@@ -79,6 +81,7 @@ export declare const store: import("redux").Store<import("redux").EmptyObject &
|
|
|
79
81
|
layoutConfig: import("@100mslive/types-prebuilt").Layout[] | null;
|
|
80
82
|
roleChangeRequest: import("@100mslive/react-native-hms").HMSRoleChangeRequest | null;
|
|
81
83
|
noiseCancellationPlugin: import("@100mslive/react-native-hms").HMSNoiseCancellationPlugin | null;
|
|
84
|
+
whiteboard: import("@100mslive/react-native-hms").HMSWhiteboard | null;
|
|
82
85
|
};
|
|
83
86
|
chatWindow: {
|
|
84
87
|
showChatView: boolean;
|
|
@@ -89,9 +92,9 @@ export declare const store: import("redux").Store<import("redux").EmptyObject &
|
|
|
89
92
|
};
|
|
90
93
|
polls: {
|
|
91
94
|
pollName: string;
|
|
92
|
-
pollConfig: import("
|
|
93
|
-
navigationStack: import("
|
|
94
|
-
questions: import("
|
|
95
|
+
pollConfig: import("./actionTypes").PollConfig;
|
|
96
|
+
navigationStack: import("./actionTypes").CreatePollStages[];
|
|
97
|
+
questions: import("./actionTypes").PollQuestionUI[];
|
|
95
98
|
deleteConfirmationVisible: boolean;
|
|
96
99
|
selectedPollQuestionIndex: number | null;
|
|
97
100
|
launchingPoll: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/redux/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/redux/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAA2B,CAAC;AAE9C,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC;AAC1D,MAAM,MAAM,WAAW,GAAG,OAAO,KAAK,CAAC,QAAQ,CAAC"}
|
|
@@ -37,6 +37,7 @@ type IntialStateType = {
|
|
|
37
37
|
gridViewActivePage: number;
|
|
38
38
|
startingOrStoppingRecording: boolean;
|
|
39
39
|
fullScreenPeerTrackNode: null | PeerTrackNode;
|
|
40
|
+
fullScreenWhiteboard: boolean;
|
|
40
41
|
screensharePeerTrackNodes: PeerTrackNode[];
|
|
41
42
|
notifications: Notification[];
|
|
42
43
|
activeChatBottomSheetTab: (typeof ChatBottomSheetTabs)[number];
|
|
@@ -51,6 +52,7 @@ type IntialStateType = {
|
|
|
51
52
|
chatPeerBlacklist: string[];
|
|
52
53
|
hlsDescriptionPaneVisible: boolean;
|
|
53
54
|
hlsFullScreen: boolean;
|
|
55
|
+
hlsStreamPaused_android: boolean;
|
|
54
56
|
};
|
|
55
57
|
declare const appReducer: (state: IntialStateType | undefined, action: ActionType) => IntialStateType;
|
|
56
58
|
export default appReducer;
|
|
@@ -1 +1 @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GAAG,aAAa,CAAC;IAC9C,oBAAoB,EAAE,OAAO,CAAC;IAC9B,yBAAyB,EAAE,aAAa,EAAE,CAAC;IAC3C,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,wBAAwB,EAAE,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;IAC/D,sBAAsB,EAAE,OAAO,CAAC;IAChC,2BAA2B,EAAE,OAAO,CAAC;IACrC,SAAS,EAAE,IAAI,GAAG,SAAS,CAAC;IAC5B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,wBAAwB,EAAE,IAAI,GAAG,UAAU,CAAC;IAC5C,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,yBAAyB,EAAE,OAAO,CAAC;IACnC,aAAa,EAAE,OAAO,CAAC;IACvB,uBAAuB,EAAE,OAAO,CAAC;CAClC,CAAC;AA2CF,QAAA,MAAM,UAAU,+CAEN,UAAU,KACjB,eA0RF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { HMSLocalPeer, HMSNoiseCancellationPlugin, HMSPeer, HMSRole, HMSRoleChangeRequest, HMSRoom, HMSSpeaker } from '@100mslive/react-native-hms';
|
|
1
|
+
import type { HMSLocalPeer, HMSNoiseCancellationPlugin, HMSPeer, HMSRole, HMSRoleChangeRequest, HMSRoom, HMSSpeaker, HMSWhiteboard } from '@100mslive/react-native-hms';
|
|
2
2
|
import type { Layout } from '@100mslive/types-prebuilt';
|
|
3
3
|
import { HmsStateActionTypes } from '../actionTypes';
|
|
4
|
-
type ActionType = SetRoomAction | SetLocalPeerAction | SetRolesAction | SetIsLocalAudioMutedAction | SetIsLocalVideoMutedAction | SetIsLocalScreenSharedAction | SetRoomLocallyMutedAction | ResetAction | AddToPreviewPeersList | RemoveFromPreviewPeersList | SetLayoutConfig | SetRoleChangeRequest | AddParticipant | AddParticipants | RemoveParticipant | RemoveParticipants | AddUpdateParticipant | ReplaceParticipantsList | SetActiveSpeakers | SetReconnecting | SetNoiseCancellationPlugin;
|
|
4
|
+
type ActionType = SetRoomAction | SetLocalPeerAction | SetRolesAction | SetIsLocalAudioMutedAction | SetIsLocalVideoMutedAction | SetIsLocalScreenSharedAction | SetRoomLocallyMutedAction | ResetAction | AddToPreviewPeersList | RemoveFromPreviewPeersList | SetLayoutConfig | SetRoleChangeRequest | AddParticipant | AddParticipants | RemoveParticipant | RemoveParticipants | AddUpdateParticipant | ReplaceParticipantsList | SetActiveSpeakers | SetReconnecting | SetNoiseCancellationPlugin | SetWhiteboard;
|
|
5
5
|
type SetRoomAction = {
|
|
6
6
|
type: HmsStateActionTypes.SET_ROOM_STATE;
|
|
7
7
|
room: HMSRoom | null;
|
|
@@ -86,6 +86,10 @@ type SetNoiseCancellationPlugin = {
|
|
|
86
86
|
type: HmsStateActionTypes.SET_NOISE_CANCELLATION_PLUGIN;
|
|
87
87
|
noiseCancellationPlugin: HMSNoiseCancellationPlugin;
|
|
88
88
|
};
|
|
89
|
+
type SetWhiteboard = {
|
|
90
|
+
type: HmsStateActionTypes.SET_WHITEBOARD;
|
|
91
|
+
whiteboard: HMSWhiteboard | null;
|
|
92
|
+
};
|
|
89
93
|
type IntialStateType = {
|
|
90
94
|
isLocalAudioMuted: boolean | undefined;
|
|
91
95
|
isLocalVideoMuted: boolean | undefined;
|
|
@@ -101,6 +105,7 @@ type IntialStateType = {
|
|
|
101
105
|
layoutConfig: Layout[] | null;
|
|
102
106
|
roleChangeRequest: HMSRoleChangeRequest | null;
|
|
103
107
|
noiseCancellationPlugin: HMSNoiseCancellationPlugin | null;
|
|
108
|
+
whiteboard: HMSWhiteboard | null;
|
|
104
109
|
};
|
|
105
110
|
declare const hmsStatesReducer: (state: IntialStateType | undefined, action: ActionType) => IntialStateType;
|
|
106
111
|
export default hmsStatesReducer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hmsStates.d.ts","sourceRoot":"","sources":["../../../../src/redux/reducers/hmsStates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,0BAA0B,EAC1B,OAAO,EACP,OAAO,EACP,oBAAoB,EACpB,OAAO,EACP,UAAU,
|
|
1
|
+
{"version":3,"file":"hmsStates.d.ts","sourceRoot":"","sources":["../../../../src/redux/reducers/hmsStates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,0BAA0B,EAC1B,OAAO,EACP,OAAO,EACP,oBAAoB,EACpB,OAAO,EACP,UAAU,EACV,aAAa,EACd,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAErD,KAAK,UAAU,GACX,aAAa,GACb,kBAAkB,GAClB,cAAc,GACd,0BAA0B,GAC1B,0BAA0B,GAC1B,4BAA4B,GAC5B,yBAAyB,GACzB,WAAW,GACX,qBAAqB,GACrB,0BAA0B,GAC1B,eAAe,GACf,oBAAoB,GACpB,cAAc,GACd,eAAe,GACf,iBAAiB,GACjB,kBAAkB,GAClB,oBAAoB,GACpB,uBAAuB,GACvB,iBAAiB,GACjB,eAAe,GACf,0BAA0B,GAC1B,aAAa,CAAC;AAElB,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,mBAAmB,CAAC,cAAc,CAAC;IACzC,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;CACtB,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,mBAAmB,CAAC,oBAAoB,CAAC;IAC/C,SAAS,EAAE,YAAY,GAAG,IAAI,CAAC;CAChC,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,mBAAmB,CAAC,eAAe,CAAC;IAC1C,KAAK,EAA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AAE,OAAO,GAAG,SAAS,CAAC;IACzC,YAAY,EAAE,OAAO,CAAC;IACtB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;IACrB,SAAS,EAAE,YAAY,GAAG,IAAI,CAAC;IAC/B,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,OAAO,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;IAChE,cAAc,EAAE,UAAU,EAAE,CAAC;IAC7B,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,gBAAgB,EAAE,OAAO,EAAE,CAAC;IAC5B,YAAY,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC9B,iBAAiB,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC/C,uBAAuB,EAAE,0BAA0B,GAAG,IAAI,CAAC;IAC3D,UAAU,EAAE,aAAa,GAAG,IAAI,CAAC;CAClC,CAAC;AAoBF,QAAA,MAAM,gBAAgB,+CAEZ,UAAU,KACjB,eAsZF,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const _default: import("redux").Reducer<import("redux").CombinedState<{
|
|
2
2
|
messages: {
|
|
3
3
|
messages: import("@100mslive/react-native-hms").HMSMessage[];
|
|
4
|
-
pinnedMessages: import("
|
|
4
|
+
pinnedMessages: import("../../types").PinnedMessage[];
|
|
5
5
|
};
|
|
6
6
|
app: {
|
|
7
|
-
peerState: import("
|
|
8
|
-
pipModeStatus: import("
|
|
7
|
+
peerState: import("../../utils/types").PeerTrackNode[];
|
|
8
|
+
pipModeStatus: import("../../utils/types").PipModes;
|
|
9
9
|
rtcStats: Record<string, import("@100mslive/react-native-hms").HMSLocalAudioStats | import("@100mslive/react-native-hms").HMSRemoteAudioStats | import("@100mslive/react-native-hms").HMSRemoteVideoStats | import("@100mslive/react-native-hms").HMSLocalVideoStats[] | undefined>;
|
|
10
10
|
hlsAspectRatio: {
|
|
11
11
|
value: number;
|
|
@@ -19,22 +19,23 @@ declare const _default: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
19
19
|
enableHLSPlayerControls: boolean;
|
|
20
20
|
showCustomHLSPlayerControls: boolean;
|
|
21
21
|
};
|
|
22
|
-
modalType: import("
|
|
22
|
+
modalType: import("../../utils/types").ModalTypes;
|
|
23
23
|
peerToUpdate: import("@100mslive/react-native-hms").HMSPeer | null;
|
|
24
|
-
meetingState: import("
|
|
24
|
+
meetingState: import("../../types").MeetingState;
|
|
25
25
|
startingHLSStream: boolean;
|
|
26
26
|
insetViewMinimized: boolean;
|
|
27
|
-
miniviewPeerTrackNode: import("
|
|
28
|
-
localPeerTrackNode: import("
|
|
27
|
+
miniviewPeerTrackNode: import("../../utils/types").PeerTrackNode | null;
|
|
28
|
+
localPeerTrackNode: import("../../utils/types").PeerTrackNode | null;
|
|
29
29
|
gridViewActivePage: number;
|
|
30
30
|
startingOrStoppingRecording: boolean;
|
|
31
|
-
fullScreenPeerTrackNode: import("
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
fullScreenPeerTrackNode: import("../../utils/types").PeerTrackNode | null;
|
|
32
|
+
fullScreenWhiteboard: boolean;
|
|
33
|
+
screensharePeerTrackNodes: import("../../utils/types").PeerTrackNode[];
|
|
34
|
+
notifications: import("../../types").Notification[];
|
|
34
35
|
activeChatBottomSheetTab: "Chat" | "Participants";
|
|
35
36
|
chatFilterSheetVisible: boolean;
|
|
36
37
|
chatMoreActionsSheetVisible: boolean;
|
|
37
|
-
chatState: import("
|
|
38
|
+
chatState: import("../../types").ChatState | null;
|
|
38
39
|
handleBackButton: boolean;
|
|
39
40
|
autoEnterPipMode: boolean;
|
|
40
41
|
editUsernameDisabled: boolean;
|
|
@@ -43,6 +44,7 @@ declare const _default: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
43
44
|
chatPeerBlacklist: string[];
|
|
44
45
|
hlsDescriptionPaneVisible: boolean;
|
|
45
46
|
hlsFullScreen: boolean;
|
|
47
|
+
hlsStreamPaused_android: boolean;
|
|
46
48
|
};
|
|
47
49
|
user: {
|
|
48
50
|
userName: string;
|
|
@@ -61,8 +63,8 @@ declare const _default: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
61
63
|
token: string | undefined;
|
|
62
64
|
isHLSFlow: boolean;
|
|
63
65
|
roles: import("@100mslive/react-native-hms").HMSRole[];
|
|
64
|
-
iosBuildConfig: import("
|
|
65
|
-
onLeave: import("
|
|
66
|
+
iosBuildConfig: import("../..").HMSIOSScreenShareConfig | null;
|
|
67
|
+
onLeave: import("../..").OnLeaveHandler | undefined;
|
|
66
68
|
};
|
|
67
69
|
hmsStates: {
|
|
68
70
|
isLocalAudioMuted: boolean | undefined;
|
|
@@ -79,6 +81,7 @@ declare const _default: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
79
81
|
layoutConfig: import("@100mslive/types-prebuilt").Layout[] | null;
|
|
80
82
|
roleChangeRequest: import("@100mslive/react-native-hms").HMSRoleChangeRequest | null;
|
|
81
83
|
noiseCancellationPlugin: import("@100mslive/react-native-hms").HMSNoiseCancellationPlugin | null;
|
|
84
|
+
whiteboard: import("@100mslive/react-native-hms").HMSWhiteboard | null;
|
|
82
85
|
};
|
|
83
86
|
chatWindow: {
|
|
84
87
|
showChatView: boolean;
|
|
@@ -89,9 +92,9 @@ declare const _default: import("redux").Reducer<import("redux").CombinedState<{
|
|
|
89
92
|
};
|
|
90
93
|
polls: {
|
|
91
94
|
pollName: string;
|
|
92
|
-
pollConfig: import("
|
|
93
|
-
navigationStack: import("
|
|
94
|
-
questions: import("
|
|
95
|
+
pollConfig: import("../actionTypes").PollConfig;
|
|
96
|
+
navigationStack: import("../actionTypes").CreatePollStages[];
|
|
97
|
+
questions: import("../actionTypes").PollQuestionUI[];
|
|
95
98
|
deleteConfirmationVisible: boolean;
|
|
96
99
|
selectedPollQuestionIndex: number | null;
|
|
97
100
|
launchingPoll: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/redux/reducers/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/redux/reducers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBAOG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@100mslive/react-native-room-kit",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"description": "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"typescript": "^5.0.2"
|
|
141
141
|
},
|
|
142
142
|
"peerDependencies": {
|
|
143
|
-
"@100mslive/react-native-hms": "1.10.
|
|
143
|
+
"@100mslive/react-native-hms": "1.10.5",
|
|
144
144
|
"@react-native-community/blur": "^4.3.2",
|
|
145
145
|
"@react-native-masked-view/masked-view": "^0.2.9",
|
|
146
146
|
"@shopify/flash-list": "^1.4.3",
|
|
@@ -152,7 +152,8 @@
|
|
|
152
152
|
"react-native-modal": "^12.1.0",
|
|
153
153
|
"react-native-reanimated": ">=2.17.0",
|
|
154
154
|
"react-native-safe-area-context": "^3.3.0",
|
|
155
|
-
"react-native-simple-toast": "^1.1.3"
|
|
155
|
+
"react-native-simple-toast": "^1.1.3",
|
|
156
|
+
"react-native-webview": "^13.8.7"
|
|
156
157
|
},
|
|
157
158
|
"resolutions": {
|
|
158
159
|
"@types/react": "17.0.21"
|
package/src/HMSRoomSetup.tsx
CHANGED
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
HMSRoom,
|
|
5
5
|
HMSTrack,
|
|
6
6
|
HMSUpdateListenerActions,
|
|
7
|
+
HMSWhiteboardUpdateType,
|
|
7
8
|
} from '@100mslive/react-native-hms';
|
|
8
9
|
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
|
9
10
|
import { Alert, Keyboard, StatusBar, StyleSheet, View } from 'react-native';
|
|
@@ -22,6 +23,7 @@ import {
|
|
|
22
23
|
setInitialRole,
|
|
23
24
|
setLocalPeerTrackNode,
|
|
24
25
|
setMiniViewPeerTrackNode,
|
|
26
|
+
setWhiteboard,
|
|
25
27
|
updateLocalPeerTrackNode,
|
|
26
28
|
} from './redux/actions';
|
|
27
29
|
import { createPeerTrackNode, getRandomUserId } from './utils/functions';
|
|
@@ -482,6 +484,25 @@ export const HMSRoomSetup = () => {
|
|
|
482
484
|
};
|
|
483
485
|
}, [isHLSViewer]);
|
|
484
486
|
|
|
487
|
+
useEffect(() => {
|
|
488
|
+
const subscription =
|
|
489
|
+
hmsInstance.interactivityCenter.addWhiteboardUpdateListener(
|
|
490
|
+
async (hmsWhiteboard, updateType) => {
|
|
491
|
+
dispatch(
|
|
492
|
+
setWhiteboard(
|
|
493
|
+
updateType === HMSWhiteboardUpdateType.STARTED
|
|
494
|
+
? hmsWhiteboard
|
|
495
|
+
: null
|
|
496
|
+
)
|
|
497
|
+
);
|
|
498
|
+
}
|
|
499
|
+
);
|
|
500
|
+
|
|
501
|
+
return () => {
|
|
502
|
+
subscription.remove();
|
|
503
|
+
};
|
|
504
|
+
}, []);
|
|
505
|
+
|
|
485
506
|
// Syncs showing Polls with HLS Player onCue event
|
|
486
507
|
useHLSCuedPolls();
|
|
487
508
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Image, StyleSheet } from 'react-native';
|
|
3
|
+
import type { ImageProps } from 'react-native';
|
|
4
|
+
|
|
5
|
+
interface PauseIconProps extends Omit<ImageProps, 'source'> {
|
|
6
|
+
size?: 'med';
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const PauseIcon: React.FC<PauseIconProps> = ({
|
|
10
|
+
style,
|
|
11
|
+
size = 'med',
|
|
12
|
+
...restProps
|
|
13
|
+
}) => {
|
|
14
|
+
if (size !== 'med') return null;
|
|
15
|
+
|
|
16
|
+
return (
|
|
17
|
+
<Image
|
|
18
|
+
source={require('./assets/pause-med.png')}
|
|
19
|
+
style={[styles.icon, styles.medIcon, style]}
|
|
20
|
+
{...restProps}
|
|
21
|
+
/>
|
|
22
|
+
);
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
const styles = StyleSheet.create({
|
|
26
|
+
icon: {
|
|
27
|
+
width: 24,
|
|
28
|
+
height: 24,
|
|
29
|
+
alignItems: 'center',
|
|
30
|
+
justifyContent: 'center',
|
|
31
|
+
},
|
|
32
|
+
medIcon: {
|
|
33
|
+
width: 48,
|
|
34
|
+
height: 48,
|
|
35
|
+
},
|
|
36
|
+
});
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -4,10 +4,13 @@ import type { ImageProps } from 'react-native';
|
|
|
4
4
|
|
|
5
5
|
import { useHMSRoomStyle } from '../../hooks-util';
|
|
6
6
|
|
|
7
|
-
interface PencilIconProps extends Omit<ImageProps, 'source'> {
|
|
7
|
+
interface PencilIconProps extends Omit<ImageProps, 'source'> {
|
|
8
|
+
type?: 'normal' | 'board';
|
|
9
|
+
}
|
|
8
10
|
|
|
9
11
|
export const PencilIcon: React.FC<PencilIconProps> = ({
|
|
10
12
|
style,
|
|
13
|
+
type = 'normal',
|
|
11
14
|
...restProps
|
|
12
15
|
}) => {
|
|
13
16
|
const iconStyles = useHMSRoomStyle((theme) => ({
|
|
@@ -16,7 +19,11 @@ export const PencilIcon: React.FC<PencilIconProps> = ({
|
|
|
16
19
|
|
|
17
20
|
return (
|
|
18
21
|
<Image
|
|
19
|
-
source={
|
|
22
|
+
source={
|
|
23
|
+
type === 'board'
|
|
24
|
+
? require('./assets/pencil-board.png')
|
|
25
|
+
: require('./assets/pencil.png')
|
|
26
|
+
}
|
|
20
27
|
style={[styles.icon, iconStyles, style]}
|
|
21
28
|
{...restProps}
|
|
22
29
|
/>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Image, StyleSheet } from 'react-native';
|
|
3
|
+
import type { ImageProps } from 'react-native';
|
|
4
|
+
|
|
5
|
+
interface PlayIconProps extends Omit<ImageProps, 'source'> {
|
|
6
|
+
size?: 'med';
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const PlayIcon: React.FC<PlayIconProps> = ({
|
|
10
|
+
style,
|
|
11
|
+
size = 'med',
|
|
12
|
+
...restProps
|
|
13
|
+
}) => {
|
|
14
|
+
if (size !== 'med') return null;
|
|
15
|
+
|
|
16
|
+
return (
|
|
17
|
+
<Image
|
|
18
|
+
source={require('./assets/play-med.png')}
|
|
19
|
+
style={[styles.icon, styles.medIcon, style]}
|
|
20
|
+
{...restProps}
|
|
21
|
+
/>
|
|
22
|
+
);
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
const styles = StyleSheet.create({
|
|
26
|
+
icon: {
|
|
27
|
+
width: 24,
|
|
28
|
+
height: 24,
|
|
29
|
+
alignItems: 'center',
|
|
30
|
+
justifyContent: 'center',
|
|
31
|
+
},
|
|
32
|
+
medIcon: {
|
|
33
|
+
width: 48,
|
|
34
|
+
height: 48,
|
|
35
|
+
},
|
|
36
|
+
});
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Image, StyleSheet } from 'react-native';
|
|
3
|
+
import type { ImageProps } from 'react-native';
|
|
4
|
+
|
|
5
|
+
import { useHMSRoomStyle } from '../../hooks-util';
|
|
6
|
+
|
|
7
|
+
interface SeekArrowIconProps extends Omit<ImageProps, 'source'> {
|
|
8
|
+
type: 'forward' | 'backward';
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const SeekArrowIcon: React.FC<SeekArrowIconProps> = ({
|
|
12
|
+
style,
|
|
13
|
+
type,
|
|
14
|
+
...restProps
|
|
15
|
+
}) => {
|
|
16
|
+
const iconStyles = useHMSRoomStyle((theme) => ({
|
|
17
|
+
tintColor: theme.palette.on_surface_high,
|
|
18
|
+
}));
|
|
19
|
+
|
|
20
|
+
return (
|
|
21
|
+
<Image
|
|
22
|
+
source={
|
|
23
|
+
type === 'forward'
|
|
24
|
+
? require('./assets/seek-forward-arrow.png')
|
|
25
|
+
: require('./assets/seek-backward-arrow.png')
|
|
26
|
+
}
|
|
27
|
+
style={[styles.icon, iconStyles, style]}
|
|
28
|
+
{...restProps}
|
|
29
|
+
/>
|
|
30
|
+
);
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
const styles = StyleSheet.create({
|
|
34
|
+
icon: {
|
|
35
|
+
width: 32,
|
|
36
|
+
height: 32,
|
|
37
|
+
alignItems: 'center',
|
|
38
|
+
justifyContent: 'center',
|
|
39
|
+
},
|
|
40
|
+
});
|
package/src/Icons/index.ts
CHANGED
|
@@ -31,6 +31,7 @@ import { PreviewForRoleChangeModal } from './PreviewForRoleChangeModal';
|
|
|
31
31
|
import { ChatAndParticipantsBottomSheet } from './ChatAndParticipants';
|
|
32
32
|
import { LeaveRoomBottomSheet } from './LeaveRoomBottomSheet';
|
|
33
33
|
import { EndRoomModal } from './EndRoomModal';
|
|
34
|
+
import { FullScreenWhiteboard } from './FullScreenWhiteboard';
|
|
34
35
|
|
|
35
36
|
type CapturedImagePath = { uri: string } | null;
|
|
36
37
|
|
|
@@ -143,6 +144,8 @@ export const DisplayView: React.FC<DisplayViewProps> = ({
|
|
|
143
144
|
|
|
144
145
|
<FullScreenVideoView />
|
|
145
146
|
|
|
147
|
+
<FullScreenWhiteboard />
|
|
148
|
+
|
|
146
149
|
<ChatAndParticipantsBottomSheet />
|
|
147
150
|
|
|
148
151
|
<BottomSheet
|
|
@@ -118,8 +118,11 @@ export const useFooterHeight = (excludeSafeArea: boolean = false) => {
|
|
|
118
118
|
const { bottom } = useSafeAreaInsets();
|
|
119
119
|
|
|
120
120
|
return (
|
|
121
|
-
(excludeSafeArea ? 0 : bottom) +
|
|
122
|
-
|
|
121
|
+
(excludeSafeArea ? 0 : bottom) +
|
|
122
|
+
(Platform.OS === 'android' ? 16 : 0) +
|
|
123
|
+
42 +
|
|
124
|
+
16
|
|
125
|
+
); // bottomSafeArea + marginBottom + content + contentTopPadding
|
|
123
126
|
};
|
|
124
127
|
|
|
125
128
|
const styles = StyleSheet.create({
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Modal from 'react-native-modal';
|
|
3
|
+
import { StyleSheet } from 'react-native';
|
|
4
|
+
import { useDispatch, useSelector } from 'react-redux';
|
|
5
|
+
import { SafeAreaView } from 'react-native-safe-area-context';
|
|
6
|
+
|
|
7
|
+
import type { RootState } from '../redux';
|
|
8
|
+
import { useHMSRoomColorPalette, useHMSRoomStyle } from '../hooks-util';
|
|
9
|
+
import { setFullScreenWhiteboard } from '../redux/actions';
|
|
10
|
+
import { Whiteboard } from './Whiteboard';
|
|
11
|
+
|
|
12
|
+
export const FullScreenWhiteboard = () => {
|
|
13
|
+
const dispatch = useDispatch();
|
|
14
|
+
const fullScreenWhiteboard = useSelector(
|
|
15
|
+
(state: RootState) => state.app.fullScreenWhiteboard
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
const { background_dim: backgroundDimColor } = useHMSRoomColorPalette();
|
|
19
|
+
|
|
20
|
+
const contentContainerStyles = useHMSRoomStyle((theme) => ({
|
|
21
|
+
backgroundColor: theme.palette.background_dim,
|
|
22
|
+
}));
|
|
23
|
+
|
|
24
|
+
const handleClosingFullScreenView = () => {
|
|
25
|
+
dispatch(setFullScreenWhiteboard(false));
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
return (
|
|
29
|
+
<Modal
|
|
30
|
+
isVisible={fullScreenWhiteboard}
|
|
31
|
+
animationIn={'fadeInUp'}
|
|
32
|
+
animationInTiming={100}
|
|
33
|
+
animationOutTiming={100}
|
|
34
|
+
animationOut={'fadeOutDown'}
|
|
35
|
+
backdropColor={backgroundDimColor}
|
|
36
|
+
backdropOpacity={0.3}
|
|
37
|
+
onBackButtonPress={handleClosingFullScreenView}
|
|
38
|
+
onBackdropPress={handleClosingFullScreenView}
|
|
39
|
+
useNativeDriver={true}
|
|
40
|
+
useNativeDriverForBackdrop={true}
|
|
41
|
+
hideModalContentWhileAnimating={true}
|
|
42
|
+
style={styles.modal}
|
|
43
|
+
supportedOrientations={['portrait', 'landscape']}
|
|
44
|
+
>
|
|
45
|
+
<SafeAreaView style={[contentContainerStyles, styles.container]}>
|
|
46
|
+
<Whiteboard />
|
|
47
|
+
</SafeAreaView>
|
|
48
|
+
</Modal>
|
|
49
|
+
);
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
const styles = StyleSheet.create({
|
|
53
|
+
modal: {
|
|
54
|
+
margin: 0,
|
|
55
|
+
},
|
|
56
|
+
container: {
|
|
57
|
+
flexGrow: 1,
|
|
58
|
+
},
|
|
59
|
+
});
|