mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-05-24 07:20:11 +00:00
fix(iOS): disable allowsVideoFrameAnalysis (#4643)
This commit is contained in:
@@ -166,6 +166,10 @@ import UIKit
|
||||
controller.selectSpeed(initialSpeed)
|
||||
}
|
||||
}
|
||||
// Disable video frame analysis to prevent visual lookup
|
||||
if #available(iOS 16.0, iPadOS 16.0, macCatalyst 18.0, *) {
|
||||
controller.allowsVideoFrameAnalysis = false
|
||||
}
|
||||
|
||||
// Find nearest UIViewController
|
||||
if let parentVC = self.findViewController() {
|
||||
|
||||
Reference in New Issue
Block a user