From a7cb41c9fba9277ff6bc892bd6e98696167bcace Mon Sep 17 00:00:00 2001 From: Krzysztof Moch Date: Thu, 4 Jan 2024 07:12:06 +0100 Subject: [PATCH] chore: move metadata output delegate to main queue --- ios/Video/Features/RCTPlayerObserver.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Video/Features/RCTPlayerObserver.swift b/ios/Video/Features/RCTPlayerObserver.swift index c6b2dc04df..aebda7071a 100644 --- a/ios/Video/Features/RCTPlayerObserver.swift +++ b/ios/Video/Features/RCTPlayerObserver.swift @@ -57,7 +57,7 @@ class RCTPlayerObserver: NSObject, AVPlayerItemMetadataOutputPushDelegate { // handle timedMetadata let metadataOutput = AVPlayerItemMetadataOutput() playerItem.add(metadataOutput) - metadataOutput.setDelegate(self, queue: .global()) + metadataOutput.setDelegate(self, queue: .main) } }