@tencentcloud/call-uikit-vue2
Version:
An Open-source Voice & Video Calling UI Component Based on Tencent Cloud Service.
47 lines (46 loc) • 1.47 kB
TypeScript
import { CallStatus, CallRole, CallMediaType, VideoDisplayMode, VideoResolution, TDeviceList, CameraPosition, ICustomUIConfig } from '../const/index';
import { IUserInfo, INetWorkQuality } from './index';
export interface IToastInfo {
text: string;
type?: string;
}
export interface ICallStore {
callStatus: CallStatus;
callRole: CallRole;
callMediaType: CallMediaType;
localUserInfo: IUserInfo;
localUserInfoExcludeVolume: IUserInfo;
remoteUserInfoList: Array<IUserInfo>;
remoteUserInfoExcludeVolumeList: Array<IUserInfo>;
callerUserInfo: IUserInfo;
isGroup: boolean;
callDuration: string;
callTips: string;
toastInfo: IToastInfo;
isMinimized: boolean;
enableFloatWindow: boolean;
bigScreenUserId: string;
language: string;
isClickable: boolean;
showPermissionTip: boolean;
netWorkQualityList: Array<INetWorkQuality>;
deviceList: TDeviceList;
groupID: string;
roomID: number | string;
roomIdType: number;
cameraPosition: CameraPosition;
isMuteSpeaker: boolean;
groupCallMembers: IUserInfo[];
displayMode: VideoDisplayMode;
videoResolution: VideoResolution;
pusher: any;
player: any[];
isEarPhone: boolean;
showSelectUser: boolean;
isShowEnableVirtualBackground: boolean;
enableVirtualBackground: boolean;
customUIConfig: ICustomUIConfig;
pusherId: string;
translate: Function;
isForceUseV2API: boolean;
}