@100mslive/react-native-room-kit 0.0.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/LICENSE +20 -0
- package/README.md +25 -0
- package/lib/commonjs/HMSContainer.js +20 -0
- package/lib/commonjs/HMSContainer.js.map +1 -0
- package/lib/commonjs/HMSInstanceSetup.js +160 -0
- package/lib/commonjs/HMSInstanceSetup.js.map +1 -0
- package/lib/commonjs/HMSPrebuilt.js +32 -0
- package/lib/commonjs/HMSPrebuilt.js.map +1 -0
- package/lib/commonjs/HMSRoomSetup.js +216 -0
- package/lib/commonjs/HMSRoomSetup.js.map +1 -0
- package/lib/commonjs/Icons/100ms/assets/hms-logo.png +0 -0
- package/lib/commonjs/Icons/100ms/assets/hms-logo@2x.png +0 -0
- package/lib/commonjs/Icons/100ms/assets/hms-logo@3x.png +0 -0
- package/lib/commonjs/Icons/100ms/index.js +30 -0
- package/lib/commonjs/Icons/100ms/index.js.map +1 -0
- package/lib/commonjs/Icons/Alert/assets/alert.png +0 -0
- package/lib/commonjs/Icons/Alert/assets/alert@2x.png +0 -0
- package/lib/commonjs/Icons/Alert/assets/alert@3x.png +0 -0
- package/lib/commonjs/Icons/Alert/index.js +30 -0
- package/lib/commonjs/Icons/Alert/index.js.map +1 -0
- package/lib/commonjs/Icons/Camera/assets/camera-muted.png +0 -0
- package/lib/commonjs/Icons/Camera/assets/camera-muted@2x.png +0 -0
- package/lib/commonjs/Icons/Camera/assets/camera-muted@3x.png +0 -0
- package/lib/commonjs/Icons/Camera/assets/camera-unmuted.png +0 -0
- package/lib/commonjs/Icons/Camera/assets/camera-unmuted@2x.png +0 -0
- package/lib/commonjs/Icons/Camera/assets/camera-unmuted@3x.png +0 -0
- package/lib/commonjs/Icons/Camera/index.js +31 -0
- package/lib/commonjs/Icons/Camera/index.js.map +1 -0
- package/lib/commonjs/Icons/Chat/assets/chat.png +0 -0
- package/lib/commonjs/Icons/Chat/assets/chat@2x.png +0 -0
- package/lib/commonjs/Icons/Chat/assets/chat@3x.png +0 -0
- package/lib/commonjs/Icons/Chat/index.js +30 -0
- package/lib/commonjs/Icons/Chat/index.js.map +1 -0
- package/lib/commonjs/Icons/Chevron/assets/chevron-down.png +0 -0
- package/lib/commonjs/Icons/Chevron/assets/chevron-down@2x.png +0 -0
- package/lib/commonjs/Icons/Chevron/assets/chevron-down@3x.png +0 -0
- package/lib/commonjs/Icons/Chevron/assets/chevron-left.png +0 -0
- package/lib/commonjs/Icons/Chevron/assets/chevron-left@2x.png +0 -0
- package/lib/commonjs/Icons/Chevron/assets/chevron-left@3x.png +0 -0
- package/lib/commonjs/Icons/Chevron/index.js +31 -0
- package/lib/commonjs/Icons/Chevron/index.js.map +1 -0
- package/lib/commonjs/Icons/Clock/assets/clock.png +0 -0
- package/lib/commonjs/Icons/Clock/assets/clock@2x.png +0 -0
- package/lib/commonjs/Icons/Clock/assets/clock@3x.png +0 -0
- package/lib/commonjs/Icons/Clock/index.js +30 -0
- package/lib/commonjs/Icons/Clock/index.js.map +1 -0
- package/lib/commonjs/Icons/Close/assets/close.png +0 -0
- package/lib/commonjs/Icons/Close/assets/close@2x.png +0 -0
- package/lib/commonjs/Icons/Close/assets/close@3x.png +0 -0
- package/lib/commonjs/Icons/Close/index.js +30 -0
- package/lib/commonjs/Icons/Close/index.js.map +1 -0
- package/lib/commonjs/Icons/End/assets/end.png +0 -0
- package/lib/commonjs/Icons/End/assets/end@2x.png +0 -0
- package/lib/commonjs/Icons/End/assets/end@3x.png +0 -0
- package/lib/commonjs/Icons/End/index.js +30 -0
- package/lib/commonjs/Icons/End/index.js.map +1 -0
- package/lib/commonjs/Icons/Hand/assets/hand.png +0 -0
- package/lib/commonjs/Icons/Hand/assets/hand@2x.png +0 -0
- package/lib/commonjs/Icons/Hand/assets/hand@3x.png +0 -0
- package/lib/commonjs/Icons/Hand/index.js +32 -0
- package/lib/commonjs/Icons/Hand/index.js.map +1 -0
- package/lib/commonjs/Icons/Leave/assets/leave.png +0 -0
- package/lib/commonjs/Icons/Leave/assets/leave@2x.png +0 -0
- package/lib/commonjs/Icons/Leave/assets/leave@3x.png +0 -0
- package/lib/commonjs/Icons/Leave/index.js +30 -0
- package/lib/commonjs/Icons/Leave/index.js.map +1 -0
- package/lib/commonjs/Icons/Mic/assets/mic-muted.png +0 -0
- package/lib/commonjs/Icons/Mic/assets/mic-muted@2x.png +0 -0
- package/lib/commonjs/Icons/Mic/assets/mic-muted@3x.png +0 -0
- package/lib/commonjs/Icons/Mic/assets/mic-unmuted.png +0 -0
- package/lib/commonjs/Icons/Mic/assets/mic-unmuted@2x.png +0 -0
- package/lib/commonjs/Icons/Mic/assets/mic-unmuted@3x.png +0 -0
- package/lib/commonjs/Icons/Mic/index.js +31 -0
- package/lib/commonjs/Icons/Mic/index.js.map +1 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_0.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_0@2x.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_0@3x.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_1.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_1@2x.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_1@3x.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_2.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_2@2x.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_2@3x.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_3.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_3@2x.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_3@3x.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_4.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_4@2x.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_4@3x.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_5.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_5@2x.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/assets/network_5@3x.png +0 -0
- package/lib/commonjs/Icons/NetworkQuality/index.js +31 -0
- package/lib/commonjs/Icons/NetworkQuality/index.js.map +1 -0
- package/lib/commonjs/Icons/Participants/assets/participants.png +0 -0
- package/lib/commonjs/Icons/Participants/assets/participants@2x.png +0 -0
- package/lib/commonjs/Icons/Participants/assets/participants@3x.png +0 -0
- package/lib/commonjs/Icons/Participants/index.js +30 -0
- package/lib/commonjs/Icons/Participants/index.js.map +1 -0
- package/lib/commonjs/Icons/RotateCamera/assets/rotate-camera.png +0 -0
- package/lib/commonjs/Icons/RotateCamera/assets/rotate-camera@2x.png +0 -0
- package/lib/commonjs/Icons/RotateCamera/assets/rotate-camera@3x.png +0 -0
- package/lib/commonjs/Icons/RotateCamera/index.js +30 -0
- package/lib/commonjs/Icons/RotateCamera/index.js.map +1 -0
- package/lib/commonjs/Icons/ScreenShare/assets/screen-share.png +0 -0
- package/lib/commonjs/Icons/ScreenShare/assets/screen-share@2x.png +0 -0
- package/lib/commonjs/Icons/ScreenShare/assets/screen-share@3x.png +0 -0
- package/lib/commonjs/Icons/ScreenShare/index.js +30 -0
- package/lib/commonjs/Icons/ScreenShare/index.js.map +1 -0
- package/lib/commonjs/Icons/Send/assets/send.png +0 -0
- package/lib/commonjs/Icons/Send/assets/send@2x.png +0 -0
- package/lib/commonjs/Icons/Send/assets/send@3x.png +0 -0
- package/lib/commonjs/Icons/Send/index.js +30 -0
- package/lib/commonjs/Icons/Send/index.js.map +1 -0
- package/lib/commonjs/Icons/Settings/assets/settings.png +0 -0
- package/lib/commonjs/Icons/Settings/assets/settings@2x.png +0 -0
- package/lib/commonjs/Icons/Settings/assets/settings@3x.png +0 -0
- package/lib/commonjs/Icons/Settings/index.js +30 -0
- package/lib/commonjs/Icons/Settings/index.js.map +1 -0
- package/lib/commonjs/Icons/Speaker/assets/speaker-muted.png +0 -0
- package/lib/commonjs/Icons/Speaker/assets/speaker-muted@2x.png +0 -0
- package/lib/commonjs/Icons/Speaker/assets/speaker-muted@3x.png +0 -0
- package/lib/commonjs/Icons/Speaker/assets/speaker.png +0 -0
- package/lib/commonjs/Icons/Speaker/assets/speaker@2x.png +0 -0
- package/lib/commonjs/Icons/Speaker/assets/speaker@3x.png +0 -0
- package/lib/commonjs/Icons/Speaker/index.js +31 -0
- package/lib/commonjs/Icons/Speaker/index.js.map +1 -0
- package/lib/commonjs/Icons/ThreeDots/assets/three-dots-vertical.png +0 -0
- package/lib/commonjs/Icons/ThreeDots/assets/three-dots-vertical@2x.png +0 -0
- package/lib/commonjs/Icons/ThreeDots/assets/three-dots-vertical@3x.png +0 -0
- package/lib/commonjs/Icons/ThreeDots/index.js +31 -0
- package/lib/commonjs/Icons/ThreeDots/index.js.map +1 -0
- package/lib/commonjs/Icons/index.js +215 -0
- package/lib/commonjs/Icons/index.js.map +1 -0
- package/lib/commonjs/assets/100ms-logo.png +0 -0
- package/lib/commonjs/assets/brb.png +0 -0
- package/lib/commonjs/assets/icon.png +0 -0
- package/lib/commonjs/assets/illustration.png +0 -0
- package/lib/commonjs/assets/network_0.png +0 -0
- package/lib/commonjs/assets/network_1.png +0 -0
- package/lib/commonjs/assets/network_2.png +0 -0
- package/lib/commonjs/assets/network_3.png +0 -0
- package/lib/commonjs/assets/network_4.png +0 -0
- package/lib/commonjs/assets/user_music.png +0 -0
- package/lib/commonjs/components/AvatarView.js +48 -0
- package/lib/commonjs/components/AvatarView.js.map +1 -0
- package/lib/commonjs/components/BackButton.js +42 -0
- package/lib/commonjs/components/BackButton.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatBanner.js +77 -0
- package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatList.js +51 -0
- package/lib/commonjs/components/Chat/ChatList.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatMessage.js +175 -0
- package/lib/commonjs/components/Chat/ChatMessage.js.map +1 -0
- package/lib/commonjs/components/Chat/PinnedMessage.js +85 -0
- package/lib/commonjs/components/Chat/PinnedMessage.js.map +1 -0
- package/lib/commonjs/components/Chat/index.js +50 -0
- package/lib/commonjs/components/Chat/index.js.map +1 -0
- package/lib/commonjs/components/ChatWindow.js +608 -0
- package/lib/commonjs/components/ChatWindow.js.map +1 -0
- package/lib/commonjs/components/CustomButton.js +53 -0
- package/lib/commonjs/components/CustomButton.js.map +1 -0
- package/lib/commonjs/components/CustomHLSPlayerControls.js +81 -0
- package/lib/commonjs/components/CustomHLSPlayerControls.js.map +1 -0
- package/lib/commonjs/components/CustomInput.js +90 -0
- package/lib/commonjs/components/CustomInput.js.map +1 -0
- package/lib/commonjs/components/DefaultModal.js +104 -0
- package/lib/commonjs/components/DefaultModal.js.map +1 -0
- package/lib/commonjs/components/DisplayTrack.js +70 -0
- package/lib/commonjs/components/DisplayTrack.js.map +1 -0
- package/lib/commonjs/components/DisplayView.js +213 -0
- package/lib/commonjs/components/DisplayView.js.map +1 -0
- package/lib/commonjs/components/Footer.js +86 -0
- package/lib/commonjs/components/Footer.js.map +1 -0
- package/lib/commonjs/components/FullScreenIndicator.js +25 -0
- package/lib/commonjs/components/FullScreenIndicator.js.map +1 -0
- package/lib/commonjs/components/GridView.js +98 -0
- package/lib/commonjs/components/GridView.js.map +1 -0
- package/lib/commonjs/components/HLSPlayerEmoticons.js +48 -0
- package/lib/commonjs/components/HLSPlayerEmoticons.js.map +1 -0
- package/lib/commonjs/components/HLSPlayerStatsView.js +64 -0
- package/lib/commonjs/components/HLSPlayerStatsView.js.map +1 -0
- package/lib/commonjs/components/HLSView.js +141 -0
- package/lib/commonjs/components/HLSView.js.map +1 -0
- package/lib/commonjs/components/HMSChat.js +31 -0
- package/lib/commonjs/components/HMSChat.js.map +1 -0
- package/lib/commonjs/components/HMSHLSNotStarted.js +59 -0
- package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -0
- package/lib/commonjs/components/HMSManageCameraRotation.js +42 -0
- package/lib/commonjs/components/HMSManageCameraRotation.js.map +1 -0
- package/lib/commonjs/components/HMSManageLeave.js +286 -0
- package/lib/commonjs/components/HMSManageLeave.js.map +1 -0
- package/lib/commonjs/components/HMSManageLocalAudio.js +46 -0
- package/lib/commonjs/components/HMSManageLocalAudio.js.map +1 -0
- package/lib/commonjs/components/HMSManageLocalVideo.js +46 -0
- package/lib/commonjs/components/HMSManageLocalVideo.js.map +1 -0
- package/lib/commonjs/components/HMSManageRaiseHand.js +48 -0
- package/lib/commonjs/components/HMSManageRaiseHand.js.map +1 -0
- package/lib/commonjs/components/HMSPreviewDeviceSettings.js +305 -0
- package/lib/commonjs/components/HMSPreviewDeviceSettings.js.map +1 -0
- package/lib/commonjs/components/HMSPreviewEditName.js +63 -0
- package/lib/commonjs/components/HMSPreviewEditName.js.map +1 -0
- package/lib/commonjs/components/HMSPreviewJoinButton.js +56 -0
- package/lib/commonjs/components/HMSPreviewJoinButton.js.map +1 -0
- package/lib/commonjs/components/HMSPreviewPeersList.js +89 -0
- package/lib/commonjs/components/HMSPreviewPeersList.js.map +1 -0
- package/lib/commonjs/components/HMSPreviewSubtitle.js +32 -0
- package/lib/commonjs/components/HMSPreviewSubtitle.js.map +1 -0
- package/lib/commonjs/components/HMSPreviewTile.js +138 -0
- package/lib/commonjs/components/HMSPreviewTile.js.map +1 -0
- package/lib/commonjs/components/HMSPreviewTitle.js +32 -0
- package/lib/commonjs/components/HMSPreviewTitle.js.map +1 -0
- package/lib/commonjs/components/HMSRoomOptions.js +105 -0
- package/lib/commonjs/components/HMSRoomOptions.js.map +1 -0
- package/lib/commonjs/components/HMSShareScreen.js +59 -0
- package/lib/commonjs/components/HMSShareScreen.js.map +1 -0
- package/lib/commonjs/components/HMSShowNetworkQuality.js +57 -0
- package/lib/commonjs/components/HMSShowNetworkQuality.js.map +1 -0
- package/lib/commonjs/components/Header.js +177 -0
- package/lib/commonjs/components/Header.js.map +1 -0
- package/lib/commonjs/components/LiveButton.js +70 -0
- package/lib/commonjs/components/LiveButton.js.map +1 -0
- package/lib/commonjs/components/Meeting.js +64 -0
- package/lib/commonjs/components/Meeting.js.map +1 -0
- package/lib/commonjs/components/MeetingScreenContent.js +98 -0
- package/lib/commonjs/components/MeetingScreenContent.js.map +1 -0
- package/lib/commonjs/components/MenuModal/Menu.js +250 -0
- package/lib/commonjs/components/MenuModal/Menu.js.map +1 -0
- package/lib/commonjs/components/MenuModal/MenuDivider.js +27 -0
- package/lib/commonjs/components/MenuModal/MenuDivider.js.map +1 -0
- package/lib/commonjs/components/MenuModal/MenuItem.js +60 -0
- package/lib/commonjs/components/MenuModal/MenuItem.js.map +1 -0
- package/lib/commonjs/components/MenuModal/index.js +27 -0
- package/lib/commonjs/components/MenuModal/index.js.map +1 -0
- package/lib/commonjs/components/Modals.js +1640 -0
- package/lib/commonjs/components/Modals.js.map +1 -0
- package/lib/commonjs/components/PIPView.js +33 -0
- package/lib/commonjs/components/PIPView.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsFilter.js +128 -0
- package/lib/commonjs/components/Participants/ParticipantsFilter.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsHeader.js +67 -0
- package/lib/commonjs/components/Participants/ParticipantsHeader.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsList.js +274 -0
- package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsSeachInput.js +55 -0
- package/lib/commonjs/components/Participants/ParticipantsSeachInput.js.map +1 -0
- package/lib/commonjs/components/Participants/SearchableParticipantsView.js +27 -0
- package/lib/commonjs/components/Participants/SearchableParticipantsView.js.map +1 -0
- package/lib/commonjs/components/Participants/index.js +61 -0
- package/lib/commonjs/components/Participants/index.js.map +1 -0
- package/lib/commonjs/components/ParticipantsModal.js +43 -0
- package/lib/commonjs/components/ParticipantsModal.js.map +1 -0
- package/lib/commonjs/components/PeerDisplayView.js +79 -0
- package/lib/commonjs/components/PeerDisplayView.js.map +1 -0
- package/lib/commonjs/components/PeerRTCStatsContainer.js +70 -0
- package/lib/commonjs/components/PeerRTCStatsContainer.js.map +1 -0
- package/lib/commonjs/components/PeerRTCStatsView.js +54 -0
- package/lib/commonjs/components/PeerRTCStatsView.js.map +1 -0
- package/lib/commonjs/components/PeerSettingsModalContent.js +241 -0
- package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -0
- package/lib/commonjs/components/Picker.js +93 -0
- package/lib/commonjs/components/Picker.js.map +1 -0
- package/lib/commonjs/components/PressableIcon.js +46 -0
- package/lib/commonjs/components/PressableIcon.js.map +1 -0
- package/lib/commonjs/components/Preview.js +86 -0
- package/lib/commonjs/components/Preview.js.map +1 -0
- package/lib/commonjs/components/RoomSettingsModalContent.js +515 -0
- package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -0
- package/lib/commonjs/components/StatusBar.js +26 -0
- package/lib/commonjs/components/StatusBar.js.map +1 -0
- package/lib/commonjs/components/StreamingQualityModalContent.js +215 -0
- package/lib/commonjs/components/StreamingQualityModalContent.js.map +1 -0
- package/lib/commonjs/components/SwitchRow.js +49 -0
- package/lib/commonjs/components/SwitchRow.js.map +1 -0
- package/lib/commonjs/components/Tile.js +111 -0
- package/lib/commonjs/components/Tile.js.map +1 -0
- package/lib/commonjs/components/TilesContainer.js +38 -0
- package/lib/commonjs/components/TilesContainer.js.map +1 -0
- package/lib/commonjs/components/ZoomableView.js +84 -0
- package/lib/commonjs/components/ZoomableView.js.map +1 -0
- package/lib/commonjs/components/index.js +94 -0
- package/lib/commonjs/components/index.js.map +1 -0
- package/lib/commonjs/components/styles.js +965 -0
- package/lib/commonjs/components/styles.js.map +1 -0
- package/lib/commonjs/hooks/useHmsInstance.js +175 -0
- package/lib/commonjs/hooks/useHmsInstance.js.map +1 -0
- package/lib/commonjs/hooks-sdk-selectors.js +17 -0
- package/lib/commonjs/hooks-sdk-selectors.js.map +1 -0
- package/lib/commonjs/hooks-sdk.js +126 -0
- package/lib/commonjs/hooks-sdk.js.map +1 -0
- package/lib/commonjs/hooks-util-selectors.js +12 -0
- package/lib/commonjs/hooks-util-selectors.js.map +1 -0
- package/lib/commonjs/hooks-util.js +792 -0
- package/lib/commonjs/hooks-util.js.map +1 -0
- package/lib/commonjs/index.js +17 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/peerTrackNodeUtils.js +65 -0
- package/lib/commonjs/peerTrackNodeUtils.js.map +1 -0
- package/lib/commonjs/redux/actionTypes.js +75 -0
- package/lib/commonjs/redux/actionTypes.js.map +1 -0
- package/lib/commonjs/redux/actions/index.js +182 -0
- package/lib/commonjs/redux/actions/index.js.map +1 -0
- package/lib/commonjs/redux/index.js +12 -0
- package/lib/commonjs/redux/index.js.map +1 -0
- package/lib/commonjs/redux/reducers/appState.js +131 -0
- package/lib/commonjs/redux/reducers/appState.js.map +1 -0
- package/lib/commonjs/redux/reducers/chatWindow.js +45 -0
- package/lib/commonjs/redux/reducers/chatWindow.js.map +1 -0
- package/lib/commonjs/redux/reducers/hmsStates.js +67 -0
- package/lib/commonjs/redux/reducers/hmsStates.js.map +1 -0
- package/lib/commonjs/redux/reducers/index.js +22 -0
- package/lib/commonjs/redux/reducers/index.js.map +1 -0
- package/lib/commonjs/redux/reducers/message.js +43 -0
- package/lib/commonjs/redux/reducers/message.js.map +1 -0
- package/lib/commonjs/redux/reducers/userState.js +67 -0
- package/lib/commonjs/redux/reducers/userState.js.map +1 -0
- package/lib/commonjs/types.js +16 -0
- package/lib/commonjs/types.js.map +1 -0
- package/lib/commonjs/utils/dimension.js +64 -0
- package/lib/commonjs/utils/dimension.js.map +1 -0
- package/lib/commonjs/utils/functions.js +368 -0
- package/lib/commonjs/utils/functions.js.map +1 -0
- package/lib/commonjs/utils/getRoomLinkDetails.js +23 -0
- package/lib/commonjs/utils/getRoomLinkDetails.js.map +1 -0
- package/lib/commonjs/utils/hooks.js +46 -0
- package/lib/commonjs/utils/hooks.js.map +1 -0
- package/lib/commonjs/utils/theme.js +144 -0
- package/lib/commonjs/utils/theme.js.map +1 -0
- package/lib/commonjs/utils/types.js +104 -0
- package/lib/commonjs/utils/types.js.map +1 -0
- package/lib/commonjs/utils.js +30 -0
- package/lib/commonjs/utils.js.map +1 -0
- package/lib/module/HMSContainer.js +12 -0
- package/lib/module/HMSContainer.js.map +1 -0
- package/lib/module/HMSInstanceSetup.js +151 -0
- package/lib/module/HMSInstanceSetup.js.map +1 -0
- package/lib/module/HMSPrebuilt.js +22 -0
- package/lib/module/HMSPrebuilt.js.map +1 -0
- package/lib/module/HMSRoomSetup.js +206 -0
- package/lib/module/HMSRoomSetup.js.map +1 -0
- package/lib/module/Icons/100ms/assets/hms-logo.png +0 -0
- package/lib/module/Icons/100ms/assets/hms-logo@2x.png +0 -0
- package/lib/module/Icons/100ms/assets/hms-logo@3x.png +0 -0
- package/lib/module/Icons/100ms/index.js +22 -0
- package/lib/module/Icons/100ms/index.js.map +1 -0
- package/lib/module/Icons/Alert/assets/alert.png +0 -0
- package/lib/module/Icons/Alert/assets/alert@2x.png +0 -0
- package/lib/module/Icons/Alert/assets/alert@3x.png +0 -0
- package/lib/module/Icons/Alert/index.js +22 -0
- package/lib/module/Icons/Alert/index.js.map +1 -0
- package/lib/module/Icons/Camera/assets/camera-muted.png +0 -0
- package/lib/module/Icons/Camera/assets/camera-muted@2x.png +0 -0
- package/lib/module/Icons/Camera/assets/camera-muted@3x.png +0 -0
- package/lib/module/Icons/Camera/assets/camera-unmuted.png +0 -0
- package/lib/module/Icons/Camera/assets/camera-unmuted@2x.png +0 -0
- package/lib/module/Icons/Camera/assets/camera-unmuted@3x.png +0 -0
- package/lib/module/Icons/Camera/index.js +23 -0
- package/lib/module/Icons/Camera/index.js.map +1 -0
- package/lib/module/Icons/Chat/assets/chat.png +0 -0
- package/lib/module/Icons/Chat/assets/chat@2x.png +0 -0
- package/lib/module/Icons/Chat/assets/chat@3x.png +0 -0
- package/lib/module/Icons/Chat/index.js +22 -0
- package/lib/module/Icons/Chat/index.js.map +1 -0
- package/lib/module/Icons/Chevron/assets/chevron-down.png +0 -0
- package/lib/module/Icons/Chevron/assets/chevron-down@2x.png +0 -0
- package/lib/module/Icons/Chevron/assets/chevron-down@3x.png +0 -0
- package/lib/module/Icons/Chevron/assets/chevron-left.png +0 -0
- package/lib/module/Icons/Chevron/assets/chevron-left@2x.png +0 -0
- package/lib/module/Icons/Chevron/assets/chevron-left@3x.png +0 -0
- package/lib/module/Icons/Chevron/index.js +23 -0
- package/lib/module/Icons/Chevron/index.js.map +1 -0
- package/lib/module/Icons/Clock/assets/clock.png +0 -0
- package/lib/module/Icons/Clock/assets/clock@2x.png +0 -0
- package/lib/module/Icons/Clock/assets/clock@3x.png +0 -0
- package/lib/module/Icons/Clock/index.js +22 -0
- package/lib/module/Icons/Clock/index.js.map +1 -0
- package/lib/module/Icons/Close/assets/close.png +0 -0
- package/lib/module/Icons/Close/assets/close@2x.png +0 -0
- package/lib/module/Icons/Close/assets/close@3x.png +0 -0
- package/lib/module/Icons/Close/index.js +22 -0
- package/lib/module/Icons/Close/index.js.map +1 -0
- package/lib/module/Icons/End/assets/end.png +0 -0
- package/lib/module/Icons/End/assets/end@2x.png +0 -0
- package/lib/module/Icons/End/assets/end@3x.png +0 -0
- package/lib/module/Icons/End/index.js +22 -0
- package/lib/module/Icons/End/index.js.map +1 -0
- package/lib/module/Icons/Hand/assets/hand.png +0 -0
- package/lib/module/Icons/Hand/assets/hand@2x.png +0 -0
- package/lib/module/Icons/Hand/assets/hand@3x.png +0 -0
- package/lib/module/Icons/Hand/index.js +24 -0
- package/lib/module/Icons/Hand/index.js.map +1 -0
- package/lib/module/Icons/Leave/assets/leave.png +0 -0
- package/lib/module/Icons/Leave/assets/leave@2x.png +0 -0
- package/lib/module/Icons/Leave/assets/leave@3x.png +0 -0
- package/lib/module/Icons/Leave/index.js +22 -0
- package/lib/module/Icons/Leave/index.js.map +1 -0
- package/lib/module/Icons/Mic/assets/mic-muted.png +0 -0
- package/lib/module/Icons/Mic/assets/mic-muted@2x.png +0 -0
- package/lib/module/Icons/Mic/assets/mic-muted@3x.png +0 -0
- package/lib/module/Icons/Mic/assets/mic-unmuted.png +0 -0
- package/lib/module/Icons/Mic/assets/mic-unmuted@2x.png +0 -0
- package/lib/module/Icons/Mic/assets/mic-unmuted@3x.png +0 -0
- package/lib/module/Icons/Mic/index.js +23 -0
- package/lib/module/Icons/Mic/index.js.map +1 -0
- package/lib/module/Icons/NetworkQuality/assets/network_0.png +0 -0
- package/lib/module/Icons/NetworkQuality/assets/network_0@2x.png +0 -0
- package/lib/module/Icons/NetworkQuality/assets/network_0@3x.png +0 -0
- package/lib/module/Icons/NetworkQuality/assets/network_1.png +0 -0
- package/lib/module/Icons/NetworkQuality/assets/network_1@2x.png +0 -0
- package/lib/module/Icons/NetworkQuality/assets/network_1@3x.png +0 -0
- package/lib/module/Icons/NetworkQuality/assets/network_2.png +0 -0
- package/lib/module/Icons/NetworkQuality/assets/network_2@2x.png +0 -0
- package/lib/module/Icons/NetworkQuality/assets/network_2@3x.png +0 -0
- package/lib/module/Icons/NetworkQuality/assets/network_3.png +0 -0
- package/lib/module/Icons/NetworkQuality/assets/network_3@2x.png +0 -0
- package/lib/module/Icons/NetworkQuality/assets/network_3@3x.png +0 -0
- package/lib/module/Icons/NetworkQuality/assets/network_4.png +0 -0
- package/lib/module/Icons/NetworkQuality/assets/network_4@2x.png +0 -0
- package/lib/module/Icons/NetworkQuality/assets/network_4@3x.png +0 -0
- package/lib/module/Icons/NetworkQuality/assets/network_5.png +0 -0
- package/lib/module/Icons/NetworkQuality/assets/network_5@2x.png +0 -0
- package/lib/module/Icons/NetworkQuality/assets/network_5@3x.png +0 -0
- package/lib/module/Icons/NetworkQuality/index.js +23 -0
- package/lib/module/Icons/NetworkQuality/index.js.map +1 -0
- package/lib/module/Icons/Participants/assets/participants.png +0 -0
- package/lib/module/Icons/Participants/assets/participants@2x.png +0 -0
- package/lib/module/Icons/Participants/assets/participants@3x.png +0 -0
- package/lib/module/Icons/Participants/index.js +22 -0
- package/lib/module/Icons/Participants/index.js.map +1 -0
- package/lib/module/Icons/RotateCamera/assets/rotate-camera.png +0 -0
- package/lib/module/Icons/RotateCamera/assets/rotate-camera@2x.png +0 -0
- package/lib/module/Icons/RotateCamera/assets/rotate-camera@3x.png +0 -0
- package/lib/module/Icons/RotateCamera/index.js +22 -0
- package/lib/module/Icons/RotateCamera/index.js.map +1 -0
- package/lib/module/Icons/ScreenShare/assets/screen-share.png +0 -0
- package/lib/module/Icons/ScreenShare/assets/screen-share@2x.png +0 -0
- package/lib/module/Icons/ScreenShare/assets/screen-share@3x.png +0 -0
- package/lib/module/Icons/ScreenShare/index.js +22 -0
- package/lib/module/Icons/ScreenShare/index.js.map +1 -0
- package/lib/module/Icons/Send/assets/send.png +0 -0
- package/lib/module/Icons/Send/assets/send@2x.png +0 -0
- package/lib/module/Icons/Send/assets/send@3x.png +0 -0
- package/lib/module/Icons/Send/index.js +22 -0
- package/lib/module/Icons/Send/index.js.map +1 -0
- package/lib/module/Icons/Settings/assets/settings.png +0 -0
- package/lib/module/Icons/Settings/assets/settings@2x.png +0 -0
- package/lib/module/Icons/Settings/assets/settings@3x.png +0 -0
- package/lib/module/Icons/Settings/index.js +22 -0
- package/lib/module/Icons/Settings/index.js.map +1 -0
- package/lib/module/Icons/Speaker/assets/speaker-muted.png +0 -0
- package/lib/module/Icons/Speaker/assets/speaker-muted@2x.png +0 -0
- package/lib/module/Icons/Speaker/assets/speaker-muted@3x.png +0 -0
- package/lib/module/Icons/Speaker/assets/speaker.png +0 -0
- package/lib/module/Icons/Speaker/assets/speaker@2x.png +0 -0
- package/lib/module/Icons/Speaker/assets/speaker@3x.png +0 -0
- package/lib/module/Icons/Speaker/index.js +23 -0
- package/lib/module/Icons/Speaker/index.js.map +1 -0
- package/lib/module/Icons/ThreeDots/assets/three-dots-vertical.png +0 -0
- package/lib/module/Icons/ThreeDots/assets/three-dots-vertical@2x.png +0 -0
- package/lib/module/Icons/ThreeDots/assets/three-dots-vertical@3x.png +0 -0
- package/lib/module/Icons/ThreeDots/index.js +23 -0
- package/lib/module/Icons/ThreeDots/index.js.map +1 -0
- package/lib/module/Icons/index.js +20 -0
- package/lib/module/Icons/index.js.map +1 -0
- package/lib/module/assets/100ms-logo.png +0 -0
- package/lib/module/assets/brb.png +0 -0
- package/lib/module/assets/icon.png +0 -0
- package/lib/module/assets/illustration.png +0 -0
- package/lib/module/assets/network_0.png +0 -0
- package/lib/module/assets/network_1.png +0 -0
- package/lib/module/assets/network_2.png +0 -0
- package/lib/module/assets/network_3.png +0 -0
- package/lib/module/assets/network_4.png +0 -0
- package/lib/module/assets/user_music.png +0 -0
- package/lib/module/components/AvatarView.js +39 -0
- package/lib/module/components/AvatarView.js.map +1 -0
- package/lib/module/components/BackButton.js +33 -0
- package/lib/module/components/BackButton.js.map +1 -0
- package/lib/module/components/Chat/ChatBanner.js +67 -0
- package/lib/module/components/Chat/ChatBanner.js.map +1 -0
- package/lib/module/components/Chat/ChatList.js +44 -0
- package/lib/module/components/Chat/ChatList.js.map +1 -0
- package/lib/module/components/Chat/ChatMessage.js +165 -0
- package/lib/module/components/Chat/ChatMessage.js.map +1 -0
- package/lib/module/components/Chat/PinnedMessage.js +75 -0
- package/lib/module/components/Chat/PinnedMessage.js.map +1 -0
- package/lib/module/components/Chat/index.js +5 -0
- package/lib/module/components/Chat/index.js.map +1 -0
- package/lib/module/components/ChatWindow.js +595 -0
- package/lib/module/components/ChatWindow.js.map +1 -0
- package/lib/module/components/CustomButton.js +46 -0
- package/lib/module/components/CustomButton.js.map +1 -0
- package/lib/module/components/CustomHLSPlayerControls.js +73 -0
- package/lib/module/components/CustomHLSPlayerControls.js.map +1 -0
- package/lib/module/components/CustomInput.js +83 -0
- package/lib/module/components/CustomInput.js.map +1 -0
- package/lib/module/components/DefaultModal.js +96 -0
- package/lib/module/components/DefaultModal.js.map +1 -0
- package/lib/module/components/DisplayTrack.js +63 -0
- package/lib/module/components/DisplayTrack.js.map +1 -0
- package/lib/module/components/DisplayView.js +203 -0
- package/lib/module/components/DisplayView.js.map +1 -0
- package/lib/module/components/Footer.js +76 -0
- package/lib/module/components/Footer.js.map +1 -0
- package/lib/module/components/FullScreenIndicator.js +17 -0
- package/lib/module/components/FullScreenIndicator.js.map +1 -0
- package/lib/module/components/GridView.js +90 -0
- package/lib/module/components/GridView.js.map +1 -0
- package/lib/module/components/HLSPlayerEmoticons.js +40 -0
- package/lib/module/components/HLSPlayerEmoticons.js.map +1 -0
- package/lib/module/components/HLSPlayerStatsView.js +56 -0
- package/lib/module/components/HLSPlayerStatsView.js.map +1 -0
- package/lib/module/components/HLSView.js +132 -0
- package/lib/module/components/HLSView.js.map +1 -0
- package/lib/module/components/HMSChat.js +22 -0
- package/lib/module/components/HMSChat.js.map +1 -0
- package/lib/module/components/HMSHLSNotStarted.js +50 -0
- package/lib/module/components/HMSHLSNotStarted.js.map +1 -0
- package/lib/module/components/HMSManageCameraRotation.js +33 -0
- package/lib/module/components/HMSManageCameraRotation.js.map +1 -0
- package/lib/module/components/HMSManageLeave.js +276 -0
- package/lib/module/components/HMSManageLeave.js.map +1 -0
- package/lib/module/components/HMSManageLocalAudio.js +37 -0
- package/lib/module/components/HMSManageLocalAudio.js.map +1 -0
- package/lib/module/components/HMSManageLocalVideo.js +37 -0
- package/lib/module/components/HMSManageLocalVideo.js.map +1 -0
- package/lib/module/components/HMSManageRaiseHand.js +39 -0
- package/lib/module/components/HMSManageRaiseHand.js.map +1 -0
- package/lib/module/components/HMSPreviewDeviceSettings.js +296 -0
- package/lib/module/components/HMSPreviewDeviceSettings.js.map +1 -0
- package/lib/module/components/HMSPreviewEditName.js +54 -0
- package/lib/module/components/HMSPreviewEditName.js.map +1 -0
- package/lib/module/components/HMSPreviewJoinButton.js +47 -0
- package/lib/module/components/HMSPreviewJoinButton.js.map +1 -0
- package/lib/module/components/HMSPreviewPeersList.js +80 -0
- package/lib/module/components/HMSPreviewPeersList.js.map +1 -0
- package/lib/module/components/HMSPreviewSubtitle.js +23 -0
- package/lib/module/components/HMSPreviewSubtitle.js.map +1 -0
- package/lib/module/components/HMSPreviewTile.js +129 -0
- package/lib/module/components/HMSPreviewTile.js.map +1 -0
- package/lib/module/components/HMSPreviewTitle.js +23 -0
- package/lib/module/components/HMSPreviewTitle.js.map +1 -0
- package/lib/module/components/HMSRoomOptions.js +96 -0
- package/lib/module/components/HMSRoomOptions.js.map +1 -0
- package/lib/module/components/HMSShareScreen.js +50 -0
- package/lib/module/components/HMSShareScreen.js.map +1 -0
- package/lib/module/components/HMSShowNetworkQuality.js +48 -0
- package/lib/module/components/HMSShowNetworkQuality.js.map +1 -0
- package/lib/module/components/Header.js +167 -0
- package/lib/module/components/Header.js.map +1 -0
- package/lib/module/components/LiveButton.js +61 -0
- package/lib/module/components/LiveButton.js.map +1 -0
- package/lib/module/components/Meeting.js +55 -0
- package/lib/module/components/Meeting.js.map +1 -0
- package/lib/module/components/MeetingScreenContent.js +89 -0
- package/lib/module/components/MeetingScreenContent.js.map +1 -0
- package/lib/module/components/MenuModal/Menu.js +242 -0
- package/lib/module/components/MenuModal/Menu.js.map +1 -0
- package/lib/module/components/MenuModal/MenuDivider.js +20 -0
- package/lib/module/components/MenuModal/MenuDivider.js.map +1 -0
- package/lib/module/components/MenuModal/MenuItem.js +53 -0
- package/lib/module/components/MenuModal/MenuItem.js.map +1 -0
- package/lib/module/components/MenuModal/index.js +4 -0
- package/lib/module/components/MenuModal/index.js.map +1 -0
- package/lib/module/components/Modals.js +1609 -0
- package/lib/module/components/Modals.js.map +1 -0
- package/lib/module/components/PIPView.js +23 -0
- package/lib/module/components/PIPView.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsFilter.js +121 -0
- package/lib/module/components/Participants/ParticipantsFilter.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsHeader.js +58 -0
- package/lib/module/components/Participants/ParticipantsHeader.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsList.js +264 -0
- package/lib/module/components/Participants/ParticipantsList.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsSeachInput.js +45 -0
- package/lib/module/components/Participants/ParticipantsSeachInput.js.map +1 -0
- package/lib/module/components/Participants/SearchableParticipantsView.js +18 -0
- package/lib/module/components/Participants/SearchableParticipantsView.js.map +1 -0
- package/lib/module/components/Participants/index.js +6 -0
- package/lib/module/components/Participants/index.js.map +1 -0
- package/lib/module/components/ParticipantsModal.js +34 -0
- package/lib/module/components/ParticipantsModal.js.map +1 -0
- package/lib/module/components/PeerDisplayView.js +71 -0
- package/lib/module/components/PeerDisplayView.js.map +1 -0
- package/lib/module/components/PeerRTCStatsContainer.js +60 -0
- package/lib/module/components/PeerRTCStatsContainer.js.map +1 -0
- package/lib/module/components/PeerRTCStatsView.js +46 -0
- package/lib/module/components/PeerRTCStatsView.js.map +1 -0
- package/lib/module/components/PeerSettingsModalContent.js +233 -0
- package/lib/module/components/PeerSettingsModalContent.js.map +1 -0
- package/lib/module/components/Picker.js +83 -0
- package/lib/module/components/Picker.js.map +1 -0
- package/lib/module/components/PressableIcon.js +37 -0
- package/lib/module/components/PressableIcon.js.map +1 -0
- package/lib/module/components/Preview.js +77 -0
- package/lib/module/components/Preview.js.map +1 -0
- package/lib/module/components/RoomSettingsModalContent.js +505 -0
- package/lib/module/components/RoomSettingsModalContent.js.map +1 -0
- package/lib/module/components/StatusBar.js +17 -0
- package/lib/module/components/StatusBar.js.map +1 -0
- package/lib/module/components/StreamingQualityModalContent.js +205 -0
- package/lib/module/components/StreamingQualityModalContent.js.map +1 -0
- package/lib/module/components/SwitchRow.js +41 -0
- package/lib/module/components/SwitchRow.js.map +1 -0
- package/lib/module/components/Tile.js +104 -0
- package/lib/module/components/Tile.js.map +1 -0
- package/lib/module/components/TilesContainer.js +31 -0
- package/lib/module/components/TilesContainer.js.map +1 -0
- package/lib/module/components/ZoomableView.js +76 -0
- package/lib/module/components/ZoomableView.js.map +1 -0
- package/lib/module/components/index.js +9 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/components/styles.js +959 -0
- package/lib/module/components/styles.js.map +1 -0
- package/lib/module/hooks/useHmsInstance.js +174 -0
- package/lib/module/hooks/useHmsInstance.js.map +1 -0
- package/lib/module/hooks-sdk-selectors.js +9 -0
- package/lib/module/hooks-sdk-selectors.js.map +1 -0
- package/lib/module/hooks-sdk.js +115 -0
- package/lib/module/hooks-sdk.js.map +1 -0
- package/lib/module/hooks-util-selectors.js +5 -0
- package/lib/module/hooks-util-selectors.js.map +1 -0
- package/lib/module/hooks-util.js +772 -0
- package/lib/module/hooks-util.js.map +1 -0
- package/lib/module/index.js +2 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/peerTrackNodeUtils.js +52 -0
- package/lib/module/peerTrackNodeUtils.js.map +1 -0
- package/lib/module/redux/actionTypes.js +67 -0
- package/lib/module/redux/actionTypes.js.map +1 -0
- package/lib/module/redux/actions/index.js +144 -0
- package/lib/module/redux/actions/index.js.map +1 -0
- package/lib/module/redux/index.js +4 -0
- package/lib/module/redux/index.js.map +1 -0
- package/lib/module/redux/reducers/appState.js +123 -0
- package/lib/module/redux/reducers/appState.js.map +1 -0
- package/lib/module/redux/reducers/chatWindow.js +38 -0
- package/lib/module/redux/reducers/chatWindow.js.map +1 -0
- package/lib/module/redux/reducers/hmsStates.js +60 -0
- package/lib/module/redux/reducers/hmsStates.js.map +1 -0
- package/lib/module/redux/reducers/index.js +14 -0
- package/lib/module/redux/reducers/index.js.map +1 -0
- package/lib/module/redux/reducers/message.js +34 -0
- package/lib/module/redux/reducers/message.js.map +1 -0
- package/lib/module/redux/reducers/userState.js +58 -0
- package/lib/module/redux/reducers/userState.js.map +1 -0
- package/lib/module/types.js +9 -0
- package/lib/module/types.js.map +1 -0
- package/lib/module/utils/dimension.js +53 -0
- package/lib/module/utils/dimension.js.map +1 -0
- package/lib/module/utils/functions.js +338 -0
- package/lib/module/utils/functions.js.map +1 -0
- package/lib/module/utils/getRoomLinkDetails.js +16 -0
- package/lib/module/utils/getRoomLinkDetails.js.map +1 -0
- package/lib/module/utils/hooks.js +39 -0
- package/lib/module/utils/hooks.js.map +1 -0
- package/lib/module/utils/theme.js +134 -0
- package/lib/module/utils/theme.js.map +1 -0
- package/lib/module/utils/types.js +90 -0
- package/lib/module/utils/types.js.map +1 -0
- package/lib/module/utils.js +23 -0
- package/lib/module/utils.js.map +1 -0
- package/lib/typescript/HMSContainer.d.ts +3 -0
- package/lib/typescript/HMSContainer.d.ts.map +1 -0
- package/lib/typescript/HMSInstanceSetup.d.ts +3 -0
- package/lib/typescript/HMSInstanceSetup.d.ts.map +1 -0
- package/lib/typescript/HMSPrebuilt.d.ts +18 -0
- package/lib/typescript/HMSPrebuilt.d.ts.map +1 -0
- package/lib/typescript/HMSRoomSetup.d.ts +3 -0
- package/lib/typescript/HMSRoomSetup.d.ts.map +1 -0
- package/lib/typescript/Icons/100ms/index.d.ts +7 -0
- package/lib/typescript/Icons/100ms/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Alert/index.d.ts +7 -0
- package/lib/typescript/Icons/Alert/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Camera/index.d.ts +8 -0
- package/lib/typescript/Icons/Camera/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Chat/index.d.ts +7 -0
- package/lib/typescript/Icons/Chat/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Chevron/index.d.ts +8 -0
- package/lib/typescript/Icons/Chevron/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Clock/index.d.ts +7 -0
- package/lib/typescript/Icons/Clock/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Close/index.d.ts +7 -0
- package/lib/typescript/Icons/Close/index.d.ts.map +1 -0
- package/lib/typescript/Icons/End/index.d.ts +7 -0
- package/lib/typescript/Icons/End/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Hand/index.d.ts +7 -0
- package/lib/typescript/Icons/Hand/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Leave/index.d.ts +7 -0
- package/lib/typescript/Icons/Leave/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Mic/index.d.ts +8 -0
- package/lib/typescript/Icons/Mic/index.d.ts.map +1 -0
- package/lib/typescript/Icons/NetworkQuality/index.d.ts +8 -0
- package/lib/typescript/Icons/NetworkQuality/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Participants/index.d.ts +7 -0
- package/lib/typescript/Icons/Participants/index.d.ts.map +1 -0
- package/lib/typescript/Icons/RotateCamera/index.d.ts +7 -0
- package/lib/typescript/Icons/RotateCamera/index.d.ts.map +1 -0
- package/lib/typescript/Icons/ScreenShare/index.d.ts +7 -0
- package/lib/typescript/Icons/ScreenShare/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Send/index.d.ts +7 -0
- package/lib/typescript/Icons/Send/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Settings/index.d.ts +7 -0
- package/lib/typescript/Icons/Settings/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Speaker/index.d.ts +8 -0
- package/lib/typescript/Icons/Speaker/index.d.ts.map +1 -0
- package/lib/typescript/Icons/ThreeDots/index.d.ts +8 -0
- package/lib/typescript/Icons/ThreeDots/index.d.ts.map +1 -0
- package/lib/typescript/Icons/index.d.ts +20 -0
- package/lib/typescript/Icons/index.d.ts.map +1 -0
- package/lib/typescript/components/AvatarView.d.ts +10 -0
- package/lib/typescript/components/AvatarView.d.ts.map +1 -0
- package/lib/typescript/components/BackButton.d.ts +5 -0
- package/lib/typescript/components/BackButton.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatBanner.d.ts +3 -0
- package/lib/typescript/components/Chat/ChatBanner.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatList.d.ts +5 -0
- package/lib/typescript/components/Chat/ChatList.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatMessage.d.ts +8 -0
- package/lib/typescript/components/Chat/ChatMessage.d.ts.map +1 -0
- package/lib/typescript/components/Chat/PinnedMessage.d.ts +3 -0
- package/lib/typescript/components/Chat/PinnedMessage.d.ts.map +1 -0
- package/lib/typescript/components/Chat/index.d.ts +5 -0
- package/lib/typescript/components/Chat/index.d.ts.map +1 -0
- package/lib/typescript/components/ChatWindow.d.ts +22 -0
- package/lib/typescript/components/ChatWindow.d.ts.map +1 -0
- package/lib/typescript/components/CustomButton.d.ts +14 -0
- package/lib/typescript/components/CustomButton.d.ts.map +1 -0
- package/lib/typescript/components/CustomHLSPlayerControls.d.ts +7 -0
- package/lib/typescript/components/CustomHLSPlayerControls.d.ts.map +1 -0
- package/lib/typescript/components/CustomInput.d.ts +24 -0
- package/lib/typescript/components/CustomInput.d.ts.map +1 -0
- package/lib/typescript/components/DefaultModal.d.ts +15 -0
- package/lib/typescript/components/DefaultModal.d.ts.map +1 -0
- package/lib/typescript/components/DisplayTrack.d.ts +9 -0
- package/lib/typescript/components/DisplayTrack.d.ts.map +1 -0
- package/lib/typescript/components/DisplayView.d.ts +10 -0
- package/lib/typescript/components/DisplayView.d.ts.map +1 -0
- package/lib/typescript/components/Footer.d.ts +9 -0
- package/lib/typescript/components/Footer.d.ts.map +1 -0
- package/lib/typescript/components/FullScreenIndicator.d.ts +3 -0
- package/lib/typescript/components/FullScreenIndicator.d.ts.map +1 -0
- package/lib/typescript/components/GridView.d.ts +14 -0
- package/lib/typescript/components/GridView.d.ts.map +1 -0
- package/lib/typescript/components/HLSPlayerEmoticons.d.ts +2 -0
- package/lib/typescript/components/HLSPlayerEmoticons.d.ts.map +1 -0
- package/lib/typescript/components/HLSPlayerStatsView.d.ts +6 -0
- package/lib/typescript/components/HLSPlayerStatsView.d.ts.map +1 -0
- package/lib/typescript/components/HLSView.d.ts +3 -0
- package/lib/typescript/components/HLSView.d.ts.map +1 -0
- package/lib/typescript/components/HMSChat.d.ts +3 -0
- package/lib/typescript/components/HMSChat.d.ts.map +1 -0
- package/lib/typescript/components/HMSHLSNotStarted.d.ts +3 -0
- package/lib/typescript/components/HMSHLSNotStarted.d.ts.map +1 -0
- package/lib/typescript/components/HMSManageCameraRotation.d.ts +3 -0
- package/lib/typescript/components/HMSManageCameraRotation.d.ts.map +1 -0
- package/lib/typescript/components/HMSManageLeave.d.ts +9 -0
- package/lib/typescript/components/HMSManageLeave.d.ts.map +1 -0
- package/lib/typescript/components/HMSManageLocalAudio.d.ts +3 -0
- package/lib/typescript/components/HMSManageLocalAudio.d.ts.map +1 -0
- package/lib/typescript/components/HMSManageLocalVideo.d.ts +3 -0
- package/lib/typescript/components/HMSManageLocalVideo.d.ts.map +1 -0
- package/lib/typescript/components/HMSManageRaiseHand.d.ts +3 -0
- package/lib/typescript/components/HMSManageRaiseHand.d.ts.map +1 -0
- package/lib/typescript/components/HMSPreviewDeviceSettings.d.ts +3 -0
- package/lib/typescript/components/HMSPreviewDeviceSettings.d.ts.map +1 -0
- package/lib/typescript/components/HMSPreviewEditName.d.ts +5 -0
- package/lib/typescript/components/HMSPreviewEditName.d.ts.map +1 -0
- package/lib/typescript/components/HMSPreviewJoinButton.d.ts +7 -0
- package/lib/typescript/components/HMSPreviewJoinButton.d.ts.map +1 -0
- package/lib/typescript/components/HMSPreviewPeersList.d.ts +5 -0
- package/lib/typescript/components/HMSPreviewPeersList.d.ts.map +1 -0
- package/lib/typescript/components/HMSPreviewSubtitle.d.ts +6 -0
- package/lib/typescript/components/HMSPreviewSubtitle.d.ts.map +1 -0
- package/lib/typescript/components/HMSPreviewTile.d.ts +3 -0
- package/lib/typescript/components/HMSPreviewTile.d.ts.map +1 -0
- package/lib/typescript/components/HMSPreviewTitle.d.ts +6 -0
- package/lib/typescript/components/HMSPreviewTitle.d.ts.map +1 -0
- package/lib/typescript/components/HMSRoomOptions.d.ts +6 -0
- package/lib/typescript/components/HMSRoomOptions.d.ts.map +1 -0
- package/lib/typescript/components/HMSShareScreen.d.ts +9 -0
- package/lib/typescript/components/HMSShareScreen.d.ts.map +1 -0
- package/lib/typescript/components/HMSShowNetworkQuality.d.ts +3 -0
- package/lib/typescript/components/HMSShowNetworkQuality.d.ts.map +1 -0
- package/lib/typescript/components/Header.d.ts +9 -0
- package/lib/typescript/components/Header.d.ts.map +1 -0
- package/lib/typescript/components/LiveButton.d.ts +17 -0
- package/lib/typescript/components/LiveButton.d.ts.map +1 -0
- package/lib/typescript/components/Meeting.d.ts +8 -0
- package/lib/typescript/components/Meeting.d.ts.map +1 -0
- package/lib/typescript/components/MeetingScreenContent.d.ts +8 -0
- package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -0
- package/lib/typescript/components/MenuModal/Menu.d.ts +45 -0
- package/lib/typescript/components/MenuModal/Menu.d.ts.map +1 -0
- package/lib/typescript/components/MenuModal/MenuDivider.d.ts +6 -0
- package/lib/typescript/components/MenuModal/MenuDivider.d.ts.map +1 -0
- package/lib/typescript/components/MenuModal/MenuItem.d.ts +12 -0
- package/lib/typescript/components/MenuModal/MenuItem.d.ts.map +1 -0
- package/lib/typescript/components/MenuModal/index.d.ts +7 -0
- package/lib/typescript/components/MenuModal/index.d.ts.map +1 -0
- package/lib/typescript/components/Modals.d.ts +96 -0
- package/lib/typescript/components/Modals.d.ts.map +1 -0
- package/lib/typescript/components/PIPView.d.ts +8 -0
- package/lib/typescript/components/PIPView.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsFilter.d.ts +6 -0
- package/lib/typescript/components/Participants/ParticipantsFilter.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsHeader.d.ts +9 -0
- package/lib/typescript/components/Participants/ParticipantsHeader.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsList.d.ts +7 -0
- package/lib/typescript/components/Participants/ParticipantsList.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsSeachInput.d.ts +8 -0
- package/lib/typescript/components/Participants/ParticipantsSeachInput.d.ts.map +1 -0
- package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts +3 -0
- package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts.map +1 -0
- package/lib/typescript/components/Participants/index.d.ts +6 -0
- package/lib/typescript/components/Participants/index.d.ts.map +1 -0
- package/lib/typescript/components/ParticipantsModal.d.ts +5 -0
- package/lib/typescript/components/ParticipantsModal.d.ts.map +1 -0
- package/lib/typescript/components/PeerDisplayView.d.ts +11 -0
- package/lib/typescript/components/PeerDisplayView.d.ts.map +1 -0
- package/lib/typescript/components/PeerRTCStatsContainer.d.ts +9 -0
- package/lib/typescript/components/PeerRTCStatsContainer.d.ts.map +1 -0
- package/lib/typescript/components/PeerRTCStatsView.d.ts +10 -0
- package/lib/typescript/components/PeerRTCStatsView.d.ts.map +1 -0
- package/lib/typescript/components/PeerSettingsModalContent.d.ts +13 -0
- package/lib/typescript/components/PeerSettingsModalContent.d.ts.map +1 -0
- package/lib/typescript/components/Picker.d.ts +9 -0
- package/lib/typescript/components/Picker.d.ts.map +1 -0
- package/lib/typescript/components/PressableIcon.d.ts +11 -0
- package/lib/typescript/components/PressableIcon.d.ts.map +1 -0
- package/lib/typescript/components/Preview.d.ts +6 -0
- package/lib/typescript/components/Preview.d.ts.map +1 -0
- package/lib/typescript/components/RoomSettingsModalContent.d.ts +17 -0
- package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -0
- package/lib/typescript/components/StatusBar.d.ts +7 -0
- package/lib/typescript/components/StatusBar.d.ts.map +1 -0
- package/lib/typescript/components/StreamingQualityModalContent.d.ts +9 -0
- package/lib/typescript/components/StreamingQualityModalContent.d.ts.map +1 -0
- package/lib/typescript/components/SwitchRow.d.ts +12 -0
- package/lib/typescript/components/SwitchRow.d.ts.map +1 -0
- package/lib/typescript/components/Tile.d.ts +12 -0
- package/lib/typescript/components/Tile.d.ts.map +1 -0
- package/lib/typescript/components/TilesContainer.d.ts +11 -0
- package/lib/typescript/components/TilesContainer.d.ts.map +1 -0
- package/lib/typescript/components/ZoomableView.d.ts +6 -0
- package/lib/typescript/components/ZoomableView.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +9 -0
- package/lib/typescript/components/index.d.ts.map +1 -0
- package/lib/typescript/components/styles.d.ts +945 -0
- package/lib/typescript/components/styles.d.ts.map +1 -0
- package/lib/typescript/hooks/useHmsInstance.d.ts +1 -0
- package/lib/typescript/hooks/useHmsInstance.d.ts.map +1 -0
- package/lib/typescript/hooks-sdk-selectors.d.ts +4 -0
- package/lib/typescript/hooks-sdk-selectors.d.ts.map +1 -0
- package/lib/typescript/hooks-sdk.d.ts +12 -0
- package/lib/typescript/hooks-sdk.d.ts.map +1 -0
- package/lib/typescript/hooks-util-selectors.d.ts +3 -0
- package/lib/typescript/hooks-util-selectors.d.ts.map +1 -0
- package/lib/typescript/hooks-util.d.ts +53 -0
- package/lib/typescript/hooks-util.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +2 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/peerTrackNodeUtils.d.ts +10 -0
- package/lib/typescript/peerTrackNodeUtils.d.ts.map +1 -0
- package/lib/typescript/redux/actionTypes.d.ts +56 -0
- package/lib/typescript/redux/actionTypes.d.ts.map +1 -0
- package/lib/typescript/redux/actions/index.d.ts +199 -0
- package/lib/typescript/redux/actions/index.d.ts.map +1 -0
- package/lib/typescript/redux/index.d.ts +55 -0
- package/lib/typescript/redux/index.d.ts.map +1 -0
- package/lib/typescript/redux/reducers/appState.d.ts +32 -0
- package/lib/typescript/redux/reducers/appState.d.ts.map +1 -0
- package/lib/typescript/redux/reducers/chatWindow.d.ts +10 -0
- package/lib/typescript/redux/reducers/chatWindow.d.ts.map +1 -0
- package/lib/typescript/redux/reducers/hmsStates.d.ts +46 -0
- package/lib/typescript/redux/reducers/hmsStates.d.ts.map +1 -0
- package/lib/typescript/redux/reducers/index.d.ts +54 -0
- package/lib/typescript/redux/reducers/index.d.ts.map +1 -0
- package/lib/typescript/redux/reducers/message.d.ts +12 -0
- package/lib/typescript/redux/reducers/message.d.ts.map +1 -0
- package/lib/typescript/redux/reducers/userState.d.ts +26 -0
- package/lib/typescript/redux/reducers/userState.d.ts.map +1 -0
- package/lib/typescript/types.d.ts +8 -0
- package/lib/typescript/types.d.ts.map +1 -0
- package/lib/typescript/utils/dimension.d.ts +15 -0
- package/lib/typescript/utils/dimension.d.ts.map +1 -0
- package/lib/typescript/utils/functions.d.ts +47 -0
- package/lib/typescript/utils/functions.d.ts.map +1 -0
- package/lib/typescript/utils/getRoomLinkDetails.d.ts +5 -0
- package/lib/typescript/utils/getRoomLinkDetails.d.ts.map +1 -0
- package/lib/typescript/utils/hooks.d.ts +2 -0
- package/lib/typescript/utils/hooks.d.ts.map +1 -0
- package/lib/typescript/utils/theme.d.ts +126 -0
- package/lib/typescript/utils/theme.d.ts.map +1 -0
- package/lib/typescript/utils/types.d.ts +82 -0
- package/lib/typescript/utils/types.d.ts.map +1 -0
- package/lib/typescript/utils.d.ts +12 -0
- package/lib/typescript/utils.d.ts.map +1 -0
- package/package.json +182 -0
- package/src/HMSContainer.tsx +18 -0
- package/src/HMSInstanceSetup.tsx +196 -0
- package/src/HMSPrebuilt.tsx +36 -0
- package/src/HMSRoomSetup.tsx +281 -0
- package/src/Icons/100ms/assets/hms-logo.png +0 -0
- package/src/Icons/100ms/assets/hms-logo@2x.png +0 -0
- package/src/Icons/100ms/assets/hms-logo@3x.png +0 -0
- package/src/Icons/100ms/index.tsx +27 -0
- package/src/Icons/Alert/assets/alert.png +0 -0
- package/src/Icons/Alert/assets/alert@2x.png +0 -0
- package/src/Icons/Alert/assets/alert@3x.png +0 -0
- package/src/Icons/Alert/index.tsx +27 -0
- package/src/Icons/Camera/assets/camera-muted.png +0 -0
- package/src/Icons/Camera/assets/camera-muted@2x.png +0 -0
- package/src/Icons/Camera/assets/camera-muted@3x.png +0 -0
- package/src/Icons/Camera/assets/camera-unmuted.png +0 -0
- package/src/Icons/Camera/assets/camera-unmuted@2x.png +0 -0
- package/src/Icons/Camera/assets/camera-unmuted@3x.png +0 -0
- package/src/Icons/Camera/index.tsx +34 -0
- package/src/Icons/Chat/assets/chat.png +0 -0
- package/src/Icons/Chat/assets/chat@2x.png +0 -0
- package/src/Icons/Chat/assets/chat@3x.png +0 -0
- package/src/Icons/Chat/index.tsx +24 -0
- package/src/Icons/Chevron/assets/chevron-down.png +0 -0
- package/src/Icons/Chevron/assets/chevron-down@2x.png +0 -0
- package/src/Icons/Chevron/assets/chevron-down@3x.png +0 -0
- package/src/Icons/Chevron/assets/chevron-left.png +0 -0
- package/src/Icons/Chevron/assets/chevron-left@2x.png +0 -0
- package/src/Icons/Chevron/assets/chevron-left@3x.png +0 -0
- package/src/Icons/Chevron/index.tsx +34 -0
- package/src/Icons/Clock/assets/clock.png +0 -0
- package/src/Icons/Clock/assets/clock@2x.png +0 -0
- package/src/Icons/Clock/assets/clock@3x.png +0 -0
- package/src/Icons/Clock/index.tsx +27 -0
- package/src/Icons/Close/assets/close.png +0 -0
- package/src/Icons/Close/assets/close@2x.png +0 -0
- package/src/Icons/Close/assets/close@3x.png +0 -0
- package/src/Icons/Close/index.tsx +27 -0
- package/src/Icons/End/assets/end.png +0 -0
- package/src/Icons/End/assets/end@2x.png +0 -0
- package/src/Icons/End/assets/end@3x.png +0 -0
- package/src/Icons/End/index.tsx +24 -0
- package/src/Icons/Hand/assets/hand.png +0 -0
- package/src/Icons/Hand/assets/hand@2x.png +0 -0
- package/src/Icons/Hand/assets/hand@3x.png +0 -0
- package/src/Icons/Hand/index.tsx +27 -0
- package/src/Icons/Leave/assets/leave.png +0 -0
- package/src/Icons/Leave/assets/leave@2x.png +0 -0
- package/src/Icons/Leave/assets/leave@3x.png +0 -0
- package/src/Icons/Leave/index.tsx +27 -0
- package/src/Icons/Mic/assets/mic-muted.png +0 -0
- package/src/Icons/Mic/assets/mic-muted@2x.png +0 -0
- package/src/Icons/Mic/assets/mic-muted@3x.png +0 -0
- package/src/Icons/Mic/assets/mic-unmuted.png +0 -0
- package/src/Icons/Mic/assets/mic-unmuted@2x.png +0 -0
- package/src/Icons/Mic/assets/mic-unmuted@3x.png +0 -0
- package/src/Icons/Mic/index.tsx +34 -0
- package/src/Icons/NetworkQuality/assets/network_0.png +0 -0
- package/src/Icons/NetworkQuality/assets/network_0@2x.png +0 -0
- package/src/Icons/NetworkQuality/assets/network_0@3x.png +0 -0
- package/src/Icons/NetworkQuality/assets/network_1.png +0 -0
- package/src/Icons/NetworkQuality/assets/network_1@2x.png +0 -0
- package/src/Icons/NetworkQuality/assets/network_1@3x.png +0 -0
- package/src/Icons/NetworkQuality/assets/network_2.png +0 -0
- package/src/Icons/NetworkQuality/assets/network_2@2x.png +0 -0
- package/src/Icons/NetworkQuality/assets/network_2@3x.png +0 -0
- package/src/Icons/NetworkQuality/assets/network_3.png +0 -0
- package/src/Icons/NetworkQuality/assets/network_3@2x.png +0 -0
- package/src/Icons/NetworkQuality/assets/network_3@3x.png +0 -0
- package/src/Icons/NetworkQuality/assets/network_4.png +0 -0
- package/src/Icons/NetworkQuality/assets/network_4@2x.png +0 -0
- package/src/Icons/NetworkQuality/assets/network_4@3x.png +0 -0
- package/src/Icons/NetworkQuality/assets/network_5.png +0 -0
- package/src/Icons/NetworkQuality/assets/network_5@2x.png +0 -0
- package/src/Icons/NetworkQuality/assets/network_5@3x.png +0 -0
- package/src/Icons/NetworkQuality/index.tsx +42 -0
- package/src/Icons/Participants/assets/participants.png +0 -0
- package/src/Icons/Participants/assets/participants@2x.png +0 -0
- package/src/Icons/Participants/assets/participants@3x.png +0 -0
- package/src/Icons/Participants/index.tsx +27 -0
- package/src/Icons/RotateCamera/assets/rotate-camera.png +0 -0
- package/src/Icons/RotateCamera/assets/rotate-camera@2x.png +0 -0
- package/src/Icons/RotateCamera/assets/rotate-camera@3x.png +0 -0
- package/src/Icons/RotateCamera/index.tsx +27 -0
- package/src/Icons/ScreenShare/assets/screen-share.png +0 -0
- package/src/Icons/ScreenShare/assets/screen-share@2x.png +0 -0
- package/src/Icons/ScreenShare/assets/screen-share@3x.png +0 -0
- package/src/Icons/ScreenShare/index.tsx +27 -0
- package/src/Icons/Send/assets/send.png +0 -0
- package/src/Icons/Send/assets/send@2x.png +0 -0
- package/src/Icons/Send/assets/send@3x.png +0 -0
- package/src/Icons/Send/index.tsx +24 -0
- package/src/Icons/Settings/assets/settings.png +0 -0
- package/src/Icons/Settings/assets/settings@2x.png +0 -0
- package/src/Icons/Settings/assets/settings@3x.png +0 -0
- package/src/Icons/Settings/index.tsx +27 -0
- package/src/Icons/Speaker/assets/speaker-muted.png +0 -0
- package/src/Icons/Speaker/assets/speaker-muted@2x.png +0 -0
- package/src/Icons/Speaker/assets/speaker-muted@3x.png +0 -0
- package/src/Icons/Speaker/assets/speaker.png +0 -0
- package/src/Icons/Speaker/assets/speaker@2x.png +0 -0
- package/src/Icons/Speaker/assets/speaker@3x.png +0 -0
- package/src/Icons/Speaker/index.tsx +34 -0
- package/src/Icons/ThreeDots/assets/three-dots-vertical.png +0 -0
- package/src/Icons/ThreeDots/assets/three-dots-vertical@2x.png +0 -0
- package/src/Icons/ThreeDots/assets/three-dots-vertical@3x.png +0 -0
- package/src/Icons/ThreeDots/index.tsx +34 -0
- package/src/Icons/index.ts +19 -0
- package/src/assets/100ms-logo.png +0 -0
- package/src/assets/brb.png +0 -0
- package/src/assets/icon.png +0 -0
- package/src/assets/illustration.png +0 -0
- package/src/assets/network_0.png +0 -0
- package/src/assets/network_1.png +0 -0
- package/src/assets/network_2.png +0 -0
- package/src/assets/network_3.png +0 -0
- package/src/assets/network_4.png +0 -0
- package/src/assets/user_music.png +0 -0
- package/src/components/AvatarView.tsx +54 -0
- package/src/components/BackButton.tsx +42 -0
- package/src/components/Chat/ChatBanner.tsx +70 -0
- package/src/components/Chat/ChatList.tsx +60 -0
- package/src/components/Chat/ChatMessage.tsx +237 -0
- package/src/components/Chat/PinnedMessage.tsx +89 -0
- package/src/components/Chat/index.ts +4 -0
- package/src/components/ChatWindow.tsx +706 -0
- package/src/components/CustomButton.tsx +80 -0
- package/src/components/CustomHLSPlayerControls.tsx +92 -0
- package/src/components/CustomInput.tsx +139 -0
- package/src/components/DefaultModal.tsx +117 -0
- package/src/components/DisplayTrack.tsx +92 -0
- package/src/components/DisplayView.tsx +314 -0
- package/src/components/Footer.tsx +109 -0
- package/src/components/FullScreenIndicator.tsx +21 -0
- package/src/components/GridView.tsx +124 -0
- package/src/components/HLSPlayerEmoticons.tsx +60 -0
- package/src/components/HLSPlayerStatsView.tsx +68 -0
- package/src/components/HLSView.tsx +170 -0
- package/src/components/HMSChat.tsx +36 -0
- package/src/components/HMSHLSNotStarted.tsx +62 -0
- package/src/components/HMSManageCameraRotation.tsx +48 -0
- package/src/components/HMSManageLeave.tsx +349 -0
- package/src/components/HMSManageLocalAudio.tsx +49 -0
- package/src/components/HMSManageLocalVideo.tsx +49 -0
- package/src/components/HMSManageRaiseHand.tsx +48 -0
- package/src/components/HMSPreviewDeviceSettings.tsx +387 -0
- package/src/components/HMSPreviewEditName.tsx +63 -0
- package/src/components/HMSPreviewJoinButton.tsx +64 -0
- package/src/components/HMSPreviewPeersList.tsx +108 -0
- package/src/components/HMSPreviewSubtitle.tsx +26 -0
- package/src/components/HMSPreviewTile.tsx +152 -0
- package/src/components/HMSPreviewTitle.tsx +26 -0
- package/src/components/HMSRoomOptions.tsx +141 -0
- package/src/components/HMSShareScreen.tsx +71 -0
- package/src/components/HMSShowNetworkQuality.tsx +67 -0
- package/src/components/Header.tsx +185 -0
- package/src/components/LiveButton.tsx +77 -0
- package/src/components/Meeting.tsx +72 -0
- package/src/components/MeetingScreenContent.tsx +109 -0
- package/src/components/MenuModal/Menu.tsx +305 -0
- package/src/components/MenuModal/MenuDivider.tsx +22 -0
- package/src/components/MenuModal/MenuItem.tsx +67 -0
- package/src/components/MenuModal/index.ts +7 -0
- package/src/components/Modals.tsx +2103 -0
- package/src/components/PIPView.tsx +30 -0
- package/src/components/Participants/ParticipantsFilter.tsx +144 -0
- package/src/components/Participants/ParticipantsHeader.tsx +64 -0
- package/src/components/Participants/ParticipantsList.tsx +331 -0
- package/src/components/Participants/ParticipantsSeachInput.tsx +55 -0
- package/src/components/Participants/SearchableParticipantsView.tsx +21 -0
- package/src/components/Participants/index.ts +5 -0
- package/src/components/ParticipantsModal.tsx +46 -0
- package/src/components/PeerDisplayView.tsx +112 -0
- package/src/components/PeerRTCStatsContainer.tsx +82 -0
- package/src/components/PeerRTCStatsView.tsx +110 -0
- package/src/components/PeerSettingsModalContent.tsx +355 -0
- package/src/components/Picker.tsx +108 -0
- package/src/components/PressableIcon.tsx +54 -0
- package/src/components/Preview.tsx +108 -0
- package/src/components/RoomSettingsModalContent.tsx +743 -0
- package/src/components/StatusBar.tsx +22 -0
- package/src/components/StreamingQualityModalContent.tsx +266 -0
- package/src/components/SwitchRow.tsx +55 -0
- package/src/components/Tile.tsx +119 -0
- package/src/components/TilesContainer.tsx +48 -0
- package/src/components/ZoomableView.tsx +91 -0
- package/src/components/index.ts +8 -0
- package/src/components/styles.ts +961 -0
- package/src/hooks/useHmsInstance.ts +173 -0
- package/src/hooks-sdk-selectors.tsx +9 -0
- package/src/hooks-sdk.ts +156 -0
- package/src/hooks-util-selectors.tsx +4 -0
- package/src/hooks-util.ts +1124 -0
- package/src/index.ts +1 -0
- package/src/peerTrackNodeUtils.tsx +114 -0
- package/src/redux/actionTypes.ts +85 -0
- package/src/redux/actions/index.ts +196 -0
- package/src/redux/index.ts +8 -0
- package/src/redux/reducers/appState.ts +143 -0
- package/src/redux/reducers/chatWindow.ts +35 -0
- package/src/redux/reducers/hmsStates.ts +126 -0
- package/src/redux/reducers/index.ts +14 -0
- package/src/redux/reducers/message.ts +36 -0
- package/src/redux/reducers/userState.ts +88 -0
- package/src/types.ts +7 -0
- package/src/utils/dimension.ts +57 -0
- package/src/utils/functions.ts +522 -0
- package/src/utils/getRoomLinkDetails.ts +23 -0
- package/src/utils/hooks.ts +104 -0
- package/src/utils/theme.ts +130 -0
- package/src/utils/types.ts +95 -0
- package/src/utils.ts +24 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Preview = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _reactNativeAvoidSoftinput = require("react-native-avoid-softinput");
|
|
10
|
+
var _reactNativeSafeAreaContext = require("react-native-safe-area-context");
|
|
11
|
+
var _theme = require("../utils/theme");
|
|
12
|
+
var _BackButton = require("./BackButton");
|
|
13
|
+
var _HMSManageCameraRotation = require("./HMSManageCameraRotation");
|
|
14
|
+
var _HMSManageLocalAudio = require("./HMSManageLocalAudio");
|
|
15
|
+
var _HMSManageLocalVideo = require("./HMSManageLocalVideo");
|
|
16
|
+
var _HMSPreviewEditName = require("./HMSPreviewEditName");
|
|
17
|
+
var _HMSPreviewJoinButton = require("./HMSPreviewJoinButton");
|
|
18
|
+
var _HMSPreviewPeersList = require("./HMSPreviewPeersList");
|
|
19
|
+
var _HMSPreviewSubtitle = require("./HMSPreviewSubtitle");
|
|
20
|
+
var _HMSPreviewTile = require("./HMSPreviewTile");
|
|
21
|
+
var _HMSPreviewTitle = require("./HMSPreviewTitle");
|
|
22
|
+
var _HMSPreviewDeviceSettings = require("./HMSPreviewDeviceSettings");
|
|
23
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
24
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
|
+
const Preview = _ref => {
|
|
26
|
+
let {
|
|
27
|
+
join,
|
|
28
|
+
loadingButtonState
|
|
29
|
+
} = _ref;
|
|
30
|
+
const {
|
|
31
|
+
bottom
|
|
32
|
+
} = (0, _reactNativeSafeAreaContext.useSafeAreaInsets)();
|
|
33
|
+
(0, _react.useEffect)(() => {
|
|
34
|
+
_reactNativeAvoidSoftinput.AvoidSoftInput.setAdjustNothing();
|
|
35
|
+
_reactNativeAvoidSoftinput.AvoidSoftInput.setEnabled(true);
|
|
36
|
+
return () => _reactNativeAvoidSoftinput.AvoidSoftInput.setEnabled(false);
|
|
37
|
+
}, []);
|
|
38
|
+
return /*#__PURE__*/_react.default.createElement(_reactNativeSafeAreaContext.SafeAreaView, {
|
|
39
|
+
style: styles.container
|
|
40
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.ScrollView, {
|
|
41
|
+
contentContainerStyle: styles.scrollContainer,
|
|
42
|
+
bounces: false
|
|
43
|
+
}, /*#__PURE__*/_react.default.createElement(_BackButton.BackButton, null), /*#__PURE__*/_react.default.createElement(_HMSPreviewTitle.HMSPreviewTitle, null), /*#__PURE__*/_react.default.createElement(_HMSPreviewSubtitle.HMSPreviewSubtitle, null), /*#__PURE__*/_react.default.createElement(_HMSPreviewPeersList.HMSPreviewPeersList, null), /*#__PURE__*/_react.default.createElement(_HMSPreviewTile.HMSPreviewTile, null), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
44
|
+
style: styles.controlsContainer
|
|
45
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
46
|
+
style: styles.micAndCameraControls
|
|
47
|
+
}, /*#__PURE__*/_react.default.createElement(_HMSManageLocalAudio.HMSManageLocalAudio, null), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
48
|
+
style: styles.manageLocalVideoWrapper
|
|
49
|
+
}, /*#__PURE__*/_react.default.createElement(_HMSManageLocalVideo.HMSManageLocalVideo, null)), /*#__PURE__*/_react.default.createElement(_HMSManageCameraRotation.HMSManageCameraRotation, null)), /*#__PURE__*/_react.default.createElement(_HMSPreviewDeviceSettings.HMSPreviewDeviceSettings, null)), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
50
|
+
style: [styles.joinButtonRow, {
|
|
51
|
+
marginBottom: 34 - bottom + 12
|
|
52
|
+
}]
|
|
53
|
+
}, /*#__PURE__*/_react.default.createElement(_HMSPreviewEditName.HMSPreviewEditName, null), /*#__PURE__*/_react.default.createElement(_HMSPreviewJoinButton.HMSPreviewJoinButton, {
|
|
54
|
+
onJoin: join,
|
|
55
|
+
loading: loadingButtonState
|
|
56
|
+
}))));
|
|
57
|
+
};
|
|
58
|
+
exports.Preview = Preview;
|
|
59
|
+
const styles = _reactNative.StyleSheet.create({
|
|
60
|
+
container: {
|
|
61
|
+
flex: 1,
|
|
62
|
+
backgroundColor: _theme.COLORS.BACKGROUND.DIM
|
|
63
|
+
},
|
|
64
|
+
scrollContainer: {
|
|
65
|
+
flexGrow: 1
|
|
66
|
+
},
|
|
67
|
+
controlsContainer: {
|
|
68
|
+
marginHorizontal: 24,
|
|
69
|
+
marginTop: 24,
|
|
70
|
+
flexDirection: 'row',
|
|
71
|
+
alignItems: 'center',
|
|
72
|
+
justifyContent: 'space-between'
|
|
73
|
+
},
|
|
74
|
+
micAndCameraControls: {
|
|
75
|
+
flexDirection: 'row'
|
|
76
|
+
},
|
|
77
|
+
manageLocalVideoWrapper: {
|
|
78
|
+
marginHorizontal: 16
|
|
79
|
+
},
|
|
80
|
+
joinButtonRow: {
|
|
81
|
+
marginHorizontal: 24,
|
|
82
|
+
marginTop: 16,
|
|
83
|
+
flexDirection: 'row'
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
//# sourceMappingURL=Preview.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeAvoidSoftinput","_reactNativeSafeAreaContext","_theme","_BackButton","_HMSManageCameraRotation","_HMSManageLocalAudio","_HMSManageLocalVideo","_HMSPreviewEditName","_HMSPreviewJoinButton","_HMSPreviewPeersList","_HMSPreviewSubtitle","_HMSPreviewTile","_HMSPreviewTitle","_HMSPreviewDeviceSettings","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","Preview","_ref","join","loadingButtonState","bottom","useSafeAreaInsets","useEffect","AvoidSoftInput","setAdjustNothing","setEnabled","createElement","SafeAreaView","style","styles","container","ScrollView","contentContainerStyle","scrollContainer","bounces","BackButton","HMSPreviewTitle","HMSPreviewSubtitle","HMSPreviewPeersList","HMSPreviewTile","View","controlsContainer","micAndCameraControls","HMSManageLocalAudio","manageLocalVideoWrapper","HMSManageLocalVideo","HMSManageCameraRotation","HMSPreviewDeviceSettings","joinButtonRow","marginBottom","HMSPreviewEditName","HMSPreviewJoinButton","onJoin","loading","exports","StyleSheet","create","flex","backgroundColor","COLORS","BACKGROUND","DIM","flexGrow","marginHorizontal","marginTop","flexDirection","alignItems","justifyContent"],"sourceRoot":"../../../src","sources":["components/Preview.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,0BAAA,GAAAF,OAAA;AAEA,IAAAG,2BAAA,GAAAH,OAAA;AAKA,IAAAI,MAAA,GAAAJ,OAAA;AAEA,IAAAK,WAAA,GAAAL,OAAA;AACA,IAAAM,wBAAA,GAAAN,OAAA;AACA,IAAAO,oBAAA,GAAAP,OAAA;AACA,IAAAQ,oBAAA,GAAAR,OAAA;AACA,IAAAS,mBAAA,GAAAT,OAAA;AACA,IAAAU,qBAAA,GAAAV,OAAA;AACA,IAAAW,oBAAA,GAAAX,OAAA;AACA,IAAAY,mBAAA,GAAAZ,OAAA;AACA,IAAAa,eAAA,GAAAb,OAAA;AACA,IAAAc,gBAAA,GAAAd,OAAA;AACA,IAAAe,yBAAA,GAAAf,OAAA;AAAsE,SAAAgB,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAlB,wBAAAsB,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAV,GAAA,EAAAW,GAAA,cAAAI,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,MAAA,CAAAC,cAAA,CAAAH,MAAA,EAAAK,GAAA,EAAAI,IAAA,YAAAT,MAAA,CAAAK,GAAA,IAAAX,GAAA,CAAAW,GAAA,SAAAL,MAAA,CAAAJ,OAAA,GAAAF,GAAA,MAAAG,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAAhB,GAAA,EAAAM,MAAA,YAAAA,MAAA;AAE/D,MAAMW,OAAO,GAAGC,IAAA,IAMjB;EAAA,IANkB;IACtBC,IAAI;IACJC;EAIF,CAAC,GAAAF,IAAA;EACC,MAAM;IAAEG;EAAO,CAAC,GAAG,IAAAC,6CAAiB,EAAC,CAAC;EAEtC,IAAAC,gBAAS,EAAC,MAAM;IACdC,yCAAc,CAACC,gBAAgB,CAAC,CAAC;IACjCD,yCAAc,CAACE,UAAU,CAAC,IAAI,CAAC;IAE/B,OAAO,MAAMF,yCAAc,CAACE,UAAU,CAAC,KAAK,CAAC;EAC/C,CAAC,EAAE,EAAE,CAAC;EAEN,oBACEjD,MAAA,CAAAyB,OAAA,CAAAyB,aAAA,CAAC7C,2BAAA,CAAA8C,YAAY;IAACC,KAAK,EAAEC,MAAM,CAACC;EAAU,gBACpCtD,MAAA,CAAAyB,OAAA,CAAAyB,aAAA,CAAC/C,YAAA,CAAAoD,UAAU;IACTC,qBAAqB,EAAEH,MAAM,CAACI,eAAgB;IAC9CC,OAAO,EAAE;EAAM,gBAEf1D,MAAA,CAAAyB,OAAA,CAAAyB,aAAA,CAAC3C,WAAA,CAAAoD,UAAU,MAAE,CAAC,eAEd3D,MAAA,CAAAyB,OAAA,CAAAyB,aAAA,CAAClC,gBAAA,CAAA4C,eAAe,MAAE,CAAC,eAEnB5D,MAAA,CAAAyB,OAAA,CAAAyB,aAAA,CAACpC,mBAAA,CAAA+C,kBAAkB,MAAE,CAAC,eAEtB7D,MAAA,CAAAyB,OAAA,CAAAyB,aAAA,CAACrC,oBAAA,CAAAiD,mBAAmB,MAAE,CAAC,eAEvB9D,MAAA,CAAAyB,OAAA,CAAAyB,aAAA,CAACnC,eAAA,CAAAgD,cAAc,MAAE,CAAC,eAElB/D,MAAA,CAAAyB,OAAA,CAAAyB,aAAA,CAAC/C,YAAA,CAAA6D,IAAI;IAACZ,KAAK,EAAEC,MAAM,CAACY;EAAkB,gBACpCjE,MAAA,CAAAyB,OAAA,CAAAyB,aAAA,CAAC/C,YAAA,CAAA6D,IAAI;IAACZ,KAAK,EAAEC,MAAM,CAACa;EAAqB,gBACvClE,MAAA,CAAAyB,OAAA,CAAAyB,aAAA,CAACzC,oBAAA,CAAA0D,mBAAmB,MAAE,CAAC,eAEvBnE,MAAA,CAAAyB,OAAA,CAAAyB,aAAA,CAAC/C,YAAA,CAAA6D,IAAI;IAACZ,KAAK,EAAEC,MAAM,CAACe;EAAwB,gBAC1CpE,MAAA,CAAAyB,OAAA,CAAAyB,aAAA,CAACxC,oBAAA,CAAA2D,mBAAmB,MAAE,CAClB,CAAC,eAEPrE,MAAA,CAAAyB,OAAA,CAAAyB,aAAA,CAAC1C,wBAAA,CAAA8D,uBAAuB,MAAE,CACtB,CAAC,eAEPtE,MAAA,CAAAyB,OAAA,CAAAyB,aAAA,CAACjC,yBAAA,CAAAsD,wBAAwB,MAAE,CACvB,CAAC,eAEPvE,MAAA,CAAAyB,OAAA,CAAAyB,aAAA,CAAC/C,YAAA,CAAA6D,IAAI;IACHZ,KAAK,EAAE,CAACC,MAAM,CAACmB,aAAa,EAAE;MAAEC,YAAY,EAAE,EAAE,GAAG7B,MAAM,GAAG;IAAG,CAAC;EAAE,gBAElE5C,MAAA,CAAAyB,OAAA,CAAAyB,aAAA,CAACvC,mBAAA,CAAA+D,kBAAkB,MAAE,CAAC,eAEtB1E,MAAA,CAAAyB,OAAA,CAAAyB,aAAA,CAACtC,qBAAA,CAAA+D,oBAAoB;IAACC,MAAM,EAAElC,IAAK;IAACmC,OAAO,EAAElC;EAAmB,CAAE,CAC9D,CACI,CACA,CAAC;AAEnB,CAAC;AAACmC,OAAA,CAAAtC,OAAA,GAAAA,OAAA;AAEF,MAAMa,MAAM,GAAG0B,uBAAU,CAACC,MAAM,CAAC;EAC/B1B,SAAS,EAAE;IACT2B,IAAI,EAAE,CAAC;IACPC,eAAe,EAAEC,aAAM,CAACC,UAAU,CAACC;EACrC,CAAC;EACD5B,eAAe,EAAE;IACf6B,QAAQ,EAAE;EACZ,CAAC;EACDrB,iBAAiB,EAAE;IACjBsB,gBAAgB,EAAE,EAAE;IACpBC,SAAS,EAAE,EAAE;IACbC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDzB,oBAAoB,EAAE;IACpBuB,aAAa,EAAE;EACjB,CAAC;EACDrB,uBAAuB,EAAE;IACvBmB,gBAAgB,EAAE;EACpB,CAAC;EACDf,aAAa,EAAE;IACbe,gBAAgB,EAAE,EAAE;IACpBC,SAAS,EAAE,EAAE;IACbC,aAAa,EAAE;EACjB;AACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,515 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.RoomSettingsModalContent = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _reactNativeHms = require("@100mslive/react-native-hms");
|
|
10
|
+
var _reactRedux = require("react-redux");
|
|
11
|
+
var _reactNativeSimpleToast = _interopRequireDefault(require("react-native-simple-toast"));
|
|
12
|
+
var _MaterialCommunityIcons = _interopRequireDefault(require("react-native-vector-icons/MaterialCommunityIcons"));
|
|
13
|
+
var _Ionicons = _interopRequireDefault(require("react-native-vector-icons/Ionicons"));
|
|
14
|
+
var _MaterialIcons = _interopRequireDefault(require("react-native-vector-icons/MaterialIcons"));
|
|
15
|
+
var _Entypo = _interopRequireDefault(require("react-native-vector-icons/Entypo"));
|
|
16
|
+
var _reactNativeDocumentPicker = _interopRequireDefault(require("react-native-document-picker"));
|
|
17
|
+
var _reactNativePermissions = require("react-native-permissions");
|
|
18
|
+
var _theme = require("../utils/theme");
|
|
19
|
+
var _actions = require("../redux/actions");
|
|
20
|
+
var _types = require("../utils/types");
|
|
21
|
+
var _functions = require("../utils/functions");
|
|
22
|
+
var _utils = require("../utils");
|
|
23
|
+
var _HMSShareScreen = require("./HMSShareScreen");
|
|
24
|
+
var _Icons = require("../Icons");
|
|
25
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
26
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
27
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
28
|
+
const RoomSettingsModalContent = _ref => {
|
|
29
|
+
var _localPeerRole$name, _localPeerRole$name2, _localPeerRole$permis, _localPeerRole$permis2, _localPeerRole$permis3, _localPeerRole$permis4, _localPeerRole$permis5, _localPeerRole$permis6, _localPeerRole$publis, _localPeerRole$name3, _localPeerRole$publis2, _localPeerRole$publis3;
|
|
30
|
+
let {
|
|
31
|
+
newAudioMixingMode,
|
|
32
|
+
isAudioShared,
|
|
33
|
+
//
|
|
34
|
+
audioDeviceListenerAdded,
|
|
35
|
+
muteAllTracksAudio,
|
|
36
|
+
closeRoomSettingsModal,
|
|
37
|
+
setModalVisible,
|
|
38
|
+
setIsAudioShared,
|
|
39
|
+
setAudioDeviceListenerAdded,
|
|
40
|
+
setMuteAllTracksAudio
|
|
41
|
+
} = _ref;
|
|
42
|
+
// REFS
|
|
43
|
+
const audioFilePlayerNodeRef = (0, _react.useRef)(new _reactNativeHms.HMSAudioFilePlayerNode('audio_file_player_node'));
|
|
44
|
+
|
|
45
|
+
// REDUX STATES & DISPATCH
|
|
46
|
+
const dispatch = (0, _reactRedux.useDispatch)();
|
|
47
|
+
const hmsInstance = (0, _reactRedux.useSelector)(state => state.user.hmsInstance);
|
|
48
|
+
const debugMode = (0, _reactRedux.useSelector)(state => state.user.debugMode);
|
|
49
|
+
const localPeerRole = (0, _reactRedux.useSelector)(state => {
|
|
50
|
+
var _state$hmsStates$loca;
|
|
51
|
+
return (_state$hmsStates$loca = state.hmsStates.localPeer) === null || _state$hmsStates$loca === void 0 ? void 0 : _state$hmsStates$loca.role;
|
|
52
|
+
});
|
|
53
|
+
const localPeerMetadata = (0, _reactRedux.useSelector)(state => {
|
|
54
|
+
var _state$hmsStates$loca2;
|
|
55
|
+
return (_state$hmsStates$loca2 = state.hmsStates.localPeer) === null || _state$hmsStates$loca2 === void 0 ? void 0 : _state$hmsStates$loca2.metadata;
|
|
56
|
+
});
|
|
57
|
+
const isHLSStreaming = (0, _reactRedux.useSelector)(state => {
|
|
58
|
+
var _state$hmsStates$room;
|
|
59
|
+
return ((_state$hmsStates$room = state.hmsStates.room) === null || _state$hmsStates$room === void 0 || (_state$hmsStates$room = _state$hmsStates$room.hlsStreamingState) === null || _state$hmsStates$room === void 0 ? void 0 : _state$hmsStates$room.running) ?? false;
|
|
60
|
+
});
|
|
61
|
+
const rtmpAndRecording = (0, _reactRedux.useSelector)(state => {
|
|
62
|
+
var _state$hmsStates$room2;
|
|
63
|
+
return ((_state$hmsStates$room2 = state.hmsStates.room) === null || _state$hmsStates$room2 === void 0 || (_state$hmsStates$room2 = _state$hmsStates$room2.browserRecordingState) === null || _state$hmsStates$room2 === void 0 ? void 0 : _state$hmsStates$room2.running) ?? false;
|
|
64
|
+
});
|
|
65
|
+
const pipModeStatus = (0, _reactRedux.useSelector)(state => state.app.pipModeStatus);
|
|
66
|
+
const showHLSStats = (0, _reactRedux.useSelector)(state => state.app.joinConfig.showHLSStats);
|
|
67
|
+
const enableHLSPlayerControls = (0, _reactRedux.useSelector)(state => state.app.joinConfig.enableHLSPlayerControls);
|
|
68
|
+
const showCustomHLSPlayerControls = (0, _reactRedux.useSelector)(state => state.app.joinConfig.showCustomHLSPlayerControls);
|
|
69
|
+
|
|
70
|
+
// CONSTANTS
|
|
71
|
+
const parsedMetadata = (0, _functions.parseMetadata)(localPeerMetadata);
|
|
72
|
+
const isPipModeUnavailable = pipModeStatus === _types.PipModes.NOT_AVAILABLE;
|
|
73
|
+
|
|
74
|
+
//#region FUNCTIONS
|
|
75
|
+
const handleBRB = async () => {
|
|
76
|
+
closeRoomSettingsModal();
|
|
77
|
+
await (hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.changeMetadata(JSON.stringify({
|
|
78
|
+
...parsedMetadata,
|
|
79
|
+
isBRBOn: !(parsedMetadata !== null && parsedMetadata !== void 0 && parsedMetadata.isBRBOn),
|
|
80
|
+
isHandRaised: false
|
|
81
|
+
})).then(d => console.log('Change Metadata Success: ', d)).catch(e => console.log('Change Metadata Error: ', e)));
|
|
82
|
+
};
|
|
83
|
+
const onRaiseHandPress = async () => {
|
|
84
|
+
closeRoomSettingsModal();
|
|
85
|
+
await (hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.changeMetadata(JSON.stringify({
|
|
86
|
+
...parsedMetadata,
|
|
87
|
+
isHandRaised: !(parsedMetadata !== null && parsedMetadata !== void 0 && parsedMetadata.isHandRaised),
|
|
88
|
+
isBRBOn: false
|
|
89
|
+
})).then(d => console.log('Change Metadata Success: ', d)).catch(e => console.log('Change Metadata Error: ', e)));
|
|
90
|
+
};
|
|
91
|
+
const onParticipantsPress = () => {
|
|
92
|
+
_reactNative.InteractionManager.runAfterInteractions(() => {
|
|
93
|
+
setModalVisible(_types.ModalTypes.PARTICIPANTS, true);
|
|
94
|
+
});
|
|
95
|
+
};
|
|
96
|
+
const enterPipMode = async () => {
|
|
97
|
+
if (isPipModeUnavailable) {
|
|
98
|
+
return console.log('PIP mode unavailable on Deice!');
|
|
99
|
+
}
|
|
100
|
+
closeRoomSettingsModal();
|
|
101
|
+
try {
|
|
102
|
+
const isEnabled = await (hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.enablePipMode({
|
|
103
|
+
aspectRatio: [16, 9],
|
|
104
|
+
// for 16:9 aspect ratio
|
|
105
|
+
endButton: true,
|
|
106
|
+
videoButton: true,
|
|
107
|
+
audioButton: true
|
|
108
|
+
}));
|
|
109
|
+
if (isEnabled === true) {
|
|
110
|
+
dispatch((0, _actions.changePipModeStatus)(_types.PipModes.ACTIVE));
|
|
111
|
+
}
|
|
112
|
+
} catch (error) {
|
|
113
|
+
console.log(error);
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
const handleLocalRemoteAudiosMute = () => {
|
|
117
|
+
closeRoomSettingsModal();
|
|
118
|
+
hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.setPlaybackForAllAudio(!muteAllTracksAudio);
|
|
119
|
+
setMuteAllTracksAudio(!muteAllTracksAudio);
|
|
120
|
+
};
|
|
121
|
+
const handleRemoteAudiosMute = async () => {
|
|
122
|
+
closeRoomSettingsModal();
|
|
123
|
+
await (hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.remoteMuteAllAudio().then(d => console.log('Remote Mute All Audio Success: ', d)).catch(e => console.log('Remote Mute All Audio Error: ', e)));
|
|
124
|
+
};
|
|
125
|
+
const handleHLSStreaming = () => {
|
|
126
|
+
if (isHLSStreaming) {
|
|
127
|
+
closeRoomSettingsModal();
|
|
128
|
+
hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.stopHLSStreaming().then(d => console.log('Stop HLS Streaming Success: ', d)).catch(e => console.log('Stop HLS Streaming Error: ', e));
|
|
129
|
+
} else {
|
|
130
|
+
setModalVisible(_types.ModalTypes.HLS_STREAMING, true);
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
const handleRTMPAndRecording = () => {
|
|
134
|
+
if (rtmpAndRecording) {
|
|
135
|
+
closeRoomSettingsModal();
|
|
136
|
+
hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.stopRtmpAndRecording().then(d => console.log('Stop RTMP And Recording Success: ', d)).catch(e => console.log('Stop RTMP And Recording Error: ', e));
|
|
137
|
+
} else {
|
|
138
|
+
setModalVisible(_types.ModalTypes.RECORDING, true);
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
const addRemoveAudioDeviceChangeListener = () => {
|
|
142
|
+
closeRoomSettingsModal();
|
|
143
|
+
if (hmsInstance) {
|
|
144
|
+
if (audioDeviceListenerAdded) {
|
|
145
|
+
setAudioDeviceListenerAdded(false);
|
|
146
|
+
hmsInstance.removeEventListener(_reactNativeHms.HMSUpdateListenerActions.ON_AUDIO_DEVICE_CHANGED);
|
|
147
|
+
} else {
|
|
148
|
+
setAudioDeviceListenerAdded(true);
|
|
149
|
+
hmsInstance.setAudioDeviceChangeListener(data => {
|
|
150
|
+
_reactNativeSimpleToast.default.showWithGravity(`Audio Device Output changed to ${data === null || data === void 0 ? void 0 : data.device}`, _reactNativeSimpleToast.default.LONG, _reactNativeSimpleToast.default.TOP);
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
const changeBulkRole = () => setModalVisible(_types.ModalTypes.BULK_ROLE_CHANGE, true);
|
|
156
|
+
const changeTrackState = () => setModalVisible(_types.ModalTypes.CHANGE_TRACK_ROLE, true);
|
|
157
|
+
const switchAudioOutput = () => {
|
|
158
|
+
if (_reactNative.Platform.OS === 'android') {
|
|
159
|
+
setModalVisible(_types.ModalTypes.SWITCH_AUDIO_OUTPUT, true);
|
|
160
|
+
} else {
|
|
161
|
+
closeRoomSettingsModal();
|
|
162
|
+
hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.switchAudioOutputUsingIOSUI();
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
const changeAudioMode = () => setModalVisible(_types.ModalTypes.CHANGE_AUDIO_MODE, true);
|
|
166
|
+
const setAudioMixingMode = () => setModalVisible(_types.ModalTypes.AUDIO_MIXING_MODE, true);
|
|
167
|
+
const handleHLSPlayerAspectRatio = () => {
|
|
168
|
+
setModalVisible(_types.ModalTypes.HLS_PLAYER_ASPECT_RATIO, true);
|
|
169
|
+
};
|
|
170
|
+
const showRTCStats = () => setModalVisible(_types.ModalTypes.RTC_STATS, true);
|
|
171
|
+
const toggleShowHLSStats = () => {
|
|
172
|
+
dispatch((0, _actions.changeShowHLSStats)(!showHLSStats));
|
|
173
|
+
setModalVisible(_types.ModalTypes.DEFAULT);
|
|
174
|
+
};
|
|
175
|
+
const toggleEnableHLSPlayerControls = () => {
|
|
176
|
+
dispatch((0, _actions.changeEnableHLSPlayerControls)(!enableHLSPlayerControls));
|
|
177
|
+
setModalVisible(_types.ModalTypes.DEFAULT);
|
|
178
|
+
};
|
|
179
|
+
const toggleShowCustomHLSPlayerControls = () => {
|
|
180
|
+
dispatch((0, _actions.changeShowCustomHLSPlayerControls)(!showCustomHLSPlayerControls));
|
|
181
|
+
setModalVisible(_types.ModalTypes.DEFAULT);
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
// Android Audioshare
|
|
185
|
+
const handleAudioShare = async () => {
|
|
186
|
+
closeRoomSettingsModal();
|
|
187
|
+
if (isAudioShared) {
|
|
188
|
+
hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.stopAudioshare().then(d => {
|
|
189
|
+
setIsAudioShared(false);
|
|
190
|
+
console.log('Stop Audioshare Success: ', d);
|
|
191
|
+
}).catch(e => console.log('Stop Audioshare Error: ', e));
|
|
192
|
+
} else {
|
|
193
|
+
// check notification permission on android platform
|
|
194
|
+
// Audio share feature needs foreground service running. for Foreground service to keep running, we need active notification.
|
|
195
|
+
if (_reactNative.Platform.OS === 'android') {
|
|
196
|
+
const result = await (0, _reactNativePermissions.requestNotifications)(['alert', 'sound']);
|
|
197
|
+
console.log('Notification Permission Result: ', result);
|
|
198
|
+
if (result.status === 'blocked') {
|
|
199
|
+
_reactNative.Alert.alert('Notification Permission is Blocked!', '100ms SDK needs notification permission to start audio share. Please allow notification from settings and try again!', [{
|
|
200
|
+
text: 'cancel'
|
|
201
|
+
}, {
|
|
202
|
+
text: 'Go to Settings',
|
|
203
|
+
onPress: () => (0, _reactNativePermissions.openSettings)()
|
|
204
|
+
}], {
|
|
205
|
+
cancelable: true
|
|
206
|
+
});
|
|
207
|
+
return;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
hmsInstance === null || hmsInstance === void 0 ? void 0 : hmsInstance.startAudioshare(newAudioMixingMode).then(d => {
|
|
211
|
+
setIsAudioShared(true);
|
|
212
|
+
console.log('Start Audioshare Success: ', d);
|
|
213
|
+
}).catch(e => console.log('Start Audioshare Error: ', e));
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
// iOS Audioshare
|
|
218
|
+
const setAudioShareVolume = () => setModalVisible(_types.ModalTypes.SET_AUDIO_SHARE_VOLUME, true);
|
|
219
|
+
|
|
220
|
+
// iOS Audioshare
|
|
221
|
+
const playAudioShare = () => {
|
|
222
|
+
closeRoomSettingsModal();
|
|
223
|
+
setTimeout(() => {
|
|
224
|
+
_reactNativeDocumentPicker.default.pickSingle().then(result => {
|
|
225
|
+
console.log('Document Picker Success: ', result);
|
|
226
|
+
audioFilePlayerNodeRef.current.play(result === null || result === void 0 ? void 0 : result.uri, false, false).then(d => {
|
|
227
|
+
console.log('Start Audioshare Success: ', d);
|
|
228
|
+
}).catch(e => console.log('Start Audioshare Error: ', e));
|
|
229
|
+
}).catch(e => console.log('Document Picker Error: ', e));
|
|
230
|
+
}, 500);
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
// iOS Audioshare
|
|
234
|
+
const stopAudioShare = () => {
|
|
235
|
+
closeRoomSettingsModal();
|
|
236
|
+
audioFilePlayerNodeRef.current.stop();
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
// iOS Audioshare
|
|
240
|
+
const pauseAudioShare = () => {
|
|
241
|
+
closeRoomSettingsModal();
|
|
242
|
+
audioFilePlayerNodeRef.current.pause();
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
// iOS Audioshare
|
|
246
|
+
const resumeAudioShare = () => {
|
|
247
|
+
closeRoomSettingsModal();
|
|
248
|
+
audioFilePlayerNodeRef.current.resume();
|
|
249
|
+
};
|
|
250
|
+
|
|
251
|
+
// iOS Audioshare
|
|
252
|
+
const isAudioSharePlaying = () => {
|
|
253
|
+
closeRoomSettingsModal();
|
|
254
|
+
audioFilePlayerNodeRef.current.isPlaying().then(d => console.log('Audioshare isPlaying: ', d)).catch(e => console.log('Audioshare isPlaying: ', e));
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
// iOS Audioshare
|
|
258
|
+
const getAudioShareDuration = () => {
|
|
259
|
+
closeRoomSettingsModal();
|
|
260
|
+
audioFilePlayerNodeRef.current.duration().then(d => console.log('Audioshare duration: ', d)).catch(e => console.log('Audioshare duration: ', e));
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
// iOS Audioshare
|
|
264
|
+
const getAudioShareCurrentDuration = () => {
|
|
265
|
+
closeRoomSettingsModal();
|
|
266
|
+
audioFilePlayerNodeRef.current.currentDuration().then(d => console.log('Audioshare currentDuration: ', d)).catch(e => console.log('Audioshare currentDuration: ', e));
|
|
267
|
+
};
|
|
268
|
+
//#endregion
|
|
269
|
+
|
|
270
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
271
|
+
style: styles.container
|
|
272
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
273
|
+
style: styles.chatHeaderContainer
|
|
274
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
275
|
+
style: styles.chatHeading
|
|
276
|
+
}, "More Options")), /*#__PURE__*/_react.default.createElement(_reactNative.ScrollView, {
|
|
277
|
+
style: styles.contentContainer,
|
|
278
|
+
contentContainerStyle: styles.scrollContentContainer
|
|
279
|
+
}, /*#__PURE__*/_react.default.createElement(_HMSShareScreen.HMSShareScreen, {
|
|
280
|
+
screenShareDelegate: /*#__PURE__*/_react.default.createElement(ScreenShareDelegate, {
|
|
281
|
+
closeRoomSettingsModal: closeRoomSettingsModal
|
|
282
|
+
})
|
|
283
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
284
|
+
onPress: handleBRB,
|
|
285
|
+
style: styles.button
|
|
286
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Image, {
|
|
287
|
+
source: require('../assets/brb.png'),
|
|
288
|
+
style: styles.brbIcon
|
|
289
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
290
|
+
style: styles.text
|
|
291
|
+
}, parsedMetadata !== null && parsedMetadata !== void 0 && parsedMetadata.isBRBOn ? 'Remove BRB' : 'Set BRB')), /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
292
|
+
onPress: onRaiseHandPress,
|
|
293
|
+
text: parsedMetadata !== null && parsedMetadata !== void 0 && parsedMetadata.isHandRaised ? 'Low Your Hand' : 'Raise Hand',
|
|
294
|
+
IconType: _Ionicons.default,
|
|
295
|
+
iconName: 'hand-left-outline'
|
|
296
|
+
}), /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
297
|
+
onPress: onParticipantsPress,
|
|
298
|
+
text: 'Participants',
|
|
299
|
+
IconType: _Ionicons.default,
|
|
300
|
+
iconName: 'people'
|
|
301
|
+
}), localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$name = localPeerRole.name) !== null && _localPeerRole$name !== void 0 && _localPeerRole$name.includes('hls-') ? /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
302
|
+
onPress: handleHLSPlayerAspectRatio,
|
|
303
|
+
text: 'Change Aspect Ratio',
|
|
304
|
+
IconType: _MaterialCommunityIcons.default,
|
|
305
|
+
iconName: 'aspect-ratio'
|
|
306
|
+
}) : null, !(localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$name2 = localPeerRole.name) !== null && _localPeerRole$name2 !== void 0 && _localPeerRole$name2.includes('hls-')) ? /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
307
|
+
onPress: handleLocalRemoteAudiosMute,
|
|
308
|
+
text: `${muteAllTracksAudio ? 'Unmute' : 'Mute'} Room`,
|
|
309
|
+
IconType: _Ionicons.default,
|
|
310
|
+
iconName: muteAllTracksAudio ? 'mic-off-outline' : 'mic-outline'
|
|
311
|
+
}) : null, localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$permis = localPeerRole.permissions) !== null && _localPeerRole$permis !== void 0 && _localPeerRole$permis.hlsStreaming ? /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
312
|
+
onPress: handleHLSStreaming,
|
|
313
|
+
text: `${isHLSStreaming === true ? 'Stop' : 'Start'} HLS Streaming`,
|
|
314
|
+
IconType: _Ionicons.default,
|
|
315
|
+
iconName: "radio-outline"
|
|
316
|
+
}) : null, localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$permis2 = localPeerRole.permissions) !== null && _localPeerRole$permis2 !== void 0 && _localPeerRole$permis2.rtmpStreaming ? /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
317
|
+
onPress: handleRTMPAndRecording,
|
|
318
|
+
text: rtmpAndRecording === true ? 'Stop RTMP And Recording' : 'Start RTMP or Recording',
|
|
319
|
+
IconType: _Ionicons.default,
|
|
320
|
+
iconName: "recording-outline"
|
|
321
|
+
}) : null, localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$permis3 = localPeerRole.permissions) !== null && _localPeerRole$permis3 !== void 0 && _localPeerRole$permis3.changeRole ? /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
322
|
+
onPress: changeBulkRole,
|
|
323
|
+
text: "Bulk Role Change",
|
|
324
|
+
IconType: _Ionicons.default,
|
|
325
|
+
iconName: "people-outline"
|
|
326
|
+
}) : null, localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$permis4 = localPeerRole.permissions) !== null && _localPeerRole$permis4 !== void 0 && _localPeerRole$permis4.mute ? /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
327
|
+
onPress: handleRemoteAudiosMute,
|
|
328
|
+
text: "Remote Mute All Audio Tracks",
|
|
329
|
+
IconType: _Ionicons.default,
|
|
330
|
+
iconName: "mic-off-outline"
|
|
331
|
+
}) : null, localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$permis5 = localPeerRole.permissions) !== null && _localPeerRole$permis5 !== void 0 && _localPeerRole$permis5.mute || localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$permis6 = localPeerRole.permissions) !== null && _localPeerRole$permis6 !== void 0 && _localPeerRole$permis6.unmute ? /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
332
|
+
onPress: changeTrackState,
|
|
333
|
+
text: "Change Track State For Role",
|
|
334
|
+
IconType: _MaterialIcons.default,
|
|
335
|
+
iconName: "track-changes"
|
|
336
|
+
}) : null, localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$publis = localPeerRole.publishSettings) !== null && _localPeerRole$publis !== void 0 && (_localPeerRole$publis = _localPeerRole$publis.allowed) !== null && _localPeerRole$publis !== void 0 && _localPeerRole$publis.includes('audio') ? /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
337
|
+
onPress: switchAudioOutput,
|
|
338
|
+
text: "Switch Audio Output",
|
|
339
|
+
IconType: _MaterialCommunityIcons.default,
|
|
340
|
+
iconName: "cast-audio"
|
|
341
|
+
}) : null, !isPipModeUnavailable ? /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
342
|
+
onPress: enterPipMode,
|
|
343
|
+
text: "Picture in Picture (PIP) Mode",
|
|
344
|
+
IconType: _MaterialCommunityIcons.default,
|
|
345
|
+
iconName: "picture-in-picture-bottom-right"
|
|
346
|
+
}) : null, debugMode ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$name3 = localPeerRole.name) !== null && _localPeerRole$name3 !== void 0 && _localPeerRole$name3.includes('hls-') ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
347
|
+
onPress: toggleShowHLSStats,
|
|
348
|
+
text: showHLSStats ? 'Hide HLS Stats' : 'Show HLS Stats',
|
|
349
|
+
IconType: _MaterialCommunityIcons.default,
|
|
350
|
+
iconName: 'clipboard-pulse-outline'
|
|
351
|
+
}), /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
352
|
+
onPress: toggleEnableHLSPlayerControls,
|
|
353
|
+
text: enableHLSPlayerControls ? 'Disable HLS Player Controls' : 'Enable HLS Player Controls',
|
|
354
|
+
IconType: _Ionicons.default,
|
|
355
|
+
iconName: 'ios-settings-outline'
|
|
356
|
+
}), /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
357
|
+
onPress: toggleShowCustomHLSPlayerControls,
|
|
358
|
+
text: showCustomHLSPlayerControls ? 'Hide Custom HLS Player Controls' : 'Show Custom HLS Player Controls',
|
|
359
|
+
IconType: _Ionicons.default,
|
|
360
|
+
iconName: 'ios-settings-outline'
|
|
361
|
+
})) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
362
|
+
onPress: showRTCStats,
|
|
363
|
+
text: "Show RTC Stats",
|
|
364
|
+
IconType: _MaterialCommunityIcons.default,
|
|
365
|
+
iconName: 'clipboard-pulse-outline'
|
|
366
|
+
})), _reactNative.Platform.OS === 'android' && localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$publis2 = localPeerRole.publishSettings) !== null && _localPeerRole$publis2 !== void 0 && (_localPeerRole$publis2 = _localPeerRole$publis2.allowed) !== null && _localPeerRole$publis2 !== void 0 && _localPeerRole$publis2.includes('audio') ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
367
|
+
onPress: addRemoveAudioDeviceChangeListener,
|
|
368
|
+
text: `${audioDeviceListenerAdded ? 'Remove' : 'Set'} Audio Output Change Listener`,
|
|
369
|
+
IconType: _MaterialCommunityIcons.default,
|
|
370
|
+
iconName: "video-input-component"
|
|
371
|
+
}), /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
372
|
+
onPress: handleAudioShare,
|
|
373
|
+
text: `${isAudioShared ? 'Stop' : 'Start'} Audioshare`,
|
|
374
|
+
IconType: _Ionicons.default,
|
|
375
|
+
iconName: "share-social-outline"
|
|
376
|
+
}), /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
377
|
+
onPress: changeAudioMode,
|
|
378
|
+
text: "Set Audio Mode",
|
|
379
|
+
IconType: _MaterialCommunityIcons.default,
|
|
380
|
+
iconName: "call-split"
|
|
381
|
+
}), /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
382
|
+
onPress: setAudioMixingMode,
|
|
383
|
+
text: "Set Audio Mixing Mode",
|
|
384
|
+
IconType: _Entypo.default,
|
|
385
|
+
iconName: "sound-mix"
|
|
386
|
+
})) : null, _reactNative.Platform.OS === 'ios' && (0, _utils.getJoinConfig)().audioMixer && localPeerRole !== null && localPeerRole !== void 0 && (_localPeerRole$publis3 = localPeerRole.publishSettings) !== null && _localPeerRole$publis3 !== void 0 && (_localPeerRole$publis3 = _localPeerRole$publis3.allowed) !== null && _localPeerRole$publis3 !== void 0 && _localPeerRole$publis3.includes('audio') ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
387
|
+
onPress: playAudioShare,
|
|
388
|
+
text: "Play Audio Share",
|
|
389
|
+
IconType: _Ionicons.default,
|
|
390
|
+
iconName: "play-outline"
|
|
391
|
+
}), /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
392
|
+
onPress: stopAudioShare,
|
|
393
|
+
text: "Stop Audio Share",
|
|
394
|
+
IconType: _Ionicons.default,
|
|
395
|
+
iconName: "stop-outline"
|
|
396
|
+
}), /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
397
|
+
onPress: setAudioShareVolume,
|
|
398
|
+
text: "Set Audio Share Volume",
|
|
399
|
+
IconType: _Ionicons.default,
|
|
400
|
+
iconName: "volume-high-outline"
|
|
401
|
+
}), /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
402
|
+
onPress: pauseAudioShare,
|
|
403
|
+
text: "Pause Audio Share",
|
|
404
|
+
IconType: _Ionicons.default,
|
|
405
|
+
iconName: "pause-outline"
|
|
406
|
+
}), /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
407
|
+
onPress: resumeAudioShare,
|
|
408
|
+
text: "Resume Audio Share",
|
|
409
|
+
IconType: _Ionicons.default,
|
|
410
|
+
iconName: "play-skip-forward-outline"
|
|
411
|
+
}), /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
412
|
+
onPress: isAudioSharePlaying,
|
|
413
|
+
text: "Is Audio Share Playing",
|
|
414
|
+
IconType: _MaterialCommunityIcons.default,
|
|
415
|
+
iconName: "file-question-outline"
|
|
416
|
+
}), /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
417
|
+
onPress: getAudioShareDuration,
|
|
418
|
+
text: "Audio Share Duration",
|
|
419
|
+
IconType: _Ionicons.default,
|
|
420
|
+
iconName: "timer-outline"
|
|
421
|
+
}), /*#__PURE__*/_react.default.createElement(SettingItem, {
|
|
422
|
+
onPress: getAudioShareCurrentDuration,
|
|
423
|
+
text: "Audio Share Current Duration",
|
|
424
|
+
IconType: _Ionicons.default,
|
|
425
|
+
iconName: "timer-outline"
|
|
426
|
+
})) : null) : null));
|
|
427
|
+
};
|
|
428
|
+
exports.RoomSettingsModalContent = RoomSettingsModalContent;
|
|
429
|
+
const SettingItem = _ref2 => {
|
|
430
|
+
let {
|
|
431
|
+
onPress,
|
|
432
|
+
text,
|
|
433
|
+
iconName,
|
|
434
|
+
IconType
|
|
435
|
+
} = _ref2;
|
|
436
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
437
|
+
style: styles.button,
|
|
438
|
+
onPress: onPress
|
|
439
|
+
}, /*#__PURE__*/_react.default.createElement(IconType, {
|
|
440
|
+
name: iconName,
|
|
441
|
+
size: 24,
|
|
442
|
+
style: styles.icon
|
|
443
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
444
|
+
style: styles.text
|
|
445
|
+
}, text));
|
|
446
|
+
};
|
|
447
|
+
const ScreenShareDelegate = _ref3 => {
|
|
448
|
+
let {
|
|
449
|
+
isLocalScreenShared,
|
|
450
|
+
onPress,
|
|
451
|
+
closeRoomSettingsModal
|
|
452
|
+
} = _ref3;
|
|
453
|
+
const handleScreenSharePress = () => {
|
|
454
|
+
closeRoomSettingsModal();
|
|
455
|
+
onPress === null || onPress === void 0 ? void 0 : onPress();
|
|
456
|
+
};
|
|
457
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
458
|
+
onPress: handleScreenSharePress,
|
|
459
|
+
style: styles.button
|
|
460
|
+
}, /*#__PURE__*/_react.default.createElement(_Icons.ScreenShareIcon, {
|
|
461
|
+
style: styles.icon
|
|
462
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
463
|
+
style: styles.text
|
|
464
|
+
}, isLocalScreenShared ? 'Stop Screen Share' : 'Screen Share'));
|
|
465
|
+
};
|
|
466
|
+
const styles = _reactNative.StyleSheet.create({
|
|
467
|
+
container: {
|
|
468
|
+
height: '100%',
|
|
469
|
+
width: '100%',
|
|
470
|
+
backgroundColor: _theme.COLORS.SURFACE.DEFAULT
|
|
471
|
+
},
|
|
472
|
+
chatHeaderContainer: {
|
|
473
|
+
height: 48,
|
|
474
|
+
width: '80%',
|
|
475
|
+
flexDirection: 'row',
|
|
476
|
+
alignItems: 'center'
|
|
477
|
+
},
|
|
478
|
+
chatHeading: {
|
|
479
|
+
fontFamily: 'Inter-Medium',
|
|
480
|
+
fontSize: 20,
|
|
481
|
+
lineHeight: 24,
|
|
482
|
+
letterSpacing: 0.15,
|
|
483
|
+
color: _theme.COLORS.TEXT.HIGH_EMPHASIS,
|
|
484
|
+
paddingRight: 12
|
|
485
|
+
},
|
|
486
|
+
contentContainer: {
|
|
487
|
+
flex: 1,
|
|
488
|
+
marginVertical: 4
|
|
489
|
+
},
|
|
490
|
+
scrollContentContainer: {
|
|
491
|
+
paddingBottom: 52
|
|
492
|
+
},
|
|
493
|
+
brbIcon: {
|
|
494
|
+
width: 24,
|
|
495
|
+
height: 24,
|
|
496
|
+
tintColor: _theme.COLORS.WHITE,
|
|
497
|
+
marginRight: 12
|
|
498
|
+
},
|
|
499
|
+
button: {
|
|
500
|
+
flexDirection: 'row',
|
|
501
|
+
alignItems: 'center',
|
|
502
|
+
marginVertical: 12
|
|
503
|
+
},
|
|
504
|
+
text: {
|
|
505
|
+
fontFamily: 'Inter-Medium',
|
|
506
|
+
fontSize: 14,
|
|
507
|
+
lineHeight: 24,
|
|
508
|
+
color: _theme.COLORS.TEXT.HIGH_EMPHASIS
|
|
509
|
+
},
|
|
510
|
+
icon: {
|
|
511
|
+
color: _theme.COLORS.WHITE,
|
|
512
|
+
marginRight: 12
|
|
513
|
+
}
|
|
514
|
+
});
|
|
515
|
+
//# sourceMappingURL=RoomSettingsModalContent.js.map
|