fix: mishaps in core initialization method
This commit is contained in:
parent
79e405797a
commit
5b5f026210
1 changed files with 4 additions and 4 deletions
|
|
@ -59,9 +59,9 @@ class LinphoneBridge {
|
|||
let factory = Factory.Instance
|
||||
core = try factory.createCore(configPath: nil, factoryConfigPath: nil, systemContext: nil)
|
||||
|
||||
code.ipv6Enabled = false
|
||||
core.config?.setInt("net", "ipv6", 0)
|
||||
core.config?.sync()
|
||||
core.ipv6Enabled = false
|
||||
core.config?.setInt(section: "net", key: "ipv6", value: 0)
|
||||
try core.config?.sync()
|
||||
|
||||
// Add core listener
|
||||
core.addDelegate(delegate: self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue