Removed unused netInterface
This commit is contained in:
@ -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
|
||||
|
||||
@ -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'")
|
||||
|
||||
Reference in New Issue
Block a user