Conference
Represents audio or video conference. Add the following line to your scenario code to use the class: require(Modules.Conference);
Methods
add
Creates a new Endpoint instance and adds it to the specified conference. IMPORTANT! You can only use this function for a conference with the “video conference” option checked in the routing rule.
Otherwise, you receive the ConferenceEvents.ConferenceError event with code 102. The maximum number of endpoints is 100.
Parameters
addEventListener
Adds a handler for the specified ConferenceEvents event. Use only functions as handlers; anything except a function leads to the error and scenario termination when a handler is called.
Parameters
get
Gets the endpoint by the id.
Parameters
getList
Gets the endpoint list for current conference.
id
Returns the conference’s id.
removeEventListener
Removes a handler for the specified ConferenceEvents event.
Parameters
sendMediaTo
Starts sending media (voice and video) from the conference to the media unit.
Parameters
stop
Stops the conference. Triggers the ConferenceEvents.Stopped event.
stopMediaTo
Stops sending media (voice and video) from the conference to the media unit.
Parameters