public class EncodingConfigurationImpl extends EncodingConfiguration
| Modifier and Type | Field and Description |
|---|---|
static boolean |
G729
The indicator which determines whether the G.729 codec is enabled.
|
encodingPreferences| Constructor and Description |
|---|
EncodingConfigurationImpl()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
compareEncodingPreferences(MediaFormat enc1,
MediaFormat enc2)
Compares the two formats for order.
|
MediaFormat[] |
getAllEncodings(org.jitsi.utils.MediaType type)
Returns all the available encodings for a specific MediaType.
|
protected void |
setEncodingPreference(String encoding,
double clockRate,
int pref)
Sets pref as the preference associated with encoding.
|
getEnabledEncodings, getEncodingPreferenceKey, getPriority, hasEnabledFormat, loadEncodingConfiguration, loadProperties, loadProperties, setPriority, storeProperties, storePropertiespublic static final boolean G729
public EncodingConfigurationImpl()
protected void setEncodingPreference(String encoding, double clockRate, int pref)
setEncodingPreference in class EncodingConfigurationencoding - the SDP int of the encoding whose pref we're setting.clockRate - clock ratepref - a positive int indicating the preference for that encoding.public MediaFormat[] getAllEncodings(org.jitsi.utils.MediaType type)
getAllEncodings in class EncodingConfigurationtype - the MediaType we would like to know the available
encodings ofprotected int compareEncodingPreferences(MediaFormat enc1, MediaFormat enc2)
compareEncodingPreferences in class EncodingConfigurationenc1 - the first format to compare for preference.enc2 - the second format to compare for preferenceCopyright © 2022 jitsi.org. All rights reserved.