|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.spi.format.FormatFactory
public class FormatFactory
Constructs format descriptor object.
| Constructor Summary | |
|---|---|
FormatFactory()
|
|
| Method Summary | |
|---|---|
static AudioFormat |
createAudioFormat(EncodingName name)
Creates new audio format descriptor. |
static AudioFormat |
createAudioFormat(EncodingName name,
int sampleRate,
int sampleSize,
int channels)
Creates new format descriptor |
static AudioFormat |
createAudioFormat(String name,
int sampleRate)
Creates new format descriptor |
static AudioFormat |
createAudioFormat(String name,
int sampleRate,
int sampleSize,
int channels)
Creates new format descriptor |
static VideoFormat |
createVideoFormat(EncodingName name)
Creates new format descriptor. |
static VideoFormat |
createVideoFormat(EncodingName name,
int frameRate)
Creates new format descriptor. |
static VideoFormat |
createVideoFormat(String name)
Creates new format descriptor. |
static VideoFormat |
createVideoFormat(String name,
int frameRate)
Creates new format descriptor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormatFactory()
| Method Detail |
|---|
public static AudioFormat createAudioFormat(EncodingName name)
name - the encoding name.
public static AudioFormat createAudioFormat(EncodingName name,
int sampleRate,
int sampleSize,
int channels)
name - the encodingsampleRate - sample rate value in HertzsampleSize - sample size in bitschannels - number of channels
public static AudioFormat createAudioFormat(String name,
int sampleRate,
int sampleSize,
int channels)
name - the encodingsampleRate - sample rate value in HertzsampleSize - sample size in bitschannels - number of channels
public static AudioFormat createAudioFormat(String name,
int sampleRate)
name - the encodingsampleRate - sample rate value in Hertz
public static VideoFormat createVideoFormat(EncodingName name,
int frameRate)
name - format encoding name.frameRate - the number of frames per second.public static VideoFormat createVideoFormat(EncodingName name)
name - format encoding name.public static VideoFormat createVideoFormat(String name)
name - format encoding name.
public static VideoFormat createVideoFormat(String name,
int frameRate)
name - format encoding name.frameRate - the number of frames per second.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||