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 below documentation:
Vonage Video API OpenTok Environment
Articles in this section
- What would be the maximum character size of the Session ID?
- Can we configure Monitoring Callbacks via REST API?
- How to use setPreferredResolution() to manage bandwidth usage for subscribed streams
- How to Identify whether a screen, window or tab was shared when screensharing
- How can I apply audio effects and filters to a video stream in Javascript?
- What is Opus DTX?
- How can I end a session for all participants?
- Does IPv6 affect the Vonage Video API?
- Why does opentok-network-test-js create a cookie during a network test?
- Vonage Video API Support for Plan B and Unified Plan Session Discovery Protocol