@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
|
@@ -3,16 +3,13 @@ import { StyleSheet, Text, Platform, ScrollView, TouchableOpacity, Alert } from
|
|
|
3
3
|
import { HMSUpdateListenerActions } from '@100mslive/react-native-hms';
|
|
4
4
|
import { useDispatch, useSelector } from 'react-redux';
|
|
5
5
|
import Toast from 'react-native-simple-toast';
|
|
6
|
-
import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons';
|
|
7
|
-
import Ionicons from 'react-native-vector-icons/Ionicons';
|
|
8
|
-
import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
|
|
9
|
-
import EntypoIcons from 'react-native-vector-icons/Entypo';
|
|
10
6
|
import { openSettings, requestNotifications } from 'react-native-permissions';
|
|
11
7
|
import { COLORS } from '../utils/theme';
|
|
12
8
|
import { changePipModeStatus, changeEnableHLSPlayerControls, changeShowHLSStats, changeShowCustomHLSPlayerControls } from '../redux/actions';
|
|
13
9
|
import { ModalTypes, PipModes } from '../utils/types';
|
|
10
|
+
import { useIsHLSViewer } from '../hooks-util';
|
|
14
11
|
export const RoomSettingsModalDebugModeContent = _ref => {
|
|
15
|
-
var _localPeerRole$
|
|
12
|
+
var _localPeerRole$permis, _localPeerRole$permis2, _localPeerRole$permis3, _localPeerRole$permis4, _localPeerRole$permis5, _localPeerRole$publis, _localPeerRole$publis2;
|
|
16
13
|
let {
|
|
17
14
|
newAudioMixingMode,
|
|
18
15
|
isAudioShared,
|
|
@@ -41,6 +38,7 @@ export const RoomSettingsModalDebugModeContent = _ref => {
|
|
|
41
38
|
const showHLSStats = useSelector(state => state.app.joinConfig.showHLSStats);
|
|
42
39
|
const enableHLSPlayerControls = useSelector(state => state.app.joinConfig.enableHLSPlayerControls);
|
|
43
40
|
const showCustomHLSPlayerControls = useSelector(state => state.app.joinConfig.showCustomHLSPlayerControls);
|
|
41
|
+
const isHLSViewer = useIsHLSViewer();
|
|
44
42
|
|
|
45
43
|
// CONSTANTS
|
|
46
44
|
const isPipModeUnavailable = pipModeStatus === PipModes.NOT_AVAILABLE;
|
|
@@ -69,7 +67,7 @@ export const RoomSettingsModalDebugModeContent = _ref => {
|
|
|
69
67
|
};
|
|
70
68
|
const handleLocalRemoteAudiosMute = () => {
|
|
71
69
|
closeRoomSettingsModal();
|
|
72
|
-
hmsInstance === null || hmsInstance === void 0
|
|
70
|
+
hmsInstance === null || hmsInstance === void 0 || hmsInstance.setPlaybackForAllAudio(!muteAllTracksAudio);
|
|
73
71
|
setMuteAllTracksAudio(!muteAllTracksAudio);
|
|
74
72
|
};
|
|
75
73
|
const handleRemoteAudiosMute = async () => {
|
|
@@ -79,7 +77,7 @@ export const RoomSettingsModalDebugModeContent = _ref => {
|
|
|
79
77
|
const handleHLSStreaming = () => {
|
|
80
78
|
if (isHLSStreaming) {
|
|
81
79
|
closeRoomSettingsModal();
|
|
82
|
-
hmsInstance === null || hmsInstance === void 0
|
|
80
|
+
hmsInstance === null || hmsInstance === void 0 || hmsInstance.stopHLSStreaming().then(d => console.log('Stop HLS Streaming Success: ', d)).catch(e => console.log('Stop HLS Streaming Error: ', e));
|
|
83
81
|
} else {
|
|
84
82
|
setModalVisible(ModalTypes.HLS_STREAMING, true);
|
|
85
83
|
}
|
|
@@ -105,7 +103,7 @@ export const RoomSettingsModalDebugModeContent = _ref => {
|
|
|
105
103
|
setModalVisible(ModalTypes.SWITCH_AUDIO_OUTPUT, true);
|
|
106
104
|
} else {
|
|
107
105
|
closeRoomSettingsModal();
|
|
108
|
-
hmsInstance === null || hmsInstance === void 0
|
|
106
|
+
hmsInstance === null || hmsInstance === void 0 || hmsInstance.switchAudioOutputUsingIOSUI();
|
|
109
107
|
}
|
|
110
108
|
};
|
|
111
109
|
const changeAudioMode = () => setModalVisible(ModalTypes.CHANGE_AUDIO_MODE, true);
|
|
@@ -131,7 +129,7 @@ export const RoomSettingsModalDebugModeContent = _ref => {
|
|
|
131
129
|
const handleAudioShare = async () => {
|
|
132
130
|
closeRoomSettingsModal();
|
|
133
131
|
if (isAudioShared) {
|
|
134
|
-
hmsInstance === null || hmsInstance === void 0
|
|
132
|
+
hmsInstance === null || hmsInstance === void 0 || hmsInstance.stopAudioshare().then(d => {
|
|
135
133
|
setIsAudioShared(false);
|
|
136
134
|
console.log('Stop Audioshare Success: ', d);
|
|
137
135
|
}).catch(e => console.log('Stop Audioshare Error: ', e));
|
|
@@ -153,7 +151,7 @@ export const RoomSettingsModalDebugModeContent = _ref => {
|
|
|
153
151
|
return;
|
|
154
152
|
}
|
|
155
153
|
}
|
|
156
|
-
hmsInstance === null || hmsInstance === void 0
|
|
154
|
+
hmsInstance === null || hmsInstance === void 0 || hmsInstance.startAudioshare(newAudioMixingMode).then(d => {
|
|
157
155
|
setIsAudioShared(true);
|
|
158
156
|
console.log('Start Audioshare Success: ', d);
|
|
159
157
|
}).catch(e => console.log('Start Audioshare Error: ', e));
|
|
@@ -163,103 +161,65 @@ export const RoomSettingsModalDebugModeContent = _ref => {
|
|
|
163
161
|
|
|
164
162
|
return /*#__PURE__*/React.createElement(ScrollView, {
|
|
165
163
|
style: styles.container
|
|
166
|
-
},
|
|
164
|
+
}, isHLSViewer ? /*#__PURE__*/React.createElement(SettingItem, {
|
|
167
165
|
onPress: handleHLSPlayerAspectRatio,
|
|
168
|
-
text: 'Change Aspect Ratio'
|
|
169
|
-
|
|
170
|
-
iconName: 'aspect-ratio'
|
|
171
|
-
}) : null, !(localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$name2 = localPeerRole.name) !== null && _localPeerRole$name2 !== void 0 && _localPeerRole$name2.includes('hls-')) ? /*#__PURE__*/React.createElement(SettingItem, {
|
|
166
|
+
text: 'Change Aspect Ratio'
|
|
167
|
+
}) : null, !isHLSViewer ? /*#__PURE__*/React.createElement(SettingItem, {
|
|
172
168
|
onPress: handleLocalRemoteAudiosMute,
|
|
173
|
-
text: `${muteAllTracksAudio ? 'Unmute' : 'Mute'} Room
|
|
174
|
-
IconType: Ionicons,
|
|
175
|
-
iconName: muteAllTracksAudio ? 'mic-off-outline' : 'mic-outline'
|
|
169
|
+
text: `${muteAllTracksAudio ? 'Unmute' : 'Mute'} Room`
|
|
176
170
|
}) : null, debugMode && localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$permis = localPeerRole.permissions) !== null && _localPeerRole$permis !== void 0 && _localPeerRole$permis.hlsStreaming ? /*#__PURE__*/React.createElement(SettingItem, {
|
|
177
171
|
onPress: handleHLSStreaming,
|
|
178
|
-
text: `${isHLSStreaming === true ? 'Stop' : 'Start'} HLS Streaming
|
|
179
|
-
IconType: Ionicons,
|
|
180
|
-
iconName: "radio-outline"
|
|
172
|
+
text: `${isHLSStreaming === true ? 'Stop' : 'Start'} HLS Streaming`
|
|
181
173
|
}) : null, debugMode && localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$permis2 = localPeerRole.permissions) !== null && _localPeerRole$permis2 !== void 0 && _localPeerRole$permis2.changeRole ? /*#__PURE__*/React.createElement(SettingItem, {
|
|
182
174
|
onPress: changeBulkRole,
|
|
183
|
-
text: "Bulk Role Change"
|
|
184
|
-
IconType: Ionicons,
|
|
185
|
-
iconName: "people-outline"
|
|
175
|
+
text: "Bulk Role Change"
|
|
186
176
|
}) : null, debugMode && localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$permis3 = localPeerRole.permissions) !== null && _localPeerRole$permis3 !== void 0 && _localPeerRole$permis3.mute ? /*#__PURE__*/React.createElement(SettingItem, {
|
|
187
177
|
onPress: handleRemoteAudiosMute,
|
|
188
|
-
text: "Remote Mute All Audio Tracks"
|
|
189
|
-
IconType: Ionicons,
|
|
190
|
-
iconName: "mic-off-outline"
|
|
178
|
+
text: "Remote Mute All Audio Tracks"
|
|
191
179
|
}) : null, debugMode && (localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$permis4 = localPeerRole.permissions) !== null && _localPeerRole$permis4 !== void 0 && _localPeerRole$permis4.mute || localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$permis5 = localPeerRole.permissions) !== null && _localPeerRole$permis5 !== void 0 && _localPeerRole$permis5.unmute) ? /*#__PURE__*/React.createElement(SettingItem, {
|
|
192
180
|
onPress: changeTrackState,
|
|
193
|
-
text: "Change Track State For Role"
|
|
194
|
-
IconType: MaterialIcons,
|
|
195
|
-
iconName: "track-changes"
|
|
181
|
+
text: "Change Track State For Role"
|
|
196
182
|
}) : null, localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$publis = localPeerRole.publishSettings) !== null && _localPeerRole$publis !== void 0 && (_localPeerRole$publis = _localPeerRole$publis.allowed) !== null && _localPeerRole$publis !== void 0 && _localPeerRole$publis.includes('audio') ? /*#__PURE__*/React.createElement(SettingItem, {
|
|
197
183
|
onPress: switchAudioOutput,
|
|
198
|
-
text: "Switch Audio Output"
|
|
199
|
-
IconType: MaterialCommunityIcons,
|
|
200
|
-
iconName: "cast-audio"
|
|
184
|
+
text: "Switch Audio Output"
|
|
201
185
|
}) : null, !isPipModeUnavailable ? /*#__PURE__*/React.createElement(SettingItem, {
|
|
202
186
|
onPress: enterPipMode,
|
|
203
|
-
text: "Picture in Picture (PIP) Mode"
|
|
204
|
-
|
|
205
|
-
iconName: "picture-in-picture-bottom-right"
|
|
206
|
-
}) : null, debugMode ? /*#__PURE__*/React.createElement(React.Fragment, null, localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$name3 = localPeerRole.name) !== null && _localPeerRole$name3 !== void 0 && _localPeerRole$name3.includes('hls-') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SettingItem, {
|
|
187
|
+
text: "Picture in Picture (PIP) Mode"
|
|
188
|
+
}) : null, debugMode ? /*#__PURE__*/React.createElement(React.Fragment, null, isHLSViewer ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SettingItem, {
|
|
207
189
|
onPress: toggleShowHLSStats,
|
|
208
|
-
text: showHLSStats ? 'Hide HLS Stats' : 'Show HLS Stats'
|
|
209
|
-
IconType: MaterialCommunityIcons,
|
|
210
|
-
iconName: 'clipboard-pulse-outline'
|
|
190
|
+
text: showHLSStats ? 'Hide HLS Stats' : 'Show HLS Stats'
|
|
211
191
|
}), /*#__PURE__*/React.createElement(SettingItem, {
|
|
212
192
|
onPress: toggleEnableHLSPlayerControls,
|
|
213
|
-
text: enableHLSPlayerControls ? 'Disable HLS Player Controls' : 'Enable HLS Player Controls'
|
|
214
|
-
IconType: Ionicons,
|
|
215
|
-
iconName: 'ios-settings-outline'
|
|
193
|
+
text: enableHLSPlayerControls ? 'Disable HLS Player Controls' : 'Enable HLS Player Controls'
|
|
216
194
|
}), /*#__PURE__*/React.createElement(SettingItem, {
|
|
217
195
|
onPress: toggleShowCustomHLSPlayerControls,
|
|
218
|
-
text: showCustomHLSPlayerControls ? 'Hide Custom HLS Player Controls' : 'Show Custom HLS Player Controls'
|
|
219
|
-
IconType: Ionicons,
|
|
220
|
-
iconName: 'ios-settings-outline'
|
|
196
|
+
text: showCustomHLSPlayerControls ? 'Hide Custom HLS Player Controls' : 'Show Custom HLS Player Controls'
|
|
221
197
|
})) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SettingItem, {
|
|
222
198
|
onPress: showRTCStats,
|
|
223
|
-
text: "Show RTC Stats"
|
|
224
|
-
IconType: MaterialCommunityIcons,
|
|
225
|
-
iconName: 'clipboard-pulse-outline'
|
|
199
|
+
text: "Show RTC Stats"
|
|
226
200
|
})), Platform.OS === 'android' && localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$publis2 = localPeerRole.publishSettings) !== null && _localPeerRole$publis2 !== void 0 && (_localPeerRole$publis2 = _localPeerRole$publis2.allowed) !== null && _localPeerRole$publis2 !== void 0 && _localPeerRole$publis2.includes('audio') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SettingItem, {
|
|
227
201
|
onPress: addRemoveAudioDeviceChangeListener,
|
|
228
|
-
text: `${audioDeviceListenerAdded ? 'Remove' : 'Set'} Audio Output Change Listener
|
|
229
|
-
IconType: MaterialCommunityIcons,
|
|
230
|
-
iconName: "video-input-component"
|
|
202
|
+
text: `${audioDeviceListenerAdded ? 'Remove' : 'Set'} Audio Output Change Listener`
|
|
231
203
|
}), /*#__PURE__*/React.createElement(SettingItem, {
|
|
232
204
|
onPress: handleAudioShare,
|
|
233
|
-
text: `${isAudioShared ? 'Stop' : 'Start'} Audioshare
|
|
234
|
-
IconType: Ionicons,
|
|
235
|
-
iconName: "share-social-outline"
|
|
205
|
+
text: `${isAudioShared ? 'Stop' : 'Start'} Audioshare`
|
|
236
206
|
}), /*#__PURE__*/React.createElement(SettingItem, {
|
|
237
207
|
onPress: changeAudioMode,
|
|
238
|
-
text: "Set Audio Mode"
|
|
239
|
-
IconType: MaterialCommunityIcons,
|
|
240
|
-
iconName: "call-split"
|
|
208
|
+
text: "Set Audio Mode"
|
|
241
209
|
}), /*#__PURE__*/React.createElement(SettingItem, {
|
|
242
210
|
onPress: setAudioMixingMode,
|
|
243
|
-
text: "Set Audio Mixing Mode"
|
|
244
|
-
IconType: EntypoIcons,
|
|
245
|
-
iconName: "sound-mix"
|
|
211
|
+
text: "Set Audio Mixing Mode"
|
|
246
212
|
})) : null) : null);
|
|
247
213
|
};
|
|
248
214
|
const SettingItem = _ref2 => {
|
|
249
215
|
let {
|
|
250
216
|
onPress,
|
|
251
|
-
text
|
|
252
|
-
iconName,
|
|
253
|
-
IconType
|
|
217
|
+
text
|
|
254
218
|
} = _ref2;
|
|
255
219
|
return /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
256
220
|
style: styles.button,
|
|
257
221
|
onPress: onPress
|
|
258
|
-
}, /*#__PURE__*/React.createElement(
|
|
259
|
-
name: iconName,
|
|
260
|
-
size: 24,
|
|
261
|
-
style: styles.icon
|
|
262
|
-
}), /*#__PURE__*/React.createElement(Text, {
|
|
222
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
263
223
|
style: styles.text
|
|
264
224
|
}, text));
|
|
265
225
|
};
|
|
@@ -271,7 +231,8 @@ const styles = StyleSheet.create({
|
|
|
271
231
|
button: {
|
|
272
232
|
flexDirection: 'row',
|
|
273
233
|
alignItems: 'center',
|
|
274
|
-
marginVertical: 12
|
|
234
|
+
marginVertical: 12,
|
|
235
|
+
marginHorizontal: 16
|
|
275
236
|
},
|
|
276
237
|
text: {
|
|
277
238
|
fontFamily: 'Inter-Medium',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","Text","Platform","ScrollView","TouchableOpacity","Alert","HMSUpdateListenerActions","useDispatch","useSelector","Toast","MaterialCommunityIcons","Ionicons","MaterialIcons","EntypoIcons","openSettings","requestNotifications","COLORS","changePipModeStatus","changeEnableHLSPlayerControls","changeShowHLSStats","changeShowCustomHLSPlayerControls","ModalTypes","PipModes","RoomSettingsModalDebugModeContent","_ref","_localPeerRole$name","_localPeerRole$name2","_localPeerRole$permis","_localPeerRole$permis2","_localPeerRole$permis3","_localPeerRole$permis4","_localPeerRole$permis5","_localPeerRole$publis","_localPeerRole$name3","_localPeerRole$publis2","newAudioMixingMode","isAudioShared","audioDeviceListenerAdded","muteAllTracksAudio","closeRoomSettingsModal","setModalVisible","setIsAudioShared","setAudioDeviceListenerAdded","setMuteAllTracksAudio","dispatch","hmsInstance","state","user","debugMode","localPeerRole","_state$hmsStates$loca","hmsStates","localPeer","role","isHLSStreaming","_state$hmsStates$room","room","hlsStreamingState","running","pipModeStatus","app","showHLSStats","joinConfig","enableHLSPlayerControls","showCustomHLSPlayerControls","isPipModeUnavailable","NOT_AVAILABLE","enterPipMode","console","log","isEnabled","enablePipMode","aspectRatio","endButton","videoButton","audioButton","ACTIVE","error","handleLocalRemoteAudiosMute","setPlaybackForAllAudio","handleRemoteAudiosMute","remoteMuteAllAudio","then","d","catch","e","handleHLSStreaming","stopHLSStreaming","HLS_STREAMING","addRemoveAudioDeviceChangeListener","removeEventListener","ON_AUDIO_DEVICE_CHANGED","setAudioDeviceChangeListener","data","showWithGravity","device","LONG","TOP","changeBulkRole","BULK_ROLE_CHANGE","changeTrackState","CHANGE_TRACK_ROLE","switchAudioOutput","OS","SWITCH_AUDIO_OUTPUT","switchAudioOutputUsingIOSUI","changeAudioMode","CHANGE_AUDIO_MODE","setAudioMixingMode","AUDIO_MIXING_MODE","handleHLSPlayerAspectRatio","HLS_PLAYER_ASPECT_RATIO","showRTCStats","RTC_STATS","toggleShowHLSStats","DEFAULT","toggleEnableHLSPlayerControls","toggleShowCustomHLSPlayerControls","handleAudioShare","stopAudioshare","result","status","alert","text","onPress","cancelable","startAudioshare","createElement","style","styles","container","name","includes","SettingItem","IconType","iconName","permissions","hlsStreaming","changeRole","mute","unmute","publishSettings","allowed","Fragment","_ref2","button","size","icon","create","marginTop","height","flexDirection","alignItems","marginVertical","fontFamily","fontSize","lineHeight","color","TEXT","HIGH_EMPHASIS","WHITE","marginRight"],"sourceRoot":"../../../src","sources":["components/RoomSettingsModalDebugModeContent.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACEC,UAAU,EACVC,IAAI,EACJC,QAAQ,EACRC,UAAU,EACVC,gBAAgB,EAChBC,KAAK,QACA,cAAc;AACrB,SAEEC,wBAAwB,QACnB,6BAA6B;AACpC,SAASC,WAAW,EAAEC,WAAW,QAAQ,aAAa;AACtD,OAAOC,KAAK,MAAM,2BAA2B;AAC7C,OAAOC,sBAAsB,MAAM,kDAAkD;AACrF,OAAOC,QAAQ,MAAM,oCAAoC;AACzD,OAAOC,aAAa,MAAM,yCAAyC;AACnE,OAAOC,WAAW,MAAM,kCAAkC;AAC1D,SAASC,YAAY,EAAEC,oBAAoB,QAAQ,0BAA0B;AAE7E,SAASC,MAAM,QAAQ,gBAAgB;AAEvC,SACEC,mBAAmB,EACnBC,6BAA6B,EAC7BC,kBAAkB,EAClBC,iCAAiC,QAC5B,kBAAkB;AACzB,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;AAcrD,OAAO,MAAMC,iCAEZ,GAAGC,IAAA,IAUE;EAAA,IAAAC,mBAAA,EAAAC,oBAAA,EAAAC,qBAAA,EAAAC,s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Sheet","Text","Platform","ScrollView","TouchableOpacity","Alert","HMSUpdateListenerActions","useDispatch","useSelector","Toast","openSettings","requestNotifications","COLORS","changePipModeStatus","changeEnableHLSPlayerControls","changeShowHLSStats","changeShowCustomHLSPlayerControls","ModalTypes","PipModes","useIsHLSViewer","RoomSettingsModalDebugModeContent","_ref","_localPeerRole$permis","_localPeerRole$permis2","_localPeerRole$permis3","_localPeerRole$permis4","_localPeerRole$permis5","_localPeerRole$publis","_localPeerRole$publis2","newAudioMixingMode","isAudioShared","audioDeviceListenerAdded","muteAllTracksAudio","closeRoomSettingsModal","setModalVisible","setIsAudioShared","setAudioDeviceListenerAdded","setMuteAllTracksAudio","dispatch","hmsInstance","state","user","debugMode","localPeerRole","_state$hmsStates$loca","hmsStates","localPeer","role","isHLSStreaming","_state$hmsStates$room","room","hlsStreamingState","running","pipModeStatus","app","showHLSStats","joinConfig","enableHLSPlayerControls","showCustomHLSPlayerControls","isHLSViewer","isPipModeUnavailable","NOT_AVAILABLE","enterPipMode","console","log","isEnabled","enablePipMode","aspectRatio","endButton","videoButton","audioButton","ACTIVE","error","handleLocalRemoteAudiosMute","setPlaybackForAllAudio","handleRemoteAudiosMute","remoteMuteAllAudio","then","d","catch","e","handleHLSStreaming","stopHLSStreaming","HLS_STREAMING","addRemoveAudioDeviceChangeListener","removeEventListener","ON_AUDIO_DEVICE_CHANGED","setAudioDeviceChangeListener","data","showWithGravity","device","LONG","TOP","changeBulkRole","BULK_ROLE_CHANGE","changeTrackState","CHANGE_TRACK_ROLE","switchAudioOutput","OS","SWITCH_AUDIO_OUTPUT","switchAudioOutputUsingIOSUI","changeAudioMode","CHANGE_AUDIO_MODE","setAudioMixingMode","AUDIO_MIXING_MODE","handleHLSPlayerAspectRatio","HLS_PLAYER_ASPECT_RATIO","showRTCStats","RTC_STATS","toggleShowHLSStats","DEFAULT","toggleEnableHLSPlayerControls","toggleShowCustomHLSPlayerControls","handleAudioShare","stopAudioshare","result","status","alert","text","onPress","cancelable","startAudioshare","createElement","style","styles","container","SettingItem","permissions","hlsStreaming","changeRole","mute","unmute","publishSettings","allowed","includes","Fragment","_ref2","button","create","marginTop","height","flexDirection","alignItems","marginVertical","marginHorizontal","fontFamily","fontSize","lineHeight","color","TEXT","HIGH_EMPHASIS","icon","WHITE","marginRight"],"sourceRoot":"../../../src","sources":["components/RoomSettingsModalDebugModeContent.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACEC,UAAU,EACVC,IAAI,EACJC,QAAQ,EACRC,UAAU,EACVC,gBAAgB,EAChBC,KAAK,QACA,cAAc;AACrB,SAEEC,wBAAwB,QACnB,6BAA6B;AACpC,SAASC,WAAW,EAAEC,WAAW,QAAQ,aAAa;AACtD,OAAOC,KAAK,MAAM,2BAA2B;AAC7C,SAASC,YAAY,EAAEC,oBAAoB,QAAQ,0BAA0B;AAE7E,SAASC,MAAM,QAAQ,gBAAgB;AAEvC,SACEC,mBAAmB,EACnBC,6BAA6B,EAC7BC,kBAAkB,EAClBC,iCAAiC,QAC5B,kBAAkB;AACzB,SAASC,UAAU,EAAEC,QAAQ,QAAQ,gBAAgB;AACrD,SAASC,cAAc,QAAQ,eAAe;AAc9C,OAAO,MAAMC,iCAEZ,GAAGC,IAAA,IAUE;EAAA,IAAAC,qBAAA,EAAAC,sBAAA,EAAAC,sBAAA,EAAAC,sBAAA,EAAAC,sBAAA,EAAAC,qBAAA,EAAAC,sBAAA;EAAA,IAVD;IACHC,kBAAkB;IAClBC,aAAa;IAAE;IACfC,wBAAwB;IACxBC,kBAAkB;IAClBC,sBAAsB;IACtBC,eAAe;IACfC,gBAAgB;IAChBC,2BAA2B;IAC3BC;EACF,CAAC,GAAAhB,IAAA;EACC;EACA,MAAMiB,QAAQ,GAAG/B,WAAW,CAAC,CAAC;EAC9B,MAAMgC,WAAW,GAAG/B,WAAW,CAAEgC,KAAgB,IAAKA,KAAK,CAACC,IAAI,CAACF,WAAW,CAAC;EAC7E,MAAMG,SAAS,GAAGlC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AMM,MAAM,GAAG5H,UAAU,CAAC0I,MAAM,CAAC;EAC/Bb,SAAS,EAAE;IACTc,SAAS,EAAE,EAAE;IACbC,MAAM,EAAE;EACV,CAAC;EACDH,MAAM,EAAE;IACNI,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,EAAE;IAClBC,gBAAgB,EAAE;EACpB,CAAC;EACD1B,IAAI,EAAE;IACJ2B,UAAU,EAAE,cAAc;IAC1BC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,EAAE;IACdC,KAAK,EAAExI,MAAM,CAACyI,IAAI,CAACC;EACrB,CAAC;EACDC,IAAI,EAAE;IACJH,KAAK,EAAExI,MAAM,CAAC4I,KAAK;IACnBC,WAAW,EAAE;EACf;AACF,CAAC,CAAC"}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { StatusBar, Platform } from 'react-native';
|
|
3
4
|
import { useShowLandscapeLayout } from '../hooks-util';
|
|
4
5
|
export const HMSStatusBar = _ref => {
|
|
5
6
|
let {
|
|
6
|
-
hidden
|
|
7
|
+
hidden,
|
|
8
|
+
...resetProps
|
|
7
9
|
} = _ref;
|
|
8
10
|
const showLandscapeLayout = useShowLandscapeLayout();
|
|
9
|
-
return /*#__PURE__*/React.createElement(StatusBar, {
|
|
11
|
+
return /*#__PURE__*/React.createElement(StatusBar, _extends({}, resetProps, {
|
|
10
12
|
hidden: Platform.OS === 'ios' && hidden || showLandscapeLayout // use `hidden` prop to hide Status bar on iOS
|
|
11
13
|
,
|
|
12
|
-
barStyle: Platform.OS === 'android' && hidden ? 'dark-content' :
|
|
14
|
+
barStyle: Platform.OS === 'android' && hidden ? 'dark-content' : resetProps.barStyle // hack: use `dark-content` value to make StatusBar look like it's hidden
|
|
13
15
|
,
|
|
14
|
-
animated: true
|
|
15
|
-
});
|
|
16
|
+
animated: resetProps.animated ?? true
|
|
17
|
+
}));
|
|
16
18
|
};
|
|
17
19
|
//# sourceMappingURL=StatusBar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StatusBar","Platform","useShowLandscapeLayout","HMSStatusBar","_ref","hidden","showLandscapeLayout","createElement","OS","barStyle","animated"],"sourceRoot":"../../../src","sources":["components/StatusBar.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,SAAS,EAAEC,QAAQ,QAAQ,cAAc;
|
|
1
|
+
{"version":3,"names":["React","StatusBar","Platform","useShowLandscapeLayout","HMSStatusBar","_ref","hidden","resetProps","showLandscapeLayout","createElement","_extends","OS","barStyle","animated"],"sourceRoot":"../../../src","sources":["components/StatusBar.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,SAAS,EAAEC,QAAQ,QAAQ,cAAc;AAGlD,SAASC,sBAAsB,QAAQ,eAAe;AAMtD,OAAO,MAAMC,YAAyC,GAAGC,IAAA,IAA+B;EAAA,IAA9B;IAAEC,MAAM;IAAE,GAAGC;EAAW,CAAC,GAAAF,IAAA;EACjF,MAAMG,mBAAmB,GAAGL,sBAAsB,CAAC,CAAC;EAEpD,oBACEH,KAAA,CAAAS,aAAA,CAACR,SAAS,EAAAS,QAAA,KACJH,UAAU;IACdD,MAAM,EAAGJ,QAAQ,CAACS,EAAE,KAAK,KAAK,IAAIL,MAAM,IAAKE,mBAAoB,CAAC;IAAA;IAClEI,QAAQ,EACNV,QAAQ,CAACS,EAAE,KAAK,SAAS,IAAIL,MAAM,GAAG,cAAc,GAAGC,UAAU,CAACK,QACnE,CAAC;IAAA;IACFC,QAAQ,EAAEN,UAAU,CAACM,QAAQ,IAAI;EAAK,EACvC,CAAC;AAEN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useDispatch","useSelector","View","Text","StyleSheet","TouchableOpacity","useHMSInstance","useHMSRoomStyleSheet","AlertTriangleIcon","CloseIcon","HMSDangerButton","setStartingOrStoppingRecording","StopRecordingModalContent","_ref","dismissModal","dispatch","hmsInstance","startingOrStoppingRecording","state","app","hmsRoomStyles","theme","typography","headerText","color","palette","alert_error_default","fontFamily","font_family","text","on_surface_medium","stopRecording","stopRtmpAndRecording","error","createElement","style","styles","container","header","headerControls","onPress","hitSlop","closeIconHitSlop","loading","title","disabled","create","marginTop","marginHorizontal","flexDirection","alignItems","justifyContent","marginBottom","fontSize","lineHeight","letterSpacing","marginLeft","bottom","left","right","top"],"sourceRoot":"../../../src","sources":["components/StopRecordingModalContent.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,WAAW,EAAEC,WAAW,QAAQ,aAAa;AACtD,SAASC,IAAI,EAAEC,IAAI,EAAEC,UAAU,EAAEC,gBAAgB,QAAQ,cAAc;AAGvE,SAASC,cAAc,EAAEC,oBAAoB,QAAQ,eAAe;AACpE,SAASC,iBAAiB,EAAEC,SAAS,QAAQ,UAAU;AACvD,SAASC,eAAe,QAAQ,mBAAmB;AACnD,SAASC,8BAA8B,QAAQ,kBAAkB;AAMjE,OAAO,MAAMC,yBAEZ,GAAGC,IAAA,IAAsB;EAAA,IAArB;IAAEC;EAAa,CAAC,GAAAD,IAAA;EACnB,MAAME,QAAQ,GAAGf,WAAW,CAAC,CAAC;EAC9B,MAAMgB,WAAW,GAAGV,cAAc,CAAC,CAAC;EACpC,MAAMW,2BAA2B,GAAGhB,WAAW,
|
|
1
|
+
{"version":3,"names":["React","useDispatch","useSelector","View","Text","StyleSheet","TouchableOpacity","useHMSInstance","useHMSRoomStyleSheet","AlertTriangleIcon","CloseIcon","HMSDangerButton","setStartingOrStoppingRecording","StopRecordingModalContent","_ref","dismissModal","dispatch","hmsInstance","startingOrStoppingRecording","state","app","hmsRoomStyles","theme","typography","headerText","color","palette","alert_error_default","fontFamily","font_family","text","on_surface_medium","stopRecording","stopRtmpAndRecording","error","createElement","style","styles","container","header","headerControls","onPress","hitSlop","closeIconHitSlop","loading","title","disabled","create","marginTop","marginHorizontal","flexDirection","alignItems","justifyContent","marginBottom","fontSize","lineHeight","letterSpacing","marginLeft","bottom","left","right","top"],"sourceRoot":"../../../src","sources":["components/StopRecordingModalContent.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,WAAW,EAAEC,WAAW,QAAQ,aAAa;AACtD,SAASC,IAAI,EAAEC,IAAI,EAAEC,UAAU,EAAEC,gBAAgB,QAAQ,cAAc;AAGvE,SAASC,cAAc,EAAEC,oBAAoB,QAAQ,eAAe;AACpE,SAASC,iBAAiB,EAAEC,SAAS,QAAQ,UAAU;AACvD,SAASC,eAAe,QAAQ,mBAAmB;AACnD,SAASC,8BAA8B,QAAQ,kBAAkB;AAMjE,OAAO,MAAMC,yBAEZ,GAAGC,IAAA,IAAsB;EAAA,IAArB;IAAEC;EAAa,CAAC,GAAAD,IAAA;EACnB,MAAME,QAAQ,GAAGf,WAAW,CAAC,CAAC;EAC9B,MAAMgB,WAAW,GAAGV,cAAc,CAAC,CAAC;EACpC,MAAMW,2BAA2B,GAAGhB,WAAW,CAC5CiB,KAAgB,IAAKA,KAAK,CAACC,GAAG,CAACF,2BAClC,CAAC;EAED,MAAMG,aAAa,GAAGb,oBAAoB,CAAC,CAACc,KAAK,EAAEC,UAAU,MAAM;IACjEC,UAAU,EAAE;MACVC,KAAK,EAAEH,KAAK,CAACI,OAAO,CAACC,mBAAmB;MACxCC,UAAU,EAAG,GAAEL,UAAU,CAACM,WAAY;IACxC,CAAC;IACDC,IAAI,EAAE;MACJL,KAAK,EAAEH,KAAK,CAACI,OAAO,CAACK,iBAAiB;MACtCH,UAAU,EAAG,GAAEL,UAAU,CAACM,WA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,EAAE5B;EAA4B,CACvC,CACG,CAAC;AAEX,CAAC;AAED,MAAMmB,MAAM,GAAGhC,UAAU,CAAC0C,MAAM,CAAC;EAC/BT,SAAS,EAAE;IACTU,SAAS,EAAE,EAAE;IACbC,gBAAgB,EAAE;EACpB,CAAC;EACDV,MAAM,EAAE;IACNW,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,eAAe;IAC/BC,YAAY,EAAE;EAChB,CAAC;EACDb,cAAc,EAAE;IACdU,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE;EACd,CAAC;EACD3B,UAAU,EAAE;IACV8B,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,EAAE;IACdC,aAAa,EAAE,IAAI;IACnBC,UAAU,EAAE;EACd,CAAC;EACDd,gBAAgB,EAAE;IAChBe,MAAM,EAAE,EAAE;IACVC,IAAI,EAAE,EAAE;IACRC,KAAK,EAAE,EAAE;IACTC,GAAG,EAAE;EACP,CAAC;EACD/B,IAAI,EAAE;IACJwB,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,EAAE;IACdC,aAAa,EAAE,IAAI;IACnBH,YAAY,EAAE;EAChB;AACF,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { useState, useEffect } from 'react';
|
|
2
2
|
import { useSelector } from 'react-redux';
|
|
3
3
|
import { View, TouchableOpacity, Text, StyleSheet, Platform } from 'react-native';
|
|
4
|
-
import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
|
|
5
4
|
import { CustomButton } from './CustomButton';
|
|
6
5
|
import { COLORS } from '../utils/theme';
|
|
7
6
|
import { Menu, MenuItem } from './MenuModal';
|
|
7
|
+
import { ChevronIcon } from '../Icons';
|
|
8
8
|
export const StreamingQualityModalContent = _ref => {
|
|
9
9
|
let {
|
|
10
10
|
track,
|
|
@@ -68,10 +68,13 @@ export const StreamingQualityModalContent = _ref => {
|
|
|
68
68
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
69
69
|
style: styles.participantFilterText,
|
|
70
70
|
numberOfLines: 1
|
|
71
|
-
}, selectedLayer), /*#__PURE__*/React.createElement(
|
|
72
|
-
|
|
73
|
-
style:
|
|
74
|
-
|
|
71
|
+
}, selectedLayer), /*#__PURE__*/React.createElement(ChevronIcon, {
|
|
72
|
+
direction: 'down',
|
|
73
|
+
style: {
|
|
74
|
+
transform: [{
|
|
75
|
+
rotateZ: showQualityOptions ? '180deg' : '0deg'
|
|
76
|
+
}]
|
|
77
|
+
}
|
|
75
78
|
})),
|
|
76
79
|
onRequestClose: () => setShowQualityOptions(false),
|
|
77
80
|
style: styles.participantsMenuContainer
|
|
@@ -139,9 +142,6 @@ const styles = StyleSheet.create({
|
|
|
139
142
|
marginRight: 12,
|
|
140
143
|
textTransform: 'capitalize'
|
|
141
144
|
},
|
|
142
|
-
participantFilterIcon: {
|
|
143
|
-
color: COLORS.TEXT.HIGH_EMPHASIS
|
|
144
|
-
},
|
|
145
145
|
roleChangeModalHeading: {
|
|
146
146
|
color: COLORS.TEXT.HIGH_EMPHASIS,
|
|
147
147
|
fontSize: 20,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useState","useEffect","useSelector","View","TouchableOpacity","Text","StyleSheet","Platform","
|
|
1
|
+
{"version":3,"names":["React","useState","useEffect","useSelector","View","TouchableOpacity","Text","StyleSheet","Platform","CustomButton","COLORS","Menu","MenuItem","ChevronIcon","StreamingQualityModalContent","_ref","track","cancelModal","hmsInstance","state","user","remoteVideoTrack","setRemoteVideoTrack","showQualityOptions","setShowQualityOptions","originalLayer","setOriginalLayer","selectedLayer","setSelectedLayer","layerDefinitions","setLayerDefinitions","getSelectedLayer","layer","getLayer","getLayerDefinitions","getLayerDefinition","getRemoteVideoTrack","getRemoteVideoTrackFromTrackId","trackId","changeStreamingQuality","setLayer","then","value","console","log","catch","e","changeSubmitDisabled","createElement","style","styles","container","roleChangeModalHeading","participantRole","contentContainer","visible","anchor","participantFilterContainer","onPress","participantFilterText","numberOfLines","direction","transform","rotateZ","onRequestClose","participantsMenuContainer","map","layerDefinition","isSelected","key","participantMenuActiveItem","undefined","participantMenuItem","resolution","width","height","roleChangeModalPermissionContainer","title","viewStyle","roleChangeModalCancelButton","textStyle","roleChangeModalButtonText","disabled","roleChangeModalSuccessButton","create","padding","position","justifyContent","marginTop","color","TEXT","MEDIUM_EMPHASIS","fontSize","lineHeight","letterSpacing","fontFamily","textTransform","flexDirection","alignItems","borderWidth","borderColor","BORDER","LIGHT","borderRadius","HIGH_EMPHASIS","marginRight","paddingTop","backgroundColor","SURFACE","overflow","PRIMARY","DEFAULT","paddingLeft","OS","SECONDARY","DISABLED","paddingHorizontal","paddingVertical","alignSelf"],"sourceRoot":"../../../src","sources":["components/StreamingQualityModalContent.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,SAAS,QAAQ,OAAO;AAClD,SAASC,WAAW,QAAQ,aAAa;AACzC,SACEC,IAAI,EACJC,gBAAgB,EAChBC,IAAI,EACJC,UAAU,EACVC,QAAQ,QACH,cAAc;AAQrB,SAASC,YAAY,QAAQ,gBAAgB;AAE7C,SAASC,MAAM,QAAQ,gBAAgB;AACvC,SAASC,IAAI,EAAEC,QAAQ,QAAQ,aAAa;AAC5C,SAASC,WAAW,QAAQ,UAAU;AAOtC,OAAO,MAAMC,4BAEZ,GAAGC,IAAA,IAA4B;EAAA,IAA3B;IAAEC,KAAK;IAAEC;EAAY,CAAC,GAAAF,IAAA;EACzB,MAAMG,WAAW,GAAGf,WAAW,CAAEgB,KAAgB,IAAKA,KAAK,CAACC,IAAI,CAACF,WAAW,CAAC;EAC7E,MAAM,CAACG,gBAAgB,EAAEC,mBAAmB,CAAC,GAC3CrB,QAAQ,CAA6B,IAAI,CAAC;EAC5C,MAAM,CAACsB,kBAAkB,EAAEC,qBAAqB,CAAC,GAAGvB,QAAQ,CAAC,KAAK,CAAC;EACnE,MAAM,CAACwB,aAAa,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nCR,YAAY,EAAE,CAAC;IACf7B,KAAK,EAAE,KAAK;IACZ4C,SAAS,EAAE;EACb,CAAC;EACDrC,yBAAyB,EAAE;IACzBQ,KAAK,EAAE/E,MAAM,CAACgF,IAAI,CAACc,aAAa;IAChCZ,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,EAAE;IACdC,aAAa,EAAE,GAAG;IAClBC,UAAU,EAAE,cAAc;IAC1BC,aAAa,EAAE;EACjB;AACF,CAAC,CAAC"}
|
|
@@ -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 { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
4
5
|
import { Tile } from './Tile';
|
|
5
6
|
import { useIsLandscapeOrientation } from '../utils/dimension';
|
|
@@ -15,7 +16,11 @@ const _TilesContainer = _ref => {
|
|
|
15
16
|
right
|
|
16
17
|
} = useSafeAreaInsets();
|
|
17
18
|
const isLandscapeOrientation = useIsLandscapeOrientation();
|
|
18
|
-
const
|
|
19
|
+
const screenshareTilesAvailable = useSelector(state => state.app.screensharePeerTrackNodes.length > 0);
|
|
20
|
+
const stylesConfig = computeTileWidthAndHeight(peerTrackNodes.length, {
|
|
21
|
+
isLandscapeOrientation,
|
|
22
|
+
type: screenshareTilesAvailable ? 'row' : 'default'
|
|
23
|
+
});
|
|
19
24
|
|
|
20
25
|
// In this layout, Tile will take as much height and width as possible
|
|
21
26
|
// Width and Height of Tile are independent of each other
|
|
@@ -24,7 +29,8 @@ const _TilesContainer = _ref => {
|
|
|
24
29
|
style: [
|
|
25
30
|
// If tile are growable, then we want whatever remaining space to be between them
|
|
26
31
|
{
|
|
27
|
-
justifyContent: growableTileLayout ? 'space-between' : 'center'
|
|
32
|
+
justifyContent: screenshareTilesAvailable && peerTrackNodes.length === 1 ? 'center' : growableTileLayout ? 'space-between' : 'center',
|
|
33
|
+
flexDirection: screenshareTilesAvailable ? 'row' : 'column'
|
|
28
34
|
}, {
|
|
29
35
|
width: Dimensions.get('window').width - left - right
|
|
30
36
|
}]
|
|
@@ -53,7 +59,7 @@ const _TilesContainer = _ref => {
|
|
|
53
59
|
justifyContent: peerTrackNodesPair.length === 1 ? 'center' : 'space-between',
|
|
54
60
|
flexDirection: 'row',
|
|
55
61
|
flex: growableTileLayout ? 1 : 0,
|
|
56
|
-
marginTop: isFirstPairGroup ? 0 :
|
|
62
|
+
marginTop: isFirstPairGroup ? 0 : 4
|
|
57
63
|
}
|
|
58
64
|
}, peerTrackNodesPair.map(peerTrackNode => {
|
|
59
65
|
return /*#__PURE__*/React.createElement(Tile, {
|
|
@@ -80,19 +86,19 @@ const oneTileStyle = {
|
|
|
80
86
|
}; // 1 Column Layout
|
|
81
87
|
const twoTileStyle = {
|
|
82
88
|
width: '100%',
|
|
83
|
-
height: '49.
|
|
89
|
+
height: '49.7222%'
|
|
84
90
|
}; // 1 Column Layout
|
|
85
91
|
const threeTileStyle = {
|
|
86
92
|
width: '100%',
|
|
87
|
-
height: '
|
|
93
|
+
height: '33%'
|
|
88
94
|
}; // 1 Column Layout
|
|
89
95
|
|
|
90
96
|
const fourTileStyle = {
|
|
91
|
-
width: '49%',
|
|
97
|
+
width: '49.5%',
|
|
92
98
|
height: '100%'
|
|
93
99
|
}; // Grid Layout when Width and Height has no-correlatiom
|
|
94
100
|
const fiveAndSixTileStyle = {
|
|
95
|
-
width: '49%',
|
|
101
|
+
width: '49.5%',
|
|
96
102
|
aspectRatio: 1
|
|
97
103
|
}; // Grid Layout when width and Height as fixed aspectRatio
|
|
98
104
|
|
|
@@ -112,8 +118,24 @@ const fourTileStyleLandscape = {
|
|
|
112
118
|
width: '50%',
|
|
113
119
|
height: '50%'
|
|
114
120
|
};
|
|
115
|
-
function computeTileWidthAndHeight(totalTiles,
|
|
116
|
-
|
|
121
|
+
function computeTileWidthAndHeight(totalTiles, config) {
|
|
122
|
+
const {
|
|
123
|
+
type,
|
|
124
|
+
isLandscapeOrientation
|
|
125
|
+
} = config || {
|
|
126
|
+
type: 'default',
|
|
127
|
+
isLandscapeOrientation: false
|
|
128
|
+
};
|
|
129
|
+
if (isLandscapeOrientation) {
|
|
130
|
+
return [oneTileStyleLandscape, twoTileStyleLandscape, threeTileStyleLandscape, fourTileStyleLandscape][Math.min(totalTiles - 1, 3)] || {
|
|
131
|
+
width: '100%',
|
|
132
|
+
height: '100%'
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
if (type === 'row') {
|
|
136
|
+
return fiveAndSixTileStyle;
|
|
137
|
+
}
|
|
138
|
+
return [oneTileStyle, twoTileStyle, threeTileStyle, fourTileStyle, fiveAndSixTileStyle][Math.min(totalTiles - 1, 4)] || {
|
|
117
139
|
width: '100%',
|
|
118
140
|
height: '100%'
|
|
119
141
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","Dimensions","useSafeAreaInsets","Tile","useIsLandscapeOrientation","groupIntoPairs","_TilesContainer","_ref","peerTrackNodes","setHmsViewRefs","onPeerTileMorePress","left","right","isLandscapeOrientation","stylesConfig","computeTileWidthAndHeight","
|
|
1
|
+
{"version":3,"names":["React","View","Dimensions","useSelector","useSafeAreaInsets","Tile","useIsLandscapeOrientation","groupIntoPairs","_TilesContainer","_ref","peerTrackNodes","setHmsViewRefs","onPeerTileMorePress","left","right","isLandscapeOrientation","screenshareTilesAvailable","state","app","screensharePeerTrackNodes","length","stylesConfig","computeTileWidthAndHeight","type","growableTileLayout","createElement","style","justifyContent","flexDirection","width","get","Fragment","map","peerTrackNode","key","id","height","aspectRatio","pair","idx","peerTrackNodesPair","nodeIndex","isFirstPairGroup","join","flex","marginTop","TilesContainer","memo","displayName","oneTileStyle","twoTileStyle","threeTileStyle","fourTileStyle","fiveAndSixTileStyle","oneTileStyleLandscape","twoTileStyleLandscape","threeTileStyleLandscape","fourTileStyleLandscape","totalTiles","config","Math","min"],"sourceRoot":"../../../src","sources":["components/TilesContainer.t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AO,CAAC;AACrE,MAAMqB,sBAAsB,GAAG;EAAE5B,KAAK,EAAE,KAAK;EAAEO,MAAM,EAAE;AAAM,CAAC;AAE9D,SAASd,yBAAyBA,CAChCoC,UAAkB,EAClBC,MAGC,EAKD;EACA,MAAM;IAAEpC,IAAI;IAAER;EAAuB,CAAC,GAAG4C,MAAM,IAAI;IACjDpC,IAAI,EAAE,SAAS;IACfR,sBAAsB,EAAE;EAC1B,CAAC;EAED,IAAIA,sBAAsB,EAAE;IAC1B,OACE,CACEuC,qBAAqB,EACrBC,qBAAqB,EACrBC,uBAAuB,EACvBC,sBAAsB,CACvB,CAACG,IAAI,CAACC,GAAG,CAACH,UAAU,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI;MAAE7B,KAAK,EAAE,MAAM;MAAEO,MAAM,EAAE;IAAO,CAAC;EAEvE;EAEA,IAAIb,IAAI,KAAK,KAAK,EAAE;IAClB,OAAO8B,mBAAmB;EAC5B;EAEA,OACE,CACEJ,YAAY,EACZC,YAAY,EACZC,cAAc,EACdC,aAAa,EACbC,mBAAmB,CACpB,CAACO,IAAI,CAACC,GAAG,CAACH,UAAU,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI;IAAE7B,KAAK,EAAE,MAAM;IAAEO,MAAM,EAAE;EAAO,CAAC;AAEvE"}
|
|
@@ -7,6 +7,8 @@ import PIPView from './PIPView';
|
|
|
7
7
|
import { useIsPortraitOrientation } from '../utils/dimension';
|
|
8
8
|
import { LocalPeerRegularVideoView } from './LocalPeerRegularVideoView';
|
|
9
9
|
import { WelcomeInMeeting } from './WelcomeInMeeting';
|
|
10
|
+
import { OverlayContainer } from './OverlayContainer';
|
|
11
|
+
import { OverlayedViews } from './OverlayedViews';
|
|
10
12
|
export const WebrtcView = /*#__PURE__*/React.forwardRef((_ref, gridViewRef) => {
|
|
11
13
|
let {
|
|
12
14
|
peerTrackNodes,
|
|
@@ -17,25 +19,20 @@ export const WebrtcView = /*#__PURE__*/React.forwardRef((_ref, gridViewRef) => {
|
|
|
17
19
|
|
|
18
20
|
// State to track active spotlight trackId
|
|
19
21
|
const spotlightTrackId = useSelector(state => state.user.spotlightTrackId);
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
return /*#__PURE__*/React.createElement(WelcomeInMeeting, null);
|
|
24
|
-
}
|
|
22
|
+
const screenshareTilesAvailable = useSelector(state => state.app.screensharePeerTrackNodes.length > 0);
|
|
23
|
+
const pairedPeers = useMemo(() => pairData(peerTrackNodes, isPortrait ? screenshareTilesAvailable ? MaxTilesInOnePage.IN_PORTRAIT_WITH_SCREENSHARES : MaxTilesInOnePage.IN_PORTRAIT : MaxTilesInOnePage.IN_LANDSCAPE, spotlightTrackId), [peerTrackNodes, screenshareTilesAvailable, spotlightTrackId, isPortrait]);
|
|
24
|
+
const showWelcomeBanner = useSelector(state => !state.app.localPeerTrackNode && pairedPeers.length === 0);
|
|
25
25
|
if (isPipModeActive) {
|
|
26
26
|
return /*#__PURE__*/React.createElement(PIPView, {
|
|
27
27
|
pairedPeers: pairedPeers
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
return /*#__PURE__*/React.createElement(LocalPeerRegularVideoView, {
|
|
30
|
+
return /*#__PURE__*/React.createElement(OverlayContainer, null, showWelcomeBanner ? /*#__PURE__*/React.createElement(WelcomeInMeeting, null) : pairedPeers.length > 0 ? /*#__PURE__*/React.createElement(GridView, {
|
|
31
|
+
ref: gridViewRef,
|
|
32
|
+
onPeerTileMorePress: handlePeerTileMorePress,
|
|
33
|
+
pairedPeers: pairedPeers
|
|
34
|
+
}) : /*#__PURE__*/React.createElement(LocalPeerRegularVideoView, {
|
|
38
35
|
onMoreOptionsPress: handlePeerTileMorePress
|
|
39
|
-
});
|
|
36
|
+
}), /*#__PURE__*/React.createElement(OverlayedViews, null));
|
|
40
37
|
});
|
|
41
38
|
//# sourceMappingURL=WebrtcView.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","useSelector","MaxTilesInOnePage","PipModes","pairData","GridView","PIPView","useIsPortraitOrientation","LocalPeerRegularVideoView","WelcomeInMeeting","WebrtcView","forwardRef","_ref","gridViewRef","peerTrackNodes","handlePeerTileMorePress","isPortrait","isPipModeActive","state","app","pipModeStatus","ACTIVE","spotlightTrackId","user","pairedPeers","IN_PORTRAIT","IN_LANDSCAPE","
|
|
1
|
+
{"version":3,"names":["React","useMemo","useSelector","MaxTilesInOnePage","PipModes","pairData","GridView","PIPView","useIsPortraitOrientation","LocalPeerRegularVideoView","WelcomeInMeeting","OverlayContainer","OverlayedViews","WebrtcView","forwardRef","_ref","gridViewRef","peerTrackNodes","handlePeerTileMorePress","isPortrait","isPipModeActive","state","app","pipModeStatus","ACTIVE","spotlightTrackId","user","screenshareTilesAvailable","screensharePeerTrackNodes","length","pairedPeers","IN_PORTRAIT_WITH_SCREENSHARES","IN_PORTRAIT","IN_LANDSCAPE","showWelcomeBanner","localPeerTrackNode","createElement","ref","onPeerTileMorePress","onMoreOptionsPress"],"sourceRoot":"../../../src","sources":["components/WebrtcView.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SAASC,WAAW,QAAQ,aAAa;AAEzC,SAASC,iBAAiB,EAAEC,QAAQ,QAAQ,gBAAgB;AAE5D,SAASC,QAAQ,QAAQ,oBAAoB;AAE7C,SAASC,QAAQ,QAAQ,YAAY;AAErC,OAAOC,OAAO,MAAM,WAAW;AAC/B,SAASC,wBAAwB,QAAQ,oBAAoB;AAC7D,SAASC,yBAAyB,QAAQ,6BAA6B;AACvE,SAASC,gBAAgB,QAAQ,oBAAoB;AACrD,SAASC,gBAAgB,QAAQ,oBAAoB;AACrD,SAASC,cAAc,QAAQ,kBAAkB;AAOjD,OAAO,MAAMC,UAAU,gBAAGb,KAA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