disable frame processor jni bindings, preserve video pipeline registration
This commit is contained in:
@@ -29,10 +29,16 @@ class CameraViewModule(reactContext: ReactApplicationContext) : ReactContextBase
|
||||
var sharedRequestCode = 10
|
||||
|
||||
init {
|
||||
// Skip loading native library for React Native 0.79+ compatibility
|
||||
// Frame Processors are disabled (react-native-worklets-core not installed)
|
||||
// The native library has incompatible JNI signatures for RN 0.79+
|
||||
Log.i(TAG, "VisionCamera native library not loaded - Frame Processors disabled for RN 0.79+ compatibility")
|
||||
try {
|
||||
// Load the native part of VisionCamera.
|
||||
// Includes the OpenGL VideoPipeline (needed for video recording)
|
||||
// Frame Processors remain disabled for RN 0.79+ compatibility
|
||||
System.loadLibrary("VisionCamera")
|
||||
Log.i(TAG, "VisionCamera native library loaded successfully")
|
||||
} catch (e: UnsatisfiedLinkError) {
|
||||
Log.e(TAG, "Failed to load VisionCamera C++ library!", e)
|
||||
throw e
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user