Member Junction
    Preparing search index...

    A meeting room with no server: see the file header.

    Implements

    Index

    Constructors

    Properties

    The room's cancelable event bus, as on the LiveKit controller.

    Accessors

    Methods

    • Joins the preview room: starts your microphone and camera as the options say, on the devices they name, then shows the simulated people, the first one speaking.

      Parameters

      • serverUrl: string

        Reported to beforeConnect handlers; nothing connects to it.

      • _token: string

        Ignored: there is no server to present it to.

      • options: LiveKitRoomConnectOptions = {}

        Your name, the media you start with, and the devices.

      Returns Promise<void>

    • Leaves the room and frees your devices. A user-initiated leave raises a cancelable beforeDisconnect first.

      Parameters

      • userInitiated: boolean = true

      Returns Promise<boolean>

      false when a beforeDisconnect handler canceled it.

    • Raises the cancelable beforeSendData; nobody else is in the room to receive the message. Resolves true unless a handler canceled it or you are not in the room.

      Parameters

      • text: string
      • Optionaltopic: string

      Returns Promise<boolean>

    • Records whether you let agents see your camera and shared screen, as a meeting's server would, and raises localMediaChanged. Outside the room it does nothing.

      Parameters

      • on: boolean

      Returns void

    • Moves your microphone or camera to another device; raises the cancelable beforeDeviceSwitch first.

      Parameters

      • kind: "audioinput" | "videoinput" | "audiooutput"
      • deviceId: string

      Returns Promise<void>