Class SendbirdLiveMain

A singleton class that serves as the basis for all functionalities in Sendbird Live. This class can be initialized with an application ID and provides methods to authenticate, create, and retrieve a live event object.

Hierarchy

  • SendbirdLiveMain

Constructors

Methods

  • Authenticates a user with the user ID and access token to connect to Sendbird server.

    Parameters

    • userId: string
    • accessToken: string

    Returns Promise<void>

  • Deauthenticates a user to disconnect from Sendbird server.

    Returns Promise<void>

  • Returns a set of available audio input devices.

    Returns InputDeviceInfo[]

  • Returns a set of available video devices.

    Returns InputDeviceInfo[]

  • Returns a live event by its URL.

    Parameters

    • liveEventId: string

    Returns Promise<LiveEvent>

  • Initializes Sendbird Live SDK with the app ID of a Sendbird application.

    Parameters

    • appId: string

    Returns void

  • You can specify log level to display log output to the console.

    Parameters

    Returns LEVELS

Generated using TypeDoc