The Agora Android SDK for Interactive Gaming provides Java and C++ Interfaces to implement the voice and video functions for gaming on the Android platform.
For key features, see Interactive Gaming Overview.
Developed on the basis of the Agora Native SDK and Agora C++ SDK, v2.2 was released on January 28, 2019.
setVoiceOnlyMode method to set the voice-only mode. Once voice-only mode is enabled, the SDK transmits only the voice stream, but not other streams, like the sound of keyboard strokes. This function effectively optimizes the audio quality.
setRemoteVoicePosition method to set the playback position and volume of the audio effects sent from the remote user.
When a user joins a channel, the audio function is enabled by default.
To receive audio streams without sending any audio stream after joining a channel, this version adds the
enableLocalAudio method to disable or re-enable the local audio function.
Once the local audio function is disabled or re-enabled, the SDK triggers the
onMicrophoneEnabled callback, and the local audio capturing stops.
This method does not affect receiving or playing the remote audio streams.