flutter_mjpeg 2.0.4 flutter_mjpeg: ^2.0.4 copied to clipboard
Flutter widget to show mjpeg stream from URL, mainly used by ip camera, stop itself when not on screen
Flutter widget to show mjpeg stream from URL
This is a full dart implementation of MJPEG reader. No native involve.
Mjpeg widget expects a
stream parameter with the HTTP URL of the MJPEG stream and can handle the following additional parameters:
|Whether or not the stream should be loaded continuously
|HTTP Timeout when fetching the MJPEG stream
|Error builder used when an error occurred
|Loading builder used until first frame arrived
boxFit of the image
|A map of headers to send in the HTTP request
|Used to give a custom httpClient, for example
DigestAuthClient() from http_auth. Defaults to
Client() from http.
|Used to apply preprocessing to each frame of the MJPEG stream before it is sent to Image for rendering. Defaults to
MjpegPreprocessor(), which passes each frame without modification.