Is it possible to stream a video with flutter camera plugin?

Looks like it is possible as it was done at Flutter Live with one of the development demos. Check out the YouTube video here . at 24:17. There is a method on the CameraController called getByteStream. The gist of the method shown below.

void cameraBytesToDetector({@required CameraController camera}){
  camera.startByteStream( (image) {
    // do something with the image stream here
  });
}

But I can find no reference anywhere as I am also looking for a way to read the video stream.


You can call Java/Kotlin or Objective-C/Swift libraries from Dart.

I can suggest that libraries for Android,

https://github.com/begeekmyfriend/yasea

https://github.com/ant-media/LiveVideoBroadcaster

The only thing that you have to do is developing a dart interface to this kind of libraries.