@100mslive/react-native-room-kit 0.1.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -10
- package/lib/commonjs/HMSPrebuilt.js +6 -6
- package/lib/commonjs/HMSPrebuilt.js.map +1 -1
- package/lib/commonjs/HMSRoomSetup.js +27 -30
- package/lib/commonjs/HMSRoomSetup.js.map +1 -1
- package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
- package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
- package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
- package/lib/commonjs/Icons/AlertTriangle/index.js +2 -1
- package/lib/commonjs/Icons/AlertTriangle/index.js.map +1 -1
- package/lib/commonjs/Icons/Eye/assets/eye-on-small.png +0 -0
- package/lib/commonjs/Icons/Eye/assets/eye-on-small@2x.png +0 -0
- package/lib/commonjs/Icons/Eye/assets/eye-on-small@3x.png +0 -0
- package/lib/commonjs/Icons/Eye/index.js +35 -0
- package/lib/commonjs/Icons/Eye/index.js.map +1 -0
- package/lib/commonjs/Icons/Hamburger/assets/hamburger.png +0 -0
- package/lib/commonjs/Icons/Hamburger/assets/hamburger@2x.png +0 -0
- package/lib/commonjs/Icons/Hamburger/assets/hamburger@3x.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-left.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-left@2x.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-left@3x.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-off.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-off@2x.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-off@3x.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-rectangle.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-rectangle@2x.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-rectangle@3x.png +0 -0
- package/lib/commonjs/Icons/Person/index.js +2 -1
- package/lib/commonjs/Icons/Person/index.js.map +1 -1
- package/lib/commonjs/Icons/Radio/assets/radio-xlarge.png +0 -0
- package/lib/commonjs/Icons/Radio/assets/radio-xlarge@2x.png +0 -0
- package/lib/commonjs/Icons/Radio/assets/radio-xlarge@3x.png +0 -0
- package/lib/commonjs/Icons/Radio/index.js +29 -1
- package/lib/commonjs/Icons/Radio/index.js.map +1 -1
- package/lib/commonjs/Icons/Search/assets/search.png +0 -0
- package/lib/commonjs/Icons/Search/assets/search@2x.png +0 -0
- package/lib/commonjs/Icons/Search/assets/search@3x.png +0 -0
- package/lib/commonjs/Icons/Search/index.js +34 -0
- package/lib/commonjs/Icons/Search/index.js.map +1 -0
- package/lib/commonjs/Icons/Stop/assets/stop.png +0 -0
- package/lib/commonjs/Icons/Stop/assets/stop@2x.png +0 -0
- package/lib/commonjs/Icons/Stop/assets/stop@3x.png +0 -0
- package/lib/commonjs/Icons/Stop/index.js.map +1 -1
- package/lib/commonjs/Icons/index.js +22 -0
- package/lib/commonjs/Icons/index.js.map +1 -1
- package/lib/commonjs/assets/audio-level-white.json +1271 -0
- package/lib/commonjs/assets/empty-chat-illustration/empty-chat.png +0 -0
- package/lib/commonjs/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
- package/lib/commonjs/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
- package/lib/commonjs/assets/welcome.png +0 -0
- package/lib/commonjs/components/AnimatedFooter.js +35 -0
- package/lib/commonjs/components/AnimatedFooter.js.map +1 -0
- package/lib/commonjs/components/AnimatedHLSFooter.js +36 -0
- package/lib/commonjs/components/AnimatedHLSFooter.js.map +1 -0
- package/lib/commonjs/components/AnimatedHeader.js +44 -0
- package/lib/commonjs/components/AnimatedHeader.js.map +1 -0
- package/lib/commonjs/components/BottomSheet.js +6 -3
- package/lib/commonjs/components/BottomSheet.js.map +1 -1
- package/lib/commonjs/components/ChangeNameModalContent.js +0 -12
- package/lib/commonjs/components/ChangeNameModalContent.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatBanner.js +35 -55
- package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js +83 -0
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js +69 -0
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatFilterItem.js +71 -0
- package/lib/commonjs/components/Chat/ChatFilterItem.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatFilterView.js +198 -0
- package/lib/commonjs/components/Chat/ChatFilterView.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatList.js +6 -6
- package/lib/commonjs/components/Chat/ChatList.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatMessage.js +35 -135
- package/lib/commonjs/components/Chat/ChatMessage.js.map +1 -1
- package/lib/commonjs/components/Chat/PinnedMessage.js +39 -43
- package/lib/commonjs/components/Chat/PinnedMessage.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +42 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js +105 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js +66 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatView.js +37 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatView.js.map +1 -0
- package/lib/commonjs/components/{Participants/SearchableParticipantsView.js → ChatAndParticipants/ParticipantsView.js} +24 -12
- package/lib/commonjs/components/ChatAndParticipants/ParticipantsView.js.map +1 -0
- package/lib/commonjs/components/ChatAndParticipants/index.js +17 -0
- package/lib/commonjs/components/ChatAndParticipants/index.js.map +1 -0
- package/lib/commonjs/components/CompanyLogo.js +5 -4
- package/lib/commonjs/components/CompanyLogo.js.map +1 -1
- package/lib/commonjs/components/DefaultModal.js +2 -6
- package/lib/commonjs/components/DefaultModal.js.map +1 -1
- package/lib/commonjs/components/DisplayView.js +9 -21
- package/lib/commonjs/components/DisplayView.js.map +1 -1
- package/lib/commonjs/components/EndRoomModalContent.js +20 -6
- package/lib/commonjs/components/EndRoomModalContent.js.map +1 -1
- package/lib/commonjs/components/Footer.js +41 -27
- package/lib/commonjs/components/Footer.js.map +1 -1
- package/lib/commonjs/components/FullScreenVideoView.js +74 -0
- package/lib/commonjs/components/FullScreenVideoView.js.map +1 -0
- package/lib/commonjs/components/GridView.js +129 -48
- package/lib/commonjs/components/GridView.js.map +1 -1
- package/lib/commonjs/components/{ParticipantsModal.js → HLSFooter.js} +19 -27
- package/lib/commonjs/components/HLSFooter.js.map +1 -0
- package/lib/commonjs/components/HLSView.js +10 -22
- package/lib/commonjs/components/HLSView.js.map +1 -1
- package/lib/commonjs/components/HMSChat.js +15 -14
- package/lib/commonjs/components/HMSChat.js.map +1 -1
- package/lib/commonjs/components/HMSHLSMessage.js +67 -0
- package/lib/commonjs/components/HMSHLSMessage.js.map +1 -0
- package/lib/commonjs/components/HMSHLSMessageList.js +58 -0
- package/lib/commonjs/components/HMSHLSMessageList.js.map +1 -0
- package/lib/commonjs/components/HMSHLSNotStarted.js +27 -24
- package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -1
- package/lib/commonjs/components/HMSHandRaiseNotification.js +84 -0
- package/lib/commonjs/components/HMSHandRaiseNotification.js.map +1 -0
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js +49 -0
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js.map +1 -0
- package/lib/commonjs/components/HMSLiveIndicator.js +105 -0
- package/lib/commonjs/components/HMSLiveIndicator.js.map +1 -0
- package/lib/commonjs/components/HMSLocalScreenshareNotification.js +38 -0
- package/lib/commonjs/components/HMSLocalScreenshareNotification.js.map +1 -0
- package/lib/commonjs/components/HMSLocalVideoView.js +4 -23
- package/lib/commonjs/components/HMSLocalVideoView.js.map +1 -1
- package/lib/commonjs/components/HMSManageAudioOutput.js +7 -1
- package/lib/commonjs/components/HMSManageAudioOutput.js.map +1 -1
- package/lib/commonjs/components/HMSManageLeave.js +47 -37
- package/lib/commonjs/components/HMSManageLeave.js.map +1 -1
- package/lib/commonjs/components/HMSManageRaiseHand.js +2 -15
- package/lib/commonjs/components/HMSManageRaiseHand.js.map +1 -1
- package/lib/commonjs/components/HMSNotification.js +96 -0
- package/lib/commonjs/components/HMSNotification.js.map +1 -0
- package/lib/commonjs/components/HMSNotifications.js +114 -0
- package/lib/commonjs/components/HMSNotifications.js.map +1 -0
- package/lib/commonjs/components/HMSOverlayChatView.js +30 -0
- package/lib/commonjs/components/HMSOverlayChatView.js.map +1 -0
- package/lib/commonjs/components/HMSPreviewJoinButton.js +1 -2
- package/lib/commonjs/components/HMSPreviewJoinButton.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewNetworkQuality.js +1 -1
- package/lib/commonjs/components/HMSPreviewNetworkQuality.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewSubtitle.js +1 -3
- package/lib/commonjs/components/HMSPreviewSubtitle.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewTitle.js +1 -3
- package/lib/commonjs/components/HMSPreviewTitle.js.map +1 -1
- package/lib/commonjs/components/HMSRecordingIndicator.js +7 -3
- package/lib/commonjs/components/HMSRecordingIndicator.js.map +1 -1
- package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js +30 -0
- package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js.map +1 -0
- package/lib/commonjs/components/HMSSendMessageInput.js +57 -0
- package/lib/commonjs/components/HMSSendMessageInput.js.map +1 -0
- package/lib/commonjs/components/HMSTextInput.js +98 -12
- package/lib/commonjs/components/HMSTextInput.js.map +1 -1
- package/lib/commonjs/components/HMSVideoView.js +43 -0
- package/lib/commonjs/components/HMSVideoView.js.map +1 -0
- package/lib/commonjs/components/Header.js +19 -123
- package/lib/commonjs/components/Header.js.map +1 -1
- package/lib/commonjs/components/LocalPeerScreenshareView.js +1 -7
- package/lib/commonjs/components/LocalPeerScreenshareView.js.map +1 -1
- package/lib/commonjs/components/Meeting.js +7 -5
- package/lib/commonjs/components/Meeting.js.map +1 -1
- package/lib/commonjs/components/MeetingScreenContent.js +23 -9
- package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
- package/lib/commonjs/components/MenuModal/Menu.js +2 -2
- package/lib/commonjs/components/MenuModal/Menu.js.map +1 -1
- package/lib/commonjs/components/MiniView.js +8 -3
- package/lib/commonjs/components/MiniView.js.map +1 -1
- package/lib/commonjs/components/Modals.js +88 -317
- package/lib/commonjs/components/Modals.js.map +1 -1
- package/lib/commonjs/components/OverlayContainer.js +41 -0
- package/lib/commonjs/components/OverlayContainer.js.map +1 -0
- package/lib/commonjs/components/OverlayedViews.js +22 -0
- package/lib/commonjs/components/OverlayedViews.js.map +1 -0
- package/lib/commonjs/components/PaginationDots.js +4 -4
- package/lib/commonjs/components/PaginationDots.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js +131 -0
- package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js +80 -0
- package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsItem.js +132 -0
- package/lib/commonjs/components/Participants/ParticipantsItem.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsItemOption.js +46 -0
- package/lib/commonjs/components/Participants/ParticipantsItemOption.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsItemOptions.js +220 -0
- package/lib/commonjs/components/Participants/ParticipantsItemOptions.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsList.js +40 -224
- package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsSeachInput.js +36 -30
- package/lib/commonjs/components/Participants/ParticipantsSeachInput.js.map +1 -1
- package/lib/commonjs/components/Participants/index.js +0 -33
- package/lib/commonjs/components/Participants/index.js.map +1 -1
- package/lib/commonjs/components/PeerMinimizedView.js +1 -1
- package/lib/commonjs/components/PeerSettingsModalContent.js +47 -123
- package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/AvatarView.js +19 -5
- package/lib/commonjs/components/PeerVideoTile/AvatarView.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js +45 -0
- package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -0
- package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js +202 -0
- package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js.map +1 -0
- package/lib/commonjs/components/PeerVideoTile/{PeerAudioMutedIndicator.js → PeerAudioIndicator.js} +30 -4
- package/lib/commonjs/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -0
- package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js +10 -2
- package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js +38 -17
- package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/VideoView.js +43 -10
- package/lib/commonjs/components/PeerVideoTile/VideoView.js.map +1 -1
- package/lib/commonjs/components/PressableIcon.js +10 -5
- package/lib/commonjs/components/PressableIcon.js.map +1 -1
- package/lib/commonjs/components/Preview.js +5 -14
- package/lib/commonjs/components/Preview.js.map +1 -1
- package/lib/commonjs/components/PreviewForRoleChangeModal.js +332 -0
- package/lib/commonjs/components/PreviewForRoleChangeModal.js.map +1 -0
- package/lib/commonjs/components/ReconnectionView.js +66 -0
- package/lib/commonjs/components/ReconnectionView.js.map +1 -0
- package/lib/commonjs/components/RoomSettingsModalContent.js +25 -33
- package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js +31 -70
- package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js.map +1 -1
- package/lib/commonjs/components/StatusBar.js +7 -5
- package/lib/commonjs/components/StatusBar.js.map +1 -1
- package/lib/commonjs/components/StopRecordingModalContent.js.map +1 -1
- package/lib/commonjs/components/StreamingQualityModalContent.js +8 -9
- package/lib/commonjs/components/StreamingQualityModalContent.js.map +1 -1
- package/lib/commonjs/components/TilesContainer.js +31 -9
- package/lib/commonjs/components/TilesContainer.js.map +1 -1
- package/lib/commonjs/components/WebrtcView.js +11 -14
- package/lib/commonjs/components/WebrtcView.js.map +1 -1
- package/lib/commonjs/components/WelcomeInMeeting.js +7 -31
- package/lib/commonjs/components/WelcomeInMeeting.js.map +1 -1
- package/lib/commonjs/components/index.js +0 -33
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/hooks-util-selectors.js +43 -9
- package/lib/commonjs/hooks-util-selectors.js.map +1 -1
- package/lib/commonjs/hooks-util.js +619 -213
- package/lib/commonjs/hooks-util.js.map +1 -1
- package/lib/commonjs/modules/HMSManager.js +3 -3
- package/lib/commonjs/modules/HMSManager.js.map +1 -1
- package/lib/commonjs/modules/parser.js +2 -3
- package/lib/commonjs/modules/parser.js.map +1 -1
- package/lib/commonjs/redux/actionTypes.js +25 -1
- package/lib/commonjs/redux/actionTypes.js.map +1 -1
- package/lib/commonjs/redux/actions/index.js +90 -1
- package/lib/commonjs/redux/actions/index.js.map +1 -1
- package/lib/commonjs/redux/reducers/appState.js +77 -2
- package/lib/commonjs/redux/reducers/appState.js.map +1 -1
- package/lib/commonjs/redux/reducers/chatWindow.js +3 -7
- package/lib/commonjs/redux/reducers/chatWindow.js.map +1 -1
- package/lib/commonjs/redux/reducers/hmsStates.js +70 -7
- package/lib/commonjs/redux/reducers/hmsStates.js.map +1 -1
- package/lib/commonjs/utils/functions.js +11 -4
- package/lib/commonjs/utils/functions.js.map +1 -1
- package/lib/commonjs/utils/theme.js +2 -0
- package/lib/commonjs/utils/theme.js.map +1 -1
- package/lib/commonjs/utils/types.js +9 -3
- package/lib/commonjs/utils/types.js.map +1 -1
- package/lib/commonjs/utils.js +8 -1
- package/lib/commonjs/utils.js.map +1 -1
- package/lib/module/HMSPrebuilt.js +6 -6
- package/lib/module/HMSPrebuilt.js.map +1 -1
- package/lib/module/HMSRoomSetup.js +29 -32
- package/lib/module/HMSRoomSetup.js.map +1 -1
- package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
- package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
- package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
- package/lib/module/Icons/AlertTriangle/index.js +2 -1
- package/lib/module/Icons/AlertTriangle/index.js.map +1 -1
- package/lib/module/Icons/Eye/assets/eye-on-small.png +0 -0
- package/lib/module/Icons/Eye/assets/eye-on-small@2x.png +0 -0
- package/lib/module/Icons/Eye/assets/eye-on-small@3x.png +0 -0
- package/lib/module/Icons/Eye/index.js +27 -0
- package/lib/module/Icons/Eye/index.js.map +1 -0
- package/lib/module/Icons/Hamburger/assets/hamburger.png +0 -0
- package/lib/module/Icons/Hamburger/assets/hamburger@2x.png +0 -0
- package/lib/module/Icons/Hamburger/assets/hamburger@3x.png +0 -0
- package/lib/module/Icons/Person/assets/person-left.png +0 -0
- package/lib/module/Icons/Person/assets/person-left@2x.png +0 -0
- package/lib/module/Icons/Person/assets/person-left@3x.png +0 -0
- package/lib/module/Icons/Person/assets/person-off.png +0 -0
- package/lib/module/Icons/Person/assets/person-off@2x.png +0 -0
- package/lib/module/Icons/Person/assets/person-off@3x.png +0 -0
- package/lib/module/Icons/Person/assets/person-rectangle.png +0 -0
- package/lib/module/Icons/Person/assets/person-rectangle@2x.png +0 -0
- package/lib/module/Icons/Person/assets/person-rectangle@3x.png +0 -0
- package/lib/module/Icons/Person/index.js +2 -1
- package/lib/module/Icons/Person/index.js.map +1 -1
- package/lib/module/Icons/Radio/assets/radio-xlarge.png +0 -0
- package/lib/module/Icons/Radio/assets/radio-xlarge@2x.png +0 -0
- package/lib/module/Icons/Radio/assets/radio-xlarge@3x.png +0 -0
- package/lib/module/Icons/Radio/index.js +30 -2
- package/lib/module/Icons/Radio/index.js.map +1 -1
- package/lib/module/Icons/Search/assets/search.png +0 -0
- package/lib/module/Icons/Search/assets/search@2x.png +0 -0
- package/lib/module/Icons/Search/assets/search@3x.png +0 -0
- package/lib/module/Icons/Search/index.js +26 -0
- package/lib/module/Icons/Search/index.js.map +1 -0
- package/lib/module/Icons/Stop/assets/stop.png +0 -0
- package/lib/module/Icons/Stop/assets/stop@2x.png +0 -0
- package/lib/module/Icons/Stop/assets/stop@3x.png +0 -0
- package/lib/module/Icons/Stop/index.js.map +1 -1
- package/lib/module/Icons/index.js +2 -0
- package/lib/module/Icons/index.js.map +1 -1
- package/lib/module/assets/audio-level-white.json +1271 -0
- package/lib/module/assets/empty-chat-illustration/empty-chat.png +0 -0
- package/lib/module/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
- package/lib/module/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
- package/lib/module/assets/welcome.png +0 -0
- package/lib/module/components/AnimatedFooter.js +26 -0
- package/lib/module/components/AnimatedFooter.js.map +1 -0
- package/lib/module/components/AnimatedHLSFooter.js +27 -0
- package/lib/module/components/AnimatedHLSFooter.js.map +1 -0
- package/lib/module/components/AnimatedHeader.js +35 -0
- package/lib/module/components/AnimatedHeader.js.map +1 -0
- package/lib/module/components/BottomSheet.js +6 -3
- package/lib/module/components/BottomSheet.js.map +1 -1
- package/lib/module/components/ChangeNameModalContent.js +2 -14
- package/lib/module/components/ChangeNameModalContent.js.map +1 -1
- package/lib/module/components/Chat/ChatBanner.js +36 -55
- package/lib/module/components/Chat/ChatBanner.js.map +1 -1
- package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js +74 -0
- package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -0
- package/lib/module/components/Chat/ChatFilterBottomSheetView.js +60 -0
- package/lib/module/components/Chat/ChatFilterBottomSheetView.js.map +1 -0
- package/lib/module/components/Chat/ChatFilterItem.js +62 -0
- package/lib/module/components/Chat/ChatFilterItem.js.map +1 -0
- package/lib/module/components/Chat/ChatFilterView.js +189 -0
- package/lib/module/components/Chat/ChatFilterView.js.map +1 -0
- package/lib/module/components/Chat/ChatList.js +6 -6
- package/lib/module/components/Chat/ChatList.js.map +1 -1
- package/lib/module/components/Chat/ChatMessage.js +36 -135
- package/lib/module/components/Chat/ChatMessage.js.map +1 -1
- package/lib/module/components/Chat/PinnedMessage.js +40 -43
- package/lib/module/components/Chat/PinnedMessage.js.map +1 -1
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +33 -0
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -0
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js +96 -0
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -0
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js +57 -0
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -0
- package/lib/module/components/ChatAndParticipants/ChatView.js +28 -0
- package/lib/module/components/ChatAndParticipants/ChatView.js.map +1 -0
- package/lib/module/components/ChatAndParticipants/ParticipantsView.js +30 -0
- package/lib/module/components/ChatAndParticipants/ParticipantsView.js.map +1 -0
- package/lib/module/components/ChatAndParticipants/index.js +2 -0
- package/lib/module/components/ChatAndParticipants/index.js.map +1 -0
- package/lib/module/components/CompanyLogo.js +5 -4
- package/lib/module/components/CompanyLogo.js.map +1 -1
- package/lib/module/components/DefaultModal.js +2 -6
- package/lib/module/components/DefaultModal.js.map +1 -1
- package/lib/module/components/DisplayView.js +10 -22
- package/lib/module/components/DisplayView.js.map +1 -1
- package/lib/module/components/EndRoomModalContent.js +20 -6
- package/lib/module/components/EndRoomModalContent.js.map +1 -1
- package/lib/module/components/Footer.js +43 -29
- package/lib/module/components/Footer.js.map +1 -1
- package/lib/module/components/FullScreenVideoView.js +64 -0
- package/lib/module/components/FullScreenVideoView.js.map +1 -0
- package/lib/module/components/GridView.js +130 -49
- package/lib/module/components/GridView.js.map +1 -1
- package/lib/module/components/HLSFooter.js +26 -0
- package/lib/module/components/HLSFooter.js.map +1 -0
- package/lib/module/components/HLSView.js +11 -23
- package/lib/module/components/HLSView.js.map +1 -1
- package/lib/module/components/HMSChat.js +16 -15
- package/lib/module/components/HMSChat.js.map +1 -1
- package/lib/module/components/HMSHLSMessage.js +58 -0
- package/lib/module/components/HMSHLSMessage.js.map +1 -0
- package/lib/module/components/HMSHLSMessageList.js +49 -0
- package/lib/module/components/HMSHLSMessageList.js.map +1 -0
- package/lib/module/components/HMSHLSNotStarted.js +29 -26
- package/lib/module/components/HMSHLSNotStarted.js.map +1 -1
- package/lib/module/components/HMSHandRaiseNotification.js +75 -0
- package/lib/module/components/HMSHandRaiseNotification.js.map +1 -0
- package/lib/module/components/HMSKeyboardAvoidingView.js +40 -0
- package/lib/module/components/HMSKeyboardAvoidingView.js.map +1 -0
- package/lib/module/components/HMSLiveIndicator.js +96 -0
- package/lib/module/components/HMSLiveIndicator.js.map +1 -0
- package/lib/module/components/HMSLocalScreenshareNotification.js +29 -0
- package/lib/module/components/HMSLocalScreenshareNotification.js.map +1 -0
- package/lib/module/components/HMSLocalVideoView.js +4 -23
- package/lib/module/components/HMSLocalVideoView.js.map +1 -1
- package/lib/module/components/HMSManageAudioOutput.js +8 -2
- package/lib/module/components/HMSManageAudioOutput.js.map +1 -1
- package/lib/module/components/HMSManageLeave.js +49 -39
- package/lib/module/components/HMSManageLeave.js.map +1 -1
- package/lib/module/components/HMSManageRaiseHand.js +2 -15
- package/lib/module/components/HMSManageRaiseHand.js.map +1 -1
- package/lib/module/components/HMSNotification.js +87 -0
- package/lib/module/components/HMSNotification.js.map +1 -0
- package/lib/module/components/HMSNotifications.js +105 -0
- package/lib/module/components/HMSNotifications.js.map +1 -0
- package/lib/module/components/HMSOverlayChatView.js +20 -0
- package/lib/module/components/HMSOverlayChatView.js.map +1 -0
- package/lib/module/components/HMSPreviewJoinButton.js +2 -3
- package/lib/module/components/HMSPreviewJoinButton.js.map +1 -1
- package/lib/module/components/HMSPreviewNetworkQuality.js +1 -1
- package/lib/module/components/HMSPreviewNetworkQuality.js.map +1 -1
- package/lib/module/components/HMSPreviewSubtitle.js +2 -4
- package/lib/module/components/HMSPreviewSubtitle.js.map +1 -1
- package/lib/module/components/HMSPreviewTitle.js +2 -4
- package/lib/module/components/HMSPreviewTitle.js.map +1 -1
- package/lib/module/components/HMSRecordingIndicator.js +7 -3
- package/lib/module/components/HMSRecordingIndicator.js.map +1 -1
- package/lib/module/components/HMSRoleChangeDeclinedNotification.js +21 -0
- package/lib/module/components/HMSRoleChangeDeclinedNotification.js.map +1 -0
- package/lib/module/components/HMSSendMessageInput.js +48 -0
- package/lib/module/components/HMSSendMessageInput.js.map +1 -0
- package/lib/module/components/HMSTextInput.js +99 -13
- package/lib/module/components/HMSTextInput.js.map +1 -1
- package/lib/module/components/HMSVideoView.js +34 -0
- package/lib/module/components/HMSVideoView.js.map +1 -0
- package/lib/module/components/Header.js +18 -123
- package/lib/module/components/Header.js.map +1 -1
- package/lib/module/components/LocalPeerScreenshareView.js +1 -6
- package/lib/module/components/LocalPeerScreenshareView.js.map +1 -1
- package/lib/module/components/Meeting.js +9 -7
- package/lib/module/components/Meeting.js.map +1 -1
- package/lib/module/components/MeetingScreenContent.js +25 -11
- package/lib/module/components/MeetingScreenContent.js.map +1 -1
- package/lib/module/components/MenuModal/Menu.js +2 -2
- package/lib/module/components/MenuModal/Menu.js.map +1 -1
- package/lib/module/components/MiniView.js +8 -3
- package/lib/module/components/MiniView.js.map +1 -1
- package/lib/module/components/Modals.js +88 -313
- package/lib/module/components/Modals.js.map +1 -1
- package/lib/module/components/OverlayContainer.js +32 -0
- package/lib/module/components/OverlayContainer.js.map +1 -0
- package/lib/module/components/OverlayedViews.js +13 -0
- package/lib/module/components/OverlayedViews.js.map +1 -0
- package/lib/module/components/PaginationDots.js +4 -4
- package/lib/module/components/PaginationDots.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsGroupHeader.js +121 -0
- package/lib/module/components/Participants/ParticipantsGroupHeader.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsGroupOptions.js +71 -0
- package/lib/module/components/Participants/ParticipantsGroupOptions.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsItem.js +123 -0
- package/lib/module/components/Participants/ParticipantsItem.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsItemOption.js +37 -0
- package/lib/module/components/Participants/ParticipantsItemOption.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsItemOptions.js +211 -0
- package/lib/module/components/Participants/ParticipantsItemOptions.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsList.js +42 -225
- package/lib/module/components/Participants/ParticipantsList.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsSeachInput.js +37 -30
- package/lib/module/components/Participants/ParticipantsSeachInput.js.map +1 -1
- package/lib/module/components/Participants/index.js +0 -3
- package/lib/module/components/Participants/index.js.map +1 -1
- package/lib/module/components/PeerMinimizedView.js +1 -1
- package/lib/module/components/PeerSettingsModalContent.js +50 -126
- package/lib/module/components/PeerSettingsModalContent.js.map +1 -1
- package/lib/module/components/PeerVideoTile/AvatarView.js +19 -5
- package/lib/module/components/PeerVideoTile/AvatarView.js.map +1 -1
- package/lib/module/components/PeerVideoTile/HMSFullScreenButton.js +36 -0
- package/lib/module/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -0
- package/lib/module/components/PeerVideoTile/HMSPinchGesture.js +193 -0
- package/lib/module/components/PeerVideoTile/HMSPinchGesture.js.map +1 -0
- package/lib/module/components/PeerVideoTile/PeerAudioIndicator.js +60 -0
- package/lib/module/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -0
- package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js +11 -3
- package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
- package/lib/module/components/PeerVideoTile/PeerVideoTileView.js +41 -20
- package/lib/module/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
- package/lib/module/components/PeerVideoTile/VideoView.js +43 -10
- package/lib/module/components/PeerVideoTile/VideoView.js.map +1 -1
- package/lib/module/components/PressableIcon.js +11 -6
- package/lib/module/components/PressableIcon.js.map +1 -1
- package/lib/module/components/Preview.js +6 -13
- package/lib/module/components/Preview.js.map +1 -1
- package/lib/module/components/PreviewForRoleChangeModal.js +322 -0
- package/lib/module/components/PreviewForRoleChangeModal.js.map +1 -0
- package/lib/module/components/ReconnectionView.js +56 -0
- package/lib/module/components/ReconnectionView.js.map +1 -0
- package/lib/module/components/RoomSettingsModalContent.js +27 -35
- package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/module/components/RoomSettingsModalDebugModeContent.js +31 -70
- package/lib/module/components/RoomSettingsModalDebugModeContent.js.map +1 -1
- package/lib/module/components/StatusBar.js +7 -5
- package/lib/module/components/StatusBar.js.map +1 -1
- package/lib/module/components/StopRecordingModalContent.js.map +1 -1
- package/lib/module/components/StreamingQualityModalContent.js +8 -8
- package/lib/module/components/StreamingQualityModalContent.js.map +1 -1
- package/lib/module/components/TilesContainer.js +31 -9
- package/lib/module/components/TilesContainer.js.map +1 -1
- package/lib/module/components/WebrtcView.js +11 -14
- package/lib/module/components/WebrtcView.js.map +1 -1
- package/lib/module/components/WelcomeInMeeting.js +8 -32
- package/lib/module/components/WelcomeInMeeting.js.map +1 -1
- package/lib/module/components/index.js +0 -3
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/hooks-util-selectors.js +38 -8
- package/lib/module/hooks-util-selectors.js.map +1 -1
- package/lib/module/hooks-util.js +615 -213
- package/lib/module/hooks-util.js.map +1 -1
- package/lib/module/modules/HMSManager.js +3 -3
- package/lib/module/modules/HMSManager.js.map +1 -1
- package/lib/module/modules/parser.js +2 -3
- package/lib/module/modules/parser.js.map +1 -1
- package/lib/module/redux/actionTypes.js +25 -1
- package/lib/module/redux/actionTypes.js.map +1 -1
- package/lib/module/redux/actions/index.js +74 -0
- package/lib/module/redux/actions/index.js.map +1 -1
- package/lib/module/redux/reducers/appState.js +78 -2
- package/lib/module/redux/reducers/appState.js.map +1 -1
- package/lib/module/redux/reducers/chatWindow.js +3 -7
- package/lib/module/redux/reducers/chatWindow.js.map +1 -1
- package/lib/module/redux/reducers/hmsStates.js +70 -7
- package/lib/module/redux/reducers/hmsStates.js.map +1 -1
- package/lib/module/utils/functions.js +9 -3
- package/lib/module/utils/functions.js.map +1 -1
- package/lib/module/utils/theme.js +2 -0
- package/lib/module/utils/theme.js.map +1 -1
- package/lib/module/utils/types.js +6 -2
- package/lib/module/utils/types.js.map +1 -1
- package/lib/module/utils.js +6 -0
- package/lib/module/utils.js.map +1 -1
- package/lib/typescript/HMSPrebuilt.d.ts +1 -0
- package/lib/typescript/HMSPrebuilt.d.ts.map +1 -1
- package/lib/typescript/HMSRoomSetup.d.ts.map +1 -1
- package/lib/typescript/Icons/AlertTriangle/index.d.ts +1 -0
- package/lib/typescript/Icons/AlertTriangle/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Eye/index.d.ts +8 -0
- package/lib/typescript/Icons/Eye/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Person/index.d.ts +1 -0
- package/lib/typescript/Icons/Person/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Radio/index.d.ts +7 -3
- package/lib/typescript/Icons/Radio/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Search/index.d.ts +7 -0
- package/lib/typescript/Icons/Search/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Stop/index.d.ts.map +1 -1
- package/lib/typescript/Icons/index.d.ts +2 -0
- package/lib/typescript/Icons/index.d.ts.map +1 -1
- package/lib/typescript/components/AnimatedFooter.d.ts +8 -0
- package/lib/typescript/components/AnimatedFooter.d.ts.map +1 -0
- package/lib/typescript/components/AnimatedHLSFooter.d.ts +11 -0
- package/lib/typescript/components/AnimatedHLSFooter.d.ts.map +1 -0
- package/lib/typescript/components/AnimatedHeader.d.ts +7 -0
- package/lib/typescript/components/AnimatedHeader.d.ts.map +1 -0
- package/lib/typescript/components/BottomSheet.d.ts +4 -1
- package/lib/typescript/components/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/components/ChangeNameModalContent.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatBanner.d.ts +1 -1
- package/lib/typescript/components/Chat/ChatBanner.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts +6 -0
- package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatFilterBottomSheetView.d.ts +6 -0
- package/lib/typescript/components/Chat/ChatFilterBottomSheetView.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatFilterItem.d.ts +12 -0
- package/lib/typescript/components/Chat/ChatFilterItem.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatFilterView.d.ts +6 -0
- package/lib/typescript/components/Chat/ChatFilterView.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatList.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatMessage.d.ts +2 -2
- package/lib/typescript/components/Chat/ChatMessage.d.ts.map +1 -1
- package/lib/typescript/components/Chat/PinnedMessage.d.ts.map +1 -1
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.d.ts +3 -0
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.d.ts.map +1 -0
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsHeader.d.ts +7 -0
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsHeader.d.ts.map +1 -0
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts +3 -0
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts.map +1 -0
- package/lib/typescript/components/ChatAndParticipants/ChatView.d.ts +6 -0
- package/lib/typescript/components/ChatAndParticipants/ChatView.d.ts.map +1 -0
- package/lib/typescript/components/ChatAndParticipants/ParticipantsView.d.ts +5 -0
- package/lib/typescript/components/ChatAndParticipants/ParticipantsView.d.ts.map +1 -0
- package/lib/typescript/components/ChatAndParticipants/index.d.ts +2 -0
- package/lib/typescript/components/ChatAndParticipants/index.d.ts.map +1 -0
- package/lib/typescript/components/CompanyLogo.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/EndRoomModalContent.d.ts.map +1 -1
- package/lib/typescript/components/Footer.d.ts +0 -2
- package/lib/typescript/components/Footer.d.ts.map +1 -1
- package/lib/typescript/components/FullScreenVideoView.d.ts +3 -0
- package/lib/typescript/components/FullScreenVideoView.d.ts.map +1 -0
- package/lib/typescript/components/GridView.d.ts +12 -1
- package/lib/typescript/components/GridView.d.ts.map +1 -1
- package/lib/typescript/components/HLSFooter.d.ts +8 -0
- package/lib/typescript/components/HLSFooter.d.ts.map +1 -0
- package/lib/typescript/components/HLSView.d.ts.map +1 -1
- package/lib/typescript/components/HMSBaseButton.d.ts +2 -2
- package/lib/typescript/components/HMSBaseButton.d.ts.map +1 -1
- package/lib/typescript/components/HMSChat.d.ts.map +1 -1
- package/lib/typescript/components/HMSHLSMessage.d.ts +8 -0
- package/lib/typescript/components/HMSHLSMessage.d.ts.map +1 -0
- package/lib/typescript/components/HMSHLSMessageList.d.ts +3 -0
- package/lib/typescript/components/HMSHLSMessageList.d.ts.map +1 -0
- package/lib/typescript/components/HMSHLSNotStarted.d.ts.map +1 -1
- package/lib/typescript/components/HMSHandRaiseNotification.d.ts +10 -0
- package/lib/typescript/components/HMSHandRaiseNotification.d.ts.map +1 -0
- package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts +8 -0
- package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts.map +1 -0
- package/lib/typescript/components/HMSLiveIndicator.d.ts +3 -0
- package/lib/typescript/components/HMSLiveIndicator.d.ts.map +1 -0
- package/lib/typescript/components/HMSLocalScreenshareNotification.d.ts +5 -0
- package/lib/typescript/components/HMSLocalScreenshareNotification.d.ts.map +1 -0
- package/lib/typescript/components/HMSLocalVideoView.d.ts.map +1 -1
- package/lib/typescript/components/HMSManageAudioOutput.d.ts.map +1 -1
- package/lib/typescript/components/HMSManageLeave.d.ts.map +1 -1
- package/lib/typescript/components/HMSManageRaiseHand.d.ts.map +1 -1
- package/lib/typescript/components/HMSNotification.d.ts +15 -0
- package/lib/typescript/components/HMSNotification.d.ts.map +1 -0
- package/lib/typescript/components/HMSNotifications.d.ts +5 -0
- package/lib/typescript/components/HMSNotifications.d.ts.map +1 -0
- package/lib/typescript/components/HMSOverlayChatView.d.ts +3 -0
- package/lib/typescript/components/HMSOverlayChatView.d.ts.map +1 -0
- package/lib/typescript/components/HMSPreviewJoinButton.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewNetworkQuality.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewSubtitle.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewTitle.d.ts.map +1 -1
- package/lib/typescript/components/HMSRecordingIndicator.d.ts.map +1 -1
- package/lib/typescript/components/HMSRoleChangeDeclinedNotification.d.ts +9 -0
- package/lib/typescript/components/HMSRoleChangeDeclinedNotification.d.ts.map +1 -0
- package/lib/typescript/components/HMSSendMessageInput.d.ts +9 -0
- package/lib/typescript/components/HMSSendMessageInput.d.ts.map +1 -0
- package/lib/typescript/components/HMSTextInput.d.ts +20 -6
- package/lib/typescript/components/HMSTextInput.d.ts.map +1 -1
- package/lib/typescript/components/HMSVideoView.d.ts +6 -0
- package/lib/typescript/components/HMSVideoView.d.ts.map +1 -0
- package/lib/typescript/components/Header.d.ts +3 -2
- package/lib/typescript/components/Header.d.ts.map +1 -1
- package/lib/typescript/components/LocalPeerScreenshareView.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.map +1 -1
- package/lib/typescript/components/Modals.d.ts +1 -21
- package/lib/typescript/components/Modals.d.ts.map +1 -1
- package/lib/typescript/components/OverlayContainer.d.ts +9 -0
- package/lib/typescript/components/OverlayContainer.d.ts.map +1 -0
- package/lib/typescript/components/OverlayedViews.d.ts +4 -0
- package/lib/typescript/components/OverlayedViews.d.ts.map +1 -0
- package/lib/typescript/components/PaginationDots.d.ts +3 -0
- package/lib/typescript/components/PaginationDots.d.ts.map +1 -1
- package/lib/typescript/components/Participants/ParticipantsGroupHeader.d.ts +9 -0
- package/lib/typescript/components/Participants/ParticipantsGroupHeader.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsGroupOptions.d.ts +8 -0
- package/lib/typescript/components/Participants/ParticipantsGroupOptions.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsItem.d.ts +9 -0
- package/lib/typescript/components/Participants/ParticipantsItem.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsItemOption.d.ts +12 -0
- package/lib/typescript/components/Participants/ParticipantsItemOption.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsItemOptions.d.ts +10 -0
- package/lib/typescript/components/Participants/ParticipantsItemOptions.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsList.d.ts +4 -2
- package/lib/typescript/components/Participants/ParticipantsList.d.ts.map +1 -1
- package/lib/typescript/components/Participants/ParticipantsSeachInput.d.ts.map +1 -1
- package/lib/typescript/components/Participants/index.d.ts +0 -3
- package/lib/typescript/components/Participants/index.d.ts.map +1 -1
- package/lib/typescript/components/PeerSettingsModalContent.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/AvatarView.d.ts +4 -0
- package/lib/typescript/components/PeerVideoTile/AvatarView.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/HMSFullScreenButton.d.ts +7 -0
- package/lib/typescript/components/PeerVideoTile/HMSFullScreenButton.d.ts.map +1 -0
- package/lib/typescript/components/PeerVideoTile/HMSPinchGesture.d.ts +7 -0
- package/lib/typescript/components/PeerVideoTile/HMSPinchGesture.d.ts.map +1 -0
- package/lib/typescript/components/PeerVideoTile/PeerAudioIndicator.d.ts +8 -0
- package/lib/typescript/components/PeerVideoTile/PeerAudioIndicator.d.ts.map +1 -0
- package/lib/typescript/components/PeerVideoTile/PeerNameAndNetwork.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts +2 -1
- package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/VideoView.d.ts +1 -0
- package/lib/typescript/components/PeerVideoTile/VideoView.d.ts.map +1 -1
- package/lib/typescript/components/PressableIcon.d.ts.map +1 -1
- package/lib/typescript/components/Preview.d.ts.map +1 -1
- package/lib/typescript/components/PreviewForRoleChangeModal.d.ts +3 -0
- package/lib/typescript/components/PreviewForRoleChangeModal.d.ts.map +1 -0
- package/lib/typescript/components/ReconnectionView.d.ts +4 -0
- package/lib/typescript/components/ReconnectionView.d.ts.map +1 -0
- package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -1
- package/lib/typescript/components/RoomSettingsModalDebugModeContent.d.ts.map +1 -1
- package/lib/typescript/components/StatusBar.d.ts +2 -1
- package/lib/typescript/components/StatusBar.d.ts.map +1 -1
- package/lib/typescript/components/StopRecordingModalContent.d.ts.map +1 -1
- package/lib/typescript/components/StreamingQualityModalContent.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/WelcomeInMeeting.d.ts.map +1 -1
- package/lib/typescript/components/index.d.ts +0 -3
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/hooks-util-selectors.d.ts +7 -2
- package/lib/typescript/hooks-util-selectors.d.ts.map +1 -1
- package/lib/typescript/hooks-util.d.ts +53 -23
- package/lib/typescript/hooks-util.d.ts.map +1 -1
- package/lib/typescript/modules/HMSManager.d.ts +1 -1
- package/lib/typescript/modules/HMSManager.d.ts.map +1 -1
- package/lib/typescript/modules/parser.d.ts +1 -1
- package/lib/typescript/modules/parser.d.ts.map +1 -1
- package/lib/typescript/redux/actionTypes.d.ts +16 -1
- package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
- package/lib/typescript/redux/actions/index.d.ts +92 -4
- package/lib/typescript/redux/actions/index.d.ts.map +1 -1
- package/lib/typescript/redux/index.d.ts +22 -2
- package/lib/typescript/redux/index.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/appState.d.ts +10 -0
- package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/chatWindow.d.ts +6 -6
- package/lib/typescript/redux/reducers/chatWindow.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/hmsStates.d.ts +32 -4
- package/lib/typescript/redux/reducers/hmsStates.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/index.d.ts +22 -2
- package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/userState.d.ts +1 -0
- package/lib/typescript/redux/reducers/userState.d.ts.map +1 -1
- package/lib/typescript/utils/functions.d.ts +3 -1
- package/lib/typescript/utils/functions.d.ts.map +1 -1
- package/lib/typescript/utils/theme.d.ts +1 -1
- package/lib/typescript/utils/theme.d.ts.map +1 -1
- package/lib/typescript/utils/types.d.ts +6 -2
- package/lib/typescript/utils/types.d.ts.map +1 -1
- package/lib/typescript/utils.d.ts +5 -0
- package/lib/typescript/utils.d.ts.map +1 -1
- package/package.json +13 -8
- package/src/HMSPrebuilt.tsx +10 -10
- package/src/HMSRoomSetup.tsx +50 -28
- package/src/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
- package/src/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
- package/src/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
- package/src/Icons/AlertTriangle/index.tsx +9 -2
- package/src/Icons/Eye/assets/eye-on-small.png +0 -0
- package/src/Icons/Eye/assets/eye-on-small@2x.png +0 -0
- package/src/Icons/Eye/assets/eye-on-small@3x.png +0 -0
- package/src/Icons/Eye/index.tsx +36 -0
- package/src/Icons/Hamburger/assets/hamburger.png +0 -0
- package/src/Icons/Hamburger/assets/hamburger@2x.png +0 -0
- package/src/Icons/Hamburger/assets/hamburger@3x.png +0 -0
- package/src/Icons/Person/assets/person-left.png +0 -0
- package/src/Icons/Person/assets/person-left@2x.png +0 -0
- package/src/Icons/Person/assets/person-left@3x.png +0 -0
- package/src/Icons/Person/assets/person-off.png +0 -0
- package/src/Icons/Person/assets/person-off@2x.png +0 -0
- package/src/Icons/Person/assets/person-off@3x.png +0 -0
- package/src/Icons/Person/assets/person-rectangle.png +0 -0
- package/src/Icons/Person/assets/person-rectangle@2x.png +0 -0
- package/src/Icons/Person/assets/person-rectangle@3x.png +0 -0
- package/src/Icons/Person/index.tsx +13 -2
- package/src/Icons/Radio/assets/radio-xlarge.png +0 -0
- package/src/Icons/Radio/assets/radio-xlarge@2x.png +0 -0
- package/src/Icons/Radio/assets/radio-xlarge@3x.png +0 -0
- package/src/Icons/Radio/index.tsx +53 -4
- package/src/Icons/Search/assets/search.png +0 -0
- package/src/Icons/Search/assets/search@2x.png +0 -0
- package/src/Icons/Search/assets/search@3x.png +0 -0
- package/src/Icons/Search/index.tsx +33 -0
- package/src/Icons/Stop/assets/stop.png +0 -0
- package/src/Icons/Stop/assets/stop@2x.png +0 -0
- package/src/Icons/Stop/assets/stop@3x.png +0 -0
- package/src/Icons/Stop/index.tsx +1 -4
- package/src/Icons/index.ts +2 -0
- package/src/assets/audio-level-white.json +1271 -0
- package/src/assets/empty-chat-illustration/empty-chat.png +0 -0
- package/src/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
- package/src/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
- package/src/assets/welcome.png +0 -0
- package/src/components/AnimatedFooter.tsx +37 -0
- package/src/components/AnimatedHLSFooter.tsx +43 -0
- package/src/components/AnimatedHeader.tsx +53 -0
- package/src/components/BottomSheet.tsx +8 -4
- package/src/components/ChangeNameModalContent.tsx +2 -11
- package/src/components/Chat/ChatBanner.tsx +37 -52
- package/src/components/Chat/ChatFilterBottomSheetOpener.tsx +88 -0
- package/src/components/Chat/ChatFilterBottomSheetView.tsx +81 -0
- package/src/components/Chat/ChatFilterItem.tsx +71 -0
- package/src/components/Chat/ChatFilterView.tsx +250 -0
- package/src/components/Chat/ChatList.tsx +16 -12
- package/src/components/Chat/ChatMessage.tsx +48 -197
- package/src/components/Chat/PinnedMessage.tsx +45 -45
- package/src/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.tsx +38 -0
- package/src/components/ChatAndParticipants/ChatAndParticipantsHeader.tsx +140 -0
- package/src/components/ChatAndParticipants/ChatAndParticipantsView.tsx +84 -0
- package/src/components/ChatAndParticipants/ChatView.tsx +42 -0
- package/src/components/ChatAndParticipants/ParticipantsView.tsx +41 -0
- package/src/components/ChatAndParticipants/index.ts +1 -0
- package/src/components/CompanyLogo.tsx +4 -3
- package/src/components/DefaultModal.tsx +4 -6
- package/src/components/DisplayView.tsx +11 -28
- package/src/components/EndRoomModalContent.tsx +32 -7
- package/src/components/Footer.tsx +76 -36
- package/src/components/FullScreenVideoView.tsx +77 -0
- package/src/components/GridView.tsx +186 -65
- package/src/components/HLSFooter.tsx +32 -0
- package/src/components/HLSView.tsx +6 -33
- package/src/components/HMSBaseButton.tsx +2 -2
- package/src/components/HMSChat.tsx +12 -25
- package/src/components/HMSHLSMessage.tsx +72 -0
- package/src/components/HMSHLSMessageList.tsx +60 -0
- package/src/components/HMSHLSNotStarted.tsx +27 -32
- package/src/components/HMSHandRaiseNotification.tsx +101 -0
- package/src/components/HMSKeyboardAvoidingView.tsx +58 -0
- package/src/components/HMSLiveIndicator.tsx +124 -0
- package/src/components/HMSLocalScreenshareNotification.tsx +41 -0
- package/src/components/HMSLocalVideoView.tsx +4 -31
- package/src/components/HMSManageAudioOutput.tsx +14 -2
- package/src/components/HMSManageLeave.tsx +56 -35
- package/src/components/HMSManageRaiseHand.tsx +2 -16
- package/src/components/HMSNotification.tsx +126 -0
- package/src/components/HMSNotifications.tsx +154 -0
- package/src/components/HMSOverlayChatView.tsx +36 -0
- package/src/components/HMSPreviewJoinButton.tsx +6 -3
- package/src/components/HMSPreviewNetworkQuality.tsx +3 -1
- package/src/components/HMSPreviewSubtitle.tsx +2 -6
- package/src/components/HMSPreviewTitle.tsx +2 -6
- package/src/components/HMSRecordingIndicator.tsx +18 -5
- package/src/components/HMSRoleChangeDeclinedNotification.tsx +25 -0
- package/src/components/HMSSendMessageInput.tsx +59 -0
- package/src/components/HMSTextInput.tsx +157 -23
- package/src/components/HMSVideoView.tsx +43 -0
- package/src/components/Header.tsx +28 -136
- package/src/components/LocalPeerScreenshareView.tsx +0 -6
- package/src/components/Meeting.tsx +15 -8
- package/src/components/MeetingScreenContent.tsx +29 -12
- package/src/components/MiniView.tsx +10 -4
- package/src/components/Modals.tsx +112 -370
- package/src/components/OverlayContainer.tsx +31 -0
- package/src/components/OverlayedViews.tsx +22 -0
- package/src/components/PaginationDots.tsx +9 -8
- package/src/components/Participants/ParticipantsGroupHeader.tsx +145 -0
- package/src/components/Participants/ParticipantsGroupOptions.tsx +87 -0
- package/src/components/Participants/ParticipantsItem.tsx +170 -0
- package/src/components/Participants/ParticipantsItemOption.tsx +52 -0
- package/src/components/Participants/ParticipantsItemOptions.tsx +262 -0
- package/src/components/Participants/ParticipantsList.tsx +68 -278
- package/src/components/Participants/ParticipantsSeachInput.tsx +37 -35
- package/src/components/Participants/index.ts +0 -3
- package/src/components/PeerMinimizedView.tsx +1 -1
- package/src/components/PeerSettingsModalContent.tsx +44 -191
- package/src/components/PeerVideoTile/AvatarView.tsx +43 -5
- package/src/components/PeerVideoTile/HMSFullScreenButton.tsx +56 -0
- package/src/components/PeerVideoTile/HMSPinchGesture.tsx +176 -0
- package/src/components/PeerVideoTile/PeerAudioIndicator.tsx +78 -0
- package/src/components/PeerVideoTile/PeerNameAndNetwork.tsx +15 -2
- package/src/components/PeerVideoTile/PeerVideoTileView.tsx +172 -115
- package/src/components/PeerVideoTile/VideoView.tsx +59 -9
- package/src/components/PressableIcon.tsx +26 -13
- package/src/components/Preview.tsx +17 -24
- package/src/components/PreviewForRoleChangeModal.tsx +448 -0
- package/src/components/ReconnectionView.tsx +73 -0
- package/src/components/RoomSettingsModalContent.tsx +32 -29
- package/src/components/RoomSettingsModalDebugModeContent.tsx +11 -65
- package/src/components/StatusBar.tsx +6 -4
- package/src/components/StopRecordingModalContent.tsx +3 -1
- package/src/components/StreamingQualityModalContent.tsx +8 -8
- package/src/components/TilesContainer.tsx +54 -24
- package/src/components/WebrtcView.tsx +29 -19
- package/src/components/WelcomeInMeeting.tsx +5 -34
- package/src/components/index.ts +0 -3
- package/src/hooks-util-selectors.tsx +69 -6
- package/src/hooks-util.ts +856 -273
- package/src/modules/HMSManager.ts +3 -3
- package/src/modules/parser.ts +3 -4
- package/src/redux/actionTypes.ts +33 -0
- package/src/redux/actions/index.ts +99 -2
- package/src/redux/reducers/appState.ts +87 -2
- package/src/redux/reducers/chatWindow.ts +12 -5
- package/src/redux/reducers/hmsStates.ts +136 -4
- package/src/redux/reducers/userState.ts +1 -1
- package/src/utils/functions.ts +10 -1
- package/src/utils/theme.ts +3 -1
- package/src/utils/types.ts +6 -2
- package/src/utils.ts +6 -0
- package/lib/commonjs/assets/100ms-logo.png +0 -0
- package/lib/commonjs/assets/brb.png +0 -0
- package/lib/commonjs/assets/icon.png +0 -0
- package/lib/commonjs/assets/illustration.png +0 -0
- package/lib/commonjs/assets/network_0.png +0 -0
- package/lib/commonjs/assets/network_1.png +0 -0
- package/lib/commonjs/assets/network_2.png +0 -0
- package/lib/commonjs/assets/network_3.png +0 -0
- package/lib/commonjs/assets/network_4.png +0 -0
- package/lib/commonjs/assets/user_music.png +0 -0
- package/lib/commonjs/components/ChatWindow.js +0 -608
- package/lib/commonjs/components/ChatWindow.js.map +0 -1
- package/lib/commonjs/components/CustomInput.js +0 -89
- package/lib/commonjs/components/CustomInput.js.map +0 -1
- package/lib/commonjs/components/DisplayTrack.js +0 -70
- package/lib/commonjs/components/DisplayTrack.js.map +0 -1
- package/lib/commonjs/components/HMSShareScreen.js +0 -59
- package/lib/commonjs/components/HMSShareScreen.js.map +0 -1
- package/lib/commonjs/components/HMSShowNetworkQuality.js +0 -56
- package/lib/commonjs/components/HMSShowNetworkQuality.js.map +0 -1
- package/lib/commonjs/components/LiveButton.js +0 -70
- package/lib/commonjs/components/LiveButton.js.map +0 -1
- package/lib/commonjs/components/Participants/ParticipantsFilter.js +0 -128
- package/lib/commonjs/components/Participants/ParticipantsFilter.js.map +0 -1
- package/lib/commonjs/components/Participants/ParticipantsHeader.js +0 -67
- package/lib/commonjs/components/Participants/ParticipantsHeader.js.map +0 -1
- package/lib/commonjs/components/Participants/SearchableParticipantsView.js.map +0 -1
- package/lib/commonjs/components/ParticipantsModal.js.map +0 -1
- package/lib/commonjs/components/PeerVideoTile/PeerAudioMutedIndicator.js.map +0 -1
- package/lib/commonjs/components/Picker.js +0 -93
- package/lib/commonjs/components/Picker.js.map +0 -1
- package/lib/module/assets/100ms-logo.png +0 -0
- package/lib/module/assets/brb.png +0 -0
- package/lib/module/assets/icon.png +0 -0
- package/lib/module/assets/illustration.png +0 -0
- package/lib/module/assets/network_0.png +0 -0
- package/lib/module/assets/network_1.png +0 -0
- package/lib/module/assets/network_2.png +0 -0
- package/lib/module/assets/network_3.png +0 -0
- package/lib/module/assets/network_4.png +0 -0
- package/lib/module/assets/user_music.png +0 -0
- package/lib/module/components/ChatWindow.js +0 -595
- package/lib/module/components/ChatWindow.js.map +0 -1
- package/lib/module/components/CustomInput.js +0 -82
- package/lib/module/components/CustomInput.js.map +0 -1
- package/lib/module/components/DisplayTrack.js +0 -63
- package/lib/module/components/DisplayTrack.js.map +0 -1
- package/lib/module/components/HMSShareScreen.js +0 -50
- package/lib/module/components/HMSShareScreen.js.map +0 -1
- package/lib/module/components/HMSShowNetworkQuality.js +0 -47
- package/lib/module/components/HMSShowNetworkQuality.js.map +0 -1
- package/lib/module/components/LiveButton.js +0 -61
- package/lib/module/components/LiveButton.js.map +0 -1
- package/lib/module/components/Participants/ParticipantsFilter.js +0 -121
- package/lib/module/components/Participants/ParticipantsFilter.js.map +0 -1
- package/lib/module/components/Participants/ParticipantsHeader.js +0 -58
- package/lib/module/components/Participants/ParticipantsHeader.js.map +0 -1
- package/lib/module/components/Participants/SearchableParticipantsView.js +0 -18
- package/lib/module/components/Participants/SearchableParticipantsView.js.map +0 -1
- package/lib/module/components/ParticipantsModal.js +0 -34
- package/lib/module/components/ParticipantsModal.js.map +0 -1
- package/lib/module/components/PeerVideoTile/PeerAudioMutedIndicator.js +0 -35
- package/lib/module/components/PeerVideoTile/PeerAudioMutedIndicator.js.map +0 -1
- package/lib/module/components/Picker.js +0 -83
- package/lib/module/components/Picker.js.map +0 -1
- package/lib/typescript/components/ChatWindow.d.ts +0 -22
- package/lib/typescript/components/ChatWindow.d.ts.map +0 -1
- package/lib/typescript/components/CustomInput.d.ts +0 -24
- package/lib/typescript/components/CustomInput.d.ts.map +0 -1
- package/lib/typescript/components/DisplayTrack.d.ts +0 -9
- package/lib/typescript/components/DisplayTrack.d.ts.map +0 -1
- package/lib/typescript/components/HMSShareScreen.d.ts +0 -9
- package/lib/typescript/components/HMSShareScreen.d.ts.map +0 -1
- package/lib/typescript/components/HMSShowNetworkQuality.d.ts +0 -3
- package/lib/typescript/components/HMSShowNetworkQuality.d.ts.map +0 -1
- package/lib/typescript/components/LiveButton.d.ts +0 -17
- package/lib/typescript/components/LiveButton.d.ts.map +0 -1
- package/lib/typescript/components/Participants/ParticipantsFilter.d.ts +0 -6
- package/lib/typescript/components/Participants/ParticipantsFilter.d.ts.map +0 -1
- package/lib/typescript/components/Participants/ParticipantsHeader.d.ts +0 -9
- package/lib/typescript/components/Participants/ParticipantsHeader.d.ts.map +0 -1
- package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts +0 -3
- package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts.map +0 -1
- package/lib/typescript/components/ParticipantsModal.d.ts +0 -5
- package/lib/typescript/components/ParticipantsModal.d.ts.map +0 -1
- package/lib/typescript/components/PeerVideoTile/PeerAudioMutedIndicator.d.ts +0 -6
- package/lib/typescript/components/PeerVideoTile/PeerAudioMutedIndicator.d.ts.map +0 -1
- package/lib/typescript/components/Picker.d.ts +0 -9
- package/lib/typescript/components/Picker.d.ts.map +0 -1
- package/src/assets/100ms-logo.png +0 -0
- package/src/assets/brb.png +0 -0
- package/src/assets/icon.png +0 -0
- package/src/assets/illustration.png +0 -0
- package/src/assets/network_0.png +0 -0
- package/src/assets/network_1.png +0 -0
- package/src/assets/network_2.png +0 -0
- package/src/assets/network_3.png +0 -0
- package/src/assets/network_4.png +0 -0
- package/src/assets/user_music.png +0 -0
- package/src/components/ChatWindow.tsx +0 -706
- package/src/components/CustomInput.tsx +0 -138
- package/src/components/DisplayTrack.tsx +0 -92
- package/src/components/HMSShareScreen.tsx +0 -71
- package/src/components/HMSShowNetworkQuality.tsx +0 -68
- package/src/components/LiveButton.tsx +0 -77
- package/src/components/Participants/ParticipantsFilter.tsx +0 -144
- package/src/components/Participants/ParticipantsHeader.tsx +0 -64
- package/src/components/Participants/SearchableParticipantsView.tsx +0 -21
- package/src/components/ParticipantsModal.tsx +0 -46
- package/src/components/PeerVideoTile/PeerAudioMutedIndicator.tsx +0 -41
- package/src/components/Picker.tsx +0 -108
|
@@ -13,10 +13,6 @@ import {
|
|
|
13
13
|
} from '@100mslive/react-native-hms';
|
|
14
14
|
import { useDispatch, useSelector } from 'react-redux';
|
|
15
15
|
import Toast from 'react-native-simple-toast';
|
|
16
|
-
import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons';
|
|
17
|
-
import Ionicons from 'react-native-vector-icons/Ionicons';
|
|
18
|
-
import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
|
|
19
|
-
import EntypoIcons from 'react-native-vector-icons/Entypo';
|
|
20
16
|
import { openSettings, requestNotifications } from 'react-native-permissions';
|
|
21
17
|
|
|
22
18
|
import { COLORS } from '../utils/theme';
|
|
@@ -28,6 +24,7 @@ import {
|
|
|
28
24
|
changeShowCustomHLSPlayerControls,
|
|
29
25
|
} from '../redux/actions';
|
|
30
26
|
import { ModalTypes, PipModes } from '../utils/types';
|
|
27
|
+
import { useIsHLSViewer } from '../hooks-util';
|
|
31
28
|
|
|
32
29
|
interface RoomSettingsModalDebugModeContentProps {
|
|
33
30
|
newAudioMixingMode: HMSAudioMixingMode;
|
|
@@ -78,6 +75,7 @@ export const RoomSettingsModalDebugModeContent: React.FC<
|
|
|
78
75
|
const showCustomHLSPlayerControls = useSelector(
|
|
79
76
|
(state: RootState) => state.app.joinConfig.showCustomHLSPlayerControls
|
|
80
77
|
);
|
|
78
|
+
const isHLSViewer = useIsHLSViewer();
|
|
81
79
|
|
|
82
80
|
// CONSTANTS
|
|
83
81
|
const isPipModeUnavailable = pipModeStatus === PipModes.NOT_AVAILABLE;
|
|
@@ -243,21 +241,17 @@ export const RoomSettingsModalDebugModeContent: React.FC<
|
|
|
243
241
|
|
|
244
242
|
return (
|
|
245
243
|
<ScrollView style={styles.container}>
|
|
246
|
-
{
|
|
244
|
+
{isHLSViewer ? (
|
|
247
245
|
<SettingItem
|
|
248
246
|
onPress={handleHLSPlayerAspectRatio}
|
|
249
247
|
text={'Change Aspect Ratio'}
|
|
250
|
-
IconType={MaterialCommunityIcons}
|
|
251
|
-
iconName={'aspect-ratio'}
|
|
252
248
|
/>
|
|
253
249
|
) : null}
|
|
254
250
|
|
|
255
|
-
{!
|
|
251
|
+
{!isHLSViewer ? (
|
|
256
252
|
<SettingItem
|
|
257
253
|
onPress={handleLocalRemoteAudiosMute}
|
|
258
254
|
text={`${muteAllTracksAudio ? 'Unmute' : 'Mute'} Room`}
|
|
259
|
-
IconType={Ionicons}
|
|
260
|
-
iconName={muteAllTracksAudio ? 'mic-off-outline' : 'mic-outline'}
|
|
261
255
|
/>
|
|
262
256
|
) : null}
|
|
263
257
|
|
|
@@ -265,26 +259,17 @@ export const RoomSettingsModalDebugModeContent: React.FC<
|
|
|
265
259
|
<SettingItem
|
|
266
260
|
onPress={handleHLSStreaming}
|
|
267
261
|
text={`${isHLSStreaming === true ? 'Stop' : 'Start'} HLS Streaming`}
|
|
268
|
-
IconType={Ionicons}
|
|
269
|
-
iconName="radio-outline"
|
|
270
262
|
/>
|
|
271
263
|
) : null}
|
|
272
264
|
|
|
273
265
|
{debugMode && localPeerRole?.permissions?.changeRole ? (
|
|
274
|
-
<SettingItem
|
|
275
|
-
onPress={changeBulkRole}
|
|
276
|
-
text="Bulk Role Change"
|
|
277
|
-
IconType={Ionicons}
|
|
278
|
-
iconName="people-outline"
|
|
279
|
-
/>
|
|
266
|
+
<SettingItem onPress={changeBulkRole} text="Bulk Role Change" />
|
|
280
267
|
) : null}
|
|
281
268
|
|
|
282
269
|
{debugMode && localPeerRole?.permissions?.mute ? (
|
|
283
270
|
<SettingItem
|
|
284
271
|
onPress={handleRemoteAudiosMute}
|
|
285
272
|
text="Remote Mute All Audio Tracks"
|
|
286
|
-
IconType={Ionicons}
|
|
287
|
-
iconName="mic-off-outline"
|
|
288
273
|
/>
|
|
289
274
|
) : null}
|
|
290
275
|
|
|
@@ -294,38 +279,27 @@ export const RoomSettingsModalDebugModeContent: React.FC<
|
|
|
294
279
|
<SettingItem
|
|
295
280
|
onPress={changeTrackState}
|
|
296
281
|
text="Change Track State For Role"
|
|
297
|
-
IconType={MaterialIcons}
|
|
298
|
-
iconName="track-changes"
|
|
299
282
|
/>
|
|
300
283
|
) : null}
|
|
301
284
|
|
|
302
285
|
{localPeerRole?.publishSettings?.allowed?.includes('audio') ? (
|
|
303
|
-
<SettingItem
|
|
304
|
-
onPress={switchAudioOutput}
|
|
305
|
-
text="Switch Audio Output"
|
|
306
|
-
IconType={MaterialCommunityIcons}
|
|
307
|
-
iconName="cast-audio"
|
|
308
|
-
/>
|
|
286
|
+
<SettingItem onPress={switchAudioOutput} text="Switch Audio Output" />
|
|
309
287
|
) : null}
|
|
310
288
|
|
|
311
289
|
{!isPipModeUnavailable ? (
|
|
312
290
|
<SettingItem
|
|
313
291
|
onPress={enterPipMode}
|
|
314
292
|
text="Picture in Picture (PIP) Mode"
|
|
315
|
-
IconType={MaterialCommunityIcons}
|
|
316
|
-
iconName="picture-in-picture-bottom-right"
|
|
317
293
|
/>
|
|
318
294
|
) : null}
|
|
319
295
|
|
|
320
296
|
{debugMode ? (
|
|
321
297
|
<>
|
|
322
|
-
{
|
|
298
|
+
{isHLSViewer ? (
|
|
323
299
|
<>
|
|
324
300
|
<SettingItem
|
|
325
301
|
onPress={toggleShowHLSStats}
|
|
326
302
|
text={showHLSStats ? 'Hide HLS Stats' : 'Show HLS Stats'}
|
|
327
|
-
IconType={MaterialCommunityIcons}
|
|
328
|
-
iconName={'clipboard-pulse-outline'}
|
|
329
303
|
/>
|
|
330
304
|
|
|
331
305
|
<SettingItem
|
|
@@ -335,8 +309,6 @@ export const RoomSettingsModalDebugModeContent: React.FC<
|
|
|
335
309
|
? 'Disable HLS Player Controls'
|
|
336
310
|
: 'Enable HLS Player Controls'
|
|
337
311
|
}
|
|
338
|
-
IconType={Ionicons}
|
|
339
|
-
iconName={'ios-settings-outline'}
|
|
340
312
|
/>
|
|
341
313
|
|
|
342
314
|
<SettingItem
|
|
@@ -346,18 +318,11 @@ export const RoomSettingsModalDebugModeContent: React.FC<
|
|
|
346
318
|
? 'Hide Custom HLS Player Controls'
|
|
347
319
|
: 'Show Custom HLS Player Controls'
|
|
348
320
|
}
|
|
349
|
-
IconType={Ionicons}
|
|
350
|
-
iconName={'ios-settings-outline'}
|
|
351
321
|
/>
|
|
352
322
|
</>
|
|
353
323
|
) : (
|
|
354
324
|
<>
|
|
355
|
-
<SettingItem
|
|
356
|
-
onPress={showRTCStats}
|
|
357
|
-
text="Show RTC Stats"
|
|
358
|
-
IconType={MaterialCommunityIcons}
|
|
359
|
-
iconName={'clipboard-pulse-outline'}
|
|
360
|
-
/>
|
|
325
|
+
<SettingItem onPress={showRTCStats} text="Show RTC Stats" />
|
|
361
326
|
</>
|
|
362
327
|
)}
|
|
363
328
|
|
|
@@ -369,29 +334,18 @@ export const RoomSettingsModalDebugModeContent: React.FC<
|
|
|
369
334
|
text={`${
|
|
370
335
|
audioDeviceListenerAdded ? 'Remove' : 'Set'
|
|
371
336
|
} Audio Output Change Listener`}
|
|
372
|
-
IconType={MaterialCommunityIcons}
|
|
373
|
-
iconName="video-input-component"
|
|
374
337
|
/>
|
|
375
338
|
|
|
376
339
|
<SettingItem
|
|
377
340
|
onPress={handleAudioShare}
|
|
378
341
|
text={`${isAudioShared ? 'Stop' : 'Start'} Audioshare`}
|
|
379
|
-
IconType={Ionicons}
|
|
380
|
-
iconName="share-social-outline"
|
|
381
342
|
/>
|
|
382
343
|
|
|
383
|
-
<SettingItem
|
|
384
|
-
onPress={changeAudioMode}
|
|
385
|
-
text="Set Audio Mode"
|
|
386
|
-
IconType={MaterialCommunityIcons}
|
|
387
|
-
iconName="call-split"
|
|
388
|
-
/>
|
|
344
|
+
<SettingItem onPress={changeAudioMode} text="Set Audio Mode" />
|
|
389
345
|
|
|
390
346
|
<SettingItem
|
|
391
347
|
onPress={setAudioMixingMode}
|
|
392
348
|
text="Set Audio Mixing Mode"
|
|
393
|
-
IconType={EntypoIcons}
|
|
394
|
-
iconName="sound-mix"
|
|
395
349
|
/>
|
|
396
350
|
</>
|
|
397
351
|
) : null}
|
|
@@ -404,20 +358,11 @@ export const RoomSettingsModalDebugModeContent: React.FC<
|
|
|
404
358
|
interface SettingItemProps {
|
|
405
359
|
onPress(): void;
|
|
406
360
|
text: string;
|
|
407
|
-
iconName: string;
|
|
408
|
-
IconType: any;
|
|
409
361
|
}
|
|
410
362
|
|
|
411
|
-
const SettingItem: React.FC<SettingItemProps> = ({
|
|
412
|
-
onPress,
|
|
413
|
-
text,
|
|
414
|
-
iconName,
|
|
415
|
-
IconType,
|
|
416
|
-
}) => {
|
|
363
|
+
const SettingItem: React.FC<SettingItemProps> = ({ onPress, text }) => {
|
|
417
364
|
return (
|
|
418
365
|
<TouchableOpacity style={styles.button} onPress={onPress}>
|
|
419
|
-
<IconType name={iconName} size={24} style={styles.icon} />
|
|
420
|
-
|
|
421
366
|
<Text style={styles.text}>{text}</Text>
|
|
422
367
|
</TouchableOpacity>
|
|
423
368
|
);
|
|
@@ -432,6 +377,7 @@ const styles = StyleSheet.create({
|
|
|
432
377
|
flexDirection: 'row',
|
|
433
378
|
alignItems: 'center',
|
|
434
379
|
marginVertical: 12,
|
|
380
|
+
marginHorizontal: 16,
|
|
435
381
|
},
|
|
436
382
|
text: {
|
|
437
383
|
fontFamily: 'Inter-Medium',
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { StatusBar, Platform } from 'react-native';
|
|
3
|
+
import type { StatusBarProps } from 'react-native';
|
|
3
4
|
|
|
4
5
|
import { useShowLandscapeLayout } from '../hooks-util';
|
|
5
6
|
|
|
6
|
-
type HMSStatusBarProps = {
|
|
7
|
+
type HMSStatusBarProps = StatusBarProps & {
|
|
7
8
|
hidden?: boolean;
|
|
8
9
|
};
|
|
9
10
|
|
|
10
|
-
export const HMSStatusBar: React.FC<HMSStatusBarProps> = ({ hidden }) => {
|
|
11
|
+
export const HMSStatusBar: React.FC<HMSStatusBarProps> = ({ hidden, ...resetProps }) => {
|
|
11
12
|
const showLandscapeLayout = useShowLandscapeLayout();
|
|
12
13
|
|
|
13
14
|
return (
|
|
14
15
|
<StatusBar
|
|
16
|
+
{...resetProps}
|
|
15
17
|
hidden={(Platform.OS === 'ios' && hidden) || showLandscapeLayout} // use `hidden` prop to hide Status bar on iOS
|
|
16
18
|
barStyle={
|
|
17
|
-
Platform.OS === 'android' && hidden ? 'dark-content' :
|
|
19
|
+
Platform.OS === 'android' && hidden ? 'dark-content' : resetProps.barStyle
|
|
18
20
|
} // hack: use `dark-content` value to make StatusBar look like it's hidden
|
|
19
|
-
animated={true}
|
|
21
|
+
animated={resetProps.animated ?? true}
|
|
20
22
|
/>
|
|
21
23
|
);
|
|
22
24
|
};
|
|
@@ -17,7 +17,9 @@ export const StopRecordingModalContent: React.FC<
|
|
|
17
17
|
> = ({ dismissModal }) => {
|
|
18
18
|
const dispatch = useDispatch();
|
|
19
19
|
const hmsInstance = useHMSInstance();
|
|
20
|
-
const startingOrStoppingRecording = useSelector(
|
|
20
|
+
const startingOrStoppingRecording = useSelector(
|
|
21
|
+
(state: RootState) => state.app.startingOrStoppingRecording
|
|
22
|
+
);
|
|
21
23
|
|
|
22
24
|
const hmsRoomStyles = useHMSRoomStyleSheet((theme, typography) => ({
|
|
23
25
|
headerText: {
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
HMSLayer,
|
|
14
14
|
HMSSimulcastLayerDefinition,
|
|
15
15
|
} from '@100mslive/react-native-hms';
|
|
16
|
-
import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
|
|
17
16
|
|
|
18
17
|
import { CustomButton } from './CustomButton';
|
|
19
18
|
import type { RootState } from '../redux';
|
|
20
19
|
import { COLORS } from '../utils/theme';
|
|
21
20
|
import { Menu, MenuItem } from './MenuModal';
|
|
21
|
+
import { ChevronIcon } from '../Icons';
|
|
22
22
|
|
|
23
23
|
interface PeerSettingsModalContentProps {
|
|
24
24
|
track: HMSTrack;
|
|
@@ -111,10 +111,13 @@ export const StreamingQualityModalContent: React.FC<
|
|
|
111
111
|
<Text style={styles.participantFilterText} numberOfLines={1}>
|
|
112
112
|
{selectedLayer}
|
|
113
113
|
</Text>
|
|
114
|
-
<
|
|
115
|
-
|
|
116
|
-
style={
|
|
117
|
-
|
|
114
|
+
<ChevronIcon
|
|
115
|
+
direction={'down'}
|
|
116
|
+
style={{
|
|
117
|
+
transform: [
|
|
118
|
+
{ rotateZ: showQualityOptions ? '180deg' : '0deg' },
|
|
119
|
+
],
|
|
120
|
+
}}
|
|
118
121
|
/>
|
|
119
122
|
</TouchableOpacity>
|
|
120
123
|
}
|
|
@@ -201,9 +204,6 @@ const styles = StyleSheet.create({
|
|
|
201
204
|
marginRight: 12,
|
|
202
205
|
textTransform: 'capitalize',
|
|
203
206
|
},
|
|
204
|
-
participantFilterIcon: {
|
|
205
|
-
color: COLORS.TEXT.HIGH_EMPHASIS,
|
|
206
|
-
},
|
|
207
207
|
roleChangeModalHeading: {
|
|
208
208
|
color: COLORS.TEXT.HIGH_EMPHASIS,
|
|
209
209
|
fontSize: 20,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { View, Dimensions } from 'react-native';
|
|
3
|
+
import { useSelector } from 'react-redux';
|
|
3
4
|
import type { ViewStyle } from 'react-native';
|
|
4
5
|
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
5
6
|
import type { HMSView } from '@100mslive/react-native-hms';
|
|
@@ -8,6 +9,7 @@ import { Tile } from './Tile';
|
|
|
8
9
|
import type { PeerTrackNode } from '../utils/types';
|
|
9
10
|
import { useIsLandscapeOrientation } from '../utils/dimension';
|
|
10
11
|
import { groupIntoPairs } from '../utils/functions';
|
|
12
|
+
import type { RootState } from '../redux';
|
|
11
13
|
|
|
12
14
|
interface TilesContainerProps {
|
|
13
15
|
peerTrackNodes: PeerTrackNode[];
|
|
@@ -23,11 +25,15 @@ const _TilesContainer: React.FC<TilesContainerProps> = ({
|
|
|
23
25
|
const { left, right } = useSafeAreaInsets();
|
|
24
26
|
const isLandscapeOrientation = useIsLandscapeOrientation();
|
|
25
27
|
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
isLandscapeOrientation
|
|
28
|
+
const screenshareTilesAvailable = useSelector(
|
|
29
|
+
(state: RootState) => state.app.screensharePeerTrackNodes.length > 0
|
|
29
30
|
);
|
|
30
31
|
|
|
32
|
+
const stylesConfig = computeTileWidthAndHeight(peerTrackNodes.length, {
|
|
33
|
+
isLandscapeOrientation,
|
|
34
|
+
type: screenshareTilesAvailable ? 'row' : 'default',
|
|
35
|
+
});
|
|
36
|
+
|
|
31
37
|
// In this layout, Tile will take as much height and width as possible
|
|
32
38
|
// Width and Height of Tile are independent of each other
|
|
33
39
|
const growableTileLayout = peerTrackNodes.length <= 4;
|
|
@@ -36,7 +42,15 @@ const _TilesContainer: React.FC<TilesContainerProps> = ({
|
|
|
36
42
|
<View
|
|
37
43
|
style={[
|
|
38
44
|
// If tile are growable, then we want whatever remaining space to be between them
|
|
39
|
-
{
|
|
45
|
+
{
|
|
46
|
+
justifyContent:
|
|
47
|
+
screenshareTilesAvailable && peerTrackNodes.length === 1
|
|
48
|
+
? 'center'
|
|
49
|
+
: growableTileLayout
|
|
50
|
+
? 'space-between'
|
|
51
|
+
: 'center',
|
|
52
|
+
flexDirection: screenshareTilesAvailable ? 'row' : 'column',
|
|
53
|
+
},
|
|
40
54
|
{ width: Dimensions.get('window').width - left - right },
|
|
41
55
|
]}
|
|
42
56
|
>
|
|
@@ -78,7 +92,7 @@ const _TilesContainer: React.FC<TilesContainerProps> = ({
|
|
|
78
92
|
: 'space-between',
|
|
79
93
|
flexDirection: 'row',
|
|
80
94
|
flex: growableTileLayout ? 1 : 0,
|
|
81
|
-
marginTop: isFirstPairGroup ? 0 :
|
|
95
|
+
marginTop: isFirstPairGroup ? 0 : 4,
|
|
82
96
|
}}
|
|
83
97
|
>
|
|
84
98
|
{peerTrackNodesPair.map((peerTrackNode) => {
|
|
@@ -112,11 +126,11 @@ export { TilesContainer };
|
|
|
112
126
|
// Utility Functions
|
|
113
127
|
|
|
114
128
|
const oneTileStyle = { width: '100%', height: '100%' }; // 1 Column Layout
|
|
115
|
-
const twoTileStyle = { width: '100%', height: '49.
|
|
116
|
-
const threeTileStyle = { width: '100%', height: '
|
|
129
|
+
const twoTileStyle = { width: '100%', height: '49.7222%' }; // 1 Column Layout
|
|
130
|
+
const threeTileStyle = { width: '100%', height: '33%' }; // 1 Column Layout
|
|
117
131
|
|
|
118
|
-
const fourTileStyle = { width: '49%', height: '100%' }; // Grid Layout when Width and Height has no-correlatiom
|
|
119
|
-
const fiveAndSixTileStyle = { width: '49%', aspectRatio: 1 }; // Grid Layout when width and Height as fixed aspectRatio
|
|
132
|
+
const fourTileStyle = { width: '49.5%', height: '100%' }; // Grid Layout when Width and Height has no-correlatiom
|
|
133
|
+
const fiveAndSixTileStyle = { width: '49.5%', aspectRatio: 1 }; // Grid Layout when width and Height as fixed aspectRatio
|
|
120
134
|
|
|
121
135
|
const oneTileStyleLandscape = { width: '100%', height: '100%' };
|
|
122
136
|
const twoTileStyleLandscape = { width: '50%', height: '100%' };
|
|
@@ -125,26 +139,42 @@ const fourTileStyleLandscape = { width: '50%', height: '50%' };
|
|
|
125
139
|
|
|
126
140
|
function computeTileWidthAndHeight(
|
|
127
141
|
totalTiles: number,
|
|
128
|
-
|
|
142
|
+
config: {
|
|
143
|
+
type: 'row' | 'column' | 'default';
|
|
144
|
+
isLandscapeOrientation: boolean;
|
|
145
|
+
}
|
|
129
146
|
): {
|
|
130
147
|
width?: ViewStyle['width'];
|
|
131
148
|
height?: ViewStyle['height'];
|
|
132
149
|
aspectRatio?: ViewStyle['aspectRatio'];
|
|
133
150
|
} {
|
|
151
|
+
const { type, isLandscapeOrientation } = config || {
|
|
152
|
+
type: 'default',
|
|
153
|
+
isLandscapeOrientation: false,
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
if (isLandscapeOrientation) {
|
|
157
|
+
return (
|
|
158
|
+
[
|
|
159
|
+
oneTileStyleLandscape,
|
|
160
|
+
twoTileStyleLandscape,
|
|
161
|
+
threeTileStyleLandscape,
|
|
162
|
+
fourTileStyleLandscape,
|
|
163
|
+
][Math.min(totalTiles - 1, 3)] || { width: '100%', height: '100%' }
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
if (type === 'row') {
|
|
168
|
+
return fiveAndSixTileStyle;
|
|
169
|
+
}
|
|
170
|
+
|
|
134
171
|
return (
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
: [
|
|
143
|
-
oneTileStyle,
|
|
144
|
-
twoTileStyle,
|
|
145
|
-
threeTileStyle,
|
|
146
|
-
fourTileStyle,
|
|
147
|
-
fiveAndSixTileStyle,
|
|
148
|
-
][Math.min(totalTiles - 1, 4)]) || { width: '100%', height: '100%' }
|
|
172
|
+
[
|
|
173
|
+
oneTileStyle,
|
|
174
|
+
twoTileStyle,
|
|
175
|
+
threeTileStyle,
|
|
176
|
+
fourTileStyle,
|
|
177
|
+
fiveAndSixTileStyle,
|
|
178
|
+
][Math.min(totalTiles - 1, 4)] || { width: '100%', height: '100%' }
|
|
149
179
|
);
|
|
150
180
|
}
|
|
@@ -11,6 +11,8 @@ import PIPView from './PIPView';
|
|
|
11
11
|
import { useIsPortraitOrientation } from '../utils/dimension';
|
|
12
12
|
import { LocalPeerRegularVideoView } from './LocalPeerRegularVideoView';
|
|
13
13
|
import { WelcomeInMeeting } from './WelcomeInMeeting';
|
|
14
|
+
import { OverlayContainer } from './OverlayContainer';
|
|
15
|
+
import { OverlayedViews } from './OverlayedViews';
|
|
14
16
|
|
|
15
17
|
interface WebrtcViewProps {
|
|
16
18
|
peerTrackNodes: Array<PeerTrackNode>;
|
|
@@ -30,43 +32,51 @@ export const WebrtcView = React.forwardRef<GridViewRefAttrs, WebrtcViewProps>(
|
|
|
30
32
|
(state: RootState) => state.user.spotlightTrackId
|
|
31
33
|
);
|
|
32
34
|
|
|
35
|
+
const screenshareTilesAvailable = useSelector(
|
|
36
|
+
(state: RootState) => state.app.screensharePeerTrackNodes.length > 0
|
|
37
|
+
);
|
|
38
|
+
|
|
33
39
|
const pairedPeers = useMemo(
|
|
34
40
|
() =>
|
|
35
41
|
pairData(
|
|
36
42
|
peerTrackNodes,
|
|
37
43
|
isPortrait
|
|
38
|
-
?
|
|
44
|
+
? screenshareTilesAvailable
|
|
45
|
+
? MaxTilesInOnePage.IN_PORTRAIT_WITH_SCREENSHARES
|
|
46
|
+
: MaxTilesInOnePage.IN_PORTRAIT
|
|
39
47
|
: MaxTilesInOnePage.IN_LANDSCAPE,
|
|
40
48
|
spotlightTrackId
|
|
41
49
|
),
|
|
42
|
-
[peerTrackNodes, spotlightTrackId, isPortrait]
|
|
50
|
+
[peerTrackNodes, screenshareTilesAvailable, spotlightTrackId, isPortrait]
|
|
43
51
|
);
|
|
44
52
|
|
|
45
|
-
const
|
|
53
|
+
const showWelcomeBanner = useSelector(
|
|
46
54
|
(state: RootState) =>
|
|
47
|
-
|
|
55
|
+
!state.app.localPeerTrackNode && pairedPeers.length === 0
|
|
48
56
|
);
|
|
49
57
|
|
|
50
|
-
if (!canShowTiles) {
|
|
51
|
-
return <WelcomeInMeeting />;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
58
|
if (isPipModeActive) {
|
|
55
59
|
return <PIPView pairedPeers={pairedPeers} />;
|
|
56
60
|
}
|
|
57
61
|
|
|
58
|
-
if (pairedPeers.length > 0) {
|
|
59
|
-
return (
|
|
60
|
-
<GridView
|
|
61
|
-
ref={gridViewRef}
|
|
62
|
-
onPeerTileMorePress={handlePeerTileMorePress}
|
|
63
|
-
pairedPeers={pairedPeers}
|
|
64
|
-
/>
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
62
|
return (
|
|
69
|
-
<
|
|
63
|
+
<OverlayContainer>
|
|
64
|
+
{showWelcomeBanner ? (
|
|
65
|
+
<WelcomeInMeeting />
|
|
66
|
+
) : pairedPeers.length > 0 ? (
|
|
67
|
+
<GridView
|
|
68
|
+
ref={gridViewRef}
|
|
69
|
+
onPeerTileMorePress={handlePeerTileMorePress}
|
|
70
|
+
pairedPeers={pairedPeers}
|
|
71
|
+
/>
|
|
72
|
+
) : (
|
|
73
|
+
<LocalPeerRegularVideoView
|
|
74
|
+
onMoreOptionsPress={handlePeerTileMorePress}
|
|
75
|
+
/>
|
|
76
|
+
)}
|
|
77
|
+
|
|
78
|
+
<OverlayedViews />
|
|
79
|
+
</OverlayContainer>
|
|
70
80
|
);
|
|
71
81
|
}
|
|
72
82
|
);
|
|
@@ -1,31 +1,15 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { View,
|
|
3
|
-
|
|
4
|
-
import { useHMSRoomStyleSheet } from '../hooks-util';
|
|
2
|
+
import { View, StyleSheet, Image } from 'react-native';
|
|
5
3
|
|
|
6
4
|
export interface WelcomeInMeetingProps {}
|
|
7
5
|
|
|
8
6
|
export const WelcomeInMeeting: React.FC<WelcomeInMeetingProps> = () => {
|
|
9
|
-
const hmsRoomStyles = useHMSRoomStyleSheet((theme, typography) => ({
|
|
10
|
-
heading: {
|
|
11
|
-
fontFamily: `${typography.font_family}-Bold`,
|
|
12
|
-
color: theme.palette.on_surface_high,
|
|
13
|
-
},
|
|
14
|
-
description: {
|
|
15
|
-
fontFamily: `${typography.font_family}-Medium`,
|
|
16
|
-
color: theme.palette.on_surface_medium,
|
|
17
|
-
},
|
|
18
|
-
}));
|
|
19
|
-
|
|
20
7
|
return (
|
|
21
8
|
<View style={styles.container}>
|
|
22
|
-
<
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<Text style={[styles.description, hmsRoomStyles.description]}>
|
|
27
|
-
Sit back and relax till the others join.
|
|
28
|
-
</Text>
|
|
9
|
+
<Image
|
|
10
|
+
source={require('../assets/welcome.png')}
|
|
11
|
+
style={{ width: 149, height: 152 }}
|
|
12
|
+
/>
|
|
29
13
|
</View>
|
|
30
14
|
);
|
|
31
15
|
};
|
|
@@ -36,17 +20,4 @@ const styles = StyleSheet.create({
|
|
|
36
20
|
alignItems: 'center',
|
|
37
21
|
justifyContent: 'center',
|
|
38
22
|
},
|
|
39
|
-
heading: {
|
|
40
|
-
fontSize: 28,
|
|
41
|
-
lineHeight: 36,
|
|
42
|
-
letterSpacing: 0.1,
|
|
43
|
-
textAlign: 'center',
|
|
44
|
-
paddingBottom: 32,
|
|
45
|
-
},
|
|
46
|
-
description: {
|
|
47
|
-
fontSize: 16,
|
|
48
|
-
lineHeight: 24,
|
|
49
|
-
letterSpacing: 0.15,
|
|
50
|
-
textAlign: 'center',
|
|
51
|
-
},
|
|
52
23
|
});
|
package/src/components/index.ts
CHANGED
|
@@ -1,17 +1,56 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
DefaultConferencingScreen,
|
|
3
|
+
HLSLiveStreamingScreen,
|
|
4
|
+
Layout,
|
|
5
|
+
} from '@100mslive/types-prebuilt';
|
|
6
|
+
import type { HMSRole } from '@100mslive/react-native-hms';
|
|
2
7
|
import { JoinForm_JoinBtnType } from '@100mslive/types-prebuilt/elements/join_form';
|
|
3
8
|
|
|
4
9
|
import type { RootState } from './redux';
|
|
5
10
|
|
|
6
|
-
export const selectIsHLSViewer = (
|
|
7
|
-
|
|
11
|
+
export const selectIsHLSViewer = (
|
|
12
|
+
role: HMSRole | null | undefined,
|
|
13
|
+
layoutConfig: Layout | null | undefined
|
|
14
|
+
) => {
|
|
15
|
+
if (layoutConfig) {
|
|
16
|
+
return !!layoutConfig.screens?.conferencing?.hls_live_streaming;
|
|
17
|
+
}
|
|
18
|
+
return role?.name?.includes('hls-') ?? false;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export const selectLayoutConfigForRole = (
|
|
22
|
+
layoutConfig: Layout[] | null,
|
|
23
|
+
role: HMSRole | null
|
|
24
|
+
): Layout | null => {
|
|
25
|
+
if (layoutConfig === null || layoutConfig.length <= 0) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
if (role === null) {
|
|
30
|
+
return layoutConfig[0] || null;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const selectedLayout = layoutConfig.find(
|
|
34
|
+
(layout) => layout.role === role.name
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
return selectedLayout || layoutConfig[0] || null;
|
|
38
|
+
};
|
|
8
39
|
|
|
9
40
|
export const selectShouldGoLive = (state: RootState) => {
|
|
10
|
-
const
|
|
11
|
-
|
|
41
|
+
const currentRole = state.hmsStates.localPeer?.role || null;
|
|
42
|
+
|
|
43
|
+
const layoutConfig = selectLayoutConfigForRole(
|
|
44
|
+
state.hmsStates.layoutConfig,
|
|
45
|
+
currentRole
|
|
46
|
+
);
|
|
47
|
+
|
|
48
|
+
const isHLSStreaming =
|
|
49
|
+
state.hmsStates.room?.hlsStreamingState?.running ?? false;
|
|
12
50
|
|
|
13
51
|
const joinButtonType =
|
|
14
|
-
layoutConfig?.screens?.preview?.default?.elements?.join_form
|
|
52
|
+
layoutConfig?.screens?.preview?.default?.elements?.join_form
|
|
53
|
+
?.join_btn_type ?? JoinForm_JoinBtnType.JOIN_BTN_TYPE_JOIN_ONLY;
|
|
15
54
|
|
|
16
55
|
const canStartHLSStreaming =
|
|
17
56
|
joinButtonType === JoinForm_JoinBtnType.JOIN_BTN_TYPE_JOIN_AND_GO_LIVE ||
|
|
@@ -23,3 +62,27 @@ export const selectShouldGoLive = (state: RootState) => {
|
|
|
23
62
|
|
|
24
63
|
return canStartHLSStreaming && !isHLSStreaming;
|
|
25
64
|
};
|
|
65
|
+
|
|
66
|
+
export const selectChatLayoutConfig = (layoutConfig: Layout | null) => {
|
|
67
|
+
const conferencingConfig = layoutConfig?.screens?.conferencing;
|
|
68
|
+
const screenOptions = conferencingConfig
|
|
69
|
+
? conferencingConfig.default || conferencingConfig.hls_live_streaming
|
|
70
|
+
: null;
|
|
71
|
+
|
|
72
|
+
return screenOptions?.elements?.chat ?? null;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
export const selectVideoTileLayoutConfig = (layoutConfig: Layout | null) => {
|
|
76
|
+
return layoutConfig?.screens?.conferencing?.default?.elements
|
|
77
|
+
?.video_tile_layout;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export const selectConferencingScreenConfig = (
|
|
81
|
+
layoutConfig: Layout | null
|
|
82
|
+
): DefaultConferencingScreen | HLSLiveStreamingScreen | null => {
|
|
83
|
+
const conferencingConfig = layoutConfig?.screens?.conferencing;
|
|
84
|
+
return (
|
|
85
|
+
(conferencingConfig?.default || conferencingConfig?.hls_live_streaming) ??
|
|
86
|
+
null
|
|
87
|
+
);
|
|
88
|
+
};
|