Before publishing or subscribing to any streams, ensure that you have finished preparing the development environment and joined the channel. See Integrate the SDK for more information.
The audio function of the Agora SDK for Android is enabled by default. You can subscribe to and publish audio streams without calling any other API methods once you have joined the channel.
You are now in a voice call. When the call ends, use the Agora SDK to exit the current call:
For added requirements on the audio volume, audio effect or voice pitch, you can alse take the following steps: