The module provides to developers the conference functionality. Pay attention that there are two types of conferences that could be created: Local and Standalone. The logic in JS scenario depends on which type of conference needs to be created. The Local conference takes the first incoming call and makes the number of outgoing calls (up to 49 calls, see the session limits) to the other endpoints. The Standalone conference takes up to 100 incoming calls and it can still do outgoing calls up to a limit if required by business logic. In both cases all the endpoints hear each other and don't hear themselves. To understand the whole conception see the detail in the article.
In order to enable video conferencing it is required to check "video conference" option while creating rule in Control panel. Video conferencing is available only for Standalone conferences.
Add the following line to your scenario code to use the module:
All functions, events and classes of the module can be used only after this line.
VoxEngine.createConference(params: ConferenceParameters): Conference
Create new conference
require(Modules.Conference); var conference = VoxEngine.createConference(); // create Conference object
VoxEngine.destroyConference(conf: Conference): void
Destroy existing conference