Agora Java API Reference for Android

Static Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.Constants.AudioTrackType Enum Reference

## Static Public Member Functions
static int | getValue (AudioTrackType type)

## Public Attributes
| AUDIO_TRACK_MIXABLE =(0)
| AUDIO_TRACK_DIRECT =(1)

## Detailed Description

The type of custom audio track

## Member Data Documentation

## ◆ AUDIO_TRACK_MIXABLE

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.

## ◆ AUDIO_TRACK_DIRECT

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.