onStreamedFrameAvailable method
Stream<CameraImageData>
onStreamedFrameAvailable(
- int cameraId, {
- CameraImageStreamOptions? options,
A new streamed frame is available.
Listening to this stream will start streaming, and canceling will stop. Pausing will throw a CameraException, as pausing the stream would cause very high memory usage; to temporarily stop receiving frames, cancel, then listen again later.
Implementation
// TODO(bmparr): Add options to control streaming settings (e.g.,
// resolution and FPS).
Stream<CameraImageData> onStreamedFrameAvailable(int cameraId,
{CameraImageStreamOptions? options}) {
throw UnimplementedError('onStreamedFrameAvailable() is not implemented.');
}