fix: disabling IPv6 support may fix DSCP fields absence
This commit is contained in:
parent
2e67ea7ff9
commit
79e405797a
2 changed files with 10 additions and 2 deletions
|
|
@ -201,6 +201,10 @@ class LinphoneBridge(
|
||||||
core = factory.createCore(null, null, activity.baseContext)
|
core = factory.createCore(null, null, activity.baseContext)
|
||||||
core.addListener(coreListener)
|
core.addListener(coreListener)
|
||||||
|
|
||||||
|
core.isIpv6Enabled = false
|
||||||
|
core.config.setInt("net", "ipv6", 0)
|
||||||
|
core.config.sync()
|
||||||
|
|
||||||
// Enable video
|
// Enable video
|
||||||
core.isVideoCaptureEnabled = true
|
core.isVideoCaptureEnabled = true
|
||||||
core.isVideoDisplayEnabled = true
|
core.isVideoDisplayEnabled = true
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,10 @@ class LinphoneBridge {
|
||||||
let factory = Factory.Instance
|
let factory = Factory.Instance
|
||||||
core = try factory.createCore(configPath: nil, factoryConfigPath: nil, systemContext: nil)
|
core = try factory.createCore(configPath: nil, factoryConfigPath: nil, systemContext: nil)
|
||||||
|
|
||||||
|
code.ipv6Enabled = false
|
||||||
|
core.config?.setInt("net", "ipv6", 0)
|
||||||
|
core.config?.sync()
|
||||||
|
|
||||||
// Add core listener
|
// Add core listener
|
||||||
core.addDelegate(delegate: self)
|
core.addDelegate(delegate: self)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue