Packagevegas.media
Classpublic class AudioCodec
InheritanceAudioCodec Inheritance Object

The Audio codec ID number enumeration class.

More informations in the flvmdi page write by Burak.

See also

FLVMetaData


Public Methods
 MethodDefined By
  
validate(id:Number):Boolean
[static] Returns true if the specified id in argument is a valid audio codec.
AudioCodec
Public Constants
 ConstantDefined By
  AAC : Number = 10
[static] The AAC audio codec value.
AudioCodec
  ADPCM : Number = 1
[static] The ADPCM audio codec value.
AudioCodec
  MP3 : Number = 2
[static] The MP3 audio codec value.
AudioCodec
  NELLY_MOSER : Number = 6
[static] The NellyMoser audio codec value.
AudioCodec
  NELLY_MOSER_16 : Number = 4
[static] The Nellymoser
AudioCodec
  NELLY_MOSER_8 : Number = 5
[static] The Nellymoser, 8kHz mono audio codec value.
AudioCodec
  SPEEX : Number = 11
[static] The Speex audio codec value.
AudioCodec
  UNCOMPRESSED : Number = 0
[static] The Uncompressed audio codec value.
AudioCodec
Method Detail
validate()method
public static function validate(id:Number):Boolean

Returns true if the specified id in argument is a valid audio codec.

Parameters

id:Number

Returns
Booleantrue if the specified id in argument is a valid audio codec.
Constant Detail
AACConstant
public static const AAC:Number = 10

The AAC audio codec value.

ADPCMConstant 
public static const ADPCM:Number = 1

The ADPCM audio codec value.

MP3Constant 
public static const MP3:Number = 2

The MP3 audio codec value.

NELLY_MOSERConstant 
public static const NELLY_MOSER:Number = 6

The NellyMoser audio codec value.

NELLY_MOSER_16Constant 
public static const NELLY_MOSER_16:Number = 4

The Nellymoser

NELLY_MOSER_8Constant 
public static const NELLY_MOSER_8:Number = 5

The Nellymoser, 8kHz mono audio codec value.

SPEEXConstant 
public static const SPEEX:Number = 11

The Speex audio codec value.

UNCOMPRESSEDConstant 
public static const UNCOMPRESSED:Number = 0

The Uncompressed audio codec value.