UNPKG

@tencentcloud/roomkit-electron-vue3

Version:

<h1 align="center"> TUIRoomKit</h1> Conference (TUIRoomKit) is a product suitable for multi-person audio and video conversation scenarios such as business meetings, webinars, and online education. By integrating this product, you can add room management,

62 lines (61 loc) 1.84 kB
import { TUIRole, TUIVideoStreamType, TUIInvitationStatus } from '@tencentcloud/tuiroom-engine-electron'; export declare function getNewStreamInfo(userId: string, streamType?: TUIVideoStreamType): { userId: string; hasAudioStream: boolean; hasVideoStream: boolean; streamType: any; isLoading: boolean; playDomMap: Map<any, any>; timestamp: number; }; export declare function getNewUserInfo(userId: string): { userId: string; userName: string; avatarUrl: string; nameCard: string; hasAudioStream: boolean; hasVideoStream: boolean; hasScreenStream: boolean; isMessageDisabled: boolean; userRole: any; onSeat: boolean; isUserApplyingToAnchor: boolean; isInvitingUserToAnchor: boolean; isInRoom: boolean; status: any; timestamp: number; }; export type StreamInfo = { userId: string; streamType: TUIVideoStreamType; hasAudioStream?: boolean; hasVideoStream?: boolean; isLoading?: boolean; playDomMap?: Map<HTMLElement, TUIVideoStreamType>; timestamp?: number; }; export type UserInfo = { userId: string; userName?: string; avatarUrl?: string; nameCard?: string; hasAudioStream?: boolean; hasVideoStream?: boolean; hasScreenStream?: boolean; isMessageDisabled?: boolean; userRole?: TUIRole; onSeat?: boolean; isRequestingUserOpenMic?: boolean; requestUserOpenMicRequestId?: string; isRequestingUserOpenCamera?: boolean; requestUserOpenCameraRequestId?: string; isUserApplyingToAnchor?: boolean; applyToAnchorRequestId?: string; applyToAnchorTimestamp?: number; isInvitingUserToAnchor?: boolean; inviteToAnchorRequestId?: string; isInRoom?: boolean; status?: TUIInvitationStatus; timestamp?: number; }; export declare const useRoomStore: any;