@100mslive/react-native-room-kit 1.0.5 → 1.0.7
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 +1 -0
- package/lib/commonjs/HMSRoomSetup.js.map +1 -1
- package/lib/commonjs/Icons/Recording/assets/recording-pause.png +0 -0
- package/lib/commonjs/Icons/Recording/assets/recording-pause@2x.png +0 -0
- package/lib/commonjs/Icons/Recording/assets/recording-pause@3x.png +0 -0
- package/lib/commonjs/Icons/Recording/index.js +1 -1
- package/lib/commonjs/Icons/Recording/index.js.map +1 -1
- package/lib/commonjs/components/AnimatedFooter.js +5 -3
- package/lib/commonjs/components/AnimatedFooter.js.map +1 -1
- package/lib/commonjs/components/AnimatedHLSFooter.js +4 -9
- package/lib/commonjs/components/AnimatedHLSFooter.js.map +1 -1
- package/lib/commonjs/components/AnimatedHeader.js +17 -5
- package/lib/commonjs/components/AnimatedHeader.js.map +1 -1
- package/lib/commonjs/components/AvatarView.js +0 -1
- package/lib/commonjs/components/AvatarView.js.map +1 -1
- package/lib/commonjs/components/BottomSheet.js +23 -7
- package/lib/commonjs/components/BottomSheet.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatBanner.js +10 -3
- package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js +7 -2
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +14 -10
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js +5 -3
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -1
- package/lib/commonjs/components/DefaultModal.js +9 -1
- package/lib/commonjs/components/DefaultModal.js.map +1 -1
- package/lib/commonjs/components/DisplayView.js +4 -11
- package/lib/commonjs/components/DisplayView.js.map +1 -1
- package/lib/commonjs/components/EndRoomModal.js +1 -2
- package/lib/commonjs/components/EndRoomModal.js.map +1 -1
- package/lib/commonjs/components/EndRoomModalContent.js +2 -1
- package/lib/commonjs/components/EndRoomModalContent.js.map +1 -1
- package/lib/commonjs/components/Footer.js +12 -8
- package/lib/commonjs/components/Footer.js.map +1 -1
- package/lib/commonjs/components/GridView.js +53 -9
- package/lib/commonjs/components/GridView.js.map +1 -1
- package/lib/commonjs/components/HLSFooter.js +3 -1
- package/lib/commonjs/components/HLSFooter.js.map +1 -1
- package/lib/commonjs/components/HLSView.js +1 -1
- package/lib/commonjs/components/HLSView.js.map +1 -1
- package/lib/commonjs/components/HMSHLSMessageList.js +5 -2
- package/lib/commonjs/components/HMSHLSMessageList.js.map +1 -1
- package/lib/commonjs/components/HMSKeyboardAvoidingView.android.js +44 -0
- package/lib/commonjs/components/HMSKeyboardAvoidingView.android.js.map +1 -0
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js +3 -1
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js.map +1 -1
- package/lib/commonjs/components/HMSLiveIndicator.js +6 -57
- package/lib/commonjs/components/HMSLiveIndicator.js.map +1 -1
- package/lib/commonjs/components/HMSLiveViewerCount.js +78 -0
- package/lib/commonjs/components/HMSLiveViewerCount.js.map +1 -0
- package/lib/commonjs/components/HMSManageAudioOutput.js +0 -1
- package/lib/commonjs/components/HMSManageAudioOutput.js.map +1 -1
- package/lib/commonjs/components/HMSNotifications.js +9 -1
- package/lib/commonjs/components/HMSNotifications.js.map +1 -1
- package/lib/commonjs/components/HMSOverlayChatView.js +11 -2
- package/lib/commonjs/components/HMSOverlayChatView.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewEditName.js +6 -1
- package/lib/commonjs/components/HMSPreviewEditName.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewHLSLiveIndicator.js +2 -1
- package/lib/commonjs/components/HMSPreviewHLSLiveIndicator.js.map +1 -1
- package/lib/commonjs/components/HMSRecordingIndicator.js +15 -4
- package/lib/commonjs/components/HMSRecordingIndicator.js.map +1 -1
- package/lib/commonjs/components/HMSRoomOptions.js +3 -6
- package/lib/commonjs/components/HMSRoomOptions.js.map +1 -1
- package/lib/commonjs/components/HMSTextInput.js +2 -3
- package/lib/commonjs/components/HMSTextInput.js.map +1 -1
- package/lib/commonjs/components/Header.js +11 -3
- package/lib/commonjs/components/Header.js.map +1 -1
- package/lib/commonjs/components/LeaveRoomBottomSheet.js +4 -7
- package/lib/commonjs/components/LeaveRoomBottomSheet.js.map +1 -1
- package/lib/commonjs/components/Meeting.js +2 -13
- package/lib/commonjs/components/Meeting.js.map +1 -1
- package/lib/commonjs/components/MeetingScreenContent.js +45 -45
- package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
- package/lib/commonjs/components/MiniView.js +12 -13
- package/lib/commonjs/components/MiniView.js.map +1 -1
- package/lib/commonjs/components/OverlayedViews.js +6 -2
- package/lib/commonjs/components/OverlayedViews.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js +1 -0
- package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js.map +1 -1
- package/lib/commonjs/components/PeerSettingsModalContent.js +2 -1
- package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js +0 -1
- package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js +2 -1
- package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/VideoView.js +0 -1
- package/lib/commonjs/components/PeerVideoTile/VideoView.js.map +1 -1
- package/lib/commonjs/components/PressableIcon.js +6 -2
- package/lib/commonjs/components/PressableIcon.js.map +1 -1
- package/lib/commonjs/components/Preview.js +2 -1
- package/lib/commonjs/components/Preview.js.map +1 -1
- package/lib/commonjs/components/RoomSettingsModalContent.js +25 -9
- package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js +1 -1
- package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js.map +1 -1
- package/lib/commonjs/components/TilesContainer.js +3 -3
- package/lib/commonjs/components/TilesContainer.js.map +1 -1
- package/lib/commonjs/components/WebrtcView.js +37 -2
- package/lib/commonjs/components/WebrtcView.js.map +1 -1
- package/lib/commonjs/hooks-util-selectors.js +2 -1
- package/lib/commonjs/hooks-util-selectors.js.map +1 -1
- package/lib/commonjs/hooks-util.js +78 -31
- package/lib/commonjs/hooks-util.js.map +1 -1
- package/lib/commonjs/redux/actionTypes.js +3 -1
- package/lib/commonjs/redux/actionTypes.js.map +1 -1
- package/lib/commonjs/redux/actions/index.js +8 -1
- package/lib/commonjs/redux/actions/index.js.map +1 -1
- package/lib/commonjs/redux/reducers/appState.js +9 -1
- package/lib/commonjs/redux/reducers/appState.js.map +1 -1
- package/lib/commonjs/utils/theme.js +0 -1
- package/lib/commonjs/utils/theme.js.map +1 -1
- package/lib/commonjs/utils/types.js +3 -3
- package/lib/commonjs/utils/types.js.map +1 -1
- package/lib/commonjs/utils.js +0 -1
- package/lib/commonjs/utils.js.map +1 -1
- package/lib/module/HMSRoomSetup.js +2 -1
- package/lib/module/HMSRoomSetup.js.map +1 -1
- package/lib/module/Icons/Recording/assets/recording-pause.png +0 -0
- package/lib/module/Icons/Recording/assets/recording-pause@2x.png +0 -0
- package/lib/module/Icons/Recording/assets/recording-pause@3x.png +0 -0
- package/lib/module/Icons/Recording/index.js +1 -1
- package/lib/module/Icons/Recording/index.js.map +1 -1
- package/lib/module/components/AnimatedFooter.js +5 -3
- package/lib/module/components/AnimatedFooter.js.map +1 -1
- package/lib/module/components/AnimatedHLSFooter.js +5 -10
- package/lib/module/components/AnimatedHLSFooter.js.map +1 -1
- package/lib/module/components/AnimatedHeader.js +18 -6
- package/lib/module/components/AnimatedHeader.js.map +1 -1
- package/lib/module/components/AvatarView.js +0 -1
- package/lib/module/components/AvatarView.js.map +1 -1
- package/lib/module/components/BottomSheet.js +24 -8
- package/lib/module/components/BottomSheet.js.map +1 -1
- package/lib/module/components/Chat/ChatBanner.js +10 -3
- package/lib/module/components/Chat/ChatBanner.js.map +1 -1
- package/lib/module/components/Chat/ChatFilterBottomSheetView.js +7 -2
- package/lib/module/components/Chat/ChatFilterBottomSheetView.js.map +1 -1
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +16 -12
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -1
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js +6 -4
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -1
- package/lib/module/components/DefaultModal.js +9 -1
- package/lib/module/components/DefaultModal.js.map +1 -1
- package/lib/module/components/DisplayView.js +5 -12
- package/lib/module/components/DisplayView.js.map +1 -1
- package/lib/module/components/EndRoomModal.js +1 -2
- package/lib/module/components/EndRoomModal.js.map +1 -1
- package/lib/module/components/EndRoomModalContent.js +2 -1
- package/lib/module/components/EndRoomModalContent.js.map +1 -1
- package/lib/module/components/Footer.js +12 -9
- package/lib/module/components/Footer.js.map +1 -1
- package/lib/module/components/GridView.js +54 -10
- package/lib/module/components/GridView.js.map +1 -1
- package/lib/module/components/HLSFooter.js +3 -1
- package/lib/module/components/HLSFooter.js.map +1 -1
- package/lib/module/components/HLSView.js +2 -2
- package/lib/module/components/HLSView.js.map +1 -1
- package/lib/module/components/HMSHLSMessageList.js +5 -2
- package/lib/module/components/HMSHLSMessageList.js.map +1 -1
- package/lib/module/components/HMSKeyboardAvoidingView.android.js +33 -0
- package/lib/module/components/HMSKeyboardAvoidingView.android.js.map +1 -0
- package/lib/module/components/HMSKeyboardAvoidingView.js +3 -1
- package/lib/module/components/HMSKeyboardAvoidingView.js.map +1 -1
- package/lib/module/components/HMSLiveIndicator.js +9 -60
- package/lib/module/components/HMSLiveIndicator.js.map +1 -1
- package/lib/module/components/HMSLiveViewerCount.js +70 -0
- package/lib/module/components/HMSLiveViewerCount.js.map +1 -0
- package/lib/module/components/HMSManageAudioOutput.js +0 -1
- package/lib/module/components/HMSManageAudioOutput.js.map +1 -1
- package/lib/module/components/HMSNotifications.js +9 -2
- package/lib/module/components/HMSNotifications.js.map +1 -1
- package/lib/module/components/HMSOverlayChatView.js +11 -2
- package/lib/module/components/HMSOverlayChatView.js.map +1 -1
- package/lib/module/components/HMSPreviewEditName.js +6 -1
- package/lib/module/components/HMSPreviewEditName.js.map +1 -1
- package/lib/module/components/HMSPreviewHLSLiveIndicator.js +2 -1
- package/lib/module/components/HMSPreviewHLSLiveIndicator.js.map +1 -1
- package/lib/module/components/HMSRecordingIndicator.js +15 -4
- package/lib/module/components/HMSRecordingIndicator.js.map +1 -1
- package/lib/module/components/HMSRoomOptions.js +3 -6
- package/lib/module/components/HMSRoomOptions.js.map +1 -1
- package/lib/module/components/HMSTextInput.js +2 -3
- package/lib/module/components/HMSTextInput.js.map +1 -1
- package/lib/module/components/Header.js +10 -3
- package/lib/module/components/Header.js.map +1 -1
- package/lib/module/components/LeaveRoomBottomSheet.js +5 -7
- package/lib/module/components/LeaveRoomBottomSheet.js.map +1 -1
- package/lib/module/components/Meeting.js +3 -14
- package/lib/module/components/Meeting.js.map +1 -1
- package/lib/module/components/MeetingScreenContent.js +50 -50
- package/lib/module/components/MeetingScreenContent.js.map +1 -1
- package/lib/module/components/MiniView.js +12 -13
- package/lib/module/components/MiniView.js.map +1 -1
- package/lib/module/components/OverlayedViews.js +6 -2
- package/lib/module/components/OverlayedViews.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsGroupHeader.js +1 -0
- package/lib/module/components/Participants/ParticipantsGroupHeader.js.map +1 -1
- package/lib/module/components/PeerSettingsModalContent.js +2 -1
- package/lib/module/components/PeerSettingsModalContent.js.map +1 -1
- package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js +0 -1
- package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
- package/lib/module/components/PeerVideoTile/PeerVideoTileView.js +2 -1
- package/lib/module/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
- package/lib/module/components/PeerVideoTile/VideoView.js +0 -1
- package/lib/module/components/PeerVideoTile/VideoView.js.map +1 -1
- package/lib/module/components/PressableIcon.js +6 -2
- package/lib/module/components/PressableIcon.js.map +1 -1
- package/lib/module/components/Preview.js +2 -1
- package/lib/module/components/Preview.js.map +1 -1
- package/lib/module/components/RoomSettingsModalContent.js +26 -10
- package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/module/components/RoomSettingsModalDebugModeContent.js +2 -2
- package/lib/module/components/RoomSettingsModalDebugModeContent.js.map +1 -1
- package/lib/module/components/TilesContainer.js +3 -3
- package/lib/module/components/TilesContainer.js.map +1 -1
- package/lib/module/components/WebrtcView.js +37 -2
- package/lib/module/components/WebrtcView.js.map +1 -1
- package/lib/module/hooks-util-selectors.js +2 -1
- package/lib/module/hooks-util-selectors.js.map +1 -1
- package/lib/module/hooks-util.js +78 -32
- package/lib/module/hooks-util.js.map +1 -1
- package/lib/module/redux/actionTypes.js +3 -1
- package/lib/module/redux/actionTypes.js.map +1 -1
- package/lib/module/redux/actions/index.js +6 -0
- package/lib/module/redux/actions/index.js.map +1 -1
- package/lib/module/redux/reducers/appState.js +9 -1
- package/lib/module/redux/reducers/appState.js.map +1 -1
- package/lib/module/utils/theme.js +0 -1
- package/lib/module/utils/theme.js.map +1 -1
- package/lib/module/utils/types.js +2 -2
- package/lib/module/utils/types.js.map +1 -1
- package/lib/module/utils.js +0 -1
- package/lib/module/utils.js.map +1 -1
- package/lib/typescript/HMSRoomSetup.d.ts.map +1 -1
- package/lib/typescript/Icons/Recording/index.d.ts +1 -1
- package/lib/typescript/Icons/Recording/index.d.ts.map +1 -1
- package/lib/typescript/components/AnimatedFooter.d.ts.map +1 -1
- package/lib/typescript/components/AnimatedHLSFooter.d.ts.map +1 -1
- package/lib/typescript/components/AnimatedHeader.d.ts.map +1 -1
- package/lib/typescript/components/BottomSheet.d.ts +2 -0
- package/lib/typescript/components/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatBanner.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatFilterBottomSheetView.d.ts.map +1 -1
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.d.ts.map +1 -1
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts.map +1 -1
- package/lib/typescript/components/DefaultModal.d.ts.map +1 -1
- package/lib/typescript/components/DisplayView.d.ts.map +1 -1
- package/lib/typescript/components/EndRoomModal.d.ts.map +1 -1
- package/lib/typescript/components/EndRoomModalContent.d.ts.map +1 -1
- package/lib/typescript/components/Footer.d.ts +1 -1
- package/lib/typescript/components/Footer.d.ts.map +1 -1
- package/lib/typescript/components/GridView.d.ts.map +1 -1
- package/lib/typescript/components/HLSView.d.ts.map +1 -1
- package/lib/typescript/components/HMSHLSMessageList.d.ts.map +1 -1
- package/lib/typescript/components/HMSKeyboardAvoidingView.android.d.ts +9 -0
- package/lib/typescript/components/HMSKeyboardAvoidingView.android.d.ts.map +1 -0
- package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts +2 -1
- package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts.map +1 -1
- package/lib/typescript/components/HMSLiveIndicator.d.ts.map +1 -1
- package/lib/typescript/components/HMSLiveViewerCount.d.ts +3 -0
- package/lib/typescript/components/HMSLiveViewerCount.d.ts.map +1 -0
- package/lib/typescript/components/HMSNotifications.d.ts.map +1 -1
- package/lib/typescript/components/HMSOverlayChatView.d.ts +5 -1
- package/lib/typescript/components/HMSOverlayChatView.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewEditName.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewHLSLiveIndicator.d.ts.map +1 -1
- package/lib/typescript/components/HMSRecordingIndicator.d.ts.map +1 -1
- package/lib/typescript/components/HMSRoomOptions.d.ts.map +1 -1
- package/lib/typescript/components/HMSTextInput.d.ts.map +1 -1
- package/lib/typescript/components/Header.d.ts +1 -0
- package/lib/typescript/components/Header.d.ts.map +1 -1
- package/lib/typescript/components/LeaveRoomBottomSheet.d.ts.map +1 -1
- package/lib/typescript/components/Meeting.d.ts.map +1 -1
- package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -1
- package/lib/typescript/components/MiniView.d.ts +2 -3
- package/lib/typescript/components/MiniView.d.ts.map +1 -1
- package/lib/typescript/components/OverlayedViews.d.ts +4 -1
- package/lib/typescript/components/OverlayedViews.d.ts.map +1 -1
- package/lib/typescript/components/PeerSettingsModalContent.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts.map +1 -1
- package/lib/typescript/components/PressableIcon.d.ts.map +1 -1
- package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -1
- package/lib/typescript/components/RoomSettingsModalDebugModeContent.d.ts.map +1 -1
- package/lib/typescript/components/TilesContainer.d.ts.map +1 -1
- package/lib/typescript/components/WebrtcView.d.ts +2 -0
- package/lib/typescript/components/WebrtcView.d.ts.map +1 -1
- package/lib/typescript/hooks-util-selectors.d.ts.map +1 -1
- package/lib/typescript/hooks-util.d.ts +5 -0
- package/lib/typescript/hooks-util.d.ts.map +1 -1
- package/lib/typescript/redux/actionTypes.d.ts +1 -0
- package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
- package/lib/typescript/redux/actions/index.d.ts +6 -0
- package/lib/typescript/redux/actions/index.d.ts.map +1 -1
- package/lib/typescript/redux/index.d.ts +1 -0
- package/lib/typescript/redux/index.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/appState.d.ts +1 -0
- package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/index.d.ts +1 -0
- package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
- package/lib/typescript/utils/types.d.ts +1 -0
- package/lib/typescript/utils/types.d.ts.map +1 -1
- package/package.json +179 -179
- package/src/HMSRoomSetup.tsx +4 -1
- package/src/Icons/Recording/assets/recording-pause.png +0 -0
- package/src/Icons/Recording/assets/recording-pause@2x.png +0 -0
- package/src/Icons/Recording/assets/recording-pause@3x.png +0 -0
- package/src/Icons/Recording/index.tsx +3 -1
- package/src/components/AnimatedFooter.tsx +9 -3
- package/src/components/AnimatedHLSFooter.tsx +8 -17
- package/src/components/AnimatedHeader.tsx +16 -5
- package/src/components/BottomSheet.tsx +52 -9
- package/src/components/Chat/ChatBanner.tsx +9 -0
- package/src/components/Chat/ChatFilterBottomSheetView.tsx +8 -1
- package/src/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.tsx +17 -7
- package/src/components/ChatAndParticipants/ChatAndParticipantsView.tsx +5 -4
- package/src/components/DefaultModal.tsx +12 -1
- package/src/components/DisplayView.tsx +4 -13
- package/src/components/EndRoomModal.tsx +0 -1
- package/src/components/EndRoomModalContent.tsx +2 -1
- package/src/components/Footer.tsx +19 -10
- package/src/components/GridView.tsx +54 -15
- package/src/components/HLSFooter.tsx +1 -1
- package/src/components/HLSView.tsx +2 -1
- package/src/components/HMSHLSMessageList.tsx +8 -2
- package/src/components/HMSKeyboardAvoidingView.android.tsx +45 -0
- package/src/components/HMSKeyboardAvoidingView.tsx +6 -3
- package/src/components/HMSLiveIndicator.tsx +8 -73
- package/src/components/HMSLiveViewerCount.tsx +90 -0
- package/src/components/HMSNotifications.tsx +11 -1
- package/src/components/HMSOverlayChatView.tsx +18 -2
- package/src/components/HMSPreviewEditName.tsx +10 -1
- package/src/components/HMSPreviewHLSLiveIndicator.tsx +2 -1
- package/src/components/HMSRecordingIndicator.tsx +28 -2
- package/src/components/HMSRoomOptions.tsx +0 -3
- package/src/components/HMSTextInput.tsx +1 -0
- package/src/components/Header.tsx +14 -3
- package/src/components/LeaveRoomBottomSheet.tsx +3 -6
- package/src/components/Meeting.tsx +2 -19
- package/src/components/MeetingScreenContent.tsx +67 -62
- package/src/components/MiniView.tsx +18 -15
- package/src/components/OverlayedViews.tsx +6 -3
- package/src/components/PeerSettingsModalContent.tsx +2 -1
- package/src/components/PeerVideoTile/PeerVideoTileView.tsx +2 -1
- package/src/components/PressableIcon.tsx +22 -17
- package/src/components/Preview.tsx +2 -2
- package/src/components/RoomSettingsModalContent.tsx +22 -6
- package/src/components/RoomSettingsModalDebugModeContent.tsx +2 -1
- package/src/components/TilesContainer.tsx +9 -5
- package/src/components/WebrtcView.tsx +59 -22
- package/src/hooks-util-selectors.tsx +2 -1
- package/src/hooks-util.ts +86 -43
- package/src/redux/actionTypes.ts +3 -0
- package/src/redux/actions/index.ts +5 -0
- package/src/redux/reducers/appState.ts +8 -0
- package/src/utils/types.ts +12 -3
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
} from 'react-native';
|
|
11
11
|
import {
|
|
12
12
|
HMSAudioMixingMode,
|
|
13
|
+
HMSStreamingState,
|
|
13
14
|
HMSUpdateListenerActions,
|
|
14
15
|
checkNotifications,
|
|
15
16
|
} from '@100mslive/react-native-hms';
|
|
@@ -61,7 +62,7 @@ export const RoomSettingsModalDebugModeContent: React.FC<
|
|
|
61
62
|
);
|
|
62
63
|
const isHLSStreaming = useSelector(
|
|
63
64
|
(state: RootState) =>
|
|
64
|
-
state.hmsStates.room?.hlsStreamingState?.
|
|
65
|
+
state.hmsStates.room?.hlsStreamingState?.state === HMSStreamingState.STARTED ?? false
|
|
65
66
|
);
|
|
66
67
|
|
|
67
68
|
const pipModeStatus = useSelector(
|
|
@@ -47,9 +47,13 @@ const _TilesContainer: React.FC<TilesContainerProps> = ({
|
|
|
47
47
|
screenshareTilesAvailable && peerTrackNodes.length === 1
|
|
48
48
|
? 'center'
|
|
49
49
|
: growableTileLayout
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
flexDirection: screenshareTilesAvailable
|
|
50
|
+
? 'space-between'
|
|
51
|
+
: 'center',
|
|
52
|
+
flexDirection: screenshareTilesAvailable
|
|
53
|
+
? 'row'
|
|
54
|
+
: isLandscapeOrientation
|
|
55
|
+
? 'row'
|
|
56
|
+
: 'column',
|
|
53
57
|
},
|
|
54
58
|
{ width: Dimensions.get('window').width - left - right },
|
|
55
59
|
]}
|
|
@@ -133,8 +137,8 @@ const fourTileStyle = { width: '49.5%', height: '100%' }; // Grid Layout when Wi
|
|
|
133
137
|
const fiveAndSixTileStyle = { width: '49.5%', aspectRatio: 1 }; // Grid Layout when width and Height as fixed aspectRatio
|
|
134
138
|
|
|
135
139
|
const oneTileStyleLandscape = { width: '100%', height: '100%' };
|
|
136
|
-
const twoTileStyleLandscape = { width: '
|
|
137
|
-
const threeTileStyleLandscape = { width: '33
|
|
140
|
+
const twoTileStyleLandscape = { width: '49.7222%', height: '100%' };
|
|
141
|
+
const threeTileStyleLandscape = { width: '33%', height: '100%' };
|
|
138
142
|
const fourTileStyleLandscape = { width: '50%', height: '50%' };
|
|
139
143
|
|
|
140
144
|
function computeTileWidthAndHeight(
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import React, { useMemo } from 'react';
|
|
2
2
|
import { useSelector } from 'react-redux';
|
|
3
|
+
import { SafeAreaView, useSafeAreaFrame, useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
4
|
+
import type { SharedValue } from 'react-native-reanimated';
|
|
5
|
+
import Animated, {
|
|
6
|
+
interpolate,
|
|
7
|
+
useAnimatedStyle,
|
|
8
|
+
} from 'react-native-reanimated';
|
|
3
9
|
|
|
4
10
|
import { MaxTilesInOnePage, PipModes } from '../utils/types';
|
|
5
11
|
import type { PeerTrackNode } from '../utils/types';
|
|
@@ -13,15 +19,22 @@ import { LocalPeerRegularVideoView } from './LocalPeerRegularVideoView';
|
|
|
13
19
|
import { WelcomeInMeeting } from './WelcomeInMeeting';
|
|
14
20
|
import { OverlayContainer } from './OverlayContainer';
|
|
15
21
|
import { OverlayedViews } from './OverlayedViews';
|
|
22
|
+
import { useFooterHeight } from './Footer';
|
|
23
|
+
import { useHeaderHeight } from './Header';
|
|
16
24
|
|
|
17
25
|
interface WebrtcViewProps {
|
|
26
|
+
offset: SharedValue<number>;
|
|
18
27
|
peerTrackNodes: Array<PeerTrackNode>;
|
|
19
28
|
handlePeerTileMorePress(node: PeerTrackNode): void;
|
|
20
29
|
}
|
|
21
30
|
|
|
22
31
|
export const WebrtcView = React.forwardRef<GridViewRefAttrs, WebrtcViewProps>(
|
|
23
|
-
({ peerTrackNodes, handlePeerTileMorePress }, gridViewRef) => {
|
|
32
|
+
({ offset, peerTrackNodes, handlePeerTileMorePress }, gridViewRef) => {
|
|
24
33
|
const isPortrait = useIsPortraitOrientation();
|
|
34
|
+
const { height } = useSafeAreaFrame(); // This height does not include top & bottom safe area as this component isn't wrapped in SafeAreaView
|
|
35
|
+
const footerHeight = useFooterHeight(); // This height includes top safearea by default
|
|
36
|
+
const headerHeight = useHeaderHeight(); // This height includes top safearea by default
|
|
37
|
+
const { top, bottom } = useSafeAreaInsets();
|
|
25
38
|
|
|
26
39
|
const isPipModeActive = useSelector(
|
|
27
40
|
(state: RootState) => state.app.pipModeStatus === PipModes.ACTIVE
|
|
@@ -55,37 +68,61 @@ export const WebrtcView = React.forwardRef<GridViewRefAttrs, WebrtcViewProps>(
|
|
|
55
68
|
!state.app.localPeerTrackNode && pairedPeers.length === 0
|
|
56
69
|
);
|
|
57
70
|
|
|
71
|
+
const animatedStyles = useAnimatedStyle(() => {
|
|
72
|
+
return {
|
|
73
|
+
height: interpolate(
|
|
74
|
+
offset.value,
|
|
75
|
+
[0, 1],
|
|
76
|
+
[height - top - bottom, height - headerHeight - footerHeight]
|
|
77
|
+
),
|
|
78
|
+
};
|
|
79
|
+
}, [height, top, bottom, footerHeight, headerHeight]);
|
|
80
|
+
|
|
81
|
+
const headerPlaceholderAnimatedStyles = useAnimatedStyle(() => {
|
|
82
|
+
return {
|
|
83
|
+
height: interpolate(offset.value, [0, 1], [top, headerHeight]),
|
|
84
|
+
};
|
|
85
|
+
}, [headerHeight, top]);
|
|
86
|
+
|
|
58
87
|
if (isPipModeActive) {
|
|
59
88
|
return (
|
|
60
89
|
<PIPView
|
|
61
90
|
peerTrackNodes={peerTrackNodes}
|
|
62
|
-
customView={
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
91
|
+
customView={
|
|
92
|
+
showWelcomeBanner ? (
|
|
93
|
+
<WelcomeInMeeting />
|
|
94
|
+
) : pairedPeers.length <= 0 ? (
|
|
95
|
+
<LocalPeerRegularVideoView />
|
|
96
|
+
) : null
|
|
97
|
+
}
|
|
67
98
|
/>
|
|
68
99
|
);
|
|
69
100
|
}
|
|
70
101
|
|
|
71
102
|
return (
|
|
72
|
-
<
|
|
73
|
-
{
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
<
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
pairedPeers
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
103
|
+
<SafeAreaView edges={['left','right']} style={{ flex: 1 }}>
|
|
104
|
+
<Animated.View style={headerPlaceholderAnimatedStyles} />
|
|
105
|
+
|
|
106
|
+
<Animated.View style={animatedStyles}>
|
|
107
|
+
<OverlayContainer>
|
|
108
|
+
{showWelcomeBanner ? (
|
|
109
|
+
<WelcomeInMeeting />
|
|
110
|
+
) : pairedPeers.length > 0 ? (
|
|
111
|
+
<GridView
|
|
112
|
+
ref={gridViewRef}
|
|
113
|
+
onPeerTileMorePress={handlePeerTileMorePress}
|
|
114
|
+
pairedPeers={pairedPeers}
|
|
115
|
+
/>
|
|
116
|
+
) : (
|
|
117
|
+
<LocalPeerRegularVideoView
|
|
118
|
+
onMoreOptionsPress={handlePeerTileMorePress}
|
|
119
|
+
/>
|
|
120
|
+
)}
|
|
86
121
|
|
|
87
|
-
|
|
88
|
-
|
|
122
|
+
<OverlayedViews offset={offset} />
|
|
123
|
+
</OverlayContainer>
|
|
124
|
+
</Animated.View>
|
|
125
|
+
</SafeAreaView>
|
|
89
126
|
);
|
|
90
127
|
}
|
|
91
128
|
);
|
|
@@ -3,6 +3,7 @@ import type {
|
|
|
3
3
|
HLSLiveStreamingScreen,
|
|
4
4
|
Layout,
|
|
5
5
|
} from '@100mslive/types-prebuilt';
|
|
6
|
+
import { HMSStreamingState } from '@100mslive/react-native-hms';
|
|
6
7
|
import type { HMSRole } from '@100mslive/react-native-hms';
|
|
7
8
|
import { JoinForm_JoinBtnType } from '@100mslive/types-prebuilt/elements/join_form';
|
|
8
9
|
|
|
@@ -46,7 +47,7 @@ export const selectShouldGoLive = (state: RootState) => {
|
|
|
46
47
|
);
|
|
47
48
|
|
|
48
49
|
const isHLSStreaming =
|
|
49
|
-
state.hmsStates.room?.hlsStreamingState?.
|
|
50
|
+
state.hmsStates.room?.hlsStreamingState?.state === HMSStreamingState.STARTED ?? false;
|
|
50
51
|
|
|
51
52
|
const joinButtonType =
|
|
52
53
|
layoutConfig?.screens?.preview?.default?.elements?.join_form
|
package/src/hooks-util.ts
CHANGED
|
@@ -20,9 +20,12 @@ import {
|
|
|
20
20
|
HMSMessageRecipient,
|
|
21
21
|
useHMSHLSPlayerResolution,
|
|
22
22
|
useHmsViewsResolutionsState,
|
|
23
|
+
setSoftInputMode,
|
|
24
|
+
getSoftInputMode,
|
|
23
25
|
// useHMSPeerUpdates,
|
|
24
26
|
} from '@100mslive/react-native-hms';
|
|
25
27
|
import type { Chat as ChatConfig } from '@100mslive/types-prebuilt/elements/chat';
|
|
28
|
+
import { SoftInputModes } from '@100mslive/react-native-hms';
|
|
26
29
|
import type {
|
|
27
30
|
HMSPIPConfig,
|
|
28
31
|
HMSRole,
|
|
@@ -91,6 +94,7 @@ import {
|
|
|
91
94
|
setActiveChatBottomSheetTab,
|
|
92
95
|
setActiveSpeakers,
|
|
93
96
|
setAutoEnterPipMode,
|
|
97
|
+
setEditUsernameDisabled,
|
|
94
98
|
setFullScreenPeerTrackNode,
|
|
95
99
|
setHMSLocalPeerState,
|
|
96
100
|
setHMSRoleState,
|
|
@@ -148,6 +152,7 @@ import type { GridViewRefAttrs } from './components/GridView';
|
|
|
148
152
|
import { getRoomLayout } from './modules/HMSManager';
|
|
149
153
|
import { DEFAULT_THEME, DEFAULT_TYPOGRAPHY } from './utils/theme';
|
|
150
154
|
import { NotificationTypes } from './types';
|
|
155
|
+
import { KeyboardState, useSharedValue } from 'react-native-reanimated';
|
|
151
156
|
|
|
152
157
|
export const useHMSListeners = (
|
|
153
158
|
setPeerTrackNodes: React.Dispatch<React.SetStateAction<PeerTrackNode[]>>
|
|
@@ -186,48 +191,6 @@ const useHMSRoomUpdate = (hmsInstance: HMSSDK) => {
|
|
|
186
191
|
}
|
|
187
192
|
} else if (type === HMSRoomUpdate.HLS_STREAMING_STATE_UPDATED) {
|
|
188
193
|
dispatch(changeStartingHLSStream(false));
|
|
189
|
-
} else if (type === HMSRoomUpdate.RTMP_STREAMING_STATE_UPDATED) {
|
|
190
|
-
let streaming = room?.rtmpHMSRtmpStreamingState?.running;
|
|
191
|
-
const startAtDate = room?.rtmpHMSRtmpStreamingState?.startedAt;
|
|
192
|
-
|
|
193
|
-
let startTime: null | string = null;
|
|
194
|
-
|
|
195
|
-
if (startAtDate) {
|
|
196
|
-
let hours = startAtDate.getHours().toString();
|
|
197
|
-
let minutes = startAtDate.getMinutes()?.toString();
|
|
198
|
-
startTime = hours + ':' + minutes;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
Toast.showWithGravity(
|
|
202
|
-
`RTMP Streaming ${
|
|
203
|
-
streaming
|
|
204
|
-
? `Started ${startTime ? 'At ' + startTime : ''}`
|
|
205
|
-
: 'Stopped'
|
|
206
|
-
}`,
|
|
207
|
-
Toast.LONG,
|
|
208
|
-
Toast.TOP
|
|
209
|
-
);
|
|
210
|
-
} else if (type === HMSRoomUpdate.SERVER_RECORDING_STATE_UPDATED) {
|
|
211
|
-
let streaming = room?.serverRecordingState?.running;
|
|
212
|
-
const startAtDate = room?.serverRecordingState?.startedAt;
|
|
213
|
-
|
|
214
|
-
let startTime: null | string = null;
|
|
215
|
-
|
|
216
|
-
if (startAtDate) {
|
|
217
|
-
let hours = startAtDate.getHours().toString();
|
|
218
|
-
let minutes = startAtDate.getMinutes()?.toString();
|
|
219
|
-
startTime = hours + ':' + minutes;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
Toast.showWithGravity(
|
|
223
|
-
`Server Recording ${
|
|
224
|
-
streaming
|
|
225
|
-
? `Started ${startTime ? 'At ' + startTime : ''}`
|
|
226
|
-
: 'Stopped'
|
|
227
|
-
}`,
|
|
228
|
-
Toast.LONG,
|
|
229
|
-
Toast.TOP
|
|
230
|
-
);
|
|
231
194
|
}
|
|
232
195
|
};
|
|
233
196
|
|
|
@@ -2385,8 +2348,13 @@ export const useSavePropsToStore = (
|
|
|
2385
2348
|
const { roomCode, options, onLeave, handleBackButton, autoEnterPipMode } =
|
|
2386
2349
|
props;
|
|
2387
2350
|
|
|
2351
|
+
dispatch(setPrebuiltData({ roomCode, options }));
|
|
2352
|
+
|
|
2388
2353
|
useEffect(() => {
|
|
2389
|
-
|
|
2354
|
+
const passedUserName = options?.userName;
|
|
2355
|
+
if (passedUserName && passedUserName.length > 0) {
|
|
2356
|
+
dispatch(setEditUsernameDisabled(true));
|
|
2357
|
+
}
|
|
2390
2358
|
}, [roomCode, options]);
|
|
2391
2359
|
|
|
2392
2360
|
useEffect(() => {
|
|
@@ -2431,3 +2399,78 @@ export const useStartRecording = () => {
|
|
|
2431
2399
|
startRecording,
|
|
2432
2400
|
};
|
|
2433
2401
|
};
|
|
2402
|
+
|
|
2403
|
+
export const useAndroidSoftInputAdjustResize = () => {
|
|
2404
|
+
const currentSoftInputRef = useRef<null | SoftInputModes>(null);
|
|
2405
|
+
|
|
2406
|
+
useEffect(() => {
|
|
2407
|
+
if (Platform.OS !== 'android') {
|
|
2408
|
+
return;
|
|
2409
|
+
}
|
|
2410
|
+
const currentSoftInputMode = getSoftInputMode();
|
|
2411
|
+
|
|
2412
|
+
if (currentSoftInputMode !== SoftInputModes.SOFT_INPUT_ADJUST_RESIZE) {
|
|
2413
|
+
currentSoftInputRef.current = currentSoftInputMode;
|
|
2414
|
+
|
|
2415
|
+
setSoftInputMode(SoftInputModes.SOFT_INPUT_ADJUST_RESIZE);
|
|
2416
|
+
|
|
2417
|
+
return () => {
|
|
2418
|
+
if (currentSoftInputRef.current !== null) {
|
|
2419
|
+
setSoftInputMode(currentSoftInputRef.current);
|
|
2420
|
+
}
|
|
2421
|
+
};
|
|
2422
|
+
}
|
|
2423
|
+
}, []);
|
|
2424
|
+
};
|
|
2425
|
+
|
|
2426
|
+
export const useKeyboardState = () => {
|
|
2427
|
+
const keyboardState = useSharedValue(KeyboardState.UNKNOWN);
|
|
2428
|
+
|
|
2429
|
+
useEffect(() => {
|
|
2430
|
+
let didShowTimeoutId: null | NodeJS.Timeout = null;
|
|
2431
|
+
let didHideTimeoutId: null | NodeJS.Timeout = null;
|
|
2432
|
+
|
|
2433
|
+
const didShowSubscription = Keyboard.addListener('keyboardDidShow', () => {
|
|
2434
|
+
keyboardState.value = KeyboardState.OPENING;
|
|
2435
|
+
if (didShowTimeoutId !== null) {
|
|
2436
|
+
clearTimeout(didShowTimeoutId);
|
|
2437
|
+
}
|
|
2438
|
+
didShowTimeoutId = setTimeout(() => {
|
|
2439
|
+
keyboardState.value = KeyboardState.OPEN;
|
|
2440
|
+
didShowTimeoutId = null;
|
|
2441
|
+
}, 400);
|
|
2442
|
+
});
|
|
2443
|
+
|
|
2444
|
+
const didHideSubscription = Keyboard.addListener('keyboardDidHide', () => {
|
|
2445
|
+
keyboardState.value = KeyboardState.CLOSING;
|
|
2446
|
+
if (didHideTimeoutId !== null) {
|
|
2447
|
+
clearTimeout(didHideTimeoutId);
|
|
2448
|
+
}
|
|
2449
|
+
didHideTimeoutId = setTimeout(() => {
|
|
2450
|
+
keyboardState.value = KeyboardState.CLOSED;
|
|
2451
|
+
didHideTimeoutId = null;
|
|
2452
|
+
}, 400);
|
|
2453
|
+
});
|
|
2454
|
+
|
|
2455
|
+
return () => {
|
|
2456
|
+
if (didShowTimeoutId !== null) {
|
|
2457
|
+
clearTimeout(didShowTimeoutId);
|
|
2458
|
+
}
|
|
2459
|
+
if (didHideTimeoutId !== null) {
|
|
2460
|
+
clearTimeout(didHideTimeoutId);
|
|
2461
|
+
}
|
|
2462
|
+
if ('remove' in didShowSubscription) {
|
|
2463
|
+
didShowSubscription.remove();
|
|
2464
|
+
} else {
|
|
2465
|
+
Keyboard.removeSubscription(didShowSubscription);
|
|
2466
|
+
}
|
|
2467
|
+
if ('remove' in didHideSubscription) {
|
|
2468
|
+
didHideSubscription.remove();
|
|
2469
|
+
} else {
|
|
2470
|
+
Keyboard.removeSubscription(didHideSubscription);
|
|
2471
|
+
}
|
|
2472
|
+
};
|
|
2473
|
+
}, []);
|
|
2474
|
+
|
|
2475
|
+
return { keyboardState };
|
|
2476
|
+
};
|
package/src/redux/actionTypes.ts
CHANGED
|
@@ -88,6 +88,8 @@ const SET_HANDLE_BACK_BUTTON = 'SET_HANDLE_BACK_BUTTON';
|
|
|
88
88
|
|
|
89
89
|
const SET_AUTO_ENTER_PIP_MODE = 'SET_AUTO_ENTER_PIP_MODE';
|
|
90
90
|
|
|
91
|
+
const SET_EDIT_USERNAME_DISABLED = 'SET_EDIT_USERNAME_DISABLED';
|
|
92
|
+
|
|
91
93
|
export default {
|
|
92
94
|
ADD_PINNED_MESSAGE,
|
|
93
95
|
ADD_MESSAGE,
|
|
@@ -129,6 +131,7 @@ export default {
|
|
|
129
131
|
SET_CHAT_FILTER_SHEET_VISIBLE,
|
|
130
132
|
SET_HANDLE_BACK_BUTTON,
|
|
131
133
|
SET_AUTO_ENTER_PIP_MODE,
|
|
134
|
+
SET_EDIT_USERNAME_DISABLED,
|
|
132
135
|
};
|
|
133
136
|
|
|
134
137
|
export enum HmsStateActionTypes {
|
|
@@ -391,3 +391,8 @@ export const setAutoEnterPipMode = (autoEnterPipMode?: boolean) => ({
|
|
|
391
391
|
type: actionTypes.SET_AUTO_ENTER_PIP_MODE,
|
|
392
392
|
payload: { autoEnterPipMode },
|
|
393
393
|
});
|
|
394
|
+
|
|
395
|
+
export const setEditUsernameDisabled = (editUsernameDisabled: boolean) => ({
|
|
396
|
+
type: actionTypes.SET_EDIT_USERNAME_DISABLED,
|
|
397
|
+
payload: { editUsernameDisabled },
|
|
398
|
+
});
|
|
@@ -54,6 +54,7 @@ type IntialStateType = {
|
|
|
54
54
|
chatFilterSheetVisible: boolean;
|
|
55
55
|
handleBackButton: boolean;
|
|
56
56
|
autoEnterPipMode: boolean;
|
|
57
|
+
editUsernameDisabled: boolean;
|
|
57
58
|
};
|
|
58
59
|
|
|
59
60
|
const INITIAL_STATE: IntialStateType = {
|
|
@@ -85,6 +86,7 @@ const INITIAL_STATE: IntialStateType = {
|
|
|
85
86
|
chatFilterSheetVisible: false,
|
|
86
87
|
handleBackButton: false,
|
|
87
88
|
autoEnterPipMode: false,
|
|
89
|
+
editUsernameDisabled: false,
|
|
88
90
|
};
|
|
89
91
|
|
|
90
92
|
const appReducer = (
|
|
@@ -300,6 +302,12 @@ const appReducer = (
|
|
|
300
302
|
autoEnterPipMode: action.payload.autoEnterPipMode ?? INITIAL_STATE.autoEnterPipMode,
|
|
301
303
|
};
|
|
302
304
|
}
|
|
305
|
+
case ActionTypes.SET_EDIT_USERNAME_DISABLED: {
|
|
306
|
+
return {
|
|
307
|
+
...state,
|
|
308
|
+
editUsernameDisabled: action.payload.editUsernameDisabled ?? INITIAL_STATE.editUsernameDisabled,
|
|
309
|
+
}
|
|
310
|
+
}
|
|
303
311
|
case HmsStateActionTypes.CLEAR_STATES:
|
|
304
312
|
return INITIAL_STATE;
|
|
305
313
|
default:
|
package/src/utils/types.ts
CHANGED
|
@@ -107,7 +107,7 @@ export const ChatBroadcastFilter = { name: 'everyone' } as const;
|
|
|
107
107
|
|
|
108
108
|
export const PeerListRefreshInterval = 5000; // in milliseconds
|
|
109
109
|
|
|
110
|
-
export enum OnLeaveReason {
|
|
110
|
+
export enum OnLeaveReason {
|
|
111
111
|
/**
|
|
112
112
|
* User left the meeting room by pressing the "Leave" or "End Stream" button in Leave Modal
|
|
113
113
|
*/
|
|
@@ -128,6 +128,15 @@ export enum OnLeaveReason {
|
|
|
128
128
|
* User left the meeting room by pressing the "end" button in PIP window
|
|
129
129
|
*/
|
|
130
130
|
PIP = 'pip',
|
|
131
|
-
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export const TerminalExceptionCodes = [
|
|
134
|
+
4005,
|
|
135
|
+
1003,
|
|
136
|
+
2000,
|
|
137
|
+
'4005',
|
|
138
|
+
'1003',
|
|
139
|
+
'2000',
|
|
140
|
+
];
|
|
132
141
|
|
|
133
|
-
export const
|
|
142
|
+
export const HeaderFooterHideDelayMs = 5000;
|