react-native-native-video-skia
v0.1.0
Published
NativeVideo frame to React Native Skia image bridge
Maintainers
Readme
react-native-native-video-skia
A deliberately narrow native-buffer bridge between react-native-native-video and React Native Skia.
Initial frozen RetroZero compatibility:
react-native-native-video >=0.2.25 <0.3@shopify/react-native-skia 2.4.18- React Native >=0.82
- iOS 15+
- Android minimum: API 26+ (RNSkia HardwareBuffer import); GPU decode path: API 29+
const frame = video.getFrameAtTime(12.5);
const image = imageFromFrame(frame);The bridge does not create an RGBA ArrayBuffer. NativeVideo leases the CVPixelBuffer/AHardwareBuffer just long enough for RNSkia to import it, then releases the lease immediately. RNSkia owns the resulting Metal/EGL texture lifetime.
Android Bitmap-backed fallback frames are intentionally rejected instead of silently uploading CPU pixels.
