webrtc_pixel_stream 0.2.0
webrtc_pixel_stream: ^0.2.0 copied to clipboard
A lightweight companion plugin that streams raw BGRA pixel data from a WebRTC video track via EventChannel. Designed for panorama_viewer / aura_sphere_360 but usable by any Flutter app that needs raw [...]
0.2.0 #
- BREAKING: Migrated to FFI-based double-buffered shared memory for zero-copy pixel transfer
- NEW: Added support for software-decoded I420 frames (VP8/VP9) using RTCYUVHelper
- PERFORMANCE: Eliminated EventChannel serialization overhead (~80% CPU reduction for 4K streams)
- NEW: Double-buffering prevents frame tearing during high-framerate WebRTC streams
- FIX: Black screen issue with software-decoded codecs now resolved
- iOS only (Android FFI path pending)
0.1.1 #
- FIX: Corrected color channel order by using
I420ToARGBinstead ofI420ToBGRAforkCVPixelFormatType_32BGRApixel buffers - Fixes red/blue channel swap that caused blue tint in rendered frames
0.1.0 #
- Initial release
FlutterRTCStreamingSink: RTCVideoRenderer that converts I420→BGRA and streams via EventChannelWebrtcPixelStreamPlugin: Method channel handlers forcreatePixelStream/disposePixelStream- Uses
FlutterWebRTCPlugin.sharedSingletonfor track lookup (no fork required) - iOS support only