public enum AudioCodec extends Enum<AudioCodec>
Enum Constant and Description |
---|
AAC |
ADPCM |
DEVICE_SPECIFIC |
MP3 |
MP3_8K |
NELLY_MOSER |
NELLY_MOSER_16K |
NELLY_MOSER_8K |
PCM |
PCM_ALAW |
PCM_LE |
PCM_MULAW |
RESERVED |
SPEEX |
Modifier and Type | Method and Description |
---|---|
byte |
getId()
Returns back a numeric id for this codec, that happens to correspond to the
numeric identifier that FLV will use for this codec.
|
static AudioCodec |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AudioCodec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioCodec PCM
public static final AudioCodec ADPCM
public static final AudioCodec MP3
public static final AudioCodec PCM_LE
public static final AudioCodec NELLY_MOSER_16K
public static final AudioCodec NELLY_MOSER_8K
public static final AudioCodec NELLY_MOSER
public static final AudioCodec PCM_ALAW
public static final AudioCodec PCM_MULAW
public static final AudioCodec RESERVED
public static final AudioCodec AAC
public static final AudioCodec SPEEX
public static final AudioCodec MP3_8K
public static final AudioCodec DEVICE_SPECIFIC
public static AudioCodec[] values()
for (AudioCodec c : AudioCodec.values()) System.out.println(c);
public static AudioCodec valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic byte getId()
Copyright © 2006-2012 The Red5 Project