mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-27 16:09:20 +00:00
Fix build for sdk master : pushRegistryDispatchQueue is no longer in the wrapper, we need to use the C function instead
This commit is contained in:
parent
ffb60daaea
commit
d91aa94c9a
1 changed files with 3 additions and 2 deletions
|
|
@ -21,6 +21,7 @@
|
|||
// swiftlint:disable line_length
|
||||
|
||||
import linphonesw
|
||||
import linphone // needed for unwrapped function linphone_core_set_push_registry_dispatch_queue
|
||||
import Combine
|
||||
import UniformTypeIdentifiers
|
||||
import Network
|
||||
|
|
@ -95,11 +96,11 @@ final class CoreContext: ObservableObject {
|
|||
self.mCore = try? Factory.Instance.createCoreWithConfig(config: config!, systemContext: nil)
|
||||
}
|
||||
|
||||
self.mCore.pushRegistryDispatchQueue = Unmanaged.passUnretained(coreQueue).toOpaque()
|
||||
linphone_core_set_push_registry_dispatch_queue(self.mCore.getCobject, Unmanaged.passUnretained(coreQueue).toOpaque())
|
||||
self.mCore.autoIterateEnabled = false
|
||||
self.mCore.callkitEnabled = true
|
||||
self.mCore.pushNotificationEnabled = true
|
||||
|
||||
|
||||
self.mCore.setUserAgent(name: "Linphone iOS 6.0 Beta (\(UIDevice.current.localizedModel)) - Linphone SDK : \(self.coreVersion)", version: "6.0")
|
||||
|
||||
self.mCore.videoCaptureEnabled = true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue