@100mslive/react-native-room-kit 1.1.9 → 1.2.1
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/HMSRoomSetup.js +1 -1
- package/lib/commonjs/HMSRoomSetup.js.map +1 -1
- package/lib/commonjs/Icons/100ms/index.js +2 -2
- package/lib/commonjs/Icons/100ms/index.js.map +1 -1
- package/lib/commonjs/Icons/Add/index.js +2 -2
- package/lib/commonjs/Icons/Add/index.js.map +1 -1
- package/lib/commonjs/Icons/AddImage/index.js +2 -2
- package/lib/commonjs/Icons/AddImage/index.js.map +1 -1
- package/lib/commonjs/Icons/Alert/index.js +2 -2
- package/lib/commonjs/Icons/Alert/index.js.map +1 -1
- package/lib/commonjs/Icons/AlertTriangle/index.js +2 -2
- package/lib/commonjs/Icons/AlertTriangle/index.js.map +1 -1
- package/lib/commonjs/Icons/AnswerPhone/index.js +2 -2
- package/lib/commonjs/Icons/AnswerPhone/index.js.map +1 -1
- package/lib/commonjs/Icons/BRB/index.js +2 -2
- package/lib/commonjs/Icons/BRB/index.js.map +1 -1
- package/lib/commonjs/Icons/Bluetooth/index.js +2 -2
- package/lib/commonjs/Icons/Bluetooth/index.js.map +1 -1
- package/lib/commonjs/Icons/BlurPeople/index.js +2 -2
- package/lib/commonjs/Icons/BlurPeople/index.js.map +1 -1
- package/lib/commonjs/Icons/CC/index.js +2 -2
- package/lib/commonjs/Icons/CC/index.js.map +1 -1
- package/lib/commonjs/Icons/Camera/index.js +2 -2
- package/lib/commonjs/Icons/Camera/index.js.map +1 -1
- package/lib/commonjs/Icons/Chat/index.js +2 -2
- package/lib/commonjs/Icons/Chat/index.js.map +1 -1
- package/lib/commonjs/Icons/Check/index.js +2 -2
- package/lib/commonjs/Icons/Check/index.js.map +1 -1
- package/lib/commonjs/Icons/CheckBox/index.js +2 -2
- package/lib/commonjs/Icons/CheckBox/index.js.map +1 -1
- package/lib/commonjs/Icons/Chevron/index.js +2 -2
- package/lib/commonjs/Icons/Chevron/index.js.map +1 -1
- package/lib/commonjs/Icons/Clock/index.js +2 -2
- package/lib/commonjs/Icons/Clock/index.js.map +1 -1
- package/lib/commonjs/Icons/Close/index.js +2 -2
- package/lib/commonjs/Icons/Close/index.js.map +1 -1
- package/lib/commonjs/Icons/CrossCircle/index.js +2 -2
- package/lib/commonjs/Icons/CrossCircle/index.js.map +1 -1
- package/lib/commonjs/Icons/End/index.js +2 -2
- package/lib/commonjs/Icons/End/index.js.map +1 -1
- package/lib/commonjs/Icons/Eye/index.js +2 -2
- package/lib/commonjs/Icons/Eye/index.js.map +1 -1
- package/lib/commonjs/Icons/GenericLogo/index.js +2 -2
- package/lib/commonjs/Icons/GenericLogo/index.js.map +1 -1
- package/lib/commonjs/Icons/Hamburger/index.js +2 -2
- package/lib/commonjs/Icons/Hamburger/index.js.map +1 -1
- package/lib/commonjs/Icons/Hand/index.js +2 -2
- package/lib/commonjs/Icons/Hand/index.js.map +1 -1
- package/lib/commonjs/Icons/Headphones/index.js +2 -2
- package/lib/commonjs/Icons/Headphones/index.js.map +1 -1
- package/lib/commonjs/Icons/Leave/index.js +2 -2
- package/lib/commonjs/Icons/Leave/index.js.map +1 -1
- package/lib/commonjs/Icons/Maximize/index.js +2 -2
- package/lib/commonjs/Icons/Maximize/index.js.map +1 -1
- package/lib/commonjs/Icons/Mic/index.js +2 -2
- package/lib/commonjs/Icons/Mic/index.js.map +1 -1
- package/lib/commonjs/Icons/Minimize/index.js +2 -2
- package/lib/commonjs/Icons/Minimize/index.js.map +1 -1
- package/lib/commonjs/Icons/NetworkQuality/index.js +2 -2
- package/lib/commonjs/Icons/NetworkQuality/index.js.map +1 -1
- package/lib/commonjs/Icons/NoEntry/index.js +2 -2
- package/lib/commonjs/Icons/NoEntry/index.js.map +1 -1
- package/lib/commonjs/Icons/Participants/index.js +2 -2
- package/lib/commonjs/Icons/Participants/index.js.map +1 -1
- package/lib/commonjs/Icons/Pause/index.js +2 -2
- package/lib/commonjs/Icons/Pause/index.js.map +1 -1
- package/lib/commonjs/Icons/PauseCircle/index.js +2 -2
- package/lib/commonjs/Icons/PauseCircle/index.js.map +1 -1
- package/lib/commonjs/Icons/Pencil/index.js +2 -2
- package/lib/commonjs/Icons/Pencil/index.js.map +1 -1
- package/lib/commonjs/Icons/Person/index.js +2 -2
- package/lib/commonjs/Icons/Person/index.js.map +1 -1
- package/lib/commonjs/Icons/Pin/index.js +2 -2
- package/lib/commonjs/Icons/Pin/index.js.map +1 -1
- package/lib/commonjs/Icons/Play/index.js +2 -2
- package/lib/commonjs/Icons/Play/index.js.map +1 -1
- package/lib/commonjs/Icons/Poll/index.js +2 -2
- package/lib/commonjs/Icons/Poll/index.js.map +1 -1
- package/lib/commonjs/Icons/PollVote/index.js +2 -2
- package/lib/commonjs/Icons/PollVote/index.js.map +1 -1
- package/lib/commonjs/Icons/Quiz/index.js +2 -2
- package/lib/commonjs/Icons/Quiz/index.js.map +1 -1
- package/lib/commonjs/Icons/Radio/index.js +2 -2
- package/lib/commonjs/Icons/Radio/index.js.map +1 -1
- package/lib/commonjs/Icons/Recording/index.js +2 -2
- package/lib/commonjs/Icons/Recording/index.js.map +1 -1
- package/lib/commonjs/Icons/RotateCamera/index.js +2 -2
- package/lib/commonjs/Icons/RotateCamera/index.js.map +1 -1
- package/lib/commonjs/Icons/ScreenShare/index.js +2 -2
- package/lib/commonjs/Icons/ScreenShare/index.js.map +1 -1
- package/lib/commonjs/Icons/Search/index.js +2 -2
- package/lib/commonjs/Icons/Search/index.js.map +1 -1
- package/lib/commonjs/Icons/SeekArrow/index.js +2 -2
- package/lib/commonjs/Icons/SeekArrow/index.js.map +1 -1
- package/lib/commonjs/Icons/Send/index.js +2 -2
- package/lib/commonjs/Icons/Send/index.js.map +1 -1
- package/lib/commonjs/Icons/Settings/index.js +2 -2
- package/lib/commonjs/Icons/Settings/index.js.map +1 -1
- package/lib/commonjs/Icons/Speaker/index.js +2 -2
- package/lib/commonjs/Icons/Speaker/index.js.map +1 -1
- package/lib/commonjs/Icons/Star/index.js +2 -2
- package/lib/commonjs/Icons/Star/index.js.map +1 -1
- package/lib/commonjs/Icons/Stop/index.js +2 -2
- package/lib/commonjs/Icons/Stop/index.js.map +1 -1
- package/lib/commonjs/Icons/ThreeDots/index.js +2 -2
- package/lib/commonjs/Icons/ThreeDots/index.js.map +1 -1
- package/lib/commonjs/Icons/TrashBin/index.js +2 -2
- package/lib/commonjs/Icons/TrashBin/index.js.map +1 -1
- package/lib/commonjs/Icons/VirtualBackground/index.js +2 -2
- package/lib/commonjs/Icons/VirtualBackground/index.js.map +1 -1
- package/lib/commonjs/Icons/Wave/index.js +2 -2
- package/lib/commonjs/Icons/Wave/index.js.map +1 -1
- package/lib/commonjs/Icons/WelcomeHand/index.js +2 -2
- package/lib/commonjs/Icons/WelcomeHand/index.js.map +1 -1
- package/lib/commonjs/components/BottomSheet.js +2 -2
- package/lib/commonjs/components/BottomSheet.js.map +1 -1
- package/lib/commonjs/components/CaptionsModalContent.js +163 -0
- package/lib/commonjs/components/CaptionsModalContent.js.map +1 -0
- package/lib/commonjs/components/ChangeNameModalContent.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatBanner.js +8 -7
- package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterItem.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterView.js +4 -1
- package/lib/commonjs/components/Chat/ChatFilterView.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatMessage.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatMoreActionsView.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatPaused.js.map +1 -1
- package/lib/commonjs/components/Chat/MessageOptionsView.js.map +1 -1
- package/lib/commonjs/components/Chat/PeerBlockedFromChat.js.map +1 -1
- package/lib/commonjs/components/Chat/PinnedMessages.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -1
- package/lib/commonjs/components/CheckboxInputRow.js +1 -1
- package/lib/commonjs/components/CheckboxInputRow.js.map +1 -1
- package/lib/commonjs/components/CompanyLogo.js +2 -2
- package/lib/commonjs/components/CompanyLogo.js.map +1 -1
- package/lib/commonjs/components/CreatePoll.js.map +1 -1
- package/lib/commonjs/components/CustomButton.js +3 -1
- package/lib/commonjs/components/CustomButton.js.map +1 -1
- package/lib/commonjs/components/DefaultModal.js +1 -1
- package/lib/commonjs/components/DefaultModal.js.map +1 -1
- package/lib/commonjs/components/DisplayView.js +1 -1
- package/lib/commonjs/components/DisplayView.js.map +1 -1
- package/lib/commonjs/components/EndRoomModalContent.js.map +1 -1
- package/lib/commonjs/components/FullScreenIndicator.js +1 -1
- package/lib/commonjs/components/FullScreenIndicator.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/FullScreenWhiteboard.js +1 -1
- package/lib/commonjs/components/FullScreenWhiteboard.js.map +1 -1
- package/lib/commonjs/components/GridView.js.map +1 -1
- package/lib/commonjs/components/HLSChatHeaderView.js.map +1 -1
- package/lib/commonjs/components/HLSCloseMeetingControl.js +1 -1
- package/lib/commonjs/components/HLSCloseMeetingControl.js.map +1 -1
- package/lib/commonjs/components/HLSDescriptionPane.js.map +1 -1
- package/lib/commonjs/components/HLSDescriptionPaneHeader.js.map +1 -1
- package/lib/commonjs/components/HLSDistanceFromLive.js +1 -1
- package/lib/commonjs/components/HLSDistanceFromLive.js.map +1 -1
- package/lib/commonjs/components/HLSFullScreenControl.js +1 -1
- package/lib/commonjs/components/HLSFullScreenControl.js.map +1 -1
- package/lib/commonjs/components/HLSGoLiveControl.js +1 -1
- package/lib/commonjs/components/HLSGoLiveControl.js.map +1 -1
- package/lib/commonjs/components/HLSPlayer.js +1 -1
- package/lib/commonjs/components/HLSPlayer.js.map +1 -1
- package/lib/commonjs/components/HLSPlayerContainer.js +1 -1
- package/lib/commonjs/components/HLSPlayerContainer.js.map +1 -1
- package/lib/commonjs/components/HLSPlayerControls.js +1 -1
- package/lib/commonjs/components/HLSPlayerControls.js.map +1 -1
- package/lib/commonjs/components/HLSPlayerEmoticons.js +1 -1
- package/lib/commonjs/components/HLSPlayerEmoticons.js.map +1 -1
- package/lib/commonjs/components/HLSPlayerStatsView.js +1 -1
- package/lib/commonjs/components/HLSPlayerStatsView.js.map +1 -1
- package/lib/commonjs/components/HLSSeekbackwardControl.js.map +1 -1
- package/lib/commonjs/components/HLSSeekforwardControl.js.map +1 -1
- package/lib/commonjs/components/HLSStreamStartedTime.js.map +1 -1
- package/lib/commonjs/components/HLSViewerScreenContent.js +1 -1
- package/lib/commonjs/components/HLSViewerScreenContent.js.map +1 -1
- package/lib/commonjs/components/HMSDangerButton.js.map +1 -1
- package/lib/commonjs/components/HMSHLSMessage.js.map +1 -1
- package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -1
- package/lib/commonjs/components/HMSHLSStreamLoading.js.map +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/HMSLiveIndicator.js.map +1 -1
- package/lib/commonjs/components/HMSLiveViewerCount.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/HMSManageNoiseCancellation.js +1 -1
- package/lib/commonjs/components/HMSManageNoiseCancellation.js.map +1 -1
- package/lib/commonjs/components/HMSNotification.js +7 -0
- package/lib/commonjs/components/HMSNotification.js.map +1 -1
- package/lib/commonjs/components/HMSNotifications.js +1 -1
- package/lib/commonjs/components/HMSNotifications.js.map +1 -1
- package/lib/commonjs/components/HMSOverlayChatView.js +1 -1
- package/lib/commonjs/components/HMSOverlayChatView.js.map +1 -1
- package/lib/commonjs/components/HMSOverlayMessageView.js.map +1 -1
- package/lib/commonjs/components/HMSPollsQuizzesNotification.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewHLSLiveIndicator.js +2 -0
- package/lib/commonjs/components/HMSPreviewHLSLiveIndicator.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewPeersList.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewSubtitle.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewTile.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewTitle.js.map +1 -1
- package/lib/commonjs/components/HMSPrimaryButton.js.map +1 -1
- package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js.map +1 -1
- package/lib/commonjs/components/HMSRoomOptions.js +6 -0
- package/lib/commonjs/components/HMSRoomOptions.js.map +1 -1
- package/lib/commonjs/components/HMSSecondaryButton.js.map +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/LeaderboardEntry.js.map +1 -1
- package/lib/commonjs/components/LeaveRoomBottomSheet.js.map +1 -1
- package/lib/commonjs/components/MeetingScreenContent.js +18 -2
- package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
- package/lib/commonjs/components/MenuModal/Menu.js +1 -1
- package/lib/commonjs/components/MenuModal/Menu.js.map +1 -1
- package/lib/commonjs/components/MenuModal/MenuDivider.js +3 -1
- package/lib/commonjs/components/MenuModal/MenuDivider.js.map +1 -1
- package/lib/commonjs/components/MenuModal/MenuItem.js +2 -2
- package/lib/commonjs/components/MenuModal/MenuItem.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/Participants/MultiRoleParticipantsList.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsAccordian.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsGroupFooter.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsItem.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsItemOption.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsItemOptions.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsList.js +4 -1
- package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -1
- package/lib/commonjs/components/ParticipantsCount.js.map +1 -1
- package/lib/commonjs/components/PeerDisplayView.js +2 -2
- package/lib/commonjs/components/PeerDisplayView.js.map +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/PeerRTCStatsView.js +1 -1
- package/lib/commonjs/components/PeerRTCStatsView.js.map +1 -1
- package/lib/commonjs/components/PeerSettingsModalContent.js +1 -1
- package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/AvatarView.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/PeerNameAndNetwork.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js +2 -2
- package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/VideoView.js.map +1 -1
- package/lib/commonjs/components/PollAndQuizQuestionResponseCard.js.map +1 -1
- package/lib/commonjs/components/PollAndQuizVoting.js.map +1 -1
- package/lib/commonjs/components/PollAndQuizzStateLabel.js.map +1 -1
- package/lib/commonjs/components/PollQuestion.js.map +1 -1
- package/lib/commonjs/components/PollQuestionDeleteConfirmation.js.map +1 -1
- package/lib/commonjs/components/PollQuestions.js.map +1 -1
- package/lib/commonjs/components/PollResponseProgressView.js.map +1 -1
- package/lib/commonjs/components/PollsAndQuizzesCard.js.map +1 -1
- package/lib/commonjs/components/PollsConfigAndList.js.map +1 -1
- package/lib/commonjs/components/PressableIcon.js +1 -1
- package/lib/commonjs/components/PressableIcon.js.map +1 -1
- package/lib/commonjs/components/Preview.js +1 -1
- 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.map +1 -1
- package/lib/commonjs/components/QuizEndOptionsView.js.map +1 -1
- package/lib/commonjs/components/QuizLeaderboardEntriesScreen.js.map +1 -1
- package/lib/commonjs/components/QuizLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/components/QuizLeaderboardSummary.js.map +1 -1
- package/lib/commonjs/components/RadioInput.js +1 -1
- package/lib/commonjs/components/RadioInput.js.map +1 -1
- package/lib/commonjs/components/RadioInputRow.js +1 -1
- package/lib/commonjs/components/RadioInputRow.js.map +1 -1
- package/lib/commonjs/components/ReconnectionView.js.map +1 -1
- package/lib/commonjs/components/RoomSettingsModalContent.js +42 -0
- package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js +1 -1
- package/lib/commonjs/components/RoomSettingsModalDebugModeContent.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.map +1 -1
- package/lib/commonjs/components/SwitchRow.js +1 -1
- package/lib/commonjs/components/SwitchRow.js.map +1 -1
- package/lib/commonjs/components/Tile.js +1 -1
- package/lib/commonjs/components/Tile.js.map +1 -1
- package/lib/commonjs/components/TilesContainer.js +1 -1
- package/lib/commonjs/components/TilesContainer.js.map +1 -1
- package/lib/commonjs/components/VirtualBackgroundModalContent.js +1 -1
- package/lib/commonjs/components/VirtualBackgroundModalContent.js.map +1 -1
- package/lib/commonjs/components/VoterParticipationSummary.js.map +1 -1
- package/lib/commonjs/components/WebrtcTranscriptOverlayView.js +121 -0
- package/lib/commonjs/components/WebrtcTranscriptOverlayView.js.map +1 -0
- package/lib/commonjs/components/WebrtcView.js +5 -2
- package/lib/commonjs/components/WebrtcView.js.map +1 -1
- package/lib/commonjs/components/WelcomeInMeeting.js.map +1 -1
- package/lib/commonjs/components/Whiteboard.js +1 -1
- package/lib/commonjs/components/Whiteboard.js.map +1 -1
- package/lib/commonjs/hooks-util.js +65 -8
- package/lib/commonjs/hooks-util.js.map +1 -1
- package/lib/commonjs/redux/actionTypes.js +3 -1
- package/lib/commonjs/redux/actionTypes.js.map +1 -1
- package/lib/commonjs/redux/actions/index.js +9 -2
- package/lib/commonjs/redux/actions/index.js.map +1 -1
- package/lib/commonjs/redux/index.js +1 -1
- package/lib/commonjs/redux/index.js.map +1 -1
- package/lib/commonjs/redux/reducers/appState.js +9 -1
- package/lib/commonjs/redux/reducers/appState.js.map +1 -1
- package/lib/commonjs/redux/reducers/index.js +1 -1
- package/lib/commonjs/redux/reducers/index.js.map +1 -1
- package/lib/commonjs/utils/functions.js +1 -1
- package/lib/commonjs/utils/functions.js.map +1 -1
- package/lib/commonjs/utils/hooks.js.map +1 -1
- package/lib/commonjs/utils/theme.js.map +1 -1
- package/lib/commonjs/utils/types.js +1 -0
- package/lib/commonjs/utils/types.js.map +1 -1
- package/lib/module/HMSRoomSetup.js.map +1 -1
- package/lib/module/Icons/100ms/index.js +1 -1
- package/lib/module/Icons/Add/index.js +1 -1
- package/lib/module/Icons/AddImage/index.js +1 -1
- package/lib/module/Icons/Alert/index.js +1 -1
- package/lib/module/Icons/AlertTriangle/index.js +1 -1
- package/lib/module/Icons/AnswerPhone/index.js +1 -1
- package/lib/module/Icons/BRB/index.js +1 -1
- package/lib/module/Icons/Bluetooth/index.js +1 -1
- package/lib/module/Icons/BlurPeople/index.js +1 -1
- package/lib/module/Icons/CC/index.js +1 -1
- package/lib/module/Icons/Camera/index.js +1 -1
- package/lib/module/Icons/Chat/index.js +1 -1
- package/lib/module/Icons/Check/index.js +1 -1
- package/lib/module/Icons/CheckBox/index.js +1 -1
- package/lib/module/Icons/Chevron/index.js +1 -1
- package/lib/module/Icons/Clock/index.js +1 -1
- package/lib/module/Icons/Close/index.js +1 -1
- package/lib/module/Icons/CrossCircle/index.js +1 -1
- package/lib/module/Icons/End/index.js +1 -1
- package/lib/module/Icons/Eye/index.js +1 -1
- package/lib/module/Icons/GenericLogo/index.js +1 -1
- package/lib/module/Icons/Hamburger/index.js +1 -1
- package/lib/module/Icons/Hand/index.js +1 -1
- package/lib/module/Icons/Headphones/index.js +1 -1
- package/lib/module/Icons/Leave/index.js +1 -1
- package/lib/module/Icons/Maximize/index.js +1 -1
- package/lib/module/Icons/Mic/index.js +1 -1
- package/lib/module/Icons/Minimize/index.js +1 -1
- package/lib/module/Icons/NetworkQuality/index.js +1 -1
- package/lib/module/Icons/NoEntry/index.js +1 -1
- package/lib/module/Icons/Participants/index.js +1 -1
- package/lib/module/Icons/Pause/index.js +1 -1
- package/lib/module/Icons/PauseCircle/index.js +1 -1
- package/lib/module/Icons/Pencil/index.js +1 -1
- package/lib/module/Icons/Person/index.js +1 -1
- package/lib/module/Icons/Pin/index.js +1 -1
- package/lib/module/Icons/Play/index.js +1 -1
- package/lib/module/Icons/Poll/index.js +1 -1
- package/lib/module/Icons/PollVote/index.js +1 -1
- package/lib/module/Icons/Quiz/index.js +1 -1
- package/lib/module/Icons/Radio/index.js +1 -1
- package/lib/module/Icons/Recording/index.js +1 -1
- package/lib/module/Icons/RotateCamera/index.js +1 -1
- package/lib/module/Icons/ScreenShare/index.js +1 -1
- package/lib/module/Icons/Search/index.js +1 -1
- package/lib/module/Icons/SeekArrow/index.js +1 -1
- package/lib/module/Icons/Send/index.js +1 -1
- package/lib/module/Icons/Settings/index.js +1 -1
- package/lib/module/Icons/Speaker/index.js +1 -1
- package/lib/module/Icons/Star/index.js +1 -1
- package/lib/module/Icons/Stop/index.js +1 -1
- package/lib/module/Icons/ThreeDots/index.js +1 -1
- package/lib/module/Icons/TrashBin/index.js +1 -1
- package/lib/module/Icons/VirtualBackground/index.js +1 -1
- package/lib/module/Icons/Wave/index.js +1 -1
- package/lib/module/Icons/WelcomeHand/index.js +1 -1
- package/lib/module/components/BottomSheet.js +1 -1
- package/lib/module/components/BottomSheet.js.map +1 -1
- package/lib/module/components/CaptionsModalContent.js +154 -0
- package/lib/module/components/CaptionsModalContent.js.map +1 -0
- package/lib/module/components/ChangeNameModalContent.js.map +1 -1
- package/lib/module/components/Chat/ChatBanner.js +2 -1
- package/lib/module/components/Chat/ChatBanner.js.map +1 -1
- package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -1
- package/lib/module/components/Chat/ChatFilterItem.js.map +1 -1
- package/lib/module/components/Chat/ChatFilterView.js +4 -1
- package/lib/module/components/Chat/ChatFilterView.js.map +1 -1
- package/lib/module/components/Chat/ChatMessage.js.map +1 -1
- package/lib/module/components/Chat/ChatMoreActionsView.js.map +1 -1
- package/lib/module/components/Chat/ChatPaused.js.map +1 -1
- package/lib/module/components/Chat/MessageOptionsView.js.map +1 -1
- package/lib/module/components/Chat/PeerBlockedFromChat.js.map +1 -1
- package/lib/module/components/Chat/PinnedMessages.js.map +1 -1
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -1
- package/lib/module/components/CheckboxInputRow.js.map +1 -1
- package/lib/module/components/CompanyLogo.js +1 -1
- package/lib/module/components/CreatePoll.js.map +1 -1
- package/lib/module/components/CustomButton.js +1 -0
- package/lib/module/components/CustomButton.js.map +1 -1
- package/lib/module/components/DisplayView.js +2 -2
- package/lib/module/components/DisplayView.js.map +1 -1
- package/lib/module/components/EndRoomModalContent.js.map +1 -1
- package/lib/module/components/GridView.js.map +1 -1
- package/lib/module/components/HLSChatHeaderView.js.map +1 -1
- package/lib/module/components/HLSDescriptionPane.js.map +1 -1
- package/lib/module/components/HLSDescriptionPaneHeader.js.map +1 -1
- package/lib/module/components/HLSDistanceFromLive.js.map +1 -1
- package/lib/module/components/HLSGoLiveControl.js.map +1 -1
- package/lib/module/components/HLSPlayer.js.map +1 -1
- package/lib/module/components/HLSPlayerEmoticons.js.map +1 -1
- package/lib/module/components/HLSSeekbackwardControl.js.map +1 -1
- package/lib/module/components/HLSSeekforwardControl.js.map +1 -1
- package/lib/module/components/HLSStreamStartedTime.js.map +1 -1
- package/lib/module/components/HMSDangerButton.js.map +1 -1
- package/lib/module/components/HMSHLSMessage.js.map +1 -1
- package/lib/module/components/HMSHLSNotStarted.js.map +1 -1
- package/lib/module/components/HMSHLSStreamLoading.js.map +1 -1
- package/lib/module/components/HMSHandRaiseNotification.js.map +1 -1
- package/lib/module/components/HMSLiveIndicator.js.map +1 -1
- package/lib/module/components/HMSLiveViewerCount.js.map +1 -1
- package/lib/module/components/HMSManageAudioOutput.js.map +1 -1
- package/lib/module/components/HMSNotification.js +8 -1
- package/lib/module/components/HMSNotification.js.map +1 -1
- package/lib/module/components/HMSNotifications.js +1 -1
- package/lib/module/components/HMSNotifications.js.map +1 -1
- package/lib/module/components/HMSOverlayMessageView.js.map +1 -1
- package/lib/module/components/HMSPollsQuizzesNotification.js.map +1 -1
- package/lib/module/components/HMSPreviewHLSLiveIndicator.js +1 -0
- package/lib/module/components/HMSPreviewHLSLiveIndicator.js.map +1 -1
- package/lib/module/components/HMSPreviewPeersList.js.map +1 -1
- package/lib/module/components/HMSPreviewSubtitle.js.map +1 -1
- package/lib/module/components/HMSPreviewTile.js.map +1 -1
- package/lib/module/components/HMSPreviewTitle.js.map +1 -1
- package/lib/module/components/HMSPrimaryButton.js.map +1 -1
- package/lib/module/components/HMSRoleChangeDeclinedNotification.js.map +1 -1
- package/lib/module/components/HMSRoomOptions.js +6 -0
- package/lib/module/components/HMSRoomOptions.js.map +1 -1
- package/lib/module/components/HMSSecondaryButton.js.map +1 -1
- package/lib/module/components/HMSTerminalErrorNotification.js.map +1 -1
- package/lib/module/components/HMSTextInput.js +1 -1
- package/lib/module/components/HMSTextInput.js.map +1 -1
- package/lib/module/components/HMSVideoView.js +1 -1
- package/lib/module/components/LeaderboardEntry.js.map +1 -1
- package/lib/module/components/LeaveRoomBottomSheet.js.map +1 -1
- package/lib/module/components/MeetingScreenContent.js +18 -2
- package/lib/module/components/MeetingScreenContent.js.map +1 -1
- package/lib/module/components/MenuModal/MenuDivider.js +1 -0
- package/lib/module/components/MenuModal/MenuDivider.js.map +1 -1
- package/lib/module/components/MenuModal/MenuItem.js +1 -1
- package/lib/module/components/Modals.js.map +1 -1
- package/lib/module/components/Participants/MultiRoleParticipantsList.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsAccordian.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsGroupFooter.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsGroupHeader.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsItem.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsItemOption.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsItemOptions.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsList.js +4 -1
- package/lib/module/components/Participants/ParticipantsList.js.map +1 -1
- package/lib/module/components/ParticipantsCount.js.map +1 -1
- package/lib/module/components/PeerDisplayView.js +1 -1
- package/lib/module/components/PeerDisplayView.js.map +1 -1
- package/lib/module/components/PeerMinimizedView.js.map +1 -1
- package/lib/module/components/PeerSettingsModalContent.js.map +1 -1
- package/lib/module/components/PeerVideoTile/AvatarView.js.map +1 -1
- package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
- package/lib/module/components/PeerVideoTile/PeerVideoTileView.js +2 -2
- package/lib/module/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
- package/lib/module/components/PeerVideoTile/VideoView.js.map +1 -1
- package/lib/module/components/PollAndQuizQuestionResponseCard.js.map +1 -1
- package/lib/module/components/PollAndQuizVoting.js.map +1 -1
- package/lib/module/components/PollAndQuizzStateLabel.js.map +1 -1
- package/lib/module/components/PollQuestion.js.map +1 -1
- package/lib/module/components/PollQuestionDeleteConfirmation.js.map +1 -1
- package/lib/module/components/PollQuestions.js.map +1 -1
- package/lib/module/components/PollResponseProgressView.js.map +1 -1
- package/lib/module/components/PollsAndQuizzesCard.js.map +1 -1
- package/lib/module/components/PollsConfigAndList.js.map +1 -1
- package/lib/module/components/PressableIcon.js +1 -1
- package/lib/module/components/PreviewForRoleChangeModal.js.map +1 -1
- package/lib/module/components/PreviousPollsAndQuizzesList.js.map +1 -1
- package/lib/module/components/QuizEndOptionsView.js.map +1 -1
- package/lib/module/components/QuizLeaderboardEntriesScreen.js.map +1 -1
- package/lib/module/components/QuizLeaderboardScreen.js.map +1 -1
- package/lib/module/components/QuizLeaderboardSummary.js.map +1 -1
- package/lib/module/components/RadioInputRow.js.map +1 -1
- package/lib/module/components/ReconnectionView.js.map +1 -1
- package/lib/module/components/RoomSettingsModalContent.js +45 -3
- package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/module/components/RoomSettingsModalDebugModeContent.js.map +1 -1
- package/lib/module/components/StatusBar.js +1 -1
- package/lib/module/components/StopRecordingModalContent.js.map +1 -1
- package/lib/module/components/VirtualBackgroundModalContent.js +1 -1
- package/lib/module/components/VirtualBackgroundModalContent.js.map +1 -1
- package/lib/module/components/VoterParticipationSummary.js.map +1 -1
- package/lib/module/components/WebrtcTranscriptOverlayView.js +113 -0
- package/lib/module/components/WebrtcTranscriptOverlayView.js.map +1 -0
- package/lib/module/components/WebrtcView.js +5 -2
- package/lib/module/components/WebrtcView.js.map +1 -1
- package/lib/module/components/WelcomeInMeeting.js.map +1 -1
- package/lib/module/components/Whiteboard.js +1 -1
- package/lib/module/hooks-util.js +69 -15
- package/lib/module/hooks-util.js.map +1 -1
- package/lib/module/redux/actionTypes.js +3 -1
- package/lib/module/redux/actionTypes.js.map +1 -1
- package/lib/module/redux/actions/index.js +6 -0
- package/lib/module/redux/actions/index.js.map +1 -1
- package/lib/module/redux/reducers/appState.js +9 -1
- package/lib/module/redux/reducers/appState.js.map +1 -1
- package/lib/module/utils/hooks.js.map +1 -1
- package/lib/module/utils/theme.js.map +1 -1
- package/lib/module/utils/types.js +1 -0
- package/lib/module/utils/types.js.map +1 -1
- package/lib/typescript/components/CaptionsModalContent.d.ts +6 -0
- package/lib/typescript/components/CaptionsModalContent.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatBanner.d.ts +1 -1
- package/lib/typescript/components/Chat/ChatBanner.d.ts.map +1 -1
- package/lib/typescript/components/CustomButton.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewHLSLiveIndicator.d.ts.map +1 -1
- package/lib/typescript/components/HMSRoomOptions.d.ts.map +1 -1
- package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -1
- package/lib/typescript/components/MenuModal/MenuDivider.d.ts.map +1 -1
- package/lib/typescript/components/Modals.d.ts +1 -1
- package/lib/typescript/components/Modals.d.ts.map +1 -1
- package/lib/typescript/components/Participants/ParticipantsList.d.ts.map +1 -1
- package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -1
- package/lib/typescript/components/WebrtcTranscriptOverlayView.d.ts +7 -0
- package/lib/typescript/components/WebrtcTranscriptOverlayView.d.ts.map +1 -0
- package/lib/typescript/components/WebrtcView.d.ts.map +1 -1
- package/lib/typescript/hooks-sdk-selectors.d.ts +2 -2
- package/lib/typescript/hooks-sdk.d.ts.map +1 -1
- package/lib/typescript/hooks-util.d.ts +8 -9
- package/lib/typescript/hooks-util.d.ts.map +1 -1
- package/lib/typescript/redux/actionTypes.d.ts +1 -0
- package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
- package/lib/typescript/redux/actions/index.d.ts +45 -39
- package/lib/typescript/redux/actions/index.d.ts.map +1 -1
- package/lib/typescript/redux/index.d.ts +14 -15
- package/lib/typescript/redux/index.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/appState.d.ts +1 -0
- package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/index.d.ts +14 -15
- package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
- package/lib/typescript/types.d.ts +3 -3
- package/lib/typescript/types.d.ts.map +1 -1
- package/lib/typescript/utils/dimension.d.ts.map +1 -1
- package/lib/typescript/utils/functions.d.ts +1 -1
- package/lib/typescript/utils/functions.d.ts.map +1 -1
- package/lib/typescript/utils/hooks.d.ts +2 -2
- package/lib/typescript/utils/types.d.ts +1 -0
- package/lib/typescript/utils/types.d.ts.map +1 -1
- package/lib/typescript/utils.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/components/CaptionsModalContent.tsx +217 -0
- package/src/components/Chat/ChatBanner.tsx +2 -2
- package/src/components/Chat/ChatFilterView.tsx +1 -1
- package/src/components/CustomButton.tsx +1 -0
- package/src/components/DisplayView.tsx +2 -2
- package/src/components/HMSNotification.tsx +3 -2
- package/src/components/HMSNotifications.tsx +1 -1
- package/src/components/HMSPreviewHLSLiveIndicator.tsx +1 -0
- package/src/components/HMSRoomOptions.tsx +8 -0
- package/src/components/MeetingScreenContent.tsx +23 -2
- package/src/components/MenuModal/MenuDivider.tsx +1 -0
- package/src/components/Participants/ParticipantsList.tsx +3 -1
- package/src/components/PeerDisplayView.tsx +1 -1
- package/src/components/PeerVideoTile/PeerVideoTileView.tsx +2 -2
- package/src/components/RoomSettingsModalContent.tsx +61 -2
- package/src/components/VirtualBackgroundModalContent.tsx +1 -1
- package/src/components/WebrtcTranscriptOverlayView.tsx +176 -0
- package/src/components/WebrtcView.tsx +5 -2
- package/src/hooks-util.ts +113 -40
- package/src/redux/actionTypes.ts +3 -0
- package/src/redux/actions/index.ts +5 -0
- package/src/redux/reducers/appState.ts +8 -0
- package/src/types.ts +8 -3
- package/src/utils/types.ts +1 -0
package/lib/module/hooks-util.js
CHANGED
|
@@ -1,21 +1,18 @@
|
|
|
1
|
-
import { HMSConfig, HMSMessage, HMSMessageRecipientType, HMSPIPListenerActions,
|
|
2
|
-
import { SoftInputModes } from '@100mslive/react-native-hms';
|
|
1
|
+
import { getSoftInputMode, HMSConfig, HMSHLSPlayerPlaybackState, HMSMessage, HMSMessageRecipient, HMSMessageRecipientType, HMSPeerUpdate, HMSPIPListenerActions, HMSPollUpdateType, HMSRoomUpdate, HMSTrackSource, HMSTrackType, HMSTrackUpdate, HMSUpdateListenerActions, HMSVideoViewMode, setSoftInputMode, SoftInputModes, TranscriptionsMode, TranscriptionState, useHMSHLSPlayerCue, useHMSHLSPlayerPlaybackState, useHMSHLSPlayerResolution, useHmsViewsResolutionsState, WindowController } from '@100mslive/react-native-hms';
|
|
3
2
|
import Toast from 'react-native-simple-toast';
|
|
4
|
-
import {
|
|
5
|
-
import { MaxTilesInOnePage, ModalTypes, OnLeaveReason, PeerListRefreshInterval, PipModes } from './utils/types';
|
|
6
|
-
import { ChatBroadcastFilter } from './utils/types';
|
|
3
|
+
import { useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';
|
|
4
|
+
import { ChatBroadcastFilter, MaxTilesInOnePage, ModalTypes, OnLeaveReason, PeerListRefreshInterval, PipModes } from './utils/types';
|
|
7
5
|
import { createPeerTrackNode, parseMetadata } from './utils/functions';
|
|
8
6
|
import { batch, shallowEqual, useDispatch, useSelector, useStore } from 'react-redux';
|
|
9
|
-
import { addCuedPollId, addMessage, addNotification, addParticipant, addParticipants, addPinnedMessages, addScreenshareTile, addUpdateParticipant, changeMeetingState, changePipModeStatus, changeStartingHLSStream, clearStore, filterOutMsgsFromBlockedPeers, removeNotification, removeParticipant, removeParticipants, removeScreenshareTile, replaceParticipantsList, saveUserData, setActiveChatBottomSheetTab, setActiveSpeakers, setAndroidHLSStreamPaused, setAutoEnterPipMode, setChatPeerBlacklist, setChatState, setEditUsernameDisabled, setFullScreenPeerTrackNode, setHMSLocalPeerState, setHMSRoleState, setHMSRoomState,
|
|
7
|
+
import { addCuedPollId, addMessage, addNotification, addParticipant, addParticipants, addPinnedMessages, addScreenshareTile, addUpdateParticipant, changeMeetingState, changePipModeStatus, changeStartingHLSStream, clearStore, filterOutMsgsFromBlockedPeers, removeNotification, removeParticipant, removeParticipants, removeScreenshareTile, replaceParticipantsList, saveUserData, setActiveChatBottomSheetTab, setActiveSpeakers, setAndroidHLSStreamPaused, setAutoEnterPipMode, setChatPeerBlacklist, setChatState, setEditUsernameDisabled, setFullScreenPeerTrackNode, setHandleBackButton, setHMSLocalPeerState, setHMSRoleState, setHMSRoomState, setIsLocalAudioMutedState, setIsLocalVideoMutedState, setLayoutConfig, setLocalPeerTrackNode, setMiniViewPeerTrackNode, setModalType, setOnLeaveHandler, setPrebuiltData, setReconnecting, setRoleChangeRequest, setStartingOrStoppingRecording, updateFullScreenPeerTrackNode, updateLocalPeerTrackNode, updateMiniViewPeerTrackNode, updateScreenshareTile } from './redux/actions';
|
|
10
8
|
import { createPeerTrackNodeUniqueId, degradeOrRestorePeerTrackNodes, peerTrackNodeExistForPeer, peerTrackNodeExistForPeerAndTrack, removePeerTrackNodes, removePeerTrackNodesWithTrack, replacePeerTrackNodes, replacePeerTrackNodesWithTrack } from './peerTrackNodeUtils';
|
|
11
|
-
import { MeetingState } from './types';
|
|
9
|
+
import { MeetingState, NotificationTypes } from './types';
|
|
12
10
|
import { BackHandler, InteractionManager, Keyboard, Platform } from 'react-native';
|
|
13
11
|
import { NavigationContext } from '@react-navigation/native';
|
|
14
12
|
import { useIsLandscapeOrientation, useIsPortraitOrientation } from './utils/dimension';
|
|
15
13
|
import { selectChatLayoutConfig, selectConferencingScreenConfig, selectIsHLSViewer, selectLayoutConfigForRole, selectShouldGoLive, selectVideoTileLayoutConfig } from './hooks-util-selectors';
|
|
16
14
|
import { getRoomLayout } from './modules/HMSManager';
|
|
17
15
|
import { DEFAULT_THEME, DEFAULT_TYPOGRAPHY } from './utils/theme';
|
|
18
|
-
import { NotificationTypes } from './types';
|
|
19
16
|
import { KeyboardState, useSharedValue } from 'react-native-reanimated';
|
|
20
17
|
import { useCanPublishAudio, useCanPublishScreen, useCanPublishVideo, useHMSActions } from './hooks-sdk';
|
|
21
18
|
import { useSafeAreaFrame, useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
@@ -44,6 +41,43 @@ const useHMSRoomUpdate = hmsInstance => {
|
|
|
44
41
|
}
|
|
45
42
|
} else if (type === HMSRoomUpdate.HLS_STREAMING_STATE_UPDATED) {
|
|
46
43
|
dispatch(changeStartingHLSStream(false));
|
|
44
|
+
} else if (type === HMSRoomUpdate.TRANSCRIPTIONS_UPDATED) {
|
|
45
|
+
var _room$transcriptions;
|
|
46
|
+
const captionTranscription = (_room$transcriptions = room.transcriptions) === null || _room$transcriptions === void 0 ? void 0 : _room$transcriptions.find(transcription => transcription.mode === TranscriptionsMode.CAPTION);
|
|
47
|
+
if ((captionTranscription === null || captionTranscription === void 0 ? void 0 : captionTranscription.state) === TranscriptionState.STARTED) {
|
|
48
|
+
batch(() => {
|
|
49
|
+
dispatch(removeNotification('enable-cc'));
|
|
50
|
+
dispatch(addNotification({
|
|
51
|
+
id: Math.random().toString(16).slice(2),
|
|
52
|
+
type: NotificationTypes.INFO,
|
|
53
|
+
icon: 'cc',
|
|
54
|
+
title: 'Closed Captioning enabled for everyone'
|
|
55
|
+
}));
|
|
56
|
+
});
|
|
57
|
+
} else if ((captionTranscription === null || captionTranscription === void 0 ? void 0 : captionTranscription.state) === TranscriptionState.STOPPED) {
|
|
58
|
+
batch(() => {
|
|
59
|
+
dispatch(removeNotification('disable-cc'));
|
|
60
|
+
dispatch(addNotification({
|
|
61
|
+
id: Math.random().toString(16).slice(2),
|
|
62
|
+
type: NotificationTypes.INFO,
|
|
63
|
+
icon: 'cc',
|
|
64
|
+
title: 'Closed Captioning disabled for everyone'
|
|
65
|
+
}));
|
|
66
|
+
});
|
|
67
|
+
} else if ((captionTranscription === null || captionTranscription === void 0 ? void 0 : captionTranscription.state) === TranscriptionState.FAILED) {
|
|
68
|
+
const transcriptionError = captionTranscription.error;
|
|
69
|
+
batch(() => {
|
|
70
|
+
dispatch(removeNotification('enable-cc'));
|
|
71
|
+
dispatch(removeNotification('disable-cc'));
|
|
72
|
+
if (transcriptionError !== undefined) {
|
|
73
|
+
dispatch(addNotification({
|
|
74
|
+
id: Math.random().toString(16).slice(2),
|
|
75
|
+
title: transcriptionError.message || 'Failed to enable/disable Closed Captions',
|
|
76
|
+
type: NotificationTypes.ERROR
|
|
77
|
+
}));
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
}
|
|
47
81
|
}
|
|
48
82
|
};
|
|
49
83
|
hmsInstance.addEventListener(HMSUpdateListenerActions.ON_ROOM_UPDATE, roomUpdateHandler);
|
|
@@ -429,6 +463,7 @@ const useHMSTrackUpdate = (hmsInstance, updateLocalPeer, setPeerTrackNodes) => {
|
|
|
429
463
|
var _peer$audioTrack, _peer$videoTrack;
|
|
430
464
|
if (track.source === HMSTrackSource.SCREEN) {
|
|
431
465
|
if (!peer.isLocal && track.type === HMSTrackType.VIDEO) {
|
|
466
|
+
hmsInstance.setActiveSpeakerInIOSPIP(true);
|
|
432
467
|
const screensharePeerTrackNodes = reduxState.app.screensharePeerTrackNodes;
|
|
433
468
|
const nodeToRemove = screensharePeerTrackNodes.find(node => {
|
|
434
469
|
var _node$track;
|
|
@@ -982,10 +1017,20 @@ export const useHMSNetworkQualityUpdate = () => {
|
|
|
982
1017
|
return () => hmsInstance.disableNetworkQualityUpdates();
|
|
983
1018
|
}, [hmsInstance]);
|
|
984
1019
|
};
|
|
1020
|
+
const pipConfig = {
|
|
1021
|
+
scaleType: HMSVideoViewMode.ASPECT_FILL,
|
|
1022
|
+
aspectRatio: [9, 16],
|
|
1023
|
+
autoEnterPipMode: true,
|
|
1024
|
+
useActiveSpeaker: true,
|
|
1025
|
+
endButton: false,
|
|
1026
|
+
audioButton: false,
|
|
1027
|
+
videoButton: false
|
|
1028
|
+
};
|
|
985
1029
|
export const useEnableAutoPip = () => {
|
|
986
1030
|
const hmsInstance = useHMSInstance();
|
|
987
1031
|
const enableAutoPip = useCallback(data => {
|
|
988
1032
|
hmsInstance.setPipParams({
|
|
1033
|
+
...pipConfig,
|
|
989
1034
|
...data,
|
|
990
1035
|
autoEnterPipMode: true
|
|
991
1036
|
});
|
|
@@ -996,6 +1041,7 @@ export const useDisableAutoPip = () => {
|
|
|
996
1041
|
const hmsInstance = useHMSInstance();
|
|
997
1042
|
const disableAutoPip = useCallback(data => {
|
|
998
1043
|
hmsInstance.setPipParams({
|
|
1044
|
+
...pipConfig,
|
|
999
1045
|
...data,
|
|
1000
1046
|
autoEnterPipMode: false
|
|
1001
1047
|
});
|
|
@@ -1014,9 +1060,12 @@ export const useAutoPip = oneToOneCall => {
|
|
|
1014
1060
|
useEffect(() => {
|
|
1015
1061
|
if (autoEnterPipMode && remotePeersPresent) {
|
|
1016
1062
|
enableAutoPip({
|
|
1063
|
+
scaleType: HMSVideoViewMode.ASPECT_FILL,
|
|
1017
1064
|
aspectRatio: [numerator, denominator]
|
|
1018
1065
|
});
|
|
1019
|
-
return
|
|
1066
|
+
return () => {
|
|
1067
|
+
disableAutoPip({});
|
|
1068
|
+
};
|
|
1020
1069
|
}
|
|
1021
1070
|
}, [remotePeersPresent, numerator, denominator, autoEnterPipMode, enableAutoPip, disableAutoPip]);
|
|
1022
1071
|
};
|
|
@@ -1034,7 +1083,7 @@ export const usePipAspectRatio = oneToOneCall => {
|
|
|
1034
1083
|
if (isHLSViewer && hlsPlayerResolution) {
|
|
1035
1084
|
return [hlsPlayerResolution.width, hlsPlayerResolution.height];
|
|
1036
1085
|
}
|
|
1037
|
-
// When user is hlsviewer and we don't have stream resolution
|
|
1086
|
+
// When user is hlsviewer, and we don't have stream resolution
|
|
1038
1087
|
if (isHLSViewer) {
|
|
1039
1088
|
return [9, 16];
|
|
1040
1089
|
}
|
|
@@ -1047,7 +1096,11 @@ export const usePipAspectRatio = oneToOneCall => {
|
|
|
1047
1096
|
return [9, 16];
|
|
1048
1097
|
}
|
|
1049
1098
|
// default aspect ratio
|
|
1050
|
-
return
|
|
1099
|
+
return Platform.select({
|
|
1100
|
+
ios: [9, 16],
|
|
1101
|
+
android: [16, 9],
|
|
1102
|
+
default: [16, 9]
|
|
1103
|
+
});
|
|
1051
1104
|
}, [isHLSViewer, firstSSNodeId, oneToOneCall, ssResolution, hlsPlayerResolution]);
|
|
1052
1105
|
return aspectRatio;
|
|
1053
1106
|
};
|
|
@@ -1400,7 +1453,10 @@ export const useFilteredParticipants = filterText => {
|
|
|
1400
1453
|
const filteredHandRaisedPeers = [];
|
|
1401
1454
|
sortedRoles.forEach(role => {
|
|
1402
1455
|
const list = groupedParticipants[role.name];
|
|
1403
|
-
const filteredList = Array.isArray(list) && formattedSearchText.length > 0 ? list.filter(peer =>
|
|
1456
|
+
const filteredList = Array.isArray(list) && formattedSearchText.length > 0 ? list.filter(peer => {
|
|
1457
|
+
var _peer$name;
|
|
1458
|
+
return (_peer$name = peer.name) === null || _peer$name === void 0 ? void 0 : _peer$name.toLowerCase().includes(formattedSearchText);
|
|
1459
|
+
}) : list;
|
|
1404
1460
|
if (Array.isArray(filteredList) && filteredList.length > 0) {
|
|
1405
1461
|
filteredHandRaisedPeers.push(filteredList);
|
|
1406
1462
|
const offStageRoleTotalCount = offStageParticipantsTotalCounts[role.name];
|
|
@@ -1789,9 +1845,7 @@ export const useSavePropsToStore = (props, dispatch) => {
|
|
|
1789
1845
|
}
|
|
1790
1846
|
}, [handleBackButton]);
|
|
1791
1847
|
useEffect(() => {
|
|
1792
|
-
|
|
1793
|
-
dispatch(setAutoEnterPipMode(autoEnterPipMode));
|
|
1794
|
-
}
|
|
1848
|
+
dispatch(setAutoEnterPipMode(autoEnterPipMode));
|
|
1795
1849
|
}, [autoEnterPipMode]);
|
|
1796
1850
|
};
|
|
1797
1851
|
export const useStartRecording = () => {
|