@tencentcloud/roomkit-web-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,
29 lines (28 loc) • 812 B
TypeScript
export type CustomInfoForUser = {
userId: string;
customInfo: Record<string, string>;
};
export type SelfInfoOptions = {
userName?: string;
avatarUrl?: string;
customInfo?: Record<string, any>;
};
export default class UserEventManager {
static instance: UserEventManager;
private store;
constructor(options: {
store: any;
});
private onRemoteUserEnterRoom;
private onRemoteUserLeaveRoom;
private onSeatListChanged;
private onUserAudioStateChanged;
private onUserVideoStateChanged;
private handleUserVoiceVolume;
private handleUserVoiceVolumeThrottle;
private onUserVoiceVolumeChanged;
private onUserInfoChanged;
private onSendMessageForUserDisableChanged;
private bindRoomEngineEvents;
private unbindRoomEngineEvents;
}