Voximplant supports audio and video conferences with up to 100 participants.
For an audio conference, when an incoming call arrives, first answer it, then add it to the conference via the sendMediaBetween method. See the code example below to understand how it works:
For a video conference, answer the incoming call and use the Conference.add method instead. Here is a typical video conference scenario with some extra tools for your convenience. Take a closer look to understand how it works:
This scenario allows Voximplant SDK users to join the conference call. If you want to have incoming SIP/phone calls into your conference, you need to create another gateway scenario.
The gateway scenario accepts incoming calls from SIP PBX and phone numbers and uses the callConference method to call the conference scenario:
If you are making a video conference, set the video conference flag to true in the routing rule.
After you create routing rules, you can call the application to join the conference.
How to join as a viewer
You can join an audio or a video conference only as a viewer. Viewers do not send audio and video to the conference, and can only receive audio and video, depending on the conference.
To join a conference as a viewer, use the joinAsViewer method. It accepts two parameters:
num: conference number
extraHeaders: optional X-headers to pass into the call's INVITE message
To stop a viewer call, use the ViewerCall.hangup() method.
How to make a call from a conference
To make a call from a conference, simply call a Voximplant user/a phone number/a sip address as explained in the audio calls article, then handle the Connected event. When the event is triggered, use the sendMediaBetween method for an audio conference and the Conference.add method for a video conference to unite the call with the conference.