This article will guide you through the process of initiating an audio call. To do that, you have to set everything up for a Voximplant scenario and an SDK client.
easyProcess you can use the following:
Initiate a call from SDKs
To make calls from SDKs you need to Import the SDK to your application, establish the connection with Voximplant Cloud and authorize the user.
Then, use the following code to perform and audio call from SDKs.
Answer a call
To receive incoming calls, you have to subscribe to the IncomingCall event. Use the following code to subscribe:
To receive incoming calls, the application must be connected to Voximplant Cloud and the user must be authorized. If the application or web page is closed you need to set up push notifications.
When the event is triggered, we'll get the Call object representing the incoming call and allowing you to control it. In order to answer the call, use the Call.answer method.
The call is considered established when the CallConnected event is triggered. It means that the call has been answered on the remote side.
After the call is established, you can enable/disable video sending, put a call on hold and take it off hold, or enable screen sharing.
To handle this event, subscribe to it: