mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-06-06 20:12:54 +00:00
fix(iOS): disable allowsVideoFrameAnalysis (#4643)
This commit is contained in:
@@ -166,6 +166,10 @@ import UIKit
|
|||||||
controller.selectSpeed(initialSpeed)
|
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
|
// Find nearest UIViewController
|
||||||
if let parentVC = self.findViewController() {
|
if let parentVC = self.findViewController() {
|
||||||
|
|||||||
Reference in New Issue
Block a user