Rate this page:

CallManager

Call manager for creating and managing calls and conferences.

Methods

addEventListener
Copy URL

Registers a handler for the specified event.

One event can have more than one handler; handlers are executed in order of their registration.

Parameters

Returns

  • type:

    void

createCall
Copy URL

Creates a new call instance.

The call should be started via the Call.start method.

Returns the created call instance or null if the call creation failed.

Parameters

  • destination:

    string

    SIP URI, username or phone number to make call to. Actual routing is then performed by a VoxEngine scenario.

  • settings:

    CallSettings

    Optional

    Call settings with additional call parameters, such as the preferred video codec, custom data, extra headers, etc.

Returns

createConference
Copy URL

Creates a new conference instance.

Returns the created conference instance or null if the conference creation failed.

Parameters

  • conferenceName:

    string

    Name of the conference

  • Optional

    Conference settings with additional conference parameters, such as the preferred video codec, custom data, extra headers, etc.

Returns

getInstance
Static
Copy URL

Returns the instance of the call manager.

Returns

removeEventListener
Copy URL

Removes a previously registered handler for the specified event.

Parameters

Returns

  • type:

    void

Props

calls
Copy URL

Returns a map of actual calls with their ids.

conferences
Copy URL

Returns a map of actual conferences with their ids.

Rate this page: