org.red5.server.api.stream
public interface IVideoStreamCodec
Modifier and Type | Interface and Description |
---|---|
static class |
IVideoStreamCodec.FrameData
Holder for video frame data.
|
Modifier and Type | Field and Description |
---|---|
static byte |
FLV_FRAME_KEY
FLV frame marker constant
|
Modifier and Type | Method and Description |
---|---|
boolean |
addData(IoBuffer data)
Update the state of the codec with the passed data.
|
boolean |
canDropFrames()
Check if the codec supports frame dropping.
|
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.
|
IoBuffer |
getKeyframe() |
String |
getName() |
void |
reset()
Reset the codec to its initial state.
|
static final byte FLV_FRAME_KEY
String getName()
void reset()
boolean canDropFrames()
boolean canHandleData(IoBuffer data)
data
- some sample data to see if this codec can handle it.boolean addData(IoBuffer data)
data
- data to tell the codec we're addingIoBuffer getKeyframe()
IoBuffer getDecoderConfiguration()
Copyright © 2006-2012 The Red5 Project