flutter_mjpeg 2.0.2 copy "flutter_mjpeg: ^2.0.2" to clipboard
flutter_mjpeg: ^2.0.2 copied to clipboard

Flutter widget to show mjpeg stream from URL, mainly used by ip camera, stop itself when not on screen

flutter_mjpeg #

Flutter widget to show mjpeg stream from URL

This is a full dart implementation of MJPEG reader. No native involve.

Usage #

Mjpeg(
  stream: 'http://192.168.1.24:8080/video.cgi',
)

API #

The Mjpeg widget expects a stream parameter with the HTTP URL of the MJPEG stream and can handle the following additional parameters:

Parameter Description
isLive Whether or not the stream should be loaded continuously
timeout HTTP Timeout when fetching the MJPEG stream
width Force width
height Force height
error Error builder used when an error occurred
loading Loading builder used until first frame arrived
fit The boxFit of the image
headers A map of headers to send in the HTTP request
httpClient Used to give a custom httpClient, for example DigestAuthClient() from http_auth. Defaults to Client() from http.
30
likes
0
pub points
88%
popularity

Publisher

verified publishermylisabox.com

Flutter widget to show mjpeg stream from URL, mainly used by ip camera, stop itself when not on screen

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, flutter_hooks, http, visibility_detector

More

Packages that depend on flutter_mjpeg