refactor: simplify ipv6 configuration with setIpv6Enabled (disabling ipv6 actually)

This commit is contained in:
Andrew 2026-04-14 16:16:54 +07:00
parent 71b9b11439
commit a740475d56

View file

@ -201,9 +201,7 @@ 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.setIpv6Enabled(false)
core.config.setInt("net", "ipv6", 0)
core.config.sync()
// Enable video // Enable video
core.isVideoCaptureEnabled = true core.isVideoCaptureEnabled = true