Refresh Perspective Iframe for IP Camera

Hope everyone is staying safe.

I have an ip camera that I am connected to in perspective using IFrame.
It works great except it isnt live. I need it to refresh or maybe just use a different component to look at it?
I use the same url in a vision project using the ip camera component and of course that is live.
I am grabbing the jpeg stills.

Any help is appreciated

Try adding a nonsense query parameter that’s bound to now(<poll rate>); something like:

1 Like

When I do that it adds the time to the url and gives me an “Auth Failed”

Original URL: http://brr.sr4.org:8088/system/urlproxy?url=http://192.168.4.4/cgi-bin/video.cgi?mode=1%26auth_64=YWRtaW46MTIzNA==

With poll added: http://brr.sr4.org:8088/system/urlproxy?url=http://192.168.4.4/cgi-bin/video.cgi?mode=1%26auth_64=YWRtaW46MTIzNA==1586366523477

Separate your URL parameters; it’s being double-encoded to go through the Vision URL proxy, but you want your output to be something like:
http://brr.sr4.org:8088/system/urlproxy?url=http://192.168.4.4/cgi-bin/video.cgi?mode=1%26auth_64=YWRtaW46MTIzNA==%26t=1586366523477

1 Like

Oh man, phenominal!
Thank you very much for your help.
:grinning:

1 Like

Hi jshannon,
Can you tell us what Ip camera you’re using?
Tia,

Its a Speco O3FB68

Never too late to say thanks !

This is an old post, but I just used this to get "live" images on my ReoLink RLC-510A!!! Very nice PGriffith!!