image_data_response library
Constants
- finalChunkFlag → const int
- nonFinalChunkFlag → const int
Functions
-
imageDataResponse(
Stream< List< dataResponse, int qualityLevel) → Stream<int> >Uint8List> - Pairs with frame.camera.read_raw(), that is, jpeg header and footer are not sent from Frame - only the content, using non-final and final message types Jpeg header and footer are added in here on the client, so a quality level must be provided to select the correct header. Returns a Stream with exactly one jpeg as bytes, then is Done