mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-26 07:38:09 +00:00
Set default value for adaptive rate algorithm to "simple", the current algorithm
This commit is contained in:
parent
3613728d43
commit
abc0265b97
2 changed files with 2 additions and 2 deletions
|
|
@ -805,7 +805,7 @@ void linphone_core_set_adaptive_rate_algorithm(LinphoneCore *lc, const char* alg
|
|||
* See linphone_core_set_adaptive_rate_algorithm().
|
||||
**/
|
||||
const char * linphone_core_get_adaptive_rate_algorithm(const LinphoneCore *lc){
|
||||
return lp_config_get_string(lc->config, "net", "adaptive_rate_algorithm", NULL);
|
||||
return lp_config_get_string(lc->config, "net", "adaptive_rate_algorithm", "Simple");
|
||||
}
|
||||
|
||||
bool_t linphone_core_rtcp_enabled(const LinphoneCore *lc){
|
||||
|
|
|
|||
|
|
@ -313,7 +313,7 @@ public interface LinphoneCore {
|
|||
|
||||
for (int i=0; i<values.size();i++) {
|
||||
AdaptiveRateAlgorithm alg = (AdaptiveRateAlgorithm) values.elementAt(i);
|
||||
if (alg.mStringValue.equals(value)) return alg;
|
||||
if (alg.mStringValue.equalsIgnoreCase(value)) return alg;
|
||||
}
|
||||
throw new RuntimeException("AdaptiveRateAlgorithm not found ["+value+"]");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue