webrtc_pixel_stream 0.2.0 copy "webrtc_pixel_stream: ^0.2.0" to clipboard
webrtc_pixel_stream: ^0.2.0 copied to clipboard

PlatformiOS

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 I420ToARGB instead of I420ToBGRA for kCVPixelFormatType_32BGRA pixel 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 EventChannel
  • WebrtcPixelStreamPlugin: Method channel handlers for createPixelStream / disposePixelStream
  • Uses FlutterWebRTCPlugin.sharedSingleton for track lookup (no fork required)
  • iOS support only
0
likes
130
points
279
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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 frame bytes.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on webrtc_pixel_stream

Packages that implement webrtc_pixel_stream