org.red5.server.stream
Class AudioCodecFactory

java.lang.Object
  extended by 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])

Field Summary
static String KEY
          Object key
 
Constructor Summary
AudioCodecFactory()
           
 
Method Summary
static IAudioStreamCodec getAudioCodec(IoBuffer data)
          Create and return new audio codec applicable for byte buffer data
 void setCodecs(List<IAudioStreamCodec> 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

AudioCodecFactory

public AudioCodecFactory()
Method Detail

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