Swift
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 setting the publishAudio and publishVideo properties. For example, the following code turns audio off:
Publishing in a voice-only session
To set up a voice-only session, set the videoTrack property of the OTPublisherSettings object to false when you initialize each OTPublisher 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 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 video8
What's next?