webrtc_pixel_stream 0.1.1
webrtc_pixel_stream: ^0.1.1 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 [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add webrtc_pixel_streamThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
webrtc_pixel_stream: ^0.1.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:webrtc_pixel_stream/webrtc_pixel_stream.dart';