Java
Adjusting audio and video
You can make audio and video adjustments to published and subscribed streams.
Publishing audio or video only
You can toggle audio and video on or off, by calling the setPublishAudio() and setPublishVideo() methods of the Publisher object (passing in a Boolean value). For example, the following code turns audio off:
Publishing in a voice-only session
To set up a voice-only session, call the videoTrack() method of the Publisher.Builder object, passing in false, when you instantiate each Publisher object in the session. For example, the following code creates a publisher for a voice-only session:
Adjusting audio and video
Learn more about manipulating audio and video of Vonage Video API streams for your web application. Publish only video or audio, adjust the frame rate, and more.
手順
1
Introduction2
Prerequisites3
Adjusting audio and video4
Adjusting video settings5
Adjusting audio settings6
Subscribing to audio or video only7
Detecting audio or video8
What's next?