|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.neomedia.format.MediaFormatFactoryImpl
public class MediaFormatFactoryImpl
Implements MediaFormatFactory for the JMF Format types.
| Field Summary |
|---|
| Fields inherited from interface net.java.sip.communicator.service.neomedia.format.MediaFormatFactory |
|---|
CHANNELS_NOT_SPECIFIED, CLOCK_RATE_NOT_SPECIFIED |
| Constructor Summary | |
|---|---|
MediaFormatFactoryImpl()
|
|
| Method Summary | |
|---|---|
MediaFormat |
createMediaFormat(byte rtpPayloadType)
Creates a MediaFormat for the specified RTP payload type with default clock rate and set of format parameters. |
MediaFormat |
createMediaFormat(byte rtpPayloadType,
String encoding,
double clockRate,
int channels,
float frameRate,
Map<String,String> formatParams,
Map<String,String> advancedParams)
Creates a MediaFormat either for the specified rtpPayloadType or for the specified encoding, clockRate, channels and set of format parameters. |
MediaFormat |
createMediaFormat(String encoding)
Creates a MediaFormat for the specified encoding with default clock rate and set of format parameters. |
MediaFormat |
createMediaFormat(String encoding,
double clockRate)
Creates a MediaFormat for the specified encoding with the specified clockRate and a default set of format parameters. |
MediaFormat |
createMediaFormat(String encoding,
double clockRate,
int channels)
Creates a MediaFormat for the specified encoding, clockRate and channels and a default set of format parameters. |
MediaFormat |
createMediaFormat(String encoding,
double clockRate,
int channels,
float frameRate,
Map<String,String> formatParams,
Map<String,String> advancedParams)
Creates a MediaFormat for the specified encoding, clockRate, channels and set of format parameters. |
MediaFormat |
createMediaFormat(String encoding,
double clockRate,
Map<String,String> formatParams,
Map<String,String> advancedParams)
Creates a MediaFormat for the specified encoding, clockRate and set of format parameters. |
MediaFormat |
createUnknownMediaFormat(MediaType type)
Creates an unknown MediaFormat. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MediaFormatFactoryImpl()
| Method Detail |
|---|
public MediaFormat createUnknownMediaFormat(MediaType type)
createUnknownMediaFormat in interface MediaFormatFactorytype - MediaType
public MediaFormat createMediaFormat(String encoding)
createMediaFormat in interface MediaFormatFactoryencoding - the well-known encoding (name) to create a
MediaFormat for
MediaFormatFactory.createMediaFormat(String)public MediaFormat createMediaFormat(byte rtpPayloadType)
createMediaFormat in interface MediaFormatFactoryrtpPayloadType - the RTP payload type of the MediaFormat to
create
MediaFormatFactory.createMediaFormat(byte)
public MediaFormat createMediaFormat(String encoding,
double clockRate)
createMediaFormat in interface MediaFormatFactoryencoding - the well-known encoding (name) to create a
MediaFormat forclockRate - the clock rate in Hz to create a MediaFormat
for
MediaFormatFactory.createMediaFormat(String, double)
public MediaFormat createMediaFormat(String encoding,
double clockRate,
int channels)
createMediaFormat in interface MediaFormatFactoryencoding - the well-known encoding (name) to create a
MediaFormat forclockRate - the clock rate in Hz to create a MediaFormat
forchannels - the number of available channels (1 for mono, 2 for
stereo) if it makes sense for the MediaFormat with the specified
encoding; otherwise, ignored
MediaFormatFactory.createMediaFormat(String, double, int)
public MediaFormat createMediaFormat(String encoding,
double clockRate,
Map<String,String> formatParams,
Map<String,String> advancedParams)
createMediaFormat in interface MediaFormatFactoryencoding - the well-known encoding (name) to create a
MediaFormat forclockRate - the clock rate in Hz to create a MediaFormat
forformatParams - any codec specific parameters which have been
received via SIP/SDP or XMPP/JingleadvancedParams - advanced attributes received via SIP/SDP or
XMPP/Jingle
MediaFormatFactory.createMediaFormat(String, double, Map, Map)
public MediaFormat createMediaFormat(String encoding,
double clockRate,
int channels,
float frameRate,
Map<String,String> formatParams,
Map<String,String> advancedParams)
createMediaFormat in interface MediaFormatFactoryencoding - the well-known encoding (name) to create a
MediaFormat forclockRate - the clock rate in Hz to create a MediaFormat
forframeRate - the frame rate in number of frames per second to
create a MediaFormat forchannels - the number of available channels (1 for mono, 2 for
stereo) if it makes sense for the MediaFormat with the specified
encoding; otherwise, ignoredformatParams - any codec specific parameters which have been
received via SIP/SDP or XMPP/JingleadvancedParams - any parameters which have been
received via SIP/SDP or XMPP/Jingle
MediaFormatFactory.createMediaFormat(String, double, int, float, Map, Map)
public MediaFormat createMediaFormat(byte rtpPayloadType,
String encoding,
double clockRate,
int channels,
float frameRate,
Map<String,String> formatParams,
Map<String,String> advancedParams)
MediaFormat.RTP_PAYLOAD_TYPE_UNKNOWN and encoding is
null, uses the encoding associated with rtpPayloadType.
createMediaFormat in interface MediaFormatFactoryrtpPayloadType - the RTP payload type to create a
MediaFormat for; MediaFormat.RTP_PAYLOAD_TYPE_UNKNOWN if
encoding is not null. If rtpPayloadType is not
MediaFormat#RTP_PAYLOAD_TYPE_UNKNOWN and encoding is
not null, rtpPayloadType is ignoredencoding - the well-known encoding (name) to create a
MediaFormat for; nullclockRate - the clock rate in Hz to create a MediaFormat
forframeRate - the frame rate in number of frames per second to
create a MediaFormat forchannels - the number of available channels (1 for mono, 2 for
stereo) if it makes sense for the MediaFormat with the specified
encoding; otherwise, ignoredformatParams - any codec specific parameters which have been
received via SIP/SDP or XMPP/JingleadvancedParams - any parameters which have been
received via SIP/SDP or XMPP/Jingle
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||