Merge branch 'amr'
This commit is contained in:
@@ -21,9 +21,10 @@ object Config {
|
||||
config = "${config}ausrc_format s16\nauplay_format s16\nauenc_format s16\naudec_format s16\nmodule webrtc_aec.so\n"
|
||||
write = true
|
||||
}
|
||||
if (!config.contains(Regex("module[ ]+g726.so"))) {
|
||||
if (!config.contains(Regex("module[ ]+amr.so"))) {
|
||||
config = config.replace(Regex("module[ ]+g7...?.so\n"), "")
|
||||
config = config.replace(Regex("module[ ]+ilbc.so\n"), "")
|
||||
config = "${config}module amr.so\n"
|
||||
config = "${config}module ilbc.so\n"
|
||||
config = "${config}module g7221.so\n"
|
||||
config = "${config}module g722.so\n"
|
||||
@@ -94,6 +95,7 @@ object Config {
|
||||
write = true
|
||||
}
|
||||
}
|
||||
|
||||
if (write) {
|
||||
Log.e("Baresip", "Writing config '$config'")
|
||||
Utils.putFileContents(configPath, config.toByteArray())
|
||||
|
||||
Reference in New Issue
Block a user