public class ULAWAudio extends Object implements IAudioStreamCodec
| Constructor and Description |
|---|
ULAWAudio() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addData(org.apache.mina.core.buffer.IoBuffer data)
Update the state of the codec with the passed data.
|
boolean |
canHandleData(org.apache.mina.core.buffer.IoBuffer data)
Returns true if the codec knows how to handle the passed stream data.
|
org.apache.mina.core.buffer.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 IAudioStreamCodecpublic void reset()
IAudioStreamCodecreset in interface IAudioStreamCodecpublic boolean canHandleData(org.apache.mina.core.buffer.IoBuffer data)
IAudioStreamCodeccanHandleData in interface IAudioStreamCodecdata - some sample data to see if this codec can handle it.public boolean addData(org.apache.mina.core.buffer.IoBuffer data)
IAudioStreamCodecaddData in interface IAudioStreamCodecdata - data to tell the codec we're addingpublic org.apache.mina.core.buffer.IoBuffer getDecoderConfiguration()
IAudioStreamCodecgetDecoderConfiguration in interface IAudioStreamCodecCopyright © 2005–2017 Red5. All rights reserved.