Closed sameertotey-greenwood closed 1 year ago
Hi @sameertotey-greenwood
Thanks for reaching out. Based on my knowledge, we create our own sync queue to run AVCaptureSession and we do this for thread safety. But I'll discuss this with my engineering team and provide you more information. In the meantime, would you please reach out through dse@socure.com. Thank you!
let queue = DispatchQueue(label: "com.socure.sdk.camera-queue", qos: .userInitiated, attributes: [], autoreleaseFrequency: .workItem))
Resolved in 3.2.0
-[AVCaptureSession startRunning] should be called from background thread. Calling it on the main thread can lead to UI unresponsiveness