Minor config init cleanup
This commit is contained in:
@@ -33,11 +33,6 @@ object Config {
|
|||||||
config = "${config}ausrc_format s16\nauplay_format s16\nauenc_format s16\naudec_format s16\nmodule webrtc_aecm.so\n"
|
config = "${config}ausrc_format s16\nauplay_format s16\nauenc_format s16\naudec_format s16\nmodule webrtc_aecm.so\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.contains(Regex("#module_app\\s+mwi.so"))) {
|
|
||||||
config = config.replace(Regex("#module_app\\s+mwi.so"),
|
|
||||||
"module_app mwi.so")
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!config.contains("opus_application")) {
|
if (!config.contains("opus_application")) {
|
||||||
config = "${config}opus_application voip\n"
|
config = "${config}opus_application voip\n"
|
||||||
}
|
}
|
||||||
@@ -107,8 +102,6 @@ object Config {
|
|||||||
removeVariable("jitter_buffer_wish")
|
removeVariable("jitter_buffer_wish")
|
||||||
}
|
}
|
||||||
|
|
||||||
removeVariable("prefer_android_contacts")
|
|
||||||
|
|
||||||
if (config.contains("contacts_mode")) {
|
if (config.contains("contacts_mode")) {
|
||||||
BaresipService.contactsMode = variable("contacts_mode")[0].lowercase()
|
BaresipService.contactsMode = variable("contacts_mode")[0].lowercase()
|
||||||
if (BaresipService.contactsMode != "baresip" &&
|
if (BaresipService.contactsMode != "baresip" &&
|
||||||
|
|||||||
Reference in New Issue
Block a user