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.addListener(coreListener)
|
||||
|
||||
core.isIpv6Enabled = false
|
||||
core.config.setInt("net", "ipv6", 0)
|
||||
core.config.sync()
|
||||
|
||||
// Enable video
|
||||
core.isVideoCaptureEnabled = true
|
||||
core.isVideoDisplayEnabled = true
|
||||
|
|
@ -360,4 +364,4 @@ class LinphoneBridge(
|
|||
}
|
||||
return CallType.Unknown
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,7 +58,11 @@ class LinphoneBridge {
|
|||
do {
|
||||
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()
|
||||
|
||||
// Add core listener
|
||||
core.addDelegate(delegate: self)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue