Skip to main content
Version: Current

Meet Actions

  • os.meetCommand(command: string, ...args: any): Promise<void>

    Send a command to the Jitsi Meet API. The commands are only valid if the meet portal is fully loaded (see @onMeetLoaded).

    Returns a promise that resolves when the command has been executed.

    The first parameter is a string and is the command to execute.

    The second parameter is a any and is the arguments for the command (if any).

    Examples
    Change user's meet display name
    os.meetCommand('displayName', 'ABC123');
    Close the meet.
    os.meetCommand('hangup')
  • os.meetFunction(functionName: string, ...args: any[]): Promise<any>

    Executes the given function on the Jitsi Meet API and returns a promise that resolves with the result. The functions are only valid if the meet portal is fully loaded (see @onMeetLoaded).

    The first parameter is a string and is the name of the function to execute.

    Each other parameter is a any and are the arguments to provide to the function.

    Examples
    Get a list of all the participants.
    const participants = await os.meetFunction('getParticipantsInfo')
    Get a list of available breakout rooms.
    const rooms = await os.meetFunction('listBreakoutRooms');