@100mslive/react-native-room-kit 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/HMSContainer.js +1 -1
- package/lib/commonjs/HMSContainer.js.map +1 -1
- package/lib/commonjs/HMSInstanceSetup.js +15 -6
- package/lib/commonjs/HMSInstanceSetup.js.map +1 -1
- package/lib/commonjs/HMSPrebuilt.js +1 -1
- package/lib/commonjs/HMSPrebuilt.js.map +1 -1
- package/lib/commonjs/HMSRoomSetup.js +1 -1
- package/lib/commonjs/HMSRoomSetup.js.map +1 -1
- package/lib/commonjs/Icons/CC/assets/cc-off-med.png +0 -0
- package/lib/commonjs/Icons/CC/assets/cc-off-med@2x.png +0 -0
- package/lib/commonjs/Icons/CC/assets/cc-off-med@3x.png +0 -0
- package/lib/commonjs/Icons/CC/assets/cc-on-med.png +0 -0
- package/lib/commonjs/Icons/CC/assets/cc-on-med@2x.png +0 -0
- package/lib/commonjs/Icons/CC/assets/cc-on-med@3x.png +0 -0
- package/lib/commonjs/Icons/CC/index.js +39 -0
- package/lib/commonjs/Icons/CC/index.js.map +1 -0
- package/lib/commonjs/Icons/Close/assets/close-med.png +0 -0
- package/lib/commonjs/Icons/Close/assets/close-med@2x.png +0 -0
- package/lib/commonjs/Icons/Close/assets/close-med@3x.png +0 -0
- package/lib/commonjs/Icons/Close/index.js +7 -2
- package/lib/commonjs/Icons/Close/index.js.map +1 -1
- package/lib/commonjs/Icons/Maximize/assets/maximize-med.png +0 -0
- package/lib/commonjs/Icons/Maximize/assets/maximize-med@2x.png +0 -0
- package/lib/commonjs/Icons/Maximize/assets/maximize-med@3x.png +0 -0
- package/lib/commonjs/Icons/Maximize/index.js +7 -2
- package/lib/commonjs/Icons/Maximize/index.js.map +1 -1
- package/lib/commonjs/Icons/Minimize/assets/minimize-med.png +0 -0
- package/lib/commonjs/Icons/Minimize/assets/minimize-med@2x.png +0 -0
- package/lib/commonjs/Icons/Minimize/assets/minimize-med@3x.png +0 -0
- package/lib/commonjs/Icons/Minimize/index.js +7 -2
- package/lib/commonjs/Icons/Minimize/index.js.map +1 -1
- package/lib/commonjs/Icons/index.js +11 -0
- package/lib/commonjs/Icons/index.js.map +1 -1
- package/lib/commonjs/components/AnimatedFooter.js +1 -1
- package/lib/commonjs/components/AnimatedFooter.js.map +1 -1
- package/lib/commonjs/components/AnimatedHLSFooter.js +1 -1
- package/lib/commonjs/components/AnimatedHLSFooter.js.map +1 -1
- package/lib/commonjs/components/AnimatedHeader.js +2 -12
- package/lib/commonjs/components/AnimatedHeader.js.map +1 -1
- package/lib/commonjs/components/AvatarView.js +1 -1
- package/lib/commonjs/components/AvatarView.js.map +1 -1
- package/lib/commonjs/components/BackButton.js +1 -1
- package/lib/commonjs/components/BackButton.js.map +1 -1
- package/lib/commonjs/components/BottomSheet.js +1 -1
- package/lib/commonjs/components/BottomSheet.js.map +1 -1
- package/lib/commonjs/components/ChangeNameModalContent.js +1 -1
- package/lib/commonjs/components/ChangeNameModalContent.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatBanner.js +2 -1
- package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterBottomSheet.js +1 -1
- package/lib/commonjs/components/Chat/ChatFilterBottomSheet.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js +11 -8
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js +1 -1
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterItem.js +1 -1
- package/lib/commonjs/components/Chat/ChatFilterItem.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterView.js +3 -2
- package/lib/commonjs/components/Chat/ChatFilterView.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatList.js +5 -3
- package/lib/commonjs/components/Chat/ChatList.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatMessage.js +1 -1
- package/lib/commonjs/components/Chat/ChatMessage.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatMoreActionsModal.js +1 -1
- package/lib/commonjs/components/Chat/ChatMoreActionsModal.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatMoreActionsSheetView.js +1 -1
- package/lib/commonjs/components/Chat/ChatMoreActionsSheetView.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatMoreActionsView.js +1 -1
- package/lib/commonjs/components/Chat/ChatMoreActionsView.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatPaused.js +1 -1
- package/lib/commonjs/components/Chat/ChatPaused.js.map +1 -1
- package/lib/commonjs/components/Chat/MessageOptionsBottomSheet.js +1 -1
- package/lib/commonjs/components/Chat/MessageOptionsBottomSheet.js.map +1 -1
- package/lib/commonjs/components/Chat/MessageOptionsBottomSheetView.js +1 -1
- package/lib/commonjs/components/Chat/MessageOptionsBottomSheetView.js.map +1 -1
- package/lib/commonjs/components/Chat/MessageOptionsView.js +1 -1
- package/lib/commonjs/components/Chat/MessageOptionsView.js.map +1 -1
- package/lib/commonjs/components/Chat/PeerBlockedFromChat.js +1 -1
- package/lib/commonjs/components/Chat/PeerBlockedFromChat.js.map +1 -1
- package/lib/commonjs/components/Chat/PinnedMessages.js +1 -1
- package/lib/commonjs/components/Chat/PinnedMessages.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js +3 -2
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatView.js +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatView.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ParticipantsView.js +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ParticipantsView.js.map +1 -1
- package/lib/commonjs/components/CreatePoll.js +1 -1
- package/lib/commonjs/components/CreatePoll.js.map +1 -1
- package/lib/commonjs/components/DisplayView.js +2 -10
- package/lib/commonjs/components/DisplayView.js.map +1 -1
- package/lib/commonjs/components/EndRoomModal.js +1 -1
- package/lib/commonjs/components/EndRoomModal.js.map +1 -1
- package/lib/commonjs/components/EndRoomModalContent.js +1 -1
- package/lib/commonjs/components/EndRoomModalContent.js.map +1 -1
- package/lib/commonjs/components/Footer.js +12 -32
- package/lib/commonjs/components/Footer.js.map +1 -1
- package/lib/commonjs/components/FullScreenVideoView.js +1 -1
- package/lib/commonjs/components/FullScreenVideoView.js.map +1 -1
- package/lib/commonjs/components/GridView.js +1 -1
- package/lib/commonjs/components/GridView.js.map +1 -1
- package/lib/commonjs/components/HLSAnimatedDescriptionPane.js +30 -0
- package/lib/commonjs/components/HLSAnimatedDescriptionPane.js.map +1 -0
- package/lib/commonjs/components/HLSChatFooterView.js +51 -0
- package/lib/commonjs/components/HLSChatFooterView.js.map +1 -0
- package/lib/commonjs/components/HLSChatHeaderView.js +130 -0
- package/lib/commonjs/components/HLSChatHeaderView.js.map +1 -0
- package/lib/commonjs/components/HLSChatMessages.js +55 -0
- package/lib/commonjs/components/HLSChatMessages.js.map +1 -0
- package/lib/commonjs/components/HLSChatView.js +49 -0
- package/lib/commonjs/components/HLSChatView.js.map +1 -0
- package/lib/commonjs/components/HLSDescriptionPane.js +145 -0
- package/lib/commonjs/components/HLSDescriptionPane.js.map +1 -0
- package/lib/commonjs/components/HLSDescriptionPaneHeader.js +70 -0
- package/lib/commonjs/components/HLSDescriptionPaneHeader.js.map +1 -0
- package/lib/commonjs/components/HLSFooter.js +2 -2
- package/lib/commonjs/components/HLSFooter.js.map +1 -1
- package/lib/commonjs/components/HLSHandRaiseButton.js +38 -0
- package/lib/commonjs/components/HLSHandRaiseButton.js.map +1 -0
- package/lib/commonjs/components/HLSManageChatTextInput.js +90 -0
- package/lib/commonjs/components/HLSManageChatTextInput.js.map +1 -0
- package/lib/commonjs/components/HLSNotifications.js +32 -0
- package/lib/commonjs/components/HLSNotifications.js.map +1 -0
- package/lib/commonjs/components/{HLSView.js → HLSPlayer.js} +35 -38
- package/lib/commonjs/components/HLSPlayer.js.map +1 -0
- package/lib/commonjs/components/HLSPlayerContainer.js +64 -0
- package/lib/commonjs/components/HLSPlayerContainer.js.map +1 -0
- package/lib/commonjs/components/HLSPlayerControls.js +87 -0
- package/lib/commonjs/components/HLSPlayerControls.js.map +1 -0
- package/lib/commonjs/components/HLSRecordingStatusText.js +31 -0
- package/lib/commonjs/components/HLSRecordingStatusText.js.map +1 -0
- package/lib/commonjs/components/HLSRoomOptionsButton.js +25 -0
- package/lib/commonjs/components/HLSRoomOptionsButton.js.map +1 -0
- package/lib/commonjs/components/HLSStreamStartedTime.js +69 -0
- package/lib/commonjs/components/HLSStreamStartedTime.js.map +1 -0
- package/lib/commonjs/components/HLSViewerScreenContent.js +61 -0
- package/lib/commonjs/components/HLSViewerScreenContent.js.map +1 -0
- package/lib/commonjs/components/HMSBaseButton.js +1 -1
- package/lib/commonjs/components/HMSBaseButton.js.map +1 -1
- package/lib/commonjs/components/HMSChat.js +1 -1
- package/lib/commonjs/components/HMSChat.js.map +1 -1
- package/lib/commonjs/components/HMSDangerButton.js +1 -1
- package/lib/commonjs/components/HMSDangerButton.js.map +1 -1
- package/lib/commonjs/components/HMSHLSMessage.js +1 -1
- package/lib/commonjs/components/HMSHLSMessage.js.map +1 -1
- package/lib/commonjs/components/HMSHLSMessageList.js +1 -1
- package/lib/commonjs/components/HMSHLSMessageList.js.map +1 -1
- package/lib/commonjs/components/HMSHLSNotStarted.js +16 -8
- package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -1
- package/lib/commonjs/components/HMSHLSStreamLoading.js +1 -1
- package/lib/commonjs/components/HMSHLSStreamLoading.js.map +1 -1
- package/lib/commonjs/components/HMSHandRaiseNotification.js +1 -1
- package/lib/commonjs/components/HMSHandRaiseNotification.js.map +1 -1
- package/lib/commonjs/components/HMSKeyboardAvoidingView.android.js +1 -1
- package/lib/commonjs/components/HMSKeyboardAvoidingView.android.js.map +1 -1
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js +6 -2
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js.map +1 -1
- package/lib/commonjs/components/HMSLiveIndicator.js +1 -1
- package/lib/commonjs/components/HMSLiveIndicator.js.map +1 -1
- package/lib/commonjs/components/HMSLiveViewerCount.js +3 -5
- package/lib/commonjs/components/HMSLiveViewerCount.js.map +1 -1
- package/lib/commonjs/components/HMSLocalScreenshareNotification.js +1 -1
- package/lib/commonjs/components/HMSLocalScreenshareNotification.js.map +1 -1
- package/lib/commonjs/components/HMSLocalVideoView.js +1 -1
- package/lib/commonjs/components/HMSLocalVideoView.js.map +1 -1
- package/lib/commonjs/components/HMSManageAudioOutput.js +1 -1
- package/lib/commonjs/components/HMSManageAudioOutput.js.map +1 -1
- package/lib/commonjs/components/HMSManageCameraRotation.js +1 -1
- package/lib/commonjs/components/HMSManageCameraRotation.js.map +1 -1
- package/lib/commonjs/components/HMSManageLeave.js +1 -1
- package/lib/commonjs/components/HMSManageLeave.js.map +1 -1
- package/lib/commonjs/components/HMSManageLocalAudio.js +1 -1
- package/lib/commonjs/components/HMSManageLocalAudio.js.map +1 -1
- package/lib/commonjs/components/HMSManageLocalVideo.js +1 -1
- package/lib/commonjs/components/HMSManageLocalVideo.js.map +1 -1
- package/lib/commonjs/components/HMSManageNoiseCancellation.js +36 -0
- package/lib/commonjs/components/HMSManageNoiseCancellation.js.map +1 -0
- package/lib/commonjs/components/HMSManageRaiseHand.js +1 -1
- package/lib/commonjs/components/HMSManageRaiseHand.js.map +1 -1
- package/lib/commonjs/components/HMSMeetingEnded.js +1 -1
- package/lib/commonjs/components/HMSMeetingEnded.js.map +1 -1
- package/lib/commonjs/components/HMSNotification.js +4 -3
- package/lib/commonjs/components/HMSNotification.js.map +1 -1
- package/lib/commonjs/components/HMSNotifications.js +4 -2
- package/lib/commonjs/components/HMSNotifications.js.map +1 -1
- package/lib/commonjs/components/HMSOverlayChatView.js +8 -5
- package/lib/commonjs/components/HMSOverlayChatView.js.map +1 -1
- package/lib/commonjs/components/HMSPollsQuizzesNotification.js +1 -1
- package/lib/commonjs/components/HMSPollsQuizzesNotification.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewEditName.js +1 -1
- package/lib/commonjs/components/HMSPreviewEditName.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewHLSLiveIndicator.js +1 -1
- package/lib/commonjs/components/HMSPreviewHLSLiveIndicator.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewJoinButton.js +1 -1
- 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/HMSPreviewPeersList.js +1 -1
- package/lib/commonjs/components/HMSPreviewPeersList.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewSubtitle.js +1 -1
- package/lib/commonjs/components/HMSPreviewSubtitle.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewTile.js +1 -1
- package/lib/commonjs/components/HMSPreviewTile.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewTitle.js +1 -1
- package/lib/commonjs/components/HMSPreviewTitle.js.map +1 -1
- package/lib/commonjs/components/HMSPrimaryButton.js +1 -1
- package/lib/commonjs/components/HMSPrimaryButton.js.map +1 -1
- package/lib/commonjs/components/HMSReconnectingNotification.js +1 -1
- package/lib/commonjs/components/HMSReconnectingNotification.js.map +1 -1
- package/lib/commonjs/components/HMSRecordingIndicator.js +1 -1
- package/lib/commonjs/components/HMSRecordingIndicator.js.map +1 -1
- package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js +1 -1
- package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js.map +1 -1
- package/lib/commonjs/components/HMSRoomOptions.js +1 -1
- package/lib/commonjs/components/HMSRoomOptions.js.map +1 -1
- package/lib/commonjs/components/HMSSecondaryButton.js +1 -1
- package/lib/commonjs/components/HMSSecondaryButton.js.map +1 -1
- package/lib/commonjs/components/HMSSendMessageInput.js +1 -1
- package/lib/commonjs/components/HMSSendMessageInput.js.map +1 -1
- package/lib/commonjs/components/HMSTerminalErrorNotification.js +1 -1
- package/lib/commonjs/components/HMSTerminalErrorNotification.js.map +1 -1
- package/lib/commonjs/components/HMSTextInput.js +1 -1
- package/lib/commonjs/components/HMSTextInput.js.map +1 -1
- package/lib/commonjs/components/HMSVideoView.js +1 -1
- package/lib/commonjs/components/HMSVideoView.js.map +1 -1
- package/lib/commonjs/components/Header.js +1 -1
- package/lib/commonjs/components/Header.js.map +1 -1
- package/lib/commonjs/components/LeaderboardEntry.js +1 -1
- package/lib/commonjs/components/LeaderboardEntry.js.map +1 -1
- package/lib/commonjs/components/LeaveRoomBottomSheet.js +1 -1
- package/lib/commonjs/components/LeaveRoomBottomSheet.js.map +1 -1
- package/lib/commonjs/components/LocalPeerRegularVideoView.js +1 -1
- package/lib/commonjs/components/LocalPeerRegularVideoView.js.map +1 -1
- package/lib/commonjs/components/LocalPeerScreenshareView.js +1 -1
- package/lib/commonjs/components/LocalPeerScreenshareView.js.map +1 -1
- package/lib/commonjs/components/Meeting.js +4 -2
- package/lib/commonjs/components/Meeting.js.map +1 -1
- package/lib/commonjs/components/MeetingScreenContent.js +3 -10
- package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
- package/lib/commonjs/components/MiniView.js +1 -1
- package/lib/commonjs/components/MiniView.js.map +1 -1
- package/lib/commonjs/components/Modals.js +1 -1
- package/lib/commonjs/components/Modals.js.map +1 -1
- package/lib/commonjs/components/OverlayContainer.js +1 -1
- package/lib/commonjs/components/OverlayContainer.js.map +1 -1
- package/lib/commonjs/components/OverlayedViews.js +2 -2
- package/lib/commonjs/components/OverlayedViews.js.map +1 -1
- package/lib/commonjs/components/PIPView.js +1 -1
- package/lib/commonjs/components/PIPView.js.map +1 -1
- package/lib/commonjs/components/PaginationDots.js +1 -1
- package/lib/commonjs/components/PaginationDots.js.map +1 -1
- package/lib/commonjs/components/Participants/MultiRoleParticipantsList.js +1 -1
- package/lib/commonjs/components/Participants/MultiRoleParticipantsList.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsAccordian.js +1 -1
- package/lib/commonjs/components/Participants/ParticipantsAccordian.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsAccordianExpanded.js +1 -1
- package/lib/commonjs/components/Participants/ParticipantsAccordianExpanded.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsGroupFooter.js +1 -1
- package/lib/commonjs/components/Participants/ParticipantsGroupFooter.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js +1 -1
- package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js +1 -1
- package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsItem.js +12 -3
- package/lib/commonjs/components/Participants/ParticipantsItem.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsItemOption.js +1 -1
- package/lib/commonjs/components/Participants/ParticipantsItemOption.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsItemOptions.js +6 -5
- package/lib/commonjs/components/Participants/ParticipantsItemOptions.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsList.js +1 -1
- package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsListFooter.js +1 -1
- package/lib/commonjs/components/Participants/ParticipantsListFooter.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsSeachInput.js +1 -1
- package/lib/commonjs/components/Participants/ParticipantsSeachInput.js.map +1 -1
- package/lib/commonjs/components/ParticipantsCount.js +1 -1
- package/lib/commonjs/components/ParticipantsCount.js.map +1 -1
- package/lib/commonjs/components/PeerMinimizedView.js +1 -1
- package/lib/commonjs/components/PeerMinimizedView.js.map +1 -1
- package/lib/commonjs/components/PeerRTCStatsContainer.js +1 -1
- package/lib/commonjs/components/PeerRTCStatsContainer.js.map +1 -1
- package/lib/commonjs/components/PeerSettingsModalContent.js +3 -2
- package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/AvatarView.js +1 -1
- package/lib/commonjs/components/PeerVideoTile/AvatarView.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js +1 -1
- package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js +1 -1
- package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/PeerAudioIndicator.js +1 -1
- package/lib/commonjs/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/PeerMetadata.js +1 -1
- package/lib/commonjs/components/PeerVideoTile/PeerMetadata.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js +12 -3
- package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js +2 -1
- package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/VideoView.js +1 -1
- package/lib/commonjs/components/PeerVideoTile/VideoView.js.map +1 -1
- package/lib/commonjs/components/PollAndQuizQuestionResponseCard.js +1 -1
- package/lib/commonjs/components/PollAndQuizQuestionResponseCard.js.map +1 -1
- package/lib/commonjs/components/PollAndQuizQuestionResponseCards.js +1 -1
- package/lib/commonjs/components/PollAndQuizQuestionResponseCards.js.map +1 -1
- package/lib/commonjs/components/PollAndQuizSheetScreen.js +1 -1
- package/lib/commonjs/components/PollAndQuizSheetScreen.js.map +1 -1
- package/lib/commonjs/components/PollAndQuizVoting.js +12 -4
- package/lib/commonjs/components/PollAndQuizVoting.js.map +1 -1
- package/lib/commonjs/components/PollAndQuizzStateLabel.js +1 -1
- package/lib/commonjs/components/PollAndQuizzStateLabel.js.map +1 -1
- package/lib/commonjs/components/PollQDeleteConfirmationSheetView.js +1 -1
- package/lib/commonjs/components/PollQDeleteConfirmationSheetView.js.map +1 -1
- package/lib/commonjs/components/PollQuestion.js +1 -1
- package/lib/commonjs/components/PollQuestion.js.map +1 -1
- package/lib/commonjs/components/PollQuestionDeleteConfirmation.js +1 -1
- package/lib/commonjs/components/PollQuestionDeleteConfirmation.js.map +1 -1
- package/lib/commonjs/components/PollQuestions.js +1 -1
- package/lib/commonjs/components/PollQuestions.js.map +1 -1
- package/lib/commonjs/components/PollResponseProgressView.js +1 -1
- package/lib/commonjs/components/PollResponseProgressView.js.map +1 -1
- package/lib/commonjs/components/PollsAndQuizBottomSheet.js +1 -1
- package/lib/commonjs/components/PollsAndQuizBottomSheet.js.map +1 -1
- package/lib/commonjs/components/PollsAndQuizzesCard.js +1 -1
- package/lib/commonjs/components/PollsAndQuizzesCard.js.map +1 -1
- package/lib/commonjs/components/PollsAndQuizzesModalContent.js +1 -1
- package/lib/commonjs/components/PollsAndQuizzesModalContent.js.map +1 -1
- package/lib/commonjs/components/PollsConfigAndList.js +1 -1
- package/lib/commonjs/components/PollsConfigAndList.js.map +1 -1
- package/lib/commonjs/components/PressableIcon.js +2 -3
- package/lib/commonjs/components/PressableIcon.js.map +1 -1
- package/lib/commonjs/components/Preview.js +26 -5
- package/lib/commonjs/components/Preview.js.map +1 -1
- package/lib/commonjs/components/PreviewForRoleChangeModal.js +1 -1
- package/lib/commonjs/components/PreviewForRoleChangeModal.js.map +1 -1
- package/lib/commonjs/components/PreviousPollsAndQuizzesList.js +1 -1
- package/lib/commonjs/components/PreviousPollsAndQuizzesList.js.map +1 -1
- package/lib/commonjs/components/QuizEndOptionsView.js +1 -1
- package/lib/commonjs/components/QuizEndOptionsView.js.map +1 -1
- package/lib/commonjs/components/QuizLeaderboardEntriesScreen.js +1 -1
- package/lib/commonjs/components/QuizLeaderboardEntriesScreen.js.map +1 -1
- package/lib/commonjs/components/QuizLeaderboardScreen.js +1 -1
- package/lib/commonjs/components/QuizLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/components/QuizLeaderboardSummary.js +1 -1
- package/lib/commonjs/components/QuizLeaderboardSummary.js.map +1 -1
- package/lib/commonjs/components/ReconnectionView.js +1 -1
- package/lib/commonjs/components/ReconnectionView.js.map +1 -1
- package/lib/commonjs/components/RoomSettingsModalContent.js +67 -2
- package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/StatusBar.js +1 -1
- package/lib/commonjs/components/StatusBar.js.map +1 -1
- package/lib/commonjs/components/StopRecordingModalContent.js +1 -1
- package/lib/commonjs/components/StopRecordingModalContent.js.map +1 -1
- package/lib/commonjs/components/StreamingQualityModalContent.js +1 -1
- package/lib/commonjs/components/StreamingQualityModalContent.js.map +1 -1
- package/lib/commonjs/components/UnmountAfterDelay.js +1 -1
- package/lib/commonjs/components/UnmountAfterDelay.js.map +1 -1
- package/lib/commonjs/components/VoterParticipationSummary.js +1 -1
- package/lib/commonjs/components/VoterParticipationSummary.js.map +1 -1
- package/lib/commonjs/components/WebrtcView.js +1 -1
- package/lib/commonjs/components/WebrtcView.js.map +1 -1
- package/lib/commonjs/components/WelcomeInMeeting.js +1 -1
- package/lib/commonjs/components/WelcomeInMeeting.js.map +1 -1
- package/lib/commonjs/components/styles.js +4 -0
- package/lib/commonjs/components/styles.js.map +1 -1
- package/lib/commonjs/hooks-util.js +128 -5
- package/lib/commonjs/hooks-util.js.map +1 -1
- package/lib/commonjs/redux/actionTypes.js +5 -0
- package/lib/commonjs/redux/actionTypes.js.map +1 -1
- package/lib/commonjs/redux/actions/index.js +23 -4
- package/lib/commonjs/redux/actions/index.js.map +1 -1
- package/lib/commonjs/redux/reducers/appState.js +18 -2
- package/lib/commonjs/redux/reducers/appState.js.map +1 -1
- package/lib/commonjs/redux/reducers/hmsStates.js +7 -1
- package/lib/commonjs/redux/reducers/hmsStates.js.map +1 -1
- package/lib/commonjs/redux/reducers/message.js +1 -1
- package/lib/commonjs/redux/reducers/message.js.map +1 -1
- package/lib/commonjs/redux/reducers/userState.js +1 -1
- package/lib/commonjs/redux/reducers/userState.js.map +1 -1
- package/lib/commonjs/utils/functions.js +1 -0
- package/lib/commonjs/utils/functions.js.map +1 -1
- package/lib/commonjs/utils/hooks.js +12 -18
- package/lib/commonjs/utils/hooks.js.map +1 -1
- package/lib/module/HMSInstanceSetup.js +16 -7
- package/lib/module/HMSInstanceSetup.js.map +1 -1
- package/lib/module/Icons/CC/assets/cc-off-med.png +0 -0
- package/lib/module/Icons/CC/assets/cc-off-med@2x.png +0 -0
- package/lib/module/Icons/CC/assets/cc-off-med@3x.png +0 -0
- package/lib/module/Icons/CC/assets/cc-on-med.png +0 -0
- package/lib/module/Icons/CC/assets/cc-on-med@2x.png +0 -0
- package/lib/module/Icons/CC/assets/cc-on-med@3x.png +0 -0
- package/lib/module/Icons/CC/index.js +31 -0
- package/lib/module/Icons/CC/index.js.map +1 -0
- package/lib/module/Icons/Close/assets/close-med.png +0 -0
- package/lib/module/Icons/Close/assets/close-med@2x.png +0 -0
- package/lib/module/Icons/Close/assets/close-med@3x.png +0 -0
- package/lib/module/Icons/Close/index.js +7 -2
- package/lib/module/Icons/Close/index.js.map +1 -1
- package/lib/module/Icons/Maximize/assets/maximize-med.png +0 -0
- package/lib/module/Icons/Maximize/assets/maximize-med@2x.png +0 -0
- package/lib/module/Icons/Maximize/assets/maximize-med@3x.png +0 -0
- package/lib/module/Icons/Maximize/index.js +7 -2
- package/lib/module/Icons/Maximize/index.js.map +1 -1
- package/lib/module/Icons/Minimize/assets/minimize-med.png +0 -0
- package/lib/module/Icons/Minimize/assets/minimize-med@2x.png +0 -0
- package/lib/module/Icons/Minimize/assets/minimize-med@3x.png +0 -0
- package/lib/module/Icons/Minimize/index.js +7 -2
- package/lib/module/Icons/Minimize/index.js.map +1 -1
- package/lib/module/Icons/index.js +1 -0
- package/lib/module/Icons/index.js.map +1 -1
- package/lib/module/components/AnimatedHeader.js +1 -11
- package/lib/module/components/AnimatedHeader.js.map +1 -1
- package/lib/module/components/Chat/ChatBanner.js +1 -0
- package/lib/module/components/Chat/ChatBanner.js.map +1 -1
- package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js +10 -7
- package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -1
- package/lib/module/components/Chat/ChatFilterView.js +2 -1
- package/lib/module/components/Chat/ChatFilterView.js.map +1 -1
- package/lib/module/components/Chat/ChatList.js +4 -2
- package/lib/module/components/Chat/ChatList.js.map +1 -1
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js +3 -2
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -1
- package/lib/module/components/DisplayView.js +3 -11
- package/lib/module/components/DisplayView.js.map +1 -1
- package/lib/module/components/Footer.js +12 -32
- package/lib/module/components/Footer.js.map +1 -1
- package/lib/module/components/HLSAnimatedDescriptionPane.js +21 -0
- package/lib/module/components/HLSAnimatedDescriptionPane.js.map +1 -0
- package/lib/module/components/HLSChatFooterView.js +42 -0
- package/lib/module/components/HLSChatFooterView.js.map +1 -0
- package/lib/module/components/HLSChatHeaderView.js +121 -0
- package/lib/module/components/HLSChatHeaderView.js.map +1 -0
- package/lib/module/components/HLSChatMessages.js +46 -0
- package/lib/module/components/HLSChatMessages.js.map +1 -0
- package/lib/module/components/HLSChatView.js +40 -0
- package/lib/module/components/HLSChatView.js.map +1 -0
- package/lib/module/components/HLSDescriptionPane.js +136 -0
- package/lib/module/components/HLSDescriptionPane.js.map +1 -0
- package/lib/module/components/HLSDescriptionPaneHeader.js +61 -0
- package/lib/module/components/HLSDescriptionPaneHeader.js.map +1 -0
- package/lib/module/components/HLSFooter.js +2 -2
- package/lib/module/components/HLSFooter.js.map +1 -1
- package/lib/module/components/HLSHandRaiseButton.js +29 -0
- package/lib/module/components/HLSHandRaiseButton.js.map +1 -0
- package/lib/module/components/HLSManageChatTextInput.js +81 -0
- package/lib/module/components/HLSManageChatTextInput.js.map +1 -0
- package/lib/module/components/HLSNotifications.js +24 -0
- package/lib/module/components/HLSNotifications.js.map +1 -0
- package/lib/module/components/{HLSView.js → HLSPlayer.js} +35 -38
- package/lib/module/components/HLSPlayer.js.map +1 -0
- package/lib/module/components/HLSPlayerContainer.js +56 -0
- package/lib/module/components/HLSPlayerContainer.js.map +1 -0
- package/lib/module/components/HLSPlayerControls.js +81 -0
- package/lib/module/components/HLSPlayerControls.js.map +1 -0
- package/lib/module/components/HLSRecordingStatusText.js +22 -0
- package/lib/module/components/HLSRecordingStatusText.js.map +1 -0
- package/lib/module/components/HLSRoomOptionsButton.js +16 -0
- package/lib/module/components/HLSRoomOptionsButton.js.map +1 -0
- package/lib/module/components/HLSStreamStartedTime.js +60 -0
- package/lib/module/components/HLSStreamStartedTime.js.map +1 -0
- package/lib/module/components/HLSViewerScreenContent.js +53 -0
- package/lib/module/components/HLSViewerScreenContent.js.map +1 -0
- package/lib/module/components/HMSHLSNotStarted.js +15 -7
- package/lib/module/components/HMSHLSNotStarted.js.map +1 -1
- package/lib/module/components/HMSKeyboardAvoidingView.js +5 -1
- package/lib/module/components/HMSKeyboardAvoidingView.js.map +1 -1
- package/lib/module/components/HMSLiveViewerCount.js +3 -5
- package/lib/module/components/HMSLiveViewerCount.js.map +1 -1
- package/lib/module/components/HMSManageNoiseCancellation.js +28 -0
- package/lib/module/components/HMSManageNoiseCancellation.js.map +1 -0
- package/lib/module/components/HMSNotification.js +4 -3
- package/lib/module/components/HMSNotification.js.map +1 -1
- package/lib/module/components/HMSNotifications.js +3 -1
- package/lib/module/components/HMSNotifications.js.map +1 -1
- package/lib/module/components/HMSOverlayChatView.js +5 -2
- package/lib/module/components/HMSOverlayChatView.js.map +1 -1
- package/lib/module/components/Meeting.js +4 -2
- package/lib/module/components/Meeting.js.map +1 -1
- package/lib/module/components/MeetingScreenContent.js +3 -10
- package/lib/module/components/MeetingScreenContent.js.map +1 -1
- package/lib/module/components/OverlayedViews.js +2 -2
- package/lib/module/components/OverlayedViews.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsItem.js +12 -3
- package/lib/module/components/Participants/ParticipantsItem.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsItemOptions.js +5 -4
- package/lib/module/components/Participants/ParticipantsItemOptions.js.map +1 -1
- package/lib/module/components/PeerSettingsModalContent.js +4 -3
- package/lib/module/components/PeerSettingsModalContent.js.map +1 -1
- package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js +12 -3
- package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
- package/lib/module/components/PeerVideoTile/PeerVideoTileView.js +2 -1
- package/lib/module/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
- package/lib/module/components/PollAndQuizVoting.js +11 -3
- package/lib/module/components/PollAndQuizVoting.js.map +1 -1
- package/lib/module/components/PressableIcon.js +1 -2
- package/lib/module/components/PressableIcon.js.map +1 -1
- package/lib/module/components/Preview.js +26 -5
- package/lib/module/components/Preview.js.map +1 -1
- package/lib/module/components/RoomSettingsModalContent.js +69 -4
- package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/module/components/styles.js +4 -0
- package/lib/module/components/styles.js.map +1 -1
- package/lib/module/hooks-util.js +125 -5
- package/lib/module/hooks-util.js.map +1 -1
- package/lib/module/redux/actionTypes.js +5 -0
- package/lib/module/redux/actionTypes.js.map +1 -1
- package/lib/module/redux/actions/index.js +16 -0
- package/lib/module/redux/actions/index.js.map +1 -1
- package/lib/module/redux/reducers/appState.js +17 -1
- package/lib/module/redux/reducers/appState.js.map +1 -1
- package/lib/module/redux/reducers/hmsStates.js +7 -1
- package/lib/module/redux/reducers/hmsStates.js.map +1 -1
- package/lib/module/utils/functions.js +1 -0
- package/lib/module/utils/functions.js.map +1 -1
- package/lib/module/utils/hooks.js +12 -18
- package/lib/module/utils/hooks.js.map +1 -1
- package/lib/typescript/HMSInstanceSetup.d.ts.map +1 -1
- package/lib/typescript/Icons/CC/index.d.ts +9 -0
- package/lib/typescript/Icons/CC/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Close/index.d.ts +1 -0
- package/lib/typescript/Icons/Close/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Maximize/index.d.ts +1 -0
- package/lib/typescript/Icons/Maximize/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Minimize/index.d.ts +1 -0
- package/lib/typescript/Icons/Minimize/index.d.ts.map +1 -1
- package/lib/typescript/Icons/index.d.ts +1 -0
- package/lib/typescript/Icons/index.d.ts.map +1 -1
- package/lib/typescript/components/AnimatedHeader.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts +4 -1
- package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatFilterView.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatList.d.ts +4 -1
- package/lib/typescript/components/Chat/ChatList.d.ts.map +1 -1
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts.map +1 -1
- package/lib/typescript/components/DisplayView.d.ts.map +1 -1
- package/lib/typescript/components/Footer.d.ts.map +1 -1
- package/lib/typescript/components/HLSAnimatedDescriptionPane.d.ts +10 -0
- package/lib/typescript/components/HLSAnimatedDescriptionPane.d.ts.map +1 -0
- package/lib/typescript/components/HLSChatFooterView.d.ts +3 -0
- package/lib/typescript/components/HLSChatFooterView.d.ts.map +1 -0
- package/lib/typescript/components/HLSChatHeaderView.d.ts +7 -0
- package/lib/typescript/components/HLSChatHeaderView.d.ts.map +1 -0
- package/lib/typescript/components/HLSChatMessages.d.ts +3 -0
- package/lib/typescript/components/HLSChatMessages.d.ts.map +1 -0
- package/lib/typescript/components/HLSChatView.d.ts +3 -0
- package/lib/typescript/components/HLSChatView.d.ts.map +1 -0
- package/lib/typescript/components/HLSDescriptionPane.d.ts +6 -0
- package/lib/typescript/components/HLSDescriptionPane.d.ts.map +1 -0
- package/lib/typescript/components/HLSDescriptionPaneHeader.d.ts +9 -0
- package/lib/typescript/components/HLSDescriptionPaneHeader.d.ts.map +1 -0
- package/lib/typescript/components/HLSHandRaiseButton.d.ts +3 -0
- package/lib/typescript/components/HLSHandRaiseButton.d.ts.map +1 -0
- package/lib/typescript/components/HLSManageChatTextInput.d.ts +3 -0
- package/lib/typescript/components/HLSManageChatTextInput.d.ts.map +1 -0
- package/lib/typescript/components/HLSNotifications.d.ts +3 -0
- package/lib/typescript/components/HLSNotifications.d.ts.map +1 -0
- package/lib/typescript/components/HLSPlayer.d.ts +4 -0
- package/lib/typescript/components/HLSPlayer.d.ts.map +1 -0
- package/lib/typescript/components/HLSPlayerContainer.d.ts +4 -0
- package/lib/typescript/components/HLSPlayerContainer.d.ts.map +1 -0
- package/lib/typescript/components/HLSPlayerControls.d.ts +4 -0
- package/lib/typescript/components/HLSPlayerControls.d.ts.map +1 -0
- package/lib/typescript/components/HLSRecordingStatusText.d.ts +9 -0
- package/lib/typescript/components/HLSRecordingStatusText.d.ts.map +1 -0
- package/lib/typescript/components/HLSRoomOptionsButton.d.ts +3 -0
- package/lib/typescript/components/HLSRoomOptionsButton.d.ts.map +1 -0
- package/lib/typescript/components/HLSStreamStartedTime.d.ts +6 -0
- package/lib/typescript/components/HLSStreamStartedTime.d.ts.map +1 -0
- package/lib/typescript/components/HLSViewerScreenContent.d.ts +6 -0
- package/lib/typescript/components/HLSViewerScreenContent.d.ts.map +1 -0
- package/lib/typescript/components/HMSHLSNotStarted.d.ts.map +1 -1
- package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts +2 -0
- package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts.map +1 -1
- package/lib/typescript/components/HMSLiveViewerCount.d.ts.map +1 -1
- package/lib/typescript/components/HMSManageNoiseCancellation.d.ts +3 -0
- package/lib/typescript/components/HMSManageNoiseCancellation.d.ts.map +1 -0
- package/lib/typescript/components/HMSNotification.d.ts.map +1 -1
- package/lib/typescript/components/HMSNotifications.d.ts.map +1 -1
- package/lib/typescript/components/HMSOverlayChatView.d.ts +2 -2
- package/lib/typescript/components/HMSOverlayChatView.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/Participants/ParticipantsItem.d.ts.map +1 -1
- package/lib/typescript/components/Participants/ParticipantsItemOptions.d.ts.map +1 -1
- package/lib/typescript/components/PeerSettingsModalContent.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/PeerNameAndNetwork.d.ts +1 -0
- package/lib/typescript/components/PeerVideoTile/PeerNameAndNetwork.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts.map +1 -1
- package/lib/typescript/components/PollAndQuizVoting.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/RoomSettingsModalContent.d.ts.map +1 -1
- package/lib/typescript/components/styles.d.ts +4 -0
- package/lib/typescript/components/styles.d.ts.map +1 -1
- package/lib/typescript/hooks-util.d.ts +20 -1
- package/lib/typescript/hooks-util.d.ts.map +1 -1
- package/lib/typescript/redux/actionTypes.d.ts +3 -0
- package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
- package/lib/typescript/redux/actions/index.d.ts +17 -1
- package/lib/typescript/redux/actions/index.d.ts.map +1 -1
- package/lib/typescript/redux/index.d.ts +3 -0
- package/lib/typescript/redux/index.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/appState.d.ts +2 -0
- package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/hmsStates.d.ts +7 -2
- package/lib/typescript/redux/reducers/hmsStates.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/index.d.ts +3 -0
- package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
- package/lib/typescript/utils/functions.d.ts +1 -0
- package/lib/typescript/utils/functions.d.ts.map +1 -1
- package/lib/typescript/utils/hooks.d.ts.map +1 -1
- package/package.json +66 -5
- package/src/HMSInstanceSetup.tsx +26 -5
- package/src/Icons/CC/assets/cc-off-med.png +0 -0
- package/src/Icons/CC/assets/cc-off-med@2x.png +0 -0
- package/src/Icons/CC/assets/cc-off-med@3x.png +0 -0
- package/src/Icons/CC/assets/cc-on-med.png +0 -0
- package/src/Icons/CC/assets/cc-on-med@2x.png +0 -0
- package/src/Icons/CC/assets/cc-on-med@3x.png +0 -0
- package/src/Icons/CC/index.tsx +51 -0
- package/src/Icons/Close/assets/close-med.png +0 -0
- package/src/Icons/Close/assets/close-med@2x.png +0 -0
- package/src/Icons/Close/assets/close-med@3x.png +0 -0
- package/src/Icons/Close/index.tsx +19 -3
- package/src/Icons/Maximize/assets/maximize-med.png +0 -0
- package/src/Icons/Maximize/assets/maximize-med@2x.png +0 -0
- package/src/Icons/Maximize/assets/maximize-med@3x.png +0 -0
- package/src/Icons/Maximize/index.tsx +19 -3
- package/src/Icons/Minimize/assets/minimize-med.png +0 -0
- package/src/Icons/Minimize/assets/minimize-med@2x.png +0 -0
- package/src/Icons/Minimize/assets/minimize-med@3x.png +0 -0
- package/src/Icons/Minimize/index.tsx +19 -3
- package/src/Icons/index.ts +1 -0
- package/src/components/AnimatedHeader.tsx +1 -9
- package/src/components/Chat/ChatBanner.tsx +1 -0
- package/src/components/Chat/ChatFilterBottomSheetOpener.tsx +16 -8
- package/src/components/Chat/ChatFilterView.tsx +6 -2
- package/src/components/Chat/ChatList.tsx +4 -1
- package/src/components/ChatAndParticipants/ChatAndParticipantsView.tsx +6 -1
- package/src/components/DisplayView.tsx +9 -23
- package/src/components/Footer.tsx +11 -54
- package/src/components/HLSAnimatedDescriptionPane.tsx +36 -0
- package/src/components/HLSChatFooterView.tsx +53 -0
- package/src/components/HLSChatHeaderView.tsx +165 -0
- package/src/components/HLSChatMessages.tsx +62 -0
- package/src/components/HLSChatView.tsx +55 -0
- package/src/components/HLSDescriptionPane.tsx +168 -0
- package/src/components/HLSDescriptionPaneHeader.tsx +78 -0
- package/src/components/HLSFooter.tsx +2 -2
- package/src/components/HLSHandRaiseButton.tsx +41 -0
- package/src/components/HLSManageChatTextInput.tsx +98 -0
- package/src/components/HLSNotifications.tsx +33 -0
- package/src/components/{HLSView.tsx → HLSPlayer.tsx} +80 -77
- package/src/components/HLSPlayerContainer.tsx +67 -0
- package/src/components/HLSPlayerControls.tsx +101 -0
- package/src/components/HLSRecordingStatusText.tsx +50 -0
- package/src/components/HLSRoomOptionsButton.tsx +19 -0
- package/src/components/HLSStreamStartedTime.tsx +79 -0
- package/src/components/HLSViewerScreenContent.tsx +96 -0
- package/src/components/HMSHLSNotStarted.tsx +18 -7
- package/src/components/HMSKeyboardAvoidingView.tsx +16 -6
- package/src/components/HMSLiveViewerCount.tsx +2 -8
- package/src/components/HMSManageNoiseCancellation.tsx +41 -0
- package/src/components/HMSNotification.tsx +20 -14
- package/src/components/HMSNotifications.tsx +3 -1
- package/src/components/HMSOverlayChatView.tsx +10 -3
- package/src/components/Meeting.tsx +9 -1
- package/src/components/MeetingScreenContent.tsx +3 -7
- package/src/components/OverlayedViews.tsx +2 -2
- package/src/components/Participants/ParticipantsItem.tsx +29 -3
- package/src/components/Participants/ParticipantsItemOptions.tsx +9 -4
- package/src/components/PeerSettingsModalContent.tsx +14 -10
- package/src/components/PeerVideoTile/PeerNameAndNetwork.tsx +25 -9
- package/src/components/PeerVideoTile/PeerVideoTileView.tsx +2 -0
- package/src/components/PollAndQuizVoting.tsx +13 -1
- package/src/components/PressableIcon.tsx +1 -3
- package/src/components/Preview.tsx +42 -3
- package/src/components/RoomSettingsModalContent.tsx +85 -1
- package/src/components/styles.ts +4 -0
- package/src/hooks-util.ts +185 -6
- package/src/redux/actionTypes.ts +7 -0
- package/src/redux/actions/index.ts +18 -0
- package/src/redux/reducers/appState.ts +16 -0
- package/src/redux/reducers/hmsStates.ts +15 -1
- package/src/utils/functions.ts +1 -0
- package/src/utils/hooks.ts +12 -12
- package/lib/commonjs/components/HLSView.js.map +0 -1
- package/lib/module/components/HLSView.js.map +0 -1
- package/lib/typescript/components/HLSView.d.ts +0 -4
- package/lib/typescript/components/HLSView.d.ts.map +0 -1
|
@@ -18,7 +18,11 @@ export const HMSHLSNotStarted = () => {
|
|
|
18
18
|
|
|
19
19
|
return (
|
|
20
20
|
<View style={styles.container}>
|
|
21
|
-
<RadioIcon
|
|
21
|
+
<RadioIcon
|
|
22
|
+
size="extra-large"
|
|
23
|
+
containerStyle={styles.iconWrapper}
|
|
24
|
+
style={styles.icon}
|
|
25
|
+
/>
|
|
22
26
|
<Text style={[styles.title, hmsRoomStyles.title]}>
|
|
23
27
|
Stream yet to start
|
|
24
28
|
</Text>
|
|
@@ -36,20 +40,27 @@ const styles = StyleSheet.create({
|
|
|
36
40
|
alignItems: 'center',
|
|
37
41
|
justifyContent: 'center',
|
|
38
42
|
},
|
|
39
|
-
|
|
43
|
+
iconWrapper: {
|
|
44
|
+
width: 40,
|
|
45
|
+
height: 40,
|
|
46
|
+
borderRadius: 20,
|
|
40
47
|
marginBottom: 24,
|
|
41
48
|
},
|
|
49
|
+
icon: {
|
|
50
|
+
width: 24,
|
|
51
|
+
height: 24,
|
|
52
|
+
},
|
|
42
53
|
title: {
|
|
43
|
-
fontSize:
|
|
44
|
-
lineHeight:
|
|
54
|
+
fontSize: 16,
|
|
55
|
+
lineHeight: 20,
|
|
45
56
|
textAlign: 'center',
|
|
46
57
|
},
|
|
47
58
|
description: {
|
|
48
|
-
fontSize:
|
|
49
|
-
lineHeight:
|
|
59
|
+
fontSize: 14,
|
|
60
|
+
lineHeight: 20,
|
|
50
61
|
letterSpacing: 0.5,
|
|
51
62
|
textAlign: 'center',
|
|
52
|
-
marginTop:
|
|
63
|
+
marginTop: 4,
|
|
53
64
|
},
|
|
54
65
|
taleLessSpaceAsYouCan: {
|
|
55
66
|
flex: 0,
|
|
@@ -12,12 +12,20 @@ import { useKeyboardState } from '../hooks-util';
|
|
|
12
12
|
|
|
13
13
|
export interface HMSKeyboardAvoidingViewProps {
|
|
14
14
|
style?: StyleProp<Animated.AnimateStyle<StyleProp<ViewStyle>>>;
|
|
15
|
+
styleWhenInactive?: ViewStyle;
|
|
16
|
+
styleWhenActive?: ViewStyle;
|
|
15
17
|
bottomOffset?: number | SharedValue<number>;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
export const HMSKeyboardAvoidingView: React.FC<
|
|
19
21
|
HMSKeyboardAvoidingViewProps
|
|
20
|
-
> = ({
|
|
22
|
+
> = ({
|
|
23
|
+
children,
|
|
24
|
+
style,
|
|
25
|
+
styleWhenInactive,
|
|
26
|
+
styleWhenActive,
|
|
27
|
+
bottomOffset = 0,
|
|
28
|
+
}) => {
|
|
21
29
|
const animatedKeyboard = useAnimatedKeyboard();
|
|
22
30
|
const { keyboardState } = useKeyboardState();
|
|
23
31
|
|
|
@@ -27,14 +35,16 @@ export const HMSKeyboardAvoidingView: React.FC<
|
|
|
27
35
|
|
|
28
36
|
const keyboardAvoidStyle = useAnimatedStyle(() => {
|
|
29
37
|
const keyboardHeight = animatedKeyboard.height.value;
|
|
38
|
+
const keyboardHidden =
|
|
39
|
+
keyboardHeight <= initialPageY.value ||
|
|
40
|
+
keyboardState.value === KeyboardState.CLOSED;
|
|
30
41
|
return {
|
|
42
|
+
...(keyboardHidden ? styleWhenInactive : styleWhenActive),
|
|
31
43
|
transform: [
|
|
32
44
|
{
|
|
33
|
-
translateY:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
? 0 // Keep element at original `pageY` till and when keyboard height is less than `pageY`
|
|
37
|
-
: -(keyboardHeight - initialPageY.value),
|
|
45
|
+
translateY: keyboardHidden
|
|
46
|
+
? 0 // Keep element at original `pageY` till and when keyboard height is less than `pageY`
|
|
47
|
+
: -(keyboardHeight - initialPageY.value),
|
|
38
48
|
},
|
|
39
49
|
],
|
|
40
50
|
};
|
|
@@ -5,17 +5,14 @@ import { Gesture, GestureDetector } from 'react-native-gesture-handler';
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
useHMSRoomStyleSheet,
|
|
8
|
-
useIsHLSViewer,
|
|
9
8
|
useShowChatAndParticipants,
|
|
10
9
|
} from '../hooks-util';
|
|
11
10
|
import { EyeIcon } from '../Icons';
|
|
12
|
-
import { hexToRgbA } from '../utils/theme';
|
|
13
11
|
import type { RootState } from '../redux';
|
|
14
12
|
import { TestIds } from '../utils/constants';
|
|
15
13
|
import { useIsAnyStreamingOn } from '../hooks-sdk';
|
|
16
14
|
|
|
17
15
|
const _HMSLiveViewerCount = () => {
|
|
18
|
-
const isHLSViewer = useIsHLSViewer();
|
|
19
16
|
const previewPeerCount = useSelector(
|
|
20
17
|
(state: RootState) => state.hmsStates.room?.peerCount
|
|
21
18
|
);
|
|
@@ -23,11 +20,8 @@ const _HMSLiveViewerCount = () => {
|
|
|
23
20
|
|
|
24
21
|
const hmsRoomStyles = useHMSRoomStyleSheet((theme, typograhy) => ({
|
|
25
22
|
viewers: {
|
|
26
|
-
backgroundColor:
|
|
27
|
-
|
|
28
|
-
hexToRgbA(theme.palette.background_dim, 0.64)
|
|
29
|
-
: undefined,
|
|
30
|
-
borderWidth: isHLSViewer ? 0 : 1,
|
|
23
|
+
backgroundColor: undefined,
|
|
24
|
+
borderWidth: 1,
|
|
31
25
|
borderColor: theme.palette.border_bright,
|
|
32
26
|
},
|
|
33
27
|
count: {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { WaveIcon } from '../Icons';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { PressableIcon } from './PressableIcon';
|
|
4
|
+
import { styles } from './styles';
|
|
5
|
+
import { useSelector } from 'react-redux';
|
|
6
|
+
import type { RootState } from '../redux';
|
|
7
|
+
|
|
8
|
+
export const HMSManageNoiseCancellation = () => {
|
|
9
|
+
const noiseCancellationPlugin = useSelector(
|
|
10
|
+
(state: RootState) => state.hmsStates.noiseCancellationPlugin
|
|
11
|
+
);
|
|
12
|
+
const [isNoiseCancellationEnabled, setIsNoiseCancellationEnabled] =
|
|
13
|
+
React.useState(false);
|
|
14
|
+
|
|
15
|
+
const handleButtonPress = async () => {
|
|
16
|
+
const isAvailable =
|
|
17
|
+
await noiseCancellationPlugin?.isNoiseCancellationAvailable();
|
|
18
|
+
|
|
19
|
+
if (!noiseCancellationPlugin && isAvailable) {
|
|
20
|
+
console.error('Noise Cancellation Plugin not found');
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
if (isNoiseCancellationEnabled) {
|
|
25
|
+
await noiseCancellationPlugin?.disable();
|
|
26
|
+
} else {
|
|
27
|
+
await noiseCancellationPlugin?.enable();
|
|
28
|
+
}
|
|
29
|
+
setIsNoiseCancellationEnabled(!isNoiseCancellationEnabled);
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
return (
|
|
33
|
+
<PressableIcon
|
|
34
|
+
style={styles.noiseButton}
|
|
35
|
+
onPress={handleButtonPress}
|
|
36
|
+
active={isNoiseCancellationEnabled}
|
|
37
|
+
>
|
|
38
|
+
<WaveIcon />
|
|
39
|
+
</PressableIcon>
|
|
40
|
+
);
|
|
41
|
+
};
|
|
@@ -4,7 +4,7 @@ import { StyleSheet, Text, TouchableOpacity, View } from 'react-native';
|
|
|
4
4
|
import type { StyleProp, ViewStyle, TextStyle, TextProps } from 'react-native';
|
|
5
5
|
import { Gesture, GestureDetector } from 'react-native-gesture-handler';
|
|
6
6
|
|
|
7
|
-
import { useHMSRoomStyleSheet } from '../hooks-util';
|
|
7
|
+
import { useHMSRoomStyleSheet, useIsHLSViewer } from '../hooks-util';
|
|
8
8
|
import { ChatIcon, CloseIcon } from '../Icons';
|
|
9
9
|
import { UnmountAfterDelay } from './UnmountAfterDelay';
|
|
10
10
|
import { removeNotification } from '../redux/actions';
|
|
@@ -39,20 +39,26 @@ export const HMSNotification: React.FC<HMSNotificationProps> = ({
|
|
|
39
39
|
dismissable = false,
|
|
40
40
|
}) => {
|
|
41
41
|
const dispatch = useDispatch();
|
|
42
|
+
const isHLSViewer = useIsHLSViewer();
|
|
42
43
|
|
|
43
|
-
const hmsRoomStyles = useHMSRoomStyleSheet(
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
44
|
+
const hmsRoomStyles = useHMSRoomStyleSheet(
|
|
45
|
+
(theme, typography) => ({
|
|
46
|
+
container: {
|
|
47
|
+
backgroundColor: isHLSViewer
|
|
48
|
+
? theme.palette.surface_default
|
|
49
|
+
: theme.palette.surface_dim,
|
|
50
|
+
},
|
|
51
|
+
text: {
|
|
52
|
+
color: theme.palette.on_surface_high,
|
|
53
|
+
fontFamily: `${typography.font_family}-SemiBold`,
|
|
54
|
+
},
|
|
55
|
+
description: {
|
|
56
|
+
color: theme.palette.on_surface_medium,
|
|
57
|
+
fontFamily: `${typography.font_family}-Regular`,
|
|
58
|
+
},
|
|
59
|
+
}),
|
|
60
|
+
[isHLSViewer]
|
|
61
|
+
);
|
|
56
62
|
|
|
57
63
|
const dismissNotification =
|
|
58
64
|
onDismiss ||
|
|
@@ -13,6 +13,7 @@ import { AlertTriangleIcon } from '../Icons';
|
|
|
13
13
|
import { HMSReconnectingNotification } from './HMSReconnectingNotification';
|
|
14
14
|
import { useIsLandscapeOrientation } from '../utils/dimension';
|
|
15
15
|
import { HMSPollsQuizzesNotification } from './HMSPollsQuizzesNotification';
|
|
16
|
+
import { useIsHLSViewer } from '../hooks-util';
|
|
16
17
|
|
|
17
18
|
export interface HMSNotificationsProps {}
|
|
18
19
|
|
|
@@ -25,6 +26,7 @@ export const HMSNotifications: React.FC<HMSNotificationsProps> = () => {
|
|
|
25
26
|
const isLocalScreenShared = useSelector(
|
|
26
27
|
(state: RootState) => state.hmsStates.isLocalScreenShared
|
|
27
28
|
);
|
|
29
|
+
const isHLSViewer = useIsHLSViewer();
|
|
28
30
|
const isLandscapeOrientation = useIsLandscapeOrientation();
|
|
29
31
|
|
|
30
32
|
// notifications is a stack, first will appear last
|
|
@@ -84,7 +86,7 @@ export const HMSNotifications: React.FC<HMSNotificationsProps> = () => {
|
|
|
84
86
|
return (
|
|
85
87
|
<View
|
|
86
88
|
style={[
|
|
87
|
-
isLandscapeOrientation
|
|
89
|
+
isLandscapeOrientation && !isHLSViewer
|
|
88
90
|
? styles.absoluteLandscapeContainer
|
|
89
91
|
: styles.absoluteContainer,
|
|
90
92
|
{ paddingTop: (notifications.length - 1) * 16 },
|
|
@@ -32,11 +32,13 @@ const colors = [
|
|
|
32
32
|
];
|
|
33
33
|
const colorLocations = [0, 0.4, 1];
|
|
34
34
|
|
|
35
|
-
export interface
|
|
35
|
+
export interface HMSOverlayChatViewProps {
|
|
36
36
|
offset?: SharedValue<number>;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
export const
|
|
39
|
+
export const HMSOverlayChatView: React.FC<HMSOverlayChatViewProps> = ({
|
|
40
|
+
offset,
|
|
41
|
+
}) => {
|
|
40
42
|
const footerHeight = useFooterHeight();
|
|
41
43
|
const hmsNotificationsHeight = useHMSNotificationsHeight();
|
|
42
44
|
const { chatState } = useHMSChatState();
|
|
@@ -77,7 +79,12 @@ export const HLSChatView: React.FC<HLSChatViewProps> = ({ offset }) => {
|
|
|
77
79
|
{chatState.enabled ? (
|
|
78
80
|
<>
|
|
79
81
|
<View style={styles.filterSheetWrapper}>
|
|
80
|
-
<ChatFilterBottomSheetOpener
|
|
82
|
+
<ChatFilterBottomSheetOpener
|
|
83
|
+
overlay={true}
|
|
84
|
+
useFilterModal={true}
|
|
85
|
+
showActionBtn={true}
|
|
86
|
+
useActionModal={true}
|
|
87
|
+
/>
|
|
81
88
|
</View>
|
|
82
89
|
|
|
83
90
|
{isLocalPeerBlockedFromChat ? (
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
useHMSReconnection,
|
|
16
16
|
useHMSRemovedFromRoomUpdate,
|
|
17
17
|
useHMSRoomStyle,
|
|
18
|
+
useIsHLSViewer,
|
|
18
19
|
useLandscapeImmersiveMode,
|
|
19
20
|
usePIPListener,
|
|
20
21
|
useSetDefaultChatRecipient,
|
|
@@ -22,6 +23,7 @@ import {
|
|
|
22
23
|
import { MeetingScreenContent } from './MeetingScreenContent';
|
|
23
24
|
import { HMSHLSStreamLoading } from './HMSHLSStreamLoading';
|
|
24
25
|
import type { RootState } from '../redux';
|
|
26
|
+
import { HLSViewerScreenContent } from './HLSViewerScreenContent';
|
|
25
27
|
|
|
26
28
|
interface MeetingProps {
|
|
27
29
|
peerTrackNodes: Array<PeerTrackNode>;
|
|
@@ -32,6 +34,8 @@ export const Meeting: React.FC<MeetingProps> = ({ peerTrackNodes }) => {
|
|
|
32
34
|
(state: RootState) => state.app.startingHLSStream
|
|
33
35
|
);
|
|
34
36
|
|
|
37
|
+
const isHLSViewer = useIsHLSViewer();
|
|
38
|
+
|
|
35
39
|
// TODO: Fetch latest Room and localPeer on mount of this component?
|
|
36
40
|
|
|
37
41
|
useFetchHMSRoles();
|
|
@@ -81,7 +85,11 @@ export const Meeting: React.FC<MeetingProps> = ({ peerTrackNodes }) => {
|
|
|
81
85
|
|
|
82
86
|
return (
|
|
83
87
|
<View style={[styles.container, containerStyles]}>
|
|
84
|
-
|
|
88
|
+
{isHLSViewer ? (
|
|
89
|
+
<HLSViewerScreenContent />
|
|
90
|
+
) : (
|
|
91
|
+
<MeetingScreenContent peerTrackNodes={peerTrackNodes} />
|
|
92
|
+
)}
|
|
85
93
|
</View>
|
|
86
94
|
);
|
|
87
95
|
};
|
|
@@ -17,10 +17,9 @@ import type { RootState } from '../redux';
|
|
|
17
17
|
import { Footer } from './Footer';
|
|
18
18
|
import { DisplayView } from './DisplayView';
|
|
19
19
|
import { Header } from './Header';
|
|
20
|
-
import {
|
|
20
|
+
import { useKeyboardState } from '../hooks-util';
|
|
21
21
|
import { HMSStatusBar } from './StatusBar';
|
|
22
22
|
import { AnimatedFooter } from './AnimatedFooter';
|
|
23
|
-
import { HLSFooter } from './HLSFooter';
|
|
24
23
|
import { AnimatedHeader } from './AnimatedHeader';
|
|
25
24
|
// import { ReconnectionView } from './ReconnectionView';
|
|
26
25
|
|
|
@@ -32,7 +31,6 @@ export const MeetingScreenContent: React.FC<MeetingScreenContentProps> = ({
|
|
|
32
31
|
peerTrackNodes,
|
|
33
32
|
}) => {
|
|
34
33
|
const offset = useSharedValue(1);
|
|
35
|
-
const isHLSViewer = useIsHLSViewer();
|
|
36
34
|
const timerIdRef = useRef<NodeJS.Timeout | null>(null);
|
|
37
35
|
const [controlsHidden, setControlsHidden] = useState(false);
|
|
38
36
|
const isPipModeActive = useSelector(
|
|
@@ -101,15 +99,13 @@ export const MeetingScreenContent: React.FC<MeetingScreenContentProps> = ({
|
|
|
101
99
|
<View collapsable={false} style={styles.container}>
|
|
102
100
|
{isPipModeActive ? null : (
|
|
103
101
|
<AnimatedHeader offset={offset}>
|
|
104
|
-
<Header
|
|
102
|
+
<Header />
|
|
105
103
|
</AnimatedHeader>
|
|
106
104
|
)}
|
|
107
105
|
|
|
108
106
|
<DisplayView offset={offset} peerTrackNodes={peerTrackNodes} />
|
|
109
107
|
|
|
110
|
-
{isPipModeActive ? null :
|
|
111
|
-
<HLSFooter offset={offset} />
|
|
112
|
-
) : (
|
|
108
|
+
{isPipModeActive ? null : (
|
|
113
109
|
<AnimatedFooter offset={offset}>
|
|
114
110
|
<Footer />
|
|
115
111
|
</AnimatedFooter>
|
|
@@ -4,7 +4,7 @@ import type { SharedValue } from 'react-native-reanimated';
|
|
|
4
4
|
import { HMSNotifications } from './HMSNotifications';
|
|
5
5
|
import { OverlayContainer } from './OverlayContainer';
|
|
6
6
|
import type { OverlayProps } from './OverlayContainer';
|
|
7
|
-
import {
|
|
7
|
+
import { HMSOverlayChatView } from './HMSOverlayChatView';
|
|
8
8
|
import { useShowChatAndParticipants } from '../hooks-util';
|
|
9
9
|
|
|
10
10
|
export type OverlayedViewsProps = {
|
|
@@ -19,7 +19,7 @@ const _OverlayedViews: React.FC<OverlayedViewsProps> = ({
|
|
|
19
19
|
|
|
20
20
|
return (
|
|
21
21
|
<OverlayContainer.Overlay animatedStyle={animatedStyle}>
|
|
22
|
-
{overlayChatVisible ? <
|
|
22
|
+
{overlayChatVisible ? <HMSOverlayChatView offset={offset} /> : null}
|
|
23
23
|
|
|
24
24
|
<HMSNotifications />
|
|
25
25
|
</OverlayContainer.Overlay>
|
|
@@ -2,10 +2,16 @@ import * as React from 'react';
|
|
|
2
2
|
import { useSelector } from 'react-redux';
|
|
3
3
|
import { View, Text, StyleSheet, TouchableOpacity } from 'react-native';
|
|
4
4
|
import type { HMSLocalPeer, HMSPeer } from '@100mslive/react-native-hms';
|
|
5
|
+
import { HMSPeerType } from '@100mslive/react-native-hms';
|
|
5
6
|
|
|
6
7
|
import { isParticipantHostOrBroadcaster } from '../../utils/functions';
|
|
7
8
|
import { useHMSRoomStyleSheet } from '../../hooks-util';
|
|
8
|
-
import {
|
|
9
|
+
import {
|
|
10
|
+
AnswerPhoneIcon,
|
|
11
|
+
HandIcon,
|
|
12
|
+
NetworkQualityIcon,
|
|
13
|
+
ThreeDotsIcon,
|
|
14
|
+
} from '../../Icons';
|
|
9
15
|
import { Menu } from '../MenuModal';
|
|
10
16
|
import { ParticipantsItemOptions } from './ParticipantsItemOptions';
|
|
11
17
|
import type { RootState } from '../../redux';
|
|
@@ -45,6 +51,7 @@ const _ParticipantsItem: React.FC<ParticipantsItemProps> = ({
|
|
|
45
51
|
}));
|
|
46
52
|
|
|
47
53
|
const show3Dots = selfHostOrBroadcaster && !peer.isLocal;
|
|
54
|
+
const isSIPPeerType = peer.type === HMSPeerType.SIP;
|
|
48
55
|
|
|
49
56
|
const showOptions = () => setOptionsVisible(true);
|
|
50
57
|
|
|
@@ -52,7 +59,12 @@ const _ParticipantsItem: React.FC<ParticipantsItemProps> = ({
|
|
|
52
59
|
|
|
53
60
|
return (
|
|
54
61
|
<View style={styles.container}>
|
|
55
|
-
<Text
|
|
62
|
+
<Text
|
|
63
|
+
testID={TestIds.participant_name}
|
|
64
|
+
style={[styles.label, hmsRoomStyles.label]}
|
|
65
|
+
ellipsizeMode="middle"
|
|
66
|
+
numberOfLines={1}
|
|
67
|
+
>
|
|
56
68
|
{peer.name}
|
|
57
69
|
{peer.isLocal ? ' (You)' : null}
|
|
58
70
|
</Text>
|
|
@@ -70,7 +82,20 @@ const _ParticipantsItem: React.FC<ParticipantsItemProps> = ({
|
|
|
70
82
|
</View>
|
|
71
83
|
) : null}
|
|
72
84
|
|
|
73
|
-
{
|
|
85
|
+
{isSIPPeerType ? (
|
|
86
|
+
<View
|
|
87
|
+
style={[
|
|
88
|
+
styles.control,
|
|
89
|
+
styles.iconWrapper,
|
|
90
|
+
hmsRoomStyles.iconWrapper,
|
|
91
|
+
]}
|
|
92
|
+
>
|
|
93
|
+
<AnswerPhoneIcon style={styles.networkIcon} />
|
|
94
|
+
</View>
|
|
95
|
+
) : null}
|
|
96
|
+
|
|
97
|
+
{!isSIPPeerType &&
|
|
98
|
+
peer.networkQuality &&
|
|
74
99
|
peer.networkQuality.downlinkQuality >= 0 &&
|
|
75
100
|
peer.networkQuality.downlinkQuality < 4 ? (
|
|
76
101
|
<View
|
|
@@ -119,6 +144,7 @@ const styles = StyleSheet.create({
|
|
|
119
144
|
justifyContent: 'space-between',
|
|
120
145
|
},
|
|
121
146
|
label: {
|
|
147
|
+
flexShrink: 1,
|
|
122
148
|
fontSize: 14,
|
|
123
149
|
lineHeight: 20,
|
|
124
150
|
letterSpacing: 0.1,
|
|
@@ -2,6 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { StyleSheet, View } from 'react-native';
|
|
3
3
|
import { useSelector } from 'react-redux';
|
|
4
4
|
import type { HMSLocalPeer, HMSPeer } from '@100mslive/react-native-hms';
|
|
5
|
+
import { HMSPeerType } from '@100mslive/react-native-hms';
|
|
5
6
|
|
|
6
7
|
import {
|
|
7
8
|
useHMSInstance,
|
|
@@ -156,25 +157,29 @@ const _ParticipantsItemOptions: React.FC<ParticipantsItemOptionsProps> = ({
|
|
|
156
157
|
!insideHandRaiseGroup &&
|
|
157
158
|
localPeerCanMuteTrack &&
|
|
158
159
|
peerCanPublishAudio &&
|
|
159
|
-
peer.audioTrack?.isMute() === false
|
|
160
|
+
peer.audioTrack?.isMute() === false &&
|
|
161
|
+
peer.type === HMSPeerType.REGULAR;
|
|
160
162
|
|
|
161
163
|
const showUnmuteAudioOption =
|
|
162
164
|
!insideHandRaiseGroup &&
|
|
163
165
|
localPeerCanUnmuteTrack &&
|
|
164
166
|
peerCanPublishAudio &&
|
|
165
|
-
peer.audioTrack?.isMute()
|
|
167
|
+
peer.audioTrack?.isMute() &&
|
|
168
|
+
peer.type === HMSPeerType.REGULAR;
|
|
166
169
|
|
|
167
170
|
const showMuteVideoOption =
|
|
168
171
|
!insideHandRaiseGroup &&
|
|
169
172
|
localPeerCanMuteTrack &&
|
|
170
173
|
peerCanPublishVideo &&
|
|
171
|
-
peer.videoTrack?.isMute() === false
|
|
174
|
+
peer.videoTrack?.isMute() === false &&
|
|
175
|
+
peer.type === HMSPeerType.REGULAR;
|
|
172
176
|
|
|
173
177
|
const showUnmuteVideoOption =
|
|
174
178
|
!insideHandRaiseGroup &&
|
|
175
179
|
localPeerCanUnmuteTrack &&
|
|
176
180
|
peerCanPublishVideo &&
|
|
177
|
-
peer.videoTrack?.isMute()
|
|
181
|
+
peer.videoTrack?.isMute() &&
|
|
182
|
+
peer.type === HMSPeerType.REGULAR;
|
|
178
183
|
|
|
179
184
|
const showBringOnStageOptions =
|
|
180
185
|
offStageRoles && offStageRoles.includes(peer.role?.name || '');
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { StyleProp, TextStyle, TouchableOpacityProps } from 'react-native';
|
|
2
3
|
import {
|
|
3
|
-
View,
|
|
4
|
-
TouchableOpacity,
|
|
5
|
-
Text,
|
|
6
|
-
StyleSheet,
|
|
7
|
-
LayoutAnimation,
|
|
8
4
|
InteractionManager,
|
|
5
|
+
LayoutAnimation,
|
|
6
|
+
StyleSheet,
|
|
7
|
+
Text,
|
|
8
|
+
TouchableOpacity,
|
|
9
|
+
View,
|
|
9
10
|
} from 'react-native';
|
|
10
|
-
import type { StyleProp, TextStyle, TouchableOpacityProps } from 'react-native';
|
|
11
11
|
import { useDispatch, useSelector } from 'react-redux';
|
|
12
|
-
import { HMSTrack } from '@100mslive/react-native-hms';
|
|
12
|
+
import { HMSPeerType, HMSTrack } from '@100mslive/react-native-hms';
|
|
13
13
|
|
|
14
14
|
import type { RootState } from '../redux';
|
|
15
|
-
import { ModalTypes } from '../utils/types';
|
|
16
15
|
import type { PeerTrackNode } from '../utils/types';
|
|
16
|
+
import { ModalTypes } from '../utils/types';
|
|
17
17
|
import { setInsetViewMinimized } from '../redux/actions';
|
|
18
18
|
import { useHMSRoomStyle, useModalType } from '../hooks-util';
|
|
19
19
|
import {
|
|
@@ -157,7 +157,9 @@ export const PeerSettingsModalContent: React.FC<
|
|
|
157
157
|
) : null}
|
|
158
158
|
|
|
159
159
|
{/* If Peer's Audio is Unmuted and Local Peer has mute Permissions */}
|
|
160
|
-
{!isPeerAudioMute &&
|
|
160
|
+
{!isPeerAudioMute &&
|
|
161
|
+
localPeerPermissions?.mute &&
|
|
162
|
+
peer.type === HMSPeerType.REGULAR ? (
|
|
161
163
|
<SettingItem
|
|
162
164
|
text={'Mute Audio'}
|
|
163
165
|
icon={<MicIcon muted={true} style={styles.customIcon} />}
|
|
@@ -180,7 +182,9 @@ export const PeerSettingsModalContent: React.FC<
|
|
|
180
182
|
) : null}
|
|
181
183
|
|
|
182
184
|
{/* If Peer's Video is Unmuted and Local Peer has mute Permissions */}
|
|
183
|
-
{!isPeerVideoMute &&
|
|
185
|
+
{!isPeerVideoMute &&
|
|
186
|
+
localPeerPermissions?.mute &&
|
|
187
|
+
peer.type === HMSPeerType.REGULAR ? (
|
|
184
188
|
<SettingItem
|
|
185
189
|
text={'Mute Video'}
|
|
186
190
|
icon={<CameraIcon muted={true} style={styles.customIcon} />}
|
|
@@ -3,12 +3,17 @@ import { StyleSheet, Text, View } from 'react-native';
|
|
|
3
3
|
import { HMSTrackSource } from '@100mslive/react-native-hms';
|
|
4
4
|
|
|
5
5
|
import { hexToRgbA } from '../../utils/theme';
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
AnswerPhoneIcon,
|
|
8
|
+
NetworkQualityIcon,
|
|
9
|
+
ScreenShareIcon,
|
|
10
|
+
} from '../../Icons';
|
|
7
11
|
import { useHMSRoomStyleSheet } from '../../hooks-util';
|
|
8
12
|
import { TestIds } from '../../utils/constants';
|
|
9
13
|
|
|
10
14
|
export interface PeerNameAndNetworkProps {
|
|
11
15
|
name: string;
|
|
16
|
+
isSIPPeerType: boolean | undefined;
|
|
12
17
|
isLocal: boolean | undefined;
|
|
13
18
|
trackSource: HMSTrackSource | undefined;
|
|
14
19
|
networkQuality: number | undefined;
|
|
@@ -16,6 +21,7 @@ export interface PeerNameAndNetworkProps {
|
|
|
16
21
|
|
|
17
22
|
export const PeerNameAndNetwork: React.FC<PeerNameAndNetworkProps> = ({
|
|
18
23
|
name,
|
|
24
|
+
isSIPPeerType,
|
|
19
25
|
isLocal,
|
|
20
26
|
trackSource,
|
|
21
27
|
networkQuality,
|
|
@@ -41,24 +47,28 @@ export const PeerNameAndNetwork: React.FC<PeerNameAndNetworkProps> = ({
|
|
|
41
47
|
<View style={[styles.contentContainer, hmsRoomStyles.contentContainer]}>
|
|
42
48
|
{isScreenTrackSource ? (
|
|
43
49
|
<ScreenShareIcon style={styles.screenShareIcon} />
|
|
50
|
+
) : isSIPPeerType ? (
|
|
51
|
+
<AnswerPhoneIcon style={styles.phoneIcon} />
|
|
44
52
|
) : null}
|
|
45
53
|
|
|
46
54
|
<Text
|
|
47
55
|
testID={TestIds.tile_user_name}
|
|
48
56
|
style={[styles.name, hmsRoomStyles.name]}
|
|
49
57
|
numberOfLines={1}
|
|
50
|
-
ellipsizeMode={showTrackSource ? 'middle' : 'tail'}
|
|
58
|
+
ellipsizeMode={showTrackSource || isSIPPeerType ? 'middle' : 'tail'}
|
|
51
59
|
>
|
|
52
60
|
{name}
|
|
53
|
-
{isLocal
|
|
54
|
-
{showTrackSource
|
|
61
|
+
{isLocal && ' (You)'}
|
|
62
|
+
{showTrackSource && `'s ${trackSource}`}
|
|
55
63
|
</Text>
|
|
56
64
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
65
|
+
{isSIPPeerType ? null : (
|
|
66
|
+
<NetworkQualityIcon
|
|
67
|
+
testID={TestIds.tile_network_icon}
|
|
68
|
+
quality={networkQuality}
|
|
69
|
+
style={styles.networkIcon}
|
|
70
|
+
/>
|
|
71
|
+
)}
|
|
62
72
|
</View>
|
|
63
73
|
</View>
|
|
64
74
|
);
|
|
@@ -76,6 +86,7 @@ const styles = StyleSheet.create({
|
|
|
76
86
|
paddingVertical: 4,
|
|
77
87
|
paddingHorizontal: 8,
|
|
78
88
|
borderRadius: 8,
|
|
89
|
+
alignItems: 'center',
|
|
79
90
|
marginLeft: 8, // left offset
|
|
80
91
|
marginRight: 20 + 4 + 44, // network icon width + network icon left margin + 3 dots button width and horizontal margins
|
|
81
92
|
},
|
|
@@ -91,6 +102,11 @@ const styles = StyleSheet.create({
|
|
|
91
102
|
height: 20,
|
|
92
103
|
marginRight: 6,
|
|
93
104
|
},
|
|
105
|
+
phoneIcon: {
|
|
106
|
+
width: 16,
|
|
107
|
+
height: 16,
|
|
108
|
+
marginRight: 4,
|
|
109
|
+
},
|
|
94
110
|
networkIcon: {
|
|
95
111
|
marginLeft: 4,
|
|
96
112
|
},
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Pressable, StyleSheet, View } from 'react-native';
|
|
3
3
|
import {
|
|
4
|
+
HMSPeerType,
|
|
4
5
|
HMSTrackSource,
|
|
5
6
|
HMSTrackType,
|
|
6
7
|
HMSVideoViewMode,
|
|
@@ -194,6 +195,7 @@ export const _PeerVideoTileView = React.forwardRef<
|
|
|
194
195
|
{/* Handling showing Peer name */}
|
|
195
196
|
{insetMode || isPipModeActive ? null : (
|
|
196
197
|
<PeerNameAndNetwork
|
|
198
|
+
isSIPPeerType={peer.type === HMSPeerType.SIP}
|
|
197
199
|
name={peer.name}
|
|
198
200
|
isLocal={peer.isLocal}
|
|
199
201
|
trackSource={trackSource}
|
|
@@ -49,6 +49,18 @@ export const PollAndQuizVoting: React.FC<PollAndQuizVotingProps> = ({
|
|
|
49
49
|
}
|
|
50
50
|
return null;
|
|
51
51
|
});
|
|
52
|
+
const pollId = selectedPoll?.pollId;
|
|
53
|
+
const localPeerPollInitiator = useSelector((state: RootState) => {
|
|
54
|
+
if (!pollId) return null;
|
|
55
|
+
const localPeerUserId = state.hmsStates.localPeer?.customerUserID;
|
|
56
|
+
const pollInitiatorUserID =
|
|
57
|
+
state.polls.polls[pollId]?.createdBy?.customerUserID;
|
|
58
|
+
return (
|
|
59
|
+
localPeerUserId &&
|
|
60
|
+
pollInitiatorUserID &&
|
|
61
|
+
localPeerUserId === pollInitiatorUserID
|
|
62
|
+
);
|
|
63
|
+
});
|
|
52
64
|
const canCreateOrEndPoll = useSelector((state: RootState) => {
|
|
53
65
|
const permissions = state.hmsStates.localPeer?.role?.permissions;
|
|
54
66
|
return permissions?.pollWrite;
|
|
@@ -187,7 +199,7 @@ export const PollAndQuizVoting: React.FC<PollAndQuizVotingProps> = ({
|
|
|
187
199
|
{selectedPoll &&
|
|
188
200
|
selectedPoll.type === HMSPollType.quiz &&
|
|
189
201
|
selectedPoll.state === HMSPollState.stopped &&
|
|
190
|
-
!
|
|
202
|
+
!localPeerPollInitiator ? (
|
|
191
203
|
<React.Fragment>
|
|
192
204
|
<VoterParticipationSummary pollId={selectedPoll.pollId} />
|
|
193
205
|
|
|
@@ -4,7 +4,6 @@ import type { TouchableOpacityProps } from 'react-native';
|
|
|
4
4
|
import { GestureDetector, Gesture } from 'react-native-gesture-handler';
|
|
5
5
|
|
|
6
6
|
import { useHMSRoomStyleSheet, useIsHLSViewer } from '../hooks-util';
|
|
7
|
-
import { hexToRgbA } from '../utils/theme';
|
|
8
7
|
|
|
9
8
|
interface PressableIconProps extends Omit<TouchableOpacityProps, 'children'> {
|
|
10
9
|
children: Pick<TouchableOpacityProps, 'children'>;
|
|
@@ -27,8 +26,7 @@ export const PressableIcon: React.FC<PressableIconProps> = ({
|
|
|
27
26
|
(theme) => ({
|
|
28
27
|
pressable: {
|
|
29
28
|
backgroundColor: isHLSViewer
|
|
30
|
-
? theme.palette.
|
|
31
|
-
hexToRgbA(theme.palette.background_dim, 0.64)
|
|
29
|
+
? theme.palette.surface_default
|
|
32
30
|
: undefined,
|
|
33
31
|
},
|
|
34
32
|
border: {
|