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

View File

@ -1332,7 +1332,6 @@ class BaresipService: Service() {
var isServiceClean = false
var callVolume = 0
var dynDns = false
var netInterface = ""
var filesPath = ""
var logLevel = 2
var sipTrace = false

View File

@ -61,10 +61,6 @@ object Config {
BaresipService.logLevel = ll
}
if (config.contains("net_interface")) {
BaresipService.netInterface = variable("net_interface")[0]
}
if (!config.contains("call_volume")) {
config = "${config}call_volume 0\n"
} else {
@ -90,8 +86,6 @@ object Config {
config = "${config}jitter_buffer_wish 6\n"
}
removeLine("module ilbc.so")
Utils.putFileContents(configPath, config.toByteArray())
BaresipService.isConfigInitialized = true
Log.i(TAG, "Initialized config to '$config'")