Objective-C
Detecting whether a stream has audio or video
By default, a Subscriber object plays back both audio and video (if they are available). You can check if a stream has audio or video (if the publisher of the stream is streaming audio or video) by checking the hasAudio and hasVideo properties of the Stream object:
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 application. Publish only video or audio, adjust the frame rate, and more.
Steps
1
Introduction2
Prerequisites3
Adjusting audio and video4
Adjusting video settings5
Adjusting audio settings6
Subscribing to audio or video only7
Detecting audio or video - iOS8
What's next?