|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.red5.server.stream.codec.SorensonVideo
public class SorensonVideo
Red5 video codec for the sorenson video format. VERY simple implementation, just stores last keyframe.
| Field Summary |
|---|
| Fields inherited from interface org.red5.server.api.stream.IVideoStreamCodec |
|---|
FLV_FRAME_KEY |
| Constructor Summary | |
|---|---|
SorensonVideo()
Constructs a new SorensonVideo. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SorensonVideo()
| Method Detail |
|---|
public String getName()
getName in interface IVideoStreamCodecpublic boolean canDropFrames()
canDropFrames in interface IVideoStreamCodecpublic void reset()
reset in interface IVideoStreamCodecpublic boolean canHandleData(IoBuffer data)
canHandleData in interface IVideoStreamCodecdata - some sample data to see if this codec can handle it.
public boolean addData(IoBuffer data)
addData in interface IVideoStreamCodecdata - data to tell the codec we're adding
public IoBuffer getKeyframe()
getKeyframe in interface IVideoStreamCodecpublic IoBuffer getDecoderConfiguration()
IVideoStreamCodec
getDecoderConfiguration in interface IVideoStreamCodec
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||