Can I set the Audio Output device when using the Vonage Video API in Javascript

Question

Is it possible to set the output destination of audio when using the Vonage Video API in a browser using Javascript.

Applies To

  • Vonage Video API 
  • Javascript
  • Browser

Answer

Yes!  As of 2.21.0 of the Vonage Video API for Javascript, you can now set the audio output destination device.

This is achieved using the OT.setAudioOutputDevice() function.

Additional Information

You can find more information on this function in the documentation below:
https://tokbox.com/developer/sdks/js/reference/OT.html#setAudioOutputDevice

 

Have more questions? Submit a request