React Native
Setting audio bitrate
To set the audio bitrate for a publisher's audio stream, set the audioBitrate property of the properties prop passed into the OTPublisher component:
The audioBitrate setting is the desired bitrate for the published audio, in bits per second. The supported range of values is 6,000 - 510,000. Set this value to enable high-quality audio (or to reduce bandwidth usage with lower-quality audio).
The following are recommended settings:
- 8,000 - 12,000 for narrowband (NB) speech
- 16,000 - 20,000 for wideband (WB) speech
- 28,000 - 40,000 for full-band (FB) speech
- 48,000 - 64,000 for full-band (FB) music
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.
Steps
1
Introduction2
Prerequisites3
Publishing audio or video only4
Publishing in a voice-only session5
Setting the resolution and frame rate for a video6
Switching the camera used by a Publisher7
Subscribing to audio or video only8
Changing the audio level of a subscriber9
Detecting whether a stream has audio or video10
Detecting when a stream adds or removes audio or video11
Setting audio bitrate12
Reducing audio bandwidth with Opus DTX13
Applying filters to published video14
Applying a noise suppression filter to published video15
Publishing audio only for Publishers with low bandwidth16
What's next?