|
SIP Communicator: 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.media.codec.EncodingConfiguration
public class EncodingConfiguration
Simple configuration of encoding priorities.
| Constructor Summary | |
|---|---|
EncodingConfiguration()
Default constructor. |
|
| Method Summary | |
|---|---|
String[] |
getAvailableAudioEncodings()
|
String[] |
getAvailableVideoEncodings()
|
int |
getPriority(String encoding)
|
String[] |
getSupportedAudioEncodings()
|
String[] |
getSupportedVideoEncodings()
|
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(String encoding,
int priority)
Sets pref as the preference associated with encoding. |
String[] |
updateEncodings(List<String> encs)
Updates the codecs in the set according preferences in encodingPreferences. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EncodingConfiguration()
| Method Detail |
|---|
public void initializeFormatPreferences()
public String[] updateEncodings(List<String> encs)
public void setPriority(String encoding,
int priority)
encoding - a string containing the SDP int of the encoding whose
pref we're setting.priority - a positive int indicating the preference for that encoding.public int getPriority(String encoding)
public void registerCustomCodecs()
public void registerCustomPackages()
public String[] getAvailableVideoEncodings()
public String[] getAvailableAudioEncodings()
public String[] getSupportedVideoEncodings()
public String[] getSupportedAudioEncodings()
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||