22.10.2017, 18:11
(15.03.2017, 11:12)buuuudzik Wrote:(15.03.2017, 11:06)admin Wrote: Does your camera provide a snapshot or are you trying to download the mjpeg stream? I would suggest use luasocket HTTP requests without saving the file to a local filesystem since you are deleting it right after sending.
For me this would be a better option in some situations.
For my disposition are these urls:
1) /axis-cgi/mjpg/video.cgi
2) cgi-bin/snapshot.cgi?chn=[CHANNEL]&u=[USERNAME]&p=[PASSWORD]
I'am using the second which provides "snapshot.jpg" ~400kB.
Hello,
How exactly do you use luasocket to send an email with a snapshot.jpg.
I have a doorbird cam who use a image request to : http://ip-adres/bha-api/image.cgi
And returns a jpeg image.
can you send me the code please.