Rate this page:

How to upgrade a call

Voximplant supports both audio and video calls. And even if your audio call is on, you can still turn it into a video call. In case you want to create a new scenario with video calls from scratch, read How to make a video call.

To start sending and receiving video for a call running via Voximplant, you have to call the appropriate method on each side of the call successively (otherwise you may well get problems with the call).

Sending:

Receiving:

Please note that if you decide to upgrade a call, you should have video support for your scenario from the very beginning, which means you just need to set up the SDK side.

Video support for SDK clients

Video support for SDK clients

And there are some details to pay attention to:

  • You can enable video receiving only once, it will be impossible to turn it off later.
  • When the call is on hold, you can't turn the video on or off.
  • Before you enable video sending, you have to request camera permission if it hasn't been received from the user yet (for mobile SDKs).

Turning the video on and off triggers the events of adding/ removing a local or remote video. Let's illustrate it with Android SDK. So, calling the ICall.sendVideo method will entail adding or removing a local video on the side of the client which called this API and adding or removing video on the other client’s side:

IMPORTANT: Safari browser for iOS requires a user interface for playing video during a call.

Downgrade to audio

During the call, you can only stop sending video. But if you do it on each side of the call successively, the receiving process will also stop.