fcr-core
Version:
Core APIs for building online scenes
51 lines (50 loc) • 1.25 kB
TypeScript
export type FcrChatRoomTokenResData = {
token: string;
appKey: string;
orgName: string;
appName: string;
chatRoomId: string;
};
export interface FcrCheckInParams {
roomId: string;
userName: string;
userRole: string;
userId: string;
platform?: number;
/** Primary Stream | 主流 */
stream?: {
videoSourceUuid?: string;
audioSourceUuid?: string;
streamName?: string;
audioState: number;
videoState: number;
videoSourceType: number;
audioSourceType: number;
audioSourceState?: number;
videoSourceState?: number;
};
streams?: {
videoSourceUuid?: string;
audioSourceUuid?: string;
streamName?: string;
audioState: number;
videoState: number;
videoSourceType: number;
audioSourceType: number;
audioSourceState?: number;
videoSourceState?: number;
}[];
userProperties?: Record<string, unknown>;
password?: string;
version: string;
bypass?: number;
ticket?: string;
avatar?: string;
}
export declare enum FcrApplicationCancelledReason {
System = 1,
Requester = 3,
Rejected = 4,
Timeout = 5,
Removed = 6
}