Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

975 B
Raw Blame
export interface IRoom {
    id: string;
    isMainRoom?: boolean;
    jid: string;
    name: string;
    participants: {
        [jid: string]: {
            displayName: string;
            jid: string;
            role: string;
            userContext?: {
                [key: string]: any;
                id?: string;
                name?: string;
            };
        };
    };
}

export interface IRooms {
    [jid: string]: IRoom;
}

export interface IRoomInfo {
    id: string;
    isMainRoom: boolean;
    jid: string;
    participants: IRoomInfoParticipant[];
}

export interface IRoomsInfo {
    rooms: IRoomInfo[];
}

export interface IRoomInfoParticipant {
    audioMuted?: boolean;
    avatarUrl: string;
    displayName: string;
    id: string;
    isHidden?: boolean;
    isJigasi?: boolean;
    jid: string;
    role: string;
    userContext?: {
        [key: string]: any;
        id?: string;
        name?: string;
    };
    videoMuted?: boolean;
}