public class AVCVideo extends Object implements IVideoStreamCodec
IVideoStreamCodec.FrameData
FLV_FRAME_KEY
Constructor and Description |
---|
AVCVideo()
Constructs a new AVCVideo.
|
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 |
canDropFrames()
Check if the codec supports frame dropping.
|
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.
|
org.apache.mina.core.buffer.IoBuffer |
getKeyframe() |
String |
getName() |
void |
reset()
Reset the codec to its initial state.
|
public String getName()
getName
in interface IVideoStreamCodec
public boolean canDropFrames()
canDropFrames
in interface IVideoStreamCodec
public void reset()
reset
in interface IVideoStreamCodec
public boolean canHandleData(org.apache.mina.core.buffer.IoBuffer data)
canHandleData
in interface IVideoStreamCodec
data
- some sample data to see if this codec can handle it.public boolean addData(org.apache.mina.core.buffer.IoBuffer data)
addData
in interface IVideoStreamCodec
data
- data to tell the codec we're addingpublic org.apache.mina.core.buffer.IoBuffer getKeyframe()
getKeyframe
in interface IVideoStreamCodec
public org.apache.mina.core.buffer.IoBuffer getDecoderConfiguration()
getDecoderConfiguration
in interface IVideoStreamCodec
Copyright © 2006-2012 The Red5 Project