Interface PreJoinPageOptions

Interface defining the options for the PreJoinPage component.

interface PreJoinPageOptions {
    localLink?: string;
    connectMediaSFU?: boolean;
    parameters: PreJoinPageParameters;
    credentials?: Credentials;
    returnUI?: boolean;
    noUIPreJoinOptions?: CreateMediaSFURoomOptions | JoinMediaSFURoomOptions;
    createMediaSFURoom?: CreateRoomOnMediaSFUType;
    joinMediaSFURoom?: JoinRoomOnMediaSFUType;
}

Properties

localLink?: string

link to the local server (Community Edition)

connectMediaSFU?: boolean

Determines if the user is allowed to connect to the MediaSFU server.

Parameters required by the PreJoinPage component.

credentials?: Credentials

Optional user credentials. Defaults to predefined credentials if not provided.

returnUI?: boolean

Flag to determine if the component should return the UI.

Options for creating/joining a room without UI.

createMediaSFURoom?: CreateRoomOnMediaSFUType

Function to create a room on MediaSFU.

joinMediaSFURoom?: JoinRoomOnMediaSFUType

Function to join a room on MediaSFU.