How to Mute Audio and Adjust Volume During a Video Call in Android Using the Agora SDK
In this tutorial, we learn how to mute audio and adjust volume during a video call using the Agora SDK in an Android application. The prerequisites include an Agora developer account, knowledge of creating live-streaming Android applications with Agora, basic Android development skills, Android Studio, and an Android device. We start by adding dependencies in Gradle and permissions in the Manifest.xml file. Then we create an RtcEngine instance and set up the video call profile. To adjust volume during a video call, we use a SeekBar object and implement its methods. Finally, to mute audio, we use the adjustPlaybackSignalVolume() and adjustAudioMixingVolume() methods. The tutorial also provides guidance on integrating these features with an Agora Video Call SDK and testing the app demo.
Company
Agora
Date published
Dec. 20, 2021
Author(s)
Boemo Wame Mmopelwa
Word count
704
Language
English
Hacker News points
None found.