Media Player Kit v1.3.0 API Reference for Android
io.agora.mediaplayer.Constants.MediaPlayerAudioMode Enum Reference

Public Attributes

 MEDIA_PLAYER_VOICE_COMMUNICATION
 
 MEDIA_PLAYER_VOICE_MEDIA
 

Member Data Documentation

◆ MEDIA_PLAYER_VOICE_COMMUNICATION

io.agora.mediaplayer.Constants.MediaPlayerAudioMode.MEDIA_PLAYER_VOICE_COMMUNICATION

The mode for chat volume. It cannot be set to 0.

◆ MEDIA_PLAYER_VOICE_MEDIA

io.agora.mediaplayer.Constants.MediaPlayerAudioMode.MEDIA_PLAYER_VOICE_MEDIA

(Default) The mode for media volume. Compared with the chat volume, the media volume has better sound performance and can be adjusted to 0, which is more suitable for playing the media resources.