Hierarchy

Methods

  • Set jwt pair string in the SDK. This method must be called after creating RcvEngine right away.

    Parameters

    • tokenPair: string

    Returns Promise<void>

  • Set password pair string in the SDK. This method must be called after creating RcvEngine right away.

    Parameters

    • usernamePair: string
    • passwordPair: string

      the password json string

    Returns Promise<void>

  • Destroy the SDK resources note: Once you call destroy to destroy the created RcvEngine instance, you cannot use any method or callback in the SDK any more.

    Returns Promise<void>

  • Get an active meeting controller with a particular meeting id.

    Parameters

    • meetingId: string

    Returns null | MeetingController

  • Join an existing meeting with meeting ID

    See

    MeetingOptions

    Parameters

    • meetingId: string

      The ID of the meeting we want to join

    • options: MeetingOptions = {}

      Setting options for meeting

    Returns Promise<void>

  • Parameters

    Returns void

  • Parameters

    Returns TUnsubscribeFunction

  • Set token pair string in the SDK. This method must be called after creating RcvEngine right away, the access token and refresh token pair must be both included if autoRefresh parameter is true.

    Parameters

    • tokenPair: string

      the access token and refresh token pair json string

    • autoRefresh: boolean = true

      default value is TRUE. If it's TRUE, the access token will be refreshed automatically once it expired and the new token pair will be returned by the onAuthTokenRenew callback, otherwise, an error will be returned by the corresponding API event callback.

    Returns Promise<void>

  • Creates an RcvEngine object and returns the instance.

    Parameters

    • clientId: string

      the application account identity number

    • clientSecret: string

      the application account identity secret

    Returns Promise<RcvEngine>

  • Returns the RcvEngine singleton instance.

    Returns null | RcvEngine