diff --git a/Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionViewModel+VideoSegmentProcessor.swift b/Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionViewModel+VideoSegmentProcessor.swift index a368ec66..c2ed2b39 100644 --- a/Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionViewModel+VideoSegmentProcessor.swift +++ b/Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionViewModel+VideoSegmentProcessor.swift @@ -13,7 +13,7 @@ extension FaceLivenessDetectionViewModel: VideoSegmentProcessor { sendVideoEvent(data: chunk, videoEventTime: .zero) if !hasSentFinalVideoEvent, case .completedDisplayingFreshness = livenessState.state { - DispatchQueue.main.asyncAfter(deadline: .now() + 0.9) { + DispatchQueue.global(qos: .default).asyncAfter(deadline: .now() + 0.9) { self.sendFinalVideoEvent() } }