Subscribing to audio or video only
To disable audio or video in a subscriber, set the subscribeToAudio or subscribeToVideo properties of the properties prop passed into the OTSubscriber component:
By default, these are set to true (both audio and video are consumed).
Set the subscribeToAudio pro When you subscribe to a stream, you can specify whether to initially subscribe to audio or video (if they are available). For example, the following code subscribes to audio only:
Note however that you can only subscribe to audio or video if the client publishing the stream includes audio or video. For example, setting subscribeToVideo to false will have no effect if the client publishing the stream is publishing audio only.
Adjusting audio and video
Learn more about manipulating audio and video of Vonage Video API streams for your React Native application. Publish only video or audio, adjust the frame rate, and more.