org.red5.server.stream
Class VideoCodecFactory

java.lang.Object
  extended by org.red5.server.stream.VideoCodecFactory

public class VideoCodecFactory
extends Object

Factory for video codecs. Creates and returns video codecs

Author:
The Red5 Project ([email protected]), Paul Gregoire ([email protected])

Field Summary
static String KEY
          Object key
 
Constructor Summary
VideoCodecFactory()
           
 
Method Summary
static IVideoStreamCodec getVideoCodec(IoBuffer data)
          Create and return new video codec applicable for byte buffer data
 void setCodecs(List<IVideoStreamCodec> codecs)
          Setter for codecs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY

public static final String KEY
Object key

See Also:
Constant Field Values
Constructor Detail

VideoCodecFactory

public VideoCodecFactory()
Method Detail

setCodecs

public void setCodecs(List<IVideoStreamCodec> codecs)
Setter for codecs

Parameters:
codecs - List of codecs

getVideoCodec

public static IVideoStreamCodec getVideoCodec(IoBuffer data)
Create and return new video codec applicable for byte buffer data

Parameters:
data - Byte buffer data
Returns:
Video codec


Copyright © 2006-2012 The Red5 Project