|
||||||||||
| 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.
| Constructor Summary | |
|---|---|
SorensonVideo()
Constructs a new SorensonVideo. |
|
| Method Summary | |
|---|---|
boolean |
addData(org.apache.mina.common.ByteBuffer 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.common.ByteBuffer data)
Returns true if the codec knows how to handle the passed stream data. |
org.apache.mina.common.ByteBuffer |
getKeyframe()
Return the data for a keyframe. |
String |
getName()
Return the name of the video codec. |
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(org.apache.mina.common.ByteBuffer data)
canHandleData in interface IVideoStreamCodecpublic boolean addData(org.apache.mina.common.ByteBuffer data)
addData in interface IVideoStreamCodecpublic org.apache.mina.common.ByteBuffer getKeyframe()
getKeyframe in interface IVideoStreamCodec
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||