I also ran into this issue. It seems to be an issue with webcams using basic auth (*://user:pass@ip:port/file/). When I omit the authentication parameters and have a tab open in my browser which is currently accessing my cam and therefor is authorized, then Habpanel displays the image.
This works as long a I restart my browser or the session to the webcam times out. So it is not usable for my wall-mount project.
It doesnt work at all when using nginx reverse proxy! You have to connect directly to your Habpanel via LAN.
Sadly my cam only supports snapshot and mjpeg access via basic auth so this issue is very problematic to me.
@ysc do you have a workaround on Habpanel-side which could help me?
I am using a Hikvision IP-Cam DS-2CD2342WD-I. The API is documented here in case it matters: http://oversea-download.hikvision.com/uploadfile/Leaflet/ISAPI/HIKVISION%20ISAPI_2.0-IPMD%20Service.pdf
Page 24: Security
and page 149: 8.9.6/ISAPI/Streaming/channels//picture
Thanks in advance