2017-05-05, 03:54
Hi macnet1,
Are you using Kodi with Raspberry Pi what version of kodi do you use? also I install Kodi in top of the LibreElec I use kodi version 16.1 known as Jarvis, My suggestion is try you code within browser when it work then move it to Kodi, I suggest you change you rtsp for snapshot and MJPEG to http://: use rtsp only for video stream.
following works for Trendnet Cams
Snapshot: http://admin:pass@IP-Address:Port/cgi/jpg/image.cgi
MJPEG: http://admin:pass@IP-Address:Port/cgi/mjpg/mjpg.cgi
this one works with Dlink Cams
Snapshot: http://admin:pass@IP-Address:Port/image/jpeg.cgi
Video Stream: rtsp://admin:pass@IP-Address:554/play1.sdp
MJPEG: http://admin:pass@IP-Address:Port/image/jpeg.cgi
you have to find right combo for your cam.
Are you using Kodi with Raspberry Pi what version of kodi do you use? also I install Kodi in top of the LibreElec I use kodi version 16.1 known as Jarvis, My suggestion is try you code within browser when it work then move it to Kodi, I suggest you change you rtsp for snapshot and MJPEG to http://: use rtsp only for video stream.
following works for Trendnet Cams
Snapshot: http://admin:pass@IP-Address:Port/cgi/jpg/image.cgi
MJPEG: http://admin:pass@IP-Address:Port/cgi/mjpg/mjpg.cgi
this one works with Dlink Cams
Snapshot: http://admin:pass@IP-Address:Port/image/jpeg.cgi
Video Stream: rtsp://admin:pass@IP-Address:554/play1.sdp
MJPEG: http://admin:pass@IP-Address:Port/image/jpeg.cgi
you have to find right combo for your cam.