Skip to content

Commit

Permalink
chore: move metadata output delegate to main queue
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofMoch committed Jan 4, 2024
1 parent 382cd66 commit a7cb41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Video/Features/RCTPlayerObserver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit a7cb41c

Please sign in to comment.