public class AACAudio extends Object implements IAudioStreamCodec
Modifier and Type | Field and Description |
---|---|
static int[] |
AAC_SAMPLERATES |
Constructor and Description |
---|
AACAudio()
Constructs a new AACAudio
|
Modifier and Type | Method and Description |
---|---|
boolean |
addData(IoBuffer data)
Update the state of the codec with the passed data.
|
boolean |
canHandleData(IoBuffer data)
Returns true if the codec knows how to handle the passed
stream data.
|
IoBuffer |
getDecoderConfiguration()
Returns information used to configure the decoder.
|
String |
getName() |
void |
reset()
Reset the codec to its initial state.
|
public String getName()
getName
in interface IAudioStreamCodec
public void reset()
reset
in interface IAudioStreamCodec
public boolean canHandleData(IoBuffer data)
canHandleData
in interface IAudioStreamCodec
data
- some sample data to see if this codec can handle it.public boolean addData(IoBuffer data)
addData
in interface IAudioStreamCodec
data
- data to tell the codec we're addingpublic IoBuffer getDecoderConfiguration()
getDecoderConfiguration
in interface IAudioStreamCodec
Copyright © 2006-2012 The Red5 Project