org.red5.server.stream
Class AudioCodecFactory
java.lang.Object
org.red5.server.stream.AudioCodecFactory
public class AudioCodecFactory
- extends Object
Factory for audio codecs. Creates and returns audio codecs
- Author:
- The Red5 Project ([email protected]), Vladimir Hmelyoff ([email protected])
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY
public static final String KEY
- Object key
- See Also:
- Constant Field Values
AudioCodecFactory
public AudioCodecFactory()
setCodecs
public void setCodecs(List<IAudioStreamCodec> codecs)
- Setter for codecs
- Parameters:
codecs
- List of codecs
getAudioCodec
public static IAudioStreamCodec getAudioCodec(IoBuffer data)
- Create and return new audio codec applicable for byte buffer data
- Parameters:
data
- Byte buffer data
- Returns:
- audio codec
Copyright © 2006-2012 The Red5 Project