Java
Detecting whether a stream has audio or video
You can check the hasAudio() and hasVideo() methods of a Stream object to see if it has audio or video
For example, when you subscribe to a stream, you may want to adjust the user interface based on whether the stream has audio or video. For example, you may want to indicate to the user whether a stream has audio or not; or you may not want to display a subscriber's view if a stream does not have video.
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?