Function createNewMatrixCall

  • DEPRECATED Use client.createCall()

    Create a new Matrix call for the browser.

    Parameters

    • client: MatrixClient

      The client instance to use.

    • roomId: string

      The room the call is in.

    • Optionaloptions: Pick<CallOpts,
          | "invitee"
          | "forceTURN"
          | "opponentDeviceId"
          | "opponentSessionId"
          | "groupCallId">

      DEPRECATED optional options map.

    Returns MatrixCall | null

    the call or null if the browser doesn't support calling.