add 'opus_application voip' to config if not already there
This commit is contained in:
@@ -147,6 +147,10 @@ class BaresipService: Service() {
|
||||
"module_app mwi.so")
|
||||
write = true
|
||||
}
|
||||
if (!contents.contains("opus_application")) {
|
||||
contents = "${contents}opus_application voip\n"
|
||||
write = true
|
||||
}
|
||||
if (write) {
|
||||
Log.d(LOG_TAG, "Writing $contents")
|
||||
Utils.putFileContents(file, contents)
|
||||
|
||||
Reference in New Issue
Block a user