@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,20 +3,15 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.SaveScreenshot = exports.RtcStatsModal = exports.RecordingModal = exports.RealTime = exports.
|
|
6
|
+
exports.SaveScreenshot = exports.RtcStatsModal = exports.RecordingModal = exports.RealTime = exports.HlsStreamingModal = exports.ChangeTrackStateModal = exports.ChangeTrackStateForRoleModal = exports.ChangeRoleModal = exports.ChangeRoleAccepteModal = exports.ChangeBulkRoleModal = exports.ChangeAudioOutputModal = exports.ChangeAudioModeModal = exports.ChangeAudioMixingModeModal = exports.ChangeAspectRatio = void 0;
|
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
9
|
var _reactNativeSimpleToast = _interopRequireDefault(require("react-native-simple-toast"));
|
|
10
10
|
var _reactRedux = require("react-redux");
|
|
11
11
|
var _reactNativeHms = require("@100mslive/react-native-hms");
|
|
12
|
-
var _Feather = _interopRequireDefault(require("react-native-vector-icons/Feather"));
|
|
13
|
-
var _Entypo = _interopRequireDefault(require("react-native-vector-icons/Entypo"));
|
|
14
|
-
var _MaterialCommunityIcons = _interopRequireDefault(require("react-native-vector-icons/MaterialCommunityIcons"));
|
|
15
|
-
var _MaterialIcons = _interopRequireDefault(require("react-native-vector-icons/MaterialIcons"));
|
|
16
12
|
var _styles = require("./styles");
|
|
17
13
|
var _CustomButton = require("./CustomButton");
|
|
18
14
|
var _MenuModal = require("./MenuModal");
|
|
19
|
-
var _Picker = require("./Picker");
|
|
20
15
|
var _actions = require("../redux/actions");
|
|
21
16
|
var _functions = require("../utils/functions");
|
|
22
17
|
var _types = require("../utils/types");
|
|
@@ -39,7 +34,7 @@ const ChangeRoleModal = _ref => {
|
|
|
39
34
|
const hideMenu = () => setVisible(false);
|
|
40
35
|
const showMenu = () => setVisible(true);
|
|
41
36
|
const changeRole = () => {
|
|
42
|
-
instance === null || instance === void 0
|
|
37
|
+
instance === null || instance === void 0 || instance.changeRoleOfPeer(peer, newRole, !request).catch(e => {
|
|
43
38
|
console.log('Change Role of Peer Error: ', e);
|
|
44
39
|
_reactNativeSimpleToast.default.showWithGravity(e.message, _reactNativeSimpleToast.default.LONG, _reactNativeSimpleToast.default.TOP);
|
|
45
40
|
});
|
|
@@ -59,11 +54,7 @@ const ChangeRoleModal = _ref => {
|
|
|
59
54
|
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
60
55
|
style: _styles.styles.participantFilterText,
|
|
61
56
|
numberOfLines: 1
|
|
62
|
-
}, newRole === null || newRole === void 0 ? void 0 : newRole.name),
|
|
63
|
-
name: visible ? 'arrow-drop-up' : 'arrow-drop-down',
|
|
64
|
-
style: _styles.styles.participantFilterIcon,
|
|
65
|
-
size: 24
|
|
66
|
-
})),
|
|
57
|
+
}, newRole === null || newRole === void 0 ? void 0 : newRole.name)),
|
|
67
58
|
onRequestClose: hideMenu,
|
|
68
59
|
style: _styles.styles.participantsMenuContainer
|
|
69
60
|
}, roles === null || roles === void 0 ? void 0 : roles.map(knownRole => {
|
|
@@ -83,14 +74,10 @@ const ChangeRoleModal = _ref => {
|
|
|
83
74
|
onPress: () => {
|
|
84
75
|
setRequest(!request);
|
|
85
76
|
}
|
|
86
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.
|
|
87
|
-
style: _styles.styles.
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
style: _styles.styles.roleChangeModalCheck,
|
|
91
|
-
size: 10
|
|
92
|
-
})), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
93
|
-
style: _styles.styles.roleChangeModalPermission
|
|
77
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
78
|
+
style: [_styles.styles.roleChangeModalPermission, request ? {
|
|
79
|
+
color: _theme.COLORS.PRIMARY.DEFAULT
|
|
80
|
+
} : null]
|
|
94
81
|
}, "Request permission from the user")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
95
82
|
style: _styles.styles.roleChangeModalPermissionContainer
|
|
96
83
|
}, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
|
|
@@ -230,11 +217,7 @@ const RtcStatsModal = () => {
|
|
|
230
217
|
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
231
218
|
style: _styles.styles.participantFilterText,
|
|
232
219
|
numberOfLines: 1
|
|
233
|
-
}, (currentTrack === null || currentTrack === void 0 ? void 0 : currentTrack.name) ?? 'Choose'),
|
|
234
|
-
name: tracksListModalVisible ? 'arrow-drop-up' : 'arrow-drop-down',
|
|
235
|
-
style: _styles.styles.participantFilterIcon,
|
|
236
|
-
size: 24
|
|
237
|
-
})),
|
|
220
|
+
}, (currentTrack === null || currentTrack === void 0 ? void 0 : currentTrack.name) ?? 'Choose')),
|
|
238
221
|
onRequestClose: hideMenu,
|
|
239
222
|
style: _styles.styles.participantsMenuContainer
|
|
240
223
|
}, statsList.map(trackObj => {
|
|
@@ -285,53 +268,15 @@ const RtcStatsModal = () => {
|
|
|
285
268
|
}) : null));
|
|
286
269
|
};
|
|
287
270
|
exports.RtcStatsModal = RtcStatsModal;
|
|
288
|
-
const
|
|
271
|
+
const ChangeAudioOutputModal = _ref3 => {
|
|
289
272
|
let {
|
|
290
|
-
onSuccess,
|
|
291
273
|
cancelModal
|
|
292
274
|
} = _ref3;
|
|
293
|
-
const onLeave = () => {
|
|
294
|
-
cancelModal();
|
|
295
|
-
onSuccess();
|
|
296
|
-
};
|
|
297
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
298
|
-
style: _styles.styles.volumeModalContainer
|
|
299
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
300
|
-
style: _styles.styles.participantMenuItem
|
|
301
|
-
}, /*#__PURE__*/_react.default.createElement(_Feather.default, {
|
|
302
|
-
name: "log-out",
|
|
303
|
-
style: _styles.styles.participantMenuItemIcon,
|
|
304
|
-
size: 24
|
|
305
|
-
}), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
306
|
-
style: _styles.styles.roleChangeModalHeading
|
|
307
|
-
}, "Leave Studio")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
308
|
-
style: _styles.styles.roleChangeModalPermissionContainer
|
|
309
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
310
|
-
style: _styles.styles.roleChangeModalDescription
|
|
311
|
-
}, "Others will continue after you leave. You can join the studio again.")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
312
|
-
style: _styles.styles.roleChangeModalPermissionContainer
|
|
313
|
-
}, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
|
|
314
|
-
title: "Don\u2019t Leave",
|
|
315
|
-
onPress: cancelModal,
|
|
316
|
-
viewStyle: _styles.styles.roleChangeModalCancelButton,
|
|
317
|
-
textStyle: _styles.styles.roleChangeModalButtonText
|
|
318
|
-
}), /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
|
|
319
|
-
title: "Leave",
|
|
320
|
-
onPress: onLeave,
|
|
321
|
-
viewStyle: [_styles.styles.roleChangeModalSuccessButton, _styles.styles.errorContainer],
|
|
322
|
-
textStyle: _styles.styles.roleChangeModalButtonText
|
|
323
|
-
})));
|
|
324
|
-
};
|
|
325
|
-
exports.LeaveRoomModal = LeaveRoomModal;
|
|
326
|
-
const ChangeAudioOutputModal = _ref4 => {
|
|
327
|
-
let {
|
|
328
|
-
cancelModal
|
|
329
|
-
} = _ref4;
|
|
330
275
|
const instance = (0, _hooksUtil.useHMSInstance)();
|
|
331
276
|
const [currentOutputDevice, setCurrentOutputDevice] = (0, _react.useState)(_reactNativeHms.HMSAudioDevice.SPEAKER_PHONE);
|
|
332
277
|
const [audioOutputDevicesList, setAudioOutputDevicesList] = (0, _react.useState)([]);
|
|
333
278
|
const switchAudioOutput = () => {
|
|
334
|
-
instance === null || instance === void 0
|
|
279
|
+
instance === null || instance === void 0 || instance.switchAudioOutput(currentOutputDevice);
|
|
335
280
|
cancelModal();
|
|
336
281
|
};
|
|
337
282
|
(0, _react.useEffect)(() => {
|
|
@@ -352,14 +297,10 @@ const ChangeAudioOutputModal = _ref4 => {
|
|
|
352
297
|
onPress: () => {
|
|
353
298
|
setCurrentOutputDevice(device);
|
|
354
299
|
}
|
|
355
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.
|
|
356
|
-
style: _styles.styles.
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
style: _styles.styles.roleChangeModalCheck,
|
|
360
|
-
size: 10
|
|
361
|
-
})), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
362
|
-
style: _styles.styles.roleChangeModalPermission
|
|
300
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
301
|
+
style: [_styles.styles.roleChangeModalPermission, currentOutputDevice === device ? {
|
|
302
|
+
color: _theme.COLORS.PRIMARY.DEFAULT
|
|
303
|
+
} : null]
|
|
363
304
|
}, device));
|
|
364
305
|
}), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
365
306
|
style: _styles.styles.roleChangeModalPermissionContainer
|
|
@@ -376,10 +317,10 @@ const ChangeAudioOutputModal = _ref4 => {
|
|
|
376
317
|
})));
|
|
377
318
|
};
|
|
378
319
|
exports.ChangeAudioOutputModal = ChangeAudioOutputModal;
|
|
379
|
-
const ChangeAspectRatio =
|
|
320
|
+
const ChangeAspectRatio = _ref4 => {
|
|
380
321
|
let {
|
|
381
322
|
cancelModal
|
|
382
|
-
} =
|
|
323
|
+
} = _ref4;
|
|
383
324
|
const {
|
|
384
325
|
height
|
|
385
326
|
} = (0, _reactNative.useWindowDimensions)();
|
|
@@ -407,14 +348,10 @@ const ChangeAspectRatio = _ref5 => {
|
|
|
407
348
|
key: ratio.id,
|
|
408
349
|
style: _styles.styles.roleChangeModalPermissionContainer,
|
|
409
350
|
onPress: () => setSelectedRatio(ratio)
|
|
410
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.
|
|
411
|
-
style: _styles.styles.
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
style: _styles.styles.roleChangeModalCheck,
|
|
415
|
-
size: 10
|
|
416
|
-
}) : null), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
417
|
-
style: _styles.styles.roleChangeModalPermission
|
|
351
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
352
|
+
style: [_styles.styles.roleChangeModalPermission, selectedRatio.id === ratio.id ? {
|
|
353
|
+
color: _theme.COLORS.PRIMARY.DEFAULT
|
|
354
|
+
} : null]
|
|
418
355
|
}, ratio.id));
|
|
419
356
|
})), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
420
357
|
style: _styles.styles.roleChangeModalPermissionContainer
|
|
@@ -431,17 +368,17 @@ const ChangeAspectRatio = _ref5 => {
|
|
|
431
368
|
})));
|
|
432
369
|
};
|
|
433
370
|
exports.ChangeAspectRatio = ChangeAspectRatio;
|
|
434
|
-
const ChangeAudioModeModal =
|
|
371
|
+
const ChangeAudioModeModal = _ref5 => {
|
|
435
372
|
let {
|
|
436
373
|
cancelModal,
|
|
437
374
|
audioMode,
|
|
438
375
|
setAudioMode
|
|
439
|
-
} =
|
|
376
|
+
} = _ref5;
|
|
440
377
|
const instance = (0, _hooksUtil.useHMSInstance)();
|
|
441
378
|
const [currentAudioMode, setCurrentAudioMode] = (0, _react.useState)(audioMode);
|
|
442
379
|
const AudioModeList = ['MODE_NORMAL', 'MODE_RINGTONE', 'MODE_IN_CALL', 'MODE_IN_COMMUNICATION', 'MODE_CALL_SCREENING'];
|
|
443
380
|
const switchAudioMode = () => {
|
|
444
|
-
instance === null || instance === void 0
|
|
381
|
+
instance === null || instance === void 0 || instance.setAudioMode(currentAudioMode);
|
|
445
382
|
setAudioMode(currentAudioMode);
|
|
446
383
|
cancelModal();
|
|
447
384
|
};
|
|
@@ -456,14 +393,10 @@ const ChangeAudioModeModal = _ref6 => {
|
|
|
456
393
|
onPress: () => {
|
|
457
394
|
setCurrentAudioMode(AudioModeList.indexOf(mode));
|
|
458
395
|
}
|
|
459
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.
|
|
460
|
-
style: _styles.styles.
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
style: _styles.styles.roleChangeModalCheck,
|
|
464
|
-
size: 10
|
|
465
|
-
})), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
466
|
-
style: _styles.styles.roleChangeModalPermission
|
|
396
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
397
|
+
style: [_styles.styles.roleChangeModalPermission, currentAudioMode === AudioModeList.indexOf(mode) ? {
|
|
398
|
+
color: _theme.COLORS.PRIMARY.DEFAULT
|
|
399
|
+
} : null]
|
|
467
400
|
}, mode));
|
|
468
401
|
}), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
469
402
|
style: _styles.styles.roleChangeModalPermissionContainer
|
|
@@ -480,12 +413,12 @@ const ChangeAudioModeModal = _ref6 => {
|
|
|
480
413
|
})));
|
|
481
414
|
};
|
|
482
415
|
exports.ChangeAudioModeModal = ChangeAudioModeModal;
|
|
483
|
-
const ChangeAudioMixingModeModal =
|
|
416
|
+
const ChangeAudioMixingModeModal = _ref6 => {
|
|
484
417
|
let {
|
|
485
418
|
newAudioMixingMode,
|
|
486
419
|
cancelModal,
|
|
487
420
|
setNewAudioMixingMode
|
|
488
|
-
} =
|
|
421
|
+
} = _ref6;
|
|
489
422
|
const instance = (0, _hooksUtil.useHMSInstance)();
|
|
490
423
|
const changeAudioMixingMode = async () => {
|
|
491
424
|
await (instance === null || instance === void 0 ? void 0 : instance.setAudioMixingMode(newAudioMixingMode));
|
|
@@ -504,14 +437,10 @@ const ChangeAudioMixingModeModal = _ref7 => {
|
|
|
504
437
|
onPress: () => {
|
|
505
438
|
setNewAudioMixingMode(audioMixingMode);
|
|
506
439
|
}
|
|
507
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.
|
|
508
|
-
style: _styles.styles.
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
style: _styles.styles.roleChangeModalCheck,
|
|
512
|
-
size: 10
|
|
513
|
-
})), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
514
|
-
style: _styles.styles.roleChangeModalPermission
|
|
440
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
441
|
+
style: [_styles.styles.roleChangeModalPermission, newAudioMixingMode === audioMixingMode ? {
|
|
442
|
+
color: _theme.COLORS.PRIMARY.DEFAULT
|
|
443
|
+
} : null]
|
|
515
444
|
}, audioMixingMode));
|
|
516
445
|
}), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
517
446
|
style: _styles.styles.roleChangeModalPermissionContainer
|
|
@@ -528,83 +457,11 @@ const ChangeAudioMixingModeModal = _ref7 => {
|
|
|
528
457
|
})));
|
|
529
458
|
};
|
|
530
459
|
exports.ChangeAudioMixingModeModal = ChangeAudioMixingModeModal;
|
|
531
|
-
const
|
|
532
|
-
let {
|
|
533
|
-
data,
|
|
534
|
-
selectedItem,
|
|
535
|
-
onItemSelected,
|
|
536
|
-
cancelModal
|
|
537
|
-
} = _ref8;
|
|
538
|
-
const [sortingType, setSortingType] = (0, _react.useState)(selectedItem || _types.SortingType.DEFAULT);
|
|
539
|
-
const changeSorting = () => {
|
|
540
|
-
onItemSelected(sortingType);
|
|
541
|
-
cancelModal();
|
|
542
|
-
};
|
|
543
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
544
|
-
style: _styles.styles.roleChangeModal
|
|
545
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
546
|
-
style: _styles.styles.roleChangeModalHeading
|
|
547
|
-
}, "Sorting Style"), /*#__PURE__*/_react.default.createElement(_Picker.CustomPicker, {
|
|
548
|
-
data: data,
|
|
549
|
-
selectedItem: sortingType,
|
|
550
|
-
onItemSelected: setSortingType,
|
|
551
|
-
viewStyle: _styles.styles.picker
|
|
552
|
-
}), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
553
|
-
style: _styles.styles.sortingButtonContainer
|
|
554
|
-
}, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
|
|
555
|
-
title: "Cancel",
|
|
556
|
-
onPress: cancelModal,
|
|
557
|
-
viewStyle: _styles.styles.roleChangeModalCancelButton,
|
|
558
|
-
textStyle: _styles.styles.roleChangeModalButtonText
|
|
559
|
-
}), /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
|
|
560
|
-
title: "Change",
|
|
561
|
-
onPress: changeSorting,
|
|
562
|
-
viewStyle: _styles.styles.roleChangeModalSuccessButton,
|
|
563
|
-
textStyle: _styles.styles.roleChangeModalButtonText
|
|
564
|
-
})));
|
|
565
|
-
};
|
|
566
|
-
exports.ChangeSortingModal = ChangeSortingModal;
|
|
567
|
-
const ChangeLayoutModal = _ref9 => {
|
|
568
|
-
let {
|
|
569
|
-
data,
|
|
570
|
-
selectedItem,
|
|
571
|
-
onItemSelected,
|
|
572
|
-
cancelModal
|
|
573
|
-
} = _ref9;
|
|
574
|
-
const [layout, setLayout] = (0, _react.useState)(selectedItem);
|
|
575
|
-
const changeLayout = () => {
|
|
576
|
-
onItemSelected(layout);
|
|
577
|
-
cancelModal();
|
|
578
|
-
};
|
|
579
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
580
|
-
style: _styles.styles.roleChangeModal
|
|
581
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
582
|
-
style: _styles.styles.roleChangeModalHeading
|
|
583
|
-
}, "Layout Style"), /*#__PURE__*/_react.default.createElement(_Picker.CustomPicker, {
|
|
584
|
-
data: data,
|
|
585
|
-
selectedItem: layout,
|
|
586
|
-
onItemSelected: setLayout,
|
|
587
|
-
viewStyle: _styles.styles.picker
|
|
588
|
-
}), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
589
|
-
style: _styles.styles.sortingButtonContainer
|
|
590
|
-
}, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
|
|
591
|
-
title: "Cancel",
|
|
592
|
-
onPress: cancelModal,
|
|
593
|
-
viewStyle: _styles.styles.roleChangeModalCancelButton,
|
|
594
|
-
textStyle: _styles.styles.roleChangeModalButtonText
|
|
595
|
-
}), /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
|
|
596
|
-
title: "Change",
|
|
597
|
-
onPress: changeLayout,
|
|
598
|
-
viewStyle: _styles.styles.roleChangeModalSuccessButton,
|
|
599
|
-
textStyle: _styles.styles.roleChangeModalButtonText
|
|
600
|
-
})));
|
|
601
|
-
};
|
|
602
|
-
exports.ChangeLayoutModal = ChangeLayoutModal;
|
|
603
|
-
const ChangeTrackStateForRoleModal = _ref10 => {
|
|
460
|
+
const ChangeTrackStateForRoleModal = _ref7 => {
|
|
604
461
|
var _localPeerRole$permis, _localPeerRole$permis2;
|
|
605
462
|
let {
|
|
606
463
|
cancelModal
|
|
607
|
-
} =
|
|
464
|
+
} = _ref7;
|
|
608
465
|
const instance = (0, _hooksUtil.useHMSInstance)();
|
|
609
466
|
const roles = (0, _reactRedux.useSelector)(state => state.hmsStates.roles);
|
|
610
467
|
const localPeerRole = (0, _reactRedux.useSelector)(state => {
|
|
@@ -634,11 +491,7 @@ const ChangeTrackStateForRoleModal = _ref10 => {
|
|
|
634
491
|
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
635
492
|
style: _styles.styles.participantFilterText,
|
|
636
493
|
numberOfLines: 1
|
|
637
|
-
}, role === null || role === void 0 ? void 0 : role.name),
|
|
638
|
-
name: visible ? 'arrow-drop-up' : 'arrow-drop-down',
|
|
639
|
-
style: _styles.styles.participantFilterIcon,
|
|
640
|
-
size: 24
|
|
641
|
-
})),
|
|
494
|
+
}, role === null || role === void 0 ? void 0 : role.name)),
|
|
642
495
|
onRequestClose: hideMenu,
|
|
643
496
|
style: _styles.styles.participantsMenuContainer
|
|
644
497
|
}, roles === null || roles === void 0 ? void 0 : roles.map(knownRole => {
|
|
@@ -660,25 +513,17 @@ const ChangeTrackStateForRoleModal = _ref10 => {
|
|
|
660
513
|
}, 'Track State: '), (localPeerRole === null || localPeerRole === void 0 || (_localPeerRole$permis = localPeerRole.permissions) === null || _localPeerRole$permis === void 0 ? void 0 : _localPeerRole$permis.mute) && /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
661
514
|
style: _styles.styles.changeTrackStateRoleOption,
|
|
662
515
|
onPress: () => setTrackState(true)
|
|
663
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.
|
|
664
|
-
style: _styles.styles.
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
style: _styles.styles.roleChangeModalCheck,
|
|
668
|
-
size: 10
|
|
669
|
-
})), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
670
|
-
style: _styles.styles.roleChangeModalPermission
|
|
516
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
517
|
+
style: [_styles.styles.roleChangeModalPermission, trackState ? {
|
|
518
|
+
color: _theme.COLORS.PRIMARY.DEFAULT
|
|
519
|
+
} : null]
|
|
671
520
|
}, "MUTE")), (localPeerRole === null || localPeerRole === void 0 || (_localPeerRole$permis2 = localPeerRole.permissions) === null || _localPeerRole$permis2 === void 0 ? void 0 : _localPeerRole$permis2.unmute) && /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
672
521
|
style: _styles.styles.changeTrackStateRoleOption,
|
|
673
522
|
onPress: () => setTrackState(false)
|
|
674
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.
|
|
675
|
-
style: _styles.styles.
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
style: _styles.styles.roleChangeModalCheck,
|
|
679
|
-
size: 10
|
|
680
|
-
})), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
681
|
-
style: _styles.styles.roleChangeModalPermission
|
|
523
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
524
|
+
style: [_styles.styles.roleChangeModalPermission, !trackState ? {
|
|
525
|
+
color: _theme.COLORS.PRIMARY.DEFAULT
|
|
526
|
+
} : null]
|
|
682
527
|
}, "UNMUTE"))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
683
528
|
style: _styles.styles.roleChangeModalPermissionContainer
|
|
684
529
|
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
@@ -686,25 +531,17 @@ const ChangeTrackStateForRoleModal = _ref10 => {
|
|
|
686
531
|
}, 'Track Type: '), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
687
532
|
style: _styles.styles.changeTrackStateRoleOption,
|
|
688
533
|
onPress: () => setTrackType(_reactNativeHms.HMSTrackType.AUDIO)
|
|
689
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.
|
|
690
|
-
style: _styles.styles.
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
style: _styles.styles.roleChangeModalCheck,
|
|
694
|
-
size: 10
|
|
695
|
-
})), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
696
|
-
style: _styles.styles.roleChangeModalPermission
|
|
534
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
535
|
+
style: [_styles.styles.roleChangeModalPermission, trackType === _reactNativeHms.HMSTrackType.AUDIO ? {
|
|
536
|
+
color: _theme.COLORS.PRIMARY.DEFAULT
|
|
537
|
+
} : null]
|
|
697
538
|
}, _reactNativeHms.HMSTrackType.AUDIO)), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
698
539
|
style: _styles.styles.changeTrackStateRoleOption,
|
|
699
540
|
onPress: () => setTrackType(_reactNativeHms.HMSTrackType.VIDEO)
|
|
700
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.
|
|
701
|
-
style: _styles.styles.
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
style: _styles.styles.roleChangeModalCheck,
|
|
705
|
-
size: 10
|
|
706
|
-
})), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
707
|
-
style: _styles.styles.roleChangeModalPermission
|
|
541
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
542
|
+
style: [_styles.styles.roleChangeModalPermission, trackType === _reactNativeHms.HMSTrackType.VIDEO ? {
|
|
543
|
+
color: _theme.COLORS.PRIMARY.DEFAULT
|
|
544
|
+
} : null]
|
|
708
545
|
}, _reactNativeHms.HMSTrackType.VIDEO))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
709
546
|
style: _styles.styles.roleChangeModalPermissionContainer
|
|
710
547
|
}, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
|
|
@@ -720,21 +557,21 @@ const ChangeTrackStateForRoleModal = _ref10 => {
|
|
|
720
557
|
})));
|
|
721
558
|
};
|
|
722
559
|
exports.ChangeTrackStateForRoleModal = ChangeTrackStateForRoleModal;
|
|
723
|
-
const ChangeTrackStateModal =
|
|
560
|
+
const ChangeTrackStateModal = _ref8 => {
|
|
724
561
|
var _roleChangeRequest$re, _roleChangeRequest$su2;
|
|
725
562
|
let {
|
|
726
563
|
roleChangeRequest,
|
|
727
564
|
cancelModal
|
|
728
|
-
} =
|
|
565
|
+
} = _ref8;
|
|
729
566
|
const localPeer = (0, _reactRedux.useSelector)(state => state.hmsStates.localPeer);
|
|
730
567
|
const changeLayout = () => {
|
|
731
568
|
var _roleChangeRequest$su;
|
|
732
569
|
if ((roleChangeRequest === null || roleChangeRequest === void 0 || (_roleChangeRequest$su = roleChangeRequest.suggestedRole) === null || _roleChangeRequest$su === void 0 ? void 0 : _roleChangeRequest$su.toLocaleLowerCase()) === 'video') {
|
|
733
570
|
var _localPeer$localVideo;
|
|
734
|
-
localPeer === null || localPeer === void 0 || (_localPeer$localVideo = localPeer.localVideoTrack()) === null || _localPeer$localVideo === void 0
|
|
571
|
+
localPeer === null || localPeer === void 0 || (_localPeer$localVideo = localPeer.localVideoTrack()) === null || _localPeer$localVideo === void 0 || _localPeer$localVideo.setMute(false);
|
|
735
572
|
} else {
|
|
736
573
|
var _localPeer$localAudio;
|
|
737
|
-
localPeer === null || localPeer === void 0 || (_localPeer$localAudio = localPeer.localAudioTrack()) === null || _localPeer$localAudio === void 0
|
|
574
|
+
localPeer === null || localPeer === void 0 || (_localPeer$localAudio = localPeer.localAudioTrack()) === null || _localPeer$localAudio === void 0 || _localPeer$localAudio.setMute(false);
|
|
738
575
|
}
|
|
739
576
|
cancelModal();
|
|
740
577
|
};
|
|
@@ -759,10 +596,10 @@ const ChangeTrackStateModal = _ref11 => {
|
|
|
759
596
|
})));
|
|
760
597
|
};
|
|
761
598
|
exports.ChangeTrackStateModal = ChangeTrackStateModal;
|
|
762
|
-
const HlsStreamingModal =
|
|
599
|
+
const HlsStreamingModal = _ref9 => {
|
|
763
600
|
let {
|
|
764
601
|
cancelModal
|
|
765
|
-
} =
|
|
602
|
+
} = _ref9;
|
|
766
603
|
const instance = (0, _hooksUtil.useHMSInstance)();
|
|
767
604
|
const roomID = (0, _reactRedux.useSelector)(state => state.user.roomID);
|
|
768
605
|
const [hlsStreamingDetails, setHLSStreamingDetails] = (0, _react.useState)({
|
|
@@ -775,14 +612,14 @@ const HlsStreamingModal = _ref12 => {
|
|
|
775
612
|
videoOnDemand: false
|
|
776
613
|
});
|
|
777
614
|
const changeLayout = () => {
|
|
778
|
-
instance === null || instance === void 0
|
|
615
|
+
instance === null || instance === void 0 || instance.startHLSStreaming().then(d => console.log('Start HLS Streaming Success: ', d)).catch(err => {
|
|
779
616
|
if (startHlsRetry) {
|
|
780
617
|
setStartHlsRetry(false);
|
|
781
618
|
const hmsHLSConfig = new _reactNativeHms.HMSHLSConfig({
|
|
782
619
|
hlsRecordingConfig: hlsRecordingDetails,
|
|
783
620
|
meetingURLVariants: [hlsStreamingDetails]
|
|
784
621
|
});
|
|
785
|
-
instance === null || instance === void 0
|
|
622
|
+
instance === null || instance === void 0 || instance.startHLSStreaming(hmsHLSConfig).then(d => console.log('Start HLS Streaming Success: ', d)).catch(e => console.log('Start HLS Streaming Error: ', e));
|
|
786
623
|
} else {
|
|
787
624
|
console.log('Start HLS Streaming Error: ', err);
|
|
788
625
|
}
|
|
@@ -815,14 +652,10 @@ const HlsStreamingModal = _ref12 => {
|
|
|
815
652
|
singleFilePerLayer: !hlsRecordingDetails.singleFilePerLayer
|
|
816
653
|
});
|
|
817
654
|
}
|
|
818
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.
|
|
819
|
-
style: _styles.styles.
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
style: _styles.styles.roleChangeModalCheck,
|
|
823
|
-
size: 10
|
|
824
|
-
})), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
825
|
-
style: _styles.styles.roleChangeModalPermission
|
|
655
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
656
|
+
style: [_styles.styles.roleChangeModalPermission, hlsRecordingDetails.singleFilePerLayer ? {
|
|
657
|
+
color: _theme.COLORS.PRIMARY.DEFAULT
|
|
658
|
+
} : null]
|
|
826
659
|
}, "SingleFilePerLayer")), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
827
660
|
style: _styles.styles.checkboxButtonContainer,
|
|
828
661
|
onPress: () => {
|
|
@@ -831,14 +664,10 @@ const HlsStreamingModal = _ref12 => {
|
|
|
831
664
|
videoOnDemand: !hlsRecordingDetails.videoOnDemand
|
|
832
665
|
});
|
|
833
666
|
}
|
|
834
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.
|
|
835
|
-
style: _styles.styles.
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
style: _styles.styles.roleChangeModalCheck,
|
|
839
|
-
size: 10
|
|
840
|
-
})), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
841
|
-
style: _styles.styles.roleChangeModalPermission
|
|
667
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
668
|
+
style: [_styles.styles.roleChangeModalPermission, hlsRecordingDetails.videoOnDemand ? {
|
|
669
|
+
color: _theme.COLORS.PRIMARY.DEFAULT
|
|
670
|
+
} : null]
|
|
842
671
|
}, "VideoOnDemand")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
843
672
|
style: _styles.styles.roleChangeModalPermissionContainer
|
|
844
673
|
}, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
|
|
@@ -854,10 +683,10 @@ const HlsStreamingModal = _ref12 => {
|
|
|
854
683
|
})));
|
|
855
684
|
};
|
|
856
685
|
exports.HlsStreamingModal = HlsStreamingModal;
|
|
857
|
-
const RecordingModal =
|
|
686
|
+
const RecordingModal = _ref10 => {
|
|
858
687
|
let {
|
|
859
688
|
setModalVisible
|
|
860
|
-
} =
|
|
689
|
+
} = _ref10;
|
|
861
690
|
const instance = (0, _hooksUtil.useHMSInstance)();
|
|
862
691
|
const roomID = (0, _reactRedux.useSelector)(state => state.user.roomID);
|
|
863
692
|
const [recordingDetails, setRecordingDetails] = (0, _react.useState)({
|
|
@@ -865,7 +694,7 @@ const RecordingModal = _ref13 => {
|
|
|
865
694
|
meetingURL: roomID ? roomID + '?token=beam_recording' : undefined
|
|
866
695
|
});
|
|
867
696
|
const changeLayout = () => {
|
|
868
|
-
instance === null || instance === void 0
|
|
697
|
+
instance === null || instance === void 0 || instance.startRTMPOrRecording(recordingDetails).then(d => console.log('Start RTMP Or Recording Success: ', d)).catch(e => console.log('Start RTMP Or Recording Error: ', e));
|
|
869
698
|
setModalVisible(_types.ModalTypes.DEFAULT);
|
|
870
699
|
};
|
|
871
700
|
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
@@ -915,14 +744,10 @@ const RecordingModal = _ref13 => {
|
|
|
915
744
|
record: !recordingDetails.record
|
|
916
745
|
});
|
|
917
746
|
}
|
|
918
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.
|
|
919
|
-
style: _styles.styles.
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
style: _styles.styles.roleChangeModalCheck,
|
|
923
|
-
size: 10
|
|
924
|
-
})), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
925
|
-
style: _styles.styles.roleChangeModalPermission
|
|
747
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
748
|
+
style: [_styles.styles.roleChangeModalPermission, recordingDetails.record ? {
|
|
749
|
+
color: _theme.COLORS.PRIMARY.DEFAULT
|
|
750
|
+
} : null]
|
|
926
751
|
}, "Record")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
927
752
|
style: _styles.styles.roleChangeModalPermissionContainer
|
|
928
753
|
}, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
|
|
@@ -938,15 +763,15 @@ const RecordingModal = _ref13 => {
|
|
|
938
763
|
})));
|
|
939
764
|
};
|
|
940
765
|
exports.RecordingModal = RecordingModal;
|
|
941
|
-
const ChangeRoleAccepteModal =
|
|
766
|
+
const ChangeRoleAccepteModal = _ref11 => {
|
|
942
767
|
var _roleChangeRequest$re2, _roleChangeRequest$su3;
|
|
943
768
|
let {
|
|
944
769
|
instance,
|
|
945
770
|
roleChangeRequest,
|
|
946
771
|
cancelModal
|
|
947
|
-
} =
|
|
772
|
+
} = _ref11;
|
|
948
773
|
const changeLayout = () => {
|
|
949
|
-
instance === null || instance === void 0
|
|
774
|
+
instance === null || instance === void 0 || instance.acceptRoleChange();
|
|
950
775
|
cancelModal();
|
|
951
776
|
};
|
|
952
777
|
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
@@ -970,48 +795,10 @@ const ChangeRoleAccepteModal = _ref14 => {
|
|
|
970
795
|
})));
|
|
971
796
|
};
|
|
972
797
|
exports.ChangeRoleAccepteModal = ChangeRoleAccepteModal;
|
|
973
|
-
const
|
|
974
|
-
let {
|
|
975
|
-
onSuccess,
|
|
976
|
-
cancelModal
|
|
977
|
-
} = _ref15;
|
|
978
|
-
const onEnd = () => {
|
|
979
|
-
cancelModal();
|
|
980
|
-
onSuccess();
|
|
981
|
-
};
|
|
982
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
983
|
-
style: _styles.styles.volumeModalContainer
|
|
984
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
985
|
-
style: _styles.styles.participantMenuItem
|
|
986
|
-
}, /*#__PURE__*/_react.default.createElement(_Feather.default, {
|
|
987
|
-
name: "alert-triangle",
|
|
988
|
-
style: [_styles.styles.participantMenuItemIcon, _styles.styles.error],
|
|
989
|
-
size: 24
|
|
990
|
-
}), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
991
|
-
style: [_styles.styles.roleChangeModalHeading, _styles.styles.error]
|
|
992
|
-
}, "End live stream for all?")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
993
|
-
style: _styles.styles.roleChangeModalPermissionContainer
|
|
994
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
995
|
-
style: _styles.styles.roleChangeModalDescription
|
|
996
|
-
}, "Your stream will end and everone will go offline immediately in this room. You can\u2019t undo this action.")), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
997
|
-
style: _styles.styles.roleChangeModalPermissionContainer
|
|
998
|
-
}, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
|
|
999
|
-
title: "Don\u2019t End",
|
|
1000
|
-
onPress: cancelModal,
|
|
1001
|
-
viewStyle: _styles.styles.roleChangeModalCancelButton,
|
|
1002
|
-
textStyle: _styles.styles.roleChangeModalButtonText
|
|
1003
|
-
}), /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
|
|
1004
|
-
title: "End Stream",
|
|
1005
|
-
onPress: onEnd,
|
|
1006
|
-
viewStyle: [_styles.styles.roleChangeModalSuccessButton, _styles.styles.errorContainer],
|
|
1007
|
-
textStyle: _styles.styles.roleChangeModalButtonText
|
|
1008
|
-
})));
|
|
1009
|
-
};
|
|
1010
|
-
exports.EndHlsModal = EndHlsModal;
|
|
1011
|
-
const RealTime = _ref16 => {
|
|
798
|
+
const RealTime = _ref12 => {
|
|
1012
799
|
let {
|
|
1013
800
|
startedAt
|
|
1014
|
-
} =
|
|
801
|
+
} = _ref12;
|
|
1015
802
|
const [hour, setHour] = (0, _react.useState)(0);
|
|
1016
803
|
const [minute, setMinute] = (0, _react.useState)(0);
|
|
1017
804
|
const [second, setSecond] = (0, _react.useState)(0);
|
|
@@ -1066,10 +853,10 @@ var RoleSelection = /*#__PURE__*/function (RoleSelection) {
|
|
|
1066
853
|
RoleSelection["TO_CHANGE"] = "TO_CHANGE";
|
|
1067
854
|
return RoleSelection;
|
|
1068
855
|
}(RoleSelection || {});
|
|
1069
|
-
const ChangeBulkRoleModal =
|
|
856
|
+
const ChangeBulkRoleModal = _ref13 => {
|
|
1070
857
|
let {
|
|
1071
858
|
cancelModal
|
|
1072
|
-
} =
|
|
859
|
+
} = _ref13;
|
|
1073
860
|
const hmsInstance = (0, _reactRedux.useSelector)(state => state.user.hmsInstance);
|
|
1074
861
|
const roles = (0, _reactRedux.useSelector)(state => state.hmsStates.roles);
|
|
1075
862
|
const [showRolesSelectionView, setShowRolesSelectionView] = (0, _react.useState)(null);
|
|
@@ -1114,11 +901,7 @@ const ChangeBulkRoleModal = _ref17 => {
|
|
|
1114
901
|
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
1115
902
|
style: bulkRoleStyles.value,
|
|
1116
903
|
numberOfLines: 1
|
|
1117
|
-
}, rolesToChange.map(role => role.name).join(', ') || 'Select Roles'), /*#__PURE__*/_react.default.createElement(
|
|
1118
|
-
name: "chevron-right",
|
|
1119
|
-
size: 16,
|
|
1120
|
-
style: bulkRoleStyles.chevronIcon
|
|
1121
|
-
}))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
904
|
+
}, rolesToChange.map(role => role.name).join(', ') || 'Select Roles'))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
1122
905
|
style: bulkRoleStyles.row
|
|
1123
906
|
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
1124
907
|
style: bulkRoleStyles.label
|
|
@@ -1127,11 +910,7 @@ const ChangeBulkRoleModal = _ref17 => {
|
|
|
1127
910
|
onPress: () => setShowRolesSelectionView(RoleSelection.TARGET)
|
|
1128
911
|
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
1129
912
|
style: bulkRoleStyles.value
|
|
1130
|
-
}, targetRole ? targetRole.name : 'Select Role'), /*#__PURE__*/_react.default.createElement(
|
|
1131
|
-
name: "chevron-right",
|
|
1132
|
-
size: 16,
|
|
1133
|
-
style: bulkRoleStyles.chevronIcon
|
|
1134
|
-
})))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
913
|
+
}, targetRole ? targetRole.name : 'Select Role')))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
1135
914
|
style: _styles.styles.roleChangeModalPermissionContainer
|
|
1136
915
|
}, /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
|
|
1137
916
|
title: "Cancel",
|
|
@@ -1159,18 +938,10 @@ const ChangeBulkRoleModal = _ref17 => {
|
|
|
1159
938
|
key: role.name,
|
|
1160
939
|
style: bulkRoleStyles.roleBtn,
|
|
1161
940
|
onPress: () => handleRoleSelection(role)
|
|
1162
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.
|
|
1163
|
-
style:
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
style: _styles.styles.roleChangeModalCheck,
|
|
1167
|
-
size: 20
|
|
1168
|
-
}) : /*#__PURE__*/_react.default.createElement(_MaterialCommunityIcons.default, {
|
|
1169
|
-
name: selected ? 'checkbox-outline' : 'checkbox-blank-outline',
|
|
1170
|
-
style: _styles.styles.roleChangeModalCheck,
|
|
1171
|
-
size: 24
|
|
1172
|
-
})), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
1173
|
-
style: bulkRoleStyles.checkboxLabel
|
|
941
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
942
|
+
style: {
|
|
943
|
+
color: selected ? _theme.COLORS.PRIMARY.DEFAULT : _theme.COLORS.TEXT.MEDIUM_EMPHASIS
|
|
944
|
+
}
|
|
1174
945
|
}, role.name));
|
|
1175
946
|
})), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
1176
947
|
style: bulkRoleStyles.roleSelectionDone,
|