public static enum Constants.AudioTrackType extends java.lang.Enum<Constants.AudioTrackType>
Enum Constant and Description |
---|
AUDIO_TRACK_DIRECT
1: Direct audio track
You can only push one direct (non-mixable) audio track into one RTC connection(channel id +
uid).
|
AUDIO_TRACK_MIXABLE
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.
|
Modifier and Type | Method and Description |
---|---|
static int |
getValue(Constants.AudioTrackType type) |
static Constants.AudioTrackType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.AudioTrackType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.AudioTrackType AUDIO_TRACK_MIXABLE
public static final Constants.AudioTrackType AUDIO_TRACK_DIRECT
public static Constants.AudioTrackType[] values()
for (Constants.AudioTrackType c : Constants.AudioTrackType.values()) System.out.println(c);
public static Constants.AudioTrackType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static int getValue(Constants.AudioTrackType type)