@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
|
@@ -4,10 +4,13 @@ import type { ImageProps } from 'react-native';
|
|
|
4
4
|
|
|
5
5
|
import { useHMSRoomStyle } from '../../hooks-util';
|
|
6
6
|
|
|
7
|
-
interface MinimizeIconProps extends Omit<ImageProps, 'source'> {
|
|
7
|
+
interface MinimizeIconProps extends Omit<ImageProps, 'source'> {
|
|
8
|
+
size?: 'normal' | 'medium';
|
|
9
|
+
}
|
|
8
10
|
|
|
9
11
|
export const MinimizeIcon: React.FC<MinimizeIconProps> = ({
|
|
10
12
|
style,
|
|
13
|
+
size = 'normal',
|
|
11
14
|
...restProps
|
|
12
15
|
}) => {
|
|
13
16
|
const iconStyles = useHMSRoomStyle((theme) => ({
|
|
@@ -16,8 +19,17 @@ export const MinimizeIcon: React.FC<MinimizeIconProps> = ({
|
|
|
16
19
|
|
|
17
20
|
return (
|
|
18
21
|
<Image
|
|
19
|
-
source={
|
|
20
|
-
|
|
22
|
+
source={
|
|
23
|
+
size === 'medium'
|
|
24
|
+
? require('./assets/minimize-med.png')
|
|
25
|
+
: require('./assets/minimize.png')
|
|
26
|
+
}
|
|
27
|
+
style={[
|
|
28
|
+
styles.icon,
|
|
29
|
+
iconStyles,
|
|
30
|
+
size === 'medium' ? styles.medSize : null,
|
|
31
|
+
style,
|
|
32
|
+
]}
|
|
21
33
|
{...restProps}
|
|
22
34
|
/>
|
|
23
35
|
);
|
|
@@ -30,4 +42,8 @@ const styles = StyleSheet.create({
|
|
|
30
42
|
alignItems: 'center',
|
|
31
43
|
justifyContent: 'center',
|
|
32
44
|
},
|
|
45
|
+
medSize: {
|
|
46
|
+
width: 32,
|
|
47
|
+
height: 32,
|
|
48
|
+
},
|
|
33
49
|
});
|
package/src/Icons/index.ts
CHANGED
|
@@ -8,7 +8,6 @@ import Animated, {
|
|
|
8
8
|
import type { SharedValue } from 'react-native-reanimated';
|
|
9
9
|
|
|
10
10
|
import { useHeaderHeight } from './Header';
|
|
11
|
-
import { useIsHLSViewer } from '../hooks-util';
|
|
12
11
|
|
|
13
12
|
export interface AnimatedHeaderProps {
|
|
14
13
|
offset: SharedValue<number>;
|
|
@@ -18,23 +17,16 @@ export const AnimatedHeader: React.FC<AnimatedHeaderProps> = ({
|
|
|
18
17
|
children,
|
|
19
18
|
offset,
|
|
20
19
|
}) => {
|
|
21
|
-
const isHLSViewer = useIsHLSViewer();
|
|
22
20
|
const headerHeight = useHeaderHeight();
|
|
23
21
|
|
|
24
22
|
const animatedStyles = useAnimatedStyle(() => {
|
|
25
|
-
if (isHLSViewer) {
|
|
26
|
-
return {
|
|
27
|
-
opacity: offset.value,
|
|
28
|
-
transform: [{ translateY: 0 }],
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
23
|
return {
|
|
32
24
|
opacity: interpolate(offset.value, [0, 0.3, 1], [0, 0.7, 1]),
|
|
33
25
|
transform: [
|
|
34
26
|
{ translateY: interpolate(offset.value, [0, 1], [-headerHeight, 0]) },
|
|
35
27
|
],
|
|
36
28
|
};
|
|
37
|
-
}, [headerHeight
|
|
29
|
+
}, [headerHeight]);
|
|
38
30
|
|
|
39
31
|
const animatedProps = useAnimatedProps((): {
|
|
40
32
|
pointerEvents: 'none' | 'auto';
|
|
@@ -28,12 +28,20 @@ import { ChatBroadcastFilter, ModalTypes } from '../../utils/types';
|
|
|
28
28
|
import { hexToRgbA } from '../../utils/theme';
|
|
29
29
|
|
|
30
30
|
interface ChatFilterBottomSheetOpenerProps {
|
|
31
|
-
|
|
31
|
+
overlay?: boolean;
|
|
32
|
+
useFilterModal?: boolean;
|
|
33
|
+
showActionBtn?: boolean;
|
|
34
|
+
useActionModal?: boolean;
|
|
32
35
|
}
|
|
33
36
|
|
|
34
37
|
const _ChatFilterBottomSheetOpener: React.FC<
|
|
35
38
|
ChatFilterBottomSheetOpenerProps
|
|
36
|
-
> = ({
|
|
39
|
+
> = ({
|
|
40
|
+
overlay = false,
|
|
41
|
+
useFilterModal = false,
|
|
42
|
+
showActionBtn = false,
|
|
43
|
+
useActionModal = false,
|
|
44
|
+
}) => {
|
|
37
45
|
const dispatch = useDispatch();
|
|
38
46
|
const canDisableChat = useHMSCanDisableChat();
|
|
39
47
|
const chatRecipients = useHMSChatRecipientSelector();
|
|
@@ -51,7 +59,7 @@ const _ChatFilterBottomSheetOpener: React.FC<
|
|
|
51
59
|
fontFamily: `${typography.font_family}-Regular`,
|
|
52
60
|
},
|
|
53
61
|
button: {
|
|
54
|
-
backgroundColor:
|
|
62
|
+
backgroundColor: overlay
|
|
55
63
|
? theme.palette.background_dim &&
|
|
56
64
|
hexToRgbA(theme.palette.background_dim, 0.64)
|
|
57
65
|
: theme.palette.primary_default,
|
|
@@ -66,16 +74,16 @@ const _ChatFilterBottomSheetOpener: React.FC<
|
|
|
66
74
|
hexToRgbA(theme.palette.background_dim, 0.64),
|
|
67
75
|
},
|
|
68
76
|
moreActionIcon: {
|
|
69
|
-
tintColor:
|
|
77
|
+
tintColor: overlay
|
|
70
78
|
? theme.palette.on_surface_low
|
|
71
79
|
: theme.palette.on_surface_medium,
|
|
72
80
|
},
|
|
73
81
|
}),
|
|
74
|
-
[
|
|
82
|
+
[overlay]
|
|
75
83
|
);
|
|
76
84
|
|
|
77
85
|
const openChatFiltersSheet = () => {
|
|
78
|
-
if (
|
|
86
|
+
if (useFilterModal) {
|
|
79
87
|
handleModalVisibleType(ModalTypes.CHAT_FILTER);
|
|
80
88
|
} else {
|
|
81
89
|
dispatch(setChatFilterSheetVisible(true));
|
|
@@ -83,7 +91,7 @@ const _ChatFilterBottomSheetOpener: React.FC<
|
|
|
83
91
|
};
|
|
84
92
|
|
|
85
93
|
const openChatMoreActionsSheet = () => {
|
|
86
|
-
if (
|
|
94
|
+
if (useActionModal) {
|
|
87
95
|
handleModalVisibleType(ModalTypes.CHAT_MORE_ACTIONS);
|
|
88
96
|
} else {
|
|
89
97
|
dispatch(setChatMoreActionsSheetVisible(true));
|
|
@@ -155,7 +163,7 @@ const _ChatFilterBottomSheetOpener: React.FC<
|
|
|
155
163
|
<View />
|
|
156
164
|
)}
|
|
157
165
|
|
|
158
|
-
{canDisableChat &&
|
|
166
|
+
{canDisableChat && showActionBtn ? (
|
|
159
167
|
<PressableIcon
|
|
160
168
|
onPress={openChatMoreActionsSheet}
|
|
161
169
|
style={[styles.moreAction, hmsRoomStyles.moreAction]}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { HMSRemotePeer } from '@100mslive/react-native-hms';
|
|
3
|
-
import {
|
|
3
|
+
import type { ListRenderItem } from '@shopify/flash-list';
|
|
4
|
+
import { FlashList } from '@shopify/flash-list';
|
|
4
5
|
import { StyleSheet, Text, View } from 'react-native';
|
|
6
|
+
import { HMSPeerType } from '@100mslive/react-native-hms';
|
|
5
7
|
import { useDispatch, useSelector } from 'react-redux';
|
|
6
8
|
|
|
7
9
|
import {
|
|
@@ -61,7 +63,9 @@ const _ChatFilterView: React.FC<ChatFilterViewProps> = ({ onDismiss }) => {
|
|
|
61
63
|
const fetchedRemotePeers = await hmsInstance.getRemotePeers();
|
|
62
64
|
if (mounted) {
|
|
63
65
|
setLoadingPeersList(false);
|
|
64
|
-
setRemotePeers(
|
|
66
|
+
setRemotePeers(
|
|
67
|
+
fetchedRemotePeers.filter((rp) => rp.type !== HMSPeerType.SIP)
|
|
68
|
+
);
|
|
65
69
|
}
|
|
66
70
|
};
|
|
67
71
|
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
// FlashListProps
|
|
6
6
|
} from '@shopify/flash-list';
|
|
7
7
|
import { Platform, StyleSheet, View } from 'react-native';
|
|
8
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
8
9
|
import { useSelector } from 'react-redux';
|
|
9
10
|
|
|
10
11
|
import type { RootState } from '../../redux';
|
|
@@ -14,10 +15,11 @@ import { PinnedMessages } from './PinnedMessages';
|
|
|
14
15
|
import { useIsAllowedToSendMessage } from '../../hooks-util';
|
|
15
16
|
|
|
16
17
|
type ChatListProps = {
|
|
18
|
+
style?: StyleProp<ViewStyle>;
|
|
17
19
|
// estimatedListSize?: FlashListProps<HMSMessage>['estimatedListSize'];
|
|
18
20
|
};
|
|
19
21
|
|
|
20
|
-
const _ChatList: React.FC<ChatListProps> = () => {
|
|
22
|
+
const _ChatList: React.FC<ChatListProps> = ({ style }) => {
|
|
21
23
|
const flashlistRef = React.useRef<null | FlashList<HMSMessage>>(null);
|
|
22
24
|
const isAllowedToSendMessage = useIsAllowedToSendMessage();
|
|
23
25
|
const messages = useSelector((state: RootState) => state.messages.messages);
|
|
@@ -36,6 +38,7 @@ const _ChatList: React.FC<ChatListProps> = () => {
|
|
|
36
38
|
style={[
|
|
37
39
|
chatListStyle.list,
|
|
38
40
|
isAllowedToSendMessage ? chatListStyle.bottomSpace : null,
|
|
41
|
+
style,
|
|
39
42
|
]}
|
|
40
43
|
>
|
|
41
44
|
<PinnedMessages />
|
|
@@ -5,6 +5,7 @@ import { SafeAreaView } from 'react-native-safe-area-context';
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
useHMSRoomStyleSheet,
|
|
8
|
+
useIsHLSViewer,
|
|
8
9
|
useShowChatAndParticipants,
|
|
9
10
|
} from '../../hooks-util';
|
|
10
11
|
import { ChatAndParticipantsHeader } from './ChatAndParticipantsHeader';
|
|
@@ -19,6 +20,7 @@ const _ChatAndParticipantsView: React.FC = () => {
|
|
|
19
20
|
const activeChatBottomSheetTab = useSelector(
|
|
20
21
|
(state: RootState) => state.app.activeChatBottomSheetTab
|
|
21
22
|
);
|
|
23
|
+
const isHLSViewer = useIsHLSViewer();
|
|
22
24
|
|
|
23
25
|
const { hide, canShowParticipants, canShowChat, overlayChatLayout } =
|
|
24
26
|
useShowChatAndParticipants();
|
|
@@ -35,7 +37,10 @@ const _ChatAndParticipantsView: React.FC = () => {
|
|
|
35
37
|
activeChatBottomSheetTab === 'Participants' && canShowParticipants;
|
|
36
38
|
|
|
37
39
|
const showChat =
|
|
38
|
-
|
|
40
|
+
!isHLSViewer &&
|
|
41
|
+
activeChatBottomSheetTab === 'Chat' &&
|
|
42
|
+
canShowChat &&
|
|
43
|
+
!overlayChatLayout;
|
|
39
44
|
|
|
40
45
|
return (
|
|
41
46
|
<SafeAreaView style={styles.container} edges={['left', 'right']}>
|
|
@@ -9,14 +9,12 @@ import { ModalTypes, PipModes } from '../utils/types';
|
|
|
9
9
|
import type { PeerTrackNode } from '../utils/types';
|
|
10
10
|
import { requestExternalStoragePermission } from '../utils/functions';
|
|
11
11
|
import {
|
|
12
|
-
ChangeAspectRatio,
|
|
13
12
|
ChangeRoleModal,
|
|
14
13
|
ChangeTrackStateModal,
|
|
15
14
|
SaveScreenshot,
|
|
16
15
|
} from './Modals';
|
|
17
16
|
import type { RootState } from '../redux';
|
|
18
17
|
import { GridView } from './GridView';
|
|
19
|
-
import { HLSView } from './HLSView';
|
|
20
18
|
import { PeerSettingsModalContent } from '../components/PeerSettingsModalContent';
|
|
21
19
|
import { StreamingQualityModalContent } from '../components/StreamingQualityModalContent';
|
|
22
20
|
import {
|
|
@@ -24,7 +22,6 @@ import {
|
|
|
24
22
|
useHMSInstance,
|
|
25
23
|
useHMSRoleChangeRequest,
|
|
26
24
|
useHMSSessionStoreListeners,
|
|
27
|
-
useIsHLSViewer,
|
|
28
25
|
useModalType,
|
|
29
26
|
} from '../hooks-util';
|
|
30
27
|
import { WebrtcView } from './WebrtcView';
|
|
@@ -48,7 +45,6 @@ export const DisplayView: React.FC<DisplayViewProps> = ({
|
|
|
48
45
|
}) => {
|
|
49
46
|
// --- 100ms SDK Instance ---
|
|
50
47
|
const hmsInstance = useHMSInstance();
|
|
51
|
-
const isHLSViewer = useIsHLSViewer();
|
|
52
48
|
|
|
53
49
|
const {
|
|
54
50
|
modalVisibleType: modalVisible,
|
|
@@ -130,16 +126,12 @@ export const DisplayView: React.FC<DisplayViewProps> = ({
|
|
|
130
126
|
|
|
131
127
|
return (
|
|
132
128
|
<View style={{ flex: 1 }}>
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
peerTrackNodes={peerTrackNodes}
|
|
140
|
-
handlePeerTileMorePress={handlePeerTileMorePress}
|
|
141
|
-
/>
|
|
142
|
-
)}
|
|
129
|
+
<WebrtcView
|
|
130
|
+
ref={gridViewRef}
|
|
131
|
+
offset={offset}
|
|
132
|
+
peerTrackNodes={peerTrackNodes}
|
|
133
|
+
handlePeerTileMorePress={handlePeerTileMorePress}
|
|
134
|
+
/>
|
|
143
135
|
|
|
144
136
|
{isPipModeActive ? null : (
|
|
145
137
|
<>
|
|
@@ -171,15 +163,6 @@ export const DisplayView: React.FC<DisplayViewProps> = ({
|
|
|
171
163
|
) : null}
|
|
172
164
|
</BottomSheet>
|
|
173
165
|
|
|
174
|
-
<DefaultModal
|
|
175
|
-
modalPosiion="center"
|
|
176
|
-
modalVisible={modalVisible === ModalTypes.HLS_PLAYER_ASPECT_RATIO}
|
|
177
|
-
setModalVisible={() => setModalVisible(ModalTypes.DEFAULT)}
|
|
178
|
-
>
|
|
179
|
-
<ChangeAspectRatio
|
|
180
|
-
cancelModal={() => setModalVisible(ModalTypes.DEFAULT)}
|
|
181
|
-
/>
|
|
182
|
-
</DefaultModal>
|
|
183
166
|
{/* Save Image Captured from Local Camera */}
|
|
184
167
|
<DefaultModal
|
|
185
168
|
modalPosiion="center"
|
|
@@ -193,6 +176,7 @@ export const DisplayView: React.FC<DisplayViewProps> = ({
|
|
|
193
176
|
/>
|
|
194
177
|
) : null}
|
|
195
178
|
</DefaultModal>
|
|
179
|
+
|
|
196
180
|
<DefaultModal
|
|
197
181
|
modalPosiion="center"
|
|
198
182
|
modalVisible={modalVisible === ModalTypes.STREAMING_QUALITY_SETTING}
|
|
@@ -207,6 +191,7 @@ export const DisplayView: React.FC<DisplayViewProps> = ({
|
|
|
207
191
|
/>
|
|
208
192
|
) : null}
|
|
209
193
|
</DefaultModal>
|
|
194
|
+
|
|
210
195
|
<DefaultModal
|
|
211
196
|
modalPosiion="center"
|
|
212
197
|
modalVisible={modalVisible === ModalTypes.CHANGE_TRACK}
|
|
@@ -219,6 +204,7 @@ export const DisplayView: React.FC<DisplayViewProps> = ({
|
|
|
219
204
|
/>
|
|
220
205
|
) : null}
|
|
221
206
|
</DefaultModal>
|
|
207
|
+
|
|
222
208
|
<DefaultModal
|
|
223
209
|
modalPosiion="center"
|
|
224
210
|
modalVisible={modalVisible === ModalTypes.CHANGE_ROLE}
|
|
@@ -6,9 +6,10 @@ import {
|
|
|
6
6
|
} from 'react-native-safe-area-context';
|
|
7
7
|
|
|
8
8
|
import {
|
|
9
|
+
useCanShowRoomOptionsButton,
|
|
10
|
+
useHMSConferencingScreenConfig,
|
|
9
11
|
useHMSLayoutConfig,
|
|
10
12
|
useHMSRoomStyle,
|
|
11
|
-
useIsHLSViewer,
|
|
12
13
|
useShowChatAndParticipants,
|
|
13
14
|
} from '../hooks-util';
|
|
14
15
|
import { HMSManageLeave } from './HMSManageLeave';
|
|
@@ -22,57 +23,28 @@ import {
|
|
|
22
23
|
useCanPublishScreen,
|
|
23
24
|
useCanPublishVideo,
|
|
24
25
|
} from '../hooks-sdk';
|
|
25
|
-
import { useSelector } from 'react-redux';
|
|
26
|
-
import type { RootState } from '../redux';
|
|
27
26
|
|
|
28
27
|
interface FooterProps {}
|
|
29
28
|
|
|
30
29
|
export const _Footer: React.FC<FooterProps> = () => {
|
|
31
|
-
const isHLSViewer = useIsHLSViewer();
|
|
32
30
|
const canPublishAudio = useCanPublishAudio();
|
|
33
31
|
const canPublishVideo = useCanPublishVideo();
|
|
34
32
|
const canPublishScreen = useCanPublishScreen();
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
);
|
|
33
|
+
const canShowOptions = useCanShowRoomOptionsButton();
|
|
34
|
+
const { canShowChat } = useShowChatAndParticipants();
|
|
38
35
|
|
|
39
36
|
const isViewer = !(canPublishAudio || canPublishVideo || canPublishScreen);
|
|
40
37
|
|
|
41
|
-
const { canShowParticipants, canShowChat } = useShowChatAndParticipants();
|
|
42
|
-
|
|
43
|
-
const canShowBRB = useHMSLayoutConfig(
|
|
44
|
-
(layoutConfig) =>
|
|
45
|
-
!!layoutConfig?.screens?.conferencing?.default?.elements?.brb
|
|
46
|
-
);
|
|
47
|
-
|
|
48
38
|
const isOnStage = useHMSLayoutConfig((layoutConfig) => {
|
|
49
39
|
return !!layoutConfig?.screens?.conferencing?.default?.elements
|
|
50
40
|
?.on_stage_exp;
|
|
51
41
|
});
|
|
52
42
|
|
|
53
|
-
const
|
|
54
|
-
(
|
|
55
|
-
!!state.hmsStates.localPeer?.role?.permissions?.browserRecording
|
|
43
|
+
const canRaiseHand = useHMSConferencingScreenConfig(
|
|
44
|
+
(confScreenConfig) => !!confScreenConfig?.elements?.hand_raise
|
|
56
45
|
);
|
|
57
46
|
|
|
58
|
-
const
|
|
59
|
-
const permissions = state.hmsStates.localPeer?.role?.permissions;
|
|
60
|
-
return permissions?.pollRead || permissions?.pollWrite;
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
const canEditUsernameFromRoomModal = isViewer && !editUsernameDisabled;
|
|
64
|
-
|
|
65
|
-
const canShowHandRaiseInFooter = !isOnStage && isViewer; // on_stage_exp object undefined && viewer -> show in footer
|
|
66
|
-
const canShowHandRaiseInRoomModal = !isOnStage && !isViewer; // on_stage_exp object undefined && publisher -> show in room modal
|
|
67
|
-
|
|
68
|
-
const canShowOptions =
|
|
69
|
-
canShowParticipants ||
|
|
70
|
-
canPublishScreen ||
|
|
71
|
-
canShowBRB ||
|
|
72
|
-
canShowHandRaiseInRoomModal ||
|
|
73
|
-
canStartRecording ||
|
|
74
|
-
canEditUsernameFromRoomModal ||
|
|
75
|
-
canReadOrWritePoll;
|
|
47
|
+
const canShowHandRaiseInFooter = canRaiseHand && !isOnStage && isViewer;
|
|
76
48
|
|
|
77
49
|
const footerActionButtons = useMemo(() => {
|
|
78
50
|
const actions = [];
|
|
@@ -113,16 +85,8 @@ export const _Footer: React.FC<FooterProps> = () => {
|
|
|
113
85
|
}));
|
|
114
86
|
|
|
115
87
|
return (
|
|
116
|
-
<SafeAreaView
|
|
117
|
-
style={
|
|
118
|
-
edges={['bottom', 'left', 'right']}
|
|
119
|
-
>
|
|
120
|
-
<View
|
|
121
|
-
style={[
|
|
122
|
-
styles.container,
|
|
123
|
-
isHLSViewer ? styles.hlsContainer : containerStyles,
|
|
124
|
-
]}
|
|
125
|
-
>
|
|
88
|
+
<SafeAreaView style={containerStyles} edges={['bottom', 'left', 'right']}>
|
|
89
|
+
<View style={[styles.container, containerStyles]}>
|
|
126
90
|
{footerActionButtons.map((actionType, index) => {
|
|
127
91
|
return (
|
|
128
92
|
<View
|
|
@@ -151,15 +115,11 @@ export const _Footer: React.FC<FooterProps> = () => {
|
|
|
151
115
|
};
|
|
152
116
|
|
|
153
117
|
export const useFooterHeight = (excludeSafeArea: boolean = false) => {
|
|
154
|
-
const isHLSViewer = useIsHLSViewer();
|
|
155
118
|
const { bottom } = useSafeAreaInsets();
|
|
156
119
|
|
|
157
120
|
return (
|
|
158
|
-
(excludeSafeArea ? 0 : bottom) +
|
|
159
|
-
|
|
160
|
-
(Platform.OS === 'android' ? 16 : 0) +
|
|
161
|
-
40
|
|
162
|
-
); // bottomSafeArea + paddingTop + marginBottom + content
|
|
121
|
+
(excludeSafeArea ? 0 : bottom) + (Platform.OS === 'android' ? 16 : 0) + 40
|
|
122
|
+
); // bottomSafeArea + marginBottom + content
|
|
163
123
|
};
|
|
164
124
|
|
|
165
125
|
const styles = StyleSheet.create({
|
|
@@ -171,9 +131,6 @@ const styles = StyleSheet.create({
|
|
|
171
131
|
justifyContent: 'center',
|
|
172
132
|
marginBottom: Platform.OS === 'android' ? 16 : 0, // TODO: need to correct hide animation offsets because of this change
|
|
173
133
|
},
|
|
174
|
-
hlsContainer: {
|
|
175
|
-
paddingTop: 8,
|
|
176
|
-
},
|
|
177
134
|
iconWrapper: {
|
|
178
135
|
marginLeft: 24,
|
|
179
136
|
},
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
|
|
4
|
+
import Animated, {
|
|
5
|
+
interpolate,
|
|
6
|
+
useAnimatedStyle,
|
|
7
|
+
} from 'react-native-reanimated';
|
|
8
|
+
import type { AnimatedStyle, SharedValue } from 'react-native-reanimated';
|
|
9
|
+
|
|
10
|
+
export interface HLSAnimatedDescriptionPaneProps {
|
|
11
|
+
sharedValue: SharedValue<number>;
|
|
12
|
+
height: number;
|
|
13
|
+
style?: StyleProp<AnimatedStyle<StyleProp<ViewStyle>>>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const HLSAnimatedDescriptionPane: React.FC<
|
|
17
|
+
HLSAnimatedDescriptionPaneProps
|
|
18
|
+
> = ({ children, style, sharedValue, height }) => {
|
|
19
|
+
const animatedStyles = useAnimatedStyle(
|
|
20
|
+
() => ({
|
|
21
|
+
// opacity: interpolate(sharedValue.value, [0, 0.3, 1], [0, 1, 1]),
|
|
22
|
+
transform: [
|
|
23
|
+
{
|
|
24
|
+
translateY: interpolate(sharedValue.value, [0, 1], [-height, 0]),
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
}),
|
|
28
|
+
[height]
|
|
29
|
+
);
|
|
30
|
+
|
|
31
|
+
return (
|
|
32
|
+
<Animated.View style={[{ flex: 1 }, animatedStyles, style]}>
|
|
33
|
+
{children}
|
|
34
|
+
</Animated.View>
|
|
35
|
+
);
|
|
36
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { StyleSheet } from 'react-native';
|
|
3
|
+
import { SafeAreaView } from 'react-native-safe-area-context';
|
|
4
|
+
|
|
5
|
+
import { useHMSRoomStyleSheet } from '../hooks-util';
|
|
6
|
+
import { HLSHandRaiseButton } from './HLSHandRaiseButton';
|
|
7
|
+
import { HLSRoomOptionsButton } from './HLSRoomOptionsButton';
|
|
8
|
+
import { HLSManageChatTextInput } from './HLSManageChatTextInput';
|
|
9
|
+
|
|
10
|
+
export const HLSChatFooterView = () => {
|
|
11
|
+
const hmsRoomStyles = useHMSRoomStyleSheet((theme) => ({
|
|
12
|
+
container: {
|
|
13
|
+
backgroundColor: theme.palette.surface_dim,
|
|
14
|
+
borderBottomColor: theme.palette.border_bright,
|
|
15
|
+
},
|
|
16
|
+
input: {
|
|
17
|
+
backgroundColor: theme.palette.surface_default,
|
|
18
|
+
borderColor: theme.palette.surface_default,
|
|
19
|
+
},
|
|
20
|
+
}));
|
|
21
|
+
|
|
22
|
+
return (
|
|
23
|
+
<SafeAreaView
|
|
24
|
+
edges={['bottom']}
|
|
25
|
+
style={[styles.container, hmsRoomStyles.container]}
|
|
26
|
+
>
|
|
27
|
+
<HLSManageChatTextInput />
|
|
28
|
+
|
|
29
|
+
<HLSHandRaiseButton />
|
|
30
|
+
|
|
31
|
+
<HLSRoomOptionsButton />
|
|
32
|
+
</SafeAreaView>
|
|
33
|
+
);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
const styles = StyleSheet.create({
|
|
37
|
+
container: {
|
|
38
|
+
padding: 16,
|
|
39
|
+
flexDirection: 'row',
|
|
40
|
+
// alignItems: 'center',
|
|
41
|
+
alignItems: 'flex-end',
|
|
42
|
+
},
|
|
43
|
+
input: {
|
|
44
|
+
flex: 0,
|
|
45
|
+
height: 40,
|
|
46
|
+
marginHorizontal: 0,
|
|
47
|
+
marginTop: 0,
|
|
48
|
+
marginBottom: 0,
|
|
49
|
+
},
|
|
50
|
+
chatPaused: {
|
|
51
|
+
flexShrink: 1,
|
|
52
|
+
},
|
|
53
|
+
});
|