org.red5.server.api.stream
Interface IVideoStreamCodec

All Known Implementing Classes:
ScreenVideo, SorensonVideo

public interface IVideoStreamCodec


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.
 

Method Detail

getName

String getName()
Return the name of the video codec.

Returns:

reset

void reset()
Reset the codec to its initial state.


canDropFrames

boolean canDropFrames()
Check if the codec supports frame dropping.

Returns:

canHandleData

boolean canHandleData(org.apache.mina.common.ByteBuffer data)
Returns true if the codec knows how to handle the passed stream data.

Parameters:
data -
Returns:

addData

boolean addData(org.apache.mina.common.ByteBuffer data)
Update the state of the codec with the passed data.

Parameters:
data -
Returns:

getKeyframe

org.apache.mina.common.ByteBuffer getKeyframe()
Return the data for a keyframe.

Returns:


Copyright © 2006-2007 the Red5 project.