Agora Java API Reference for Android
|
Static Public Member Functions | |
static int | getValue (AudioTrackType type) |
Public Attributes | |
AUDIO_TRACK_MIXABLE =(0) | |
AUDIO_TRACK_DIRECT =(1) | |
The type of custom audio track
io.agora.rtc2.Constants.AudioTrackType.AUDIO_TRACK_MIXABLE =(0) |
0: Mixable audio track You can push more than one mixable Audio tracks into one RTC connection(channel id + uid), and SDK will mix these tracks into one audio track automatically. However, compare to direct audio track, mixable track might cause extra 30ms+ delay.
io.agora.rtc2.Constants.AudioTrackType.AUDIO_TRACK_DIRECT =(1) |
1: Direct audio track You can only push one direct (non-mixable) audio track into one RTC connection(channel id + uid). Compare to mixable stream, you can have lower lantency using direct audio track.