fix: disabling IPv6 support may fix DSCP fields absence

This commit is contained in:
Andrew 2026-02-10 12:29:52 +07:00
parent 2e67ea7ff9
commit 79e405797a
2 changed files with 10 additions and 2 deletions

View file

@ -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)