v2.0.4
flutter_mjpeg
URL से MJPEG प्रवाह दिखाने के लिए Flutter विजेट, मुख्य रूप से IP कैमरा के लिए उपयोग किया जाता है, जब स्क्रीन पर नहीं होता तो खुद को बंद कर लेता है
38लाइक 1.3 हज़ार30-दिन डाउनलोड140Pub अंक
AndroidiOSmacOSWindowsLinux
URL से MJPEG स्ट्रीम दिखाने के लिए Flutter विजेट
>=0.2.0 <1.0.0>=0.16.0 <1.0.0>=0.13.1 <2.0.0{"sdk":"flutter"}{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Flutter widget to show mjpeg stream from URL
This is a full dart implementation of MJPEG reader. No native involve.
Mjpeg(
stream: 'http://192.168.1.24:8080/video.cgi',
)
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. |
preprocessor |
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. |