Files
zyt/TUICallKit-Vue3/TUIKit/states/TUICallService/const/call.ts
T
2026-03-11 09:49:47 +08:00

49 lines
930 B
TypeScript

import { CallMediaType } from "@trtc/call-engine-lite-wx";
/**
* @property {String} call 1v1 通话 + 群组通话
* @property {String} CUSTOM 自定义 Store
*/
export enum StoreName {
CALL = 'call',
CUSTOM = 'custom'
}
/**
* @property {String} caller 主叫
* @property {String} callee 被叫
*/
export enum CallRole {
UNKNOWN = 'unknown',
CALLEE = 'callee',
CALLER = 'caller',
}
/**
* @property {String} idle 空闲
* @property {String} calling 呼叫等待中
* @property {String} connected 通话中
*/
export enum CallStatus {
IDLE = 'idle',
CALLING = 'calling',
CONNECTED = 'connected',
}
// 支持的语言
export enum LanguageType {
EN = 'en',
'ZH-CN' = 'zh-cn',
JA_JP = 'ja_JP',
}
export enum FeatureButton {
Camera = 'camera',
Microphone = 'microphone',
SwitchCamera = 'switchCamera',
InviteUser = 'inviteUser',
}
export enum ButtonState {
Open = 'open',
Close = 'close',
}