|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.server.stream.codec.AACAudio
public class AACAudio
Red5 audio codec for the AAC audio format. Stores the decoder configuration
Field Summary | |
---|---|
static int[] |
AAC_SAMPLERATES
|
Constructor Summary | |
---|---|
AACAudio()
Constructs a new AACAudio |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int[] AAC_SAMPLERATES
Constructor Detail |
---|
public AACAudio()
Method Detail |
---|
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 adding
public IoBuffer getDecoderConfiguration()
getDecoderConfiguration
in interface IAudioStreamCodec
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |