|
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.codec.EncodingConfiguration
public class EncodingConfiguration
Simple configuration of encoding priorities.
| Field Summary | |
|---|---|
static boolean |
G729
The indicator which determines whether the G.729 codec is enabled. |
| Constructor Summary | |
|---|---|
EncodingConfiguration()
Default constructor. |
|
| Method Summary | |
|---|---|
MediaFormat[] |
getAvailableEncodings(MediaType type)
Get the available encodings for a specific MediaType. |
int |
getPriority(MediaFormat encoding)
Set the priority for a MediaFormat. |
MediaFormat[] |
getSupportedEncodings(MediaType type)
Gets the supported MediaFormats i.e. |
void |
initializeFormatPreferences()
Retrieves (from the configuration service) preferences specified for various formats and assigns default ones to those that haven't been mentioned. |
void |
registerCustomCodecs()
Register in JMF the custom codecs we provide |
void |
registerCustomPackages()
Register in JMF the custom packages we provide |
void |
setPriority(MediaFormat encoding,
int priority)
Sets priority as the preference associated with encoding. |
void |
setPriorityConfig(MediaFormat encoding,
int priority)
Sets the priority of the given encoding in the configuration service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final boolean G729
| Constructor Detail |
|---|
public EncodingConfiguration()
| Method Detail |
|---|
public void initializeFormatPreferences()
public void setPriority(MediaFormat encoding,
int priority)
encoding - the MediaFormat specifying the encoding to set
the priority ofpriority - a positive int indicating the priority of
encoding to set
public void setPriorityConfig(MediaFormat encoding,
int priority)
encoding - the MediaFormat specifying the encoding to set
the priority ofpriority - a positive int indicating the priority of
encoding to setpublic int getPriority(MediaFormat encoding)
encoding - the MediaFormat
public void registerCustomCodecs()
public void registerCustomPackages()
public MediaFormat[] getAvailableEncodings(MediaType type)
type - the MediaType we would like to know its available
encodings
public MediaFormat[] getSupportedEncodings(MediaType type)
type - the MediaType of the supported MediaFormats
to get
|
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 | |||||||||