Removed unused netInterface

This commit is contained in:
Juha Heinanen
2021-10-12 13:50:18 +03:00
parent 3820fa6934
commit ca4cef3359
2 changed files with 0 additions and 7 deletions
@@ -1332,7 +1332,6 @@ class BaresipService: Service() {
var isServiceClean = false var isServiceClean = false
var callVolume = 0 var callVolume = 0
var dynDns = false var dynDns = false
var netInterface = ""
var filesPath = "" var filesPath = ""
var logLevel = 2 var logLevel = 2
var sipTrace = false var sipTrace = false
@@ -61,10 +61,6 @@ object Config {
BaresipService.logLevel = ll BaresipService.logLevel = ll
} }
if (config.contains("net_interface")) {
BaresipService.netInterface = variable("net_interface")[0]
}
if (!config.contains("call_volume")) { if (!config.contains("call_volume")) {
config = "${config}call_volume 0\n" config = "${config}call_volume 0\n"
} else { } else {
@@ -90,8 +86,6 @@ object Config {
config = "${config}jitter_buffer_wish 6\n" config = "${config}jitter_buffer_wish 6\n"
} }
removeLine("module ilbc.so")
Utils.putFileContents(configPath, config.toByteArray()) Utils.putFileContents(configPath, config.toByteArray())
BaresipService.isConfigInitialized = true BaresipService.isConfigInitialized = true
Log.i(TAG, "Initialized config to '$config'") Log.i(TAG, "Initialized config to '$config'")