This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

MJPEG No working
#1
Hi all, 

The command   http://admin:Cameraxxxxxx@182.168.120:80...?subtype=1  entered in the browser does visualize the MJPEG stream.

The same command in the honelynk camera visualisation does not work.  The frame size is correct.

Any tips here?

Thanks
Reply
#2
You cannot use basic authentication in the URL in modern browsers as it’s blocked.

The reason that it works directly in the browser is that you probably have entered the credentials in that session or stored it so it doesn’t have to use the credentials passed in the URL.
Reply
#3
(24.03.2023, 06:21)Erwin van der Zwart Wrote:
You cannot use basic authentication in the URL in modern browsers as it’s blocked.
The reason that it works directly in the browser is that you probably have entered the credentials in that session or stored it so it doesn’t have to use the credentials passed in the URL.

That makes sence!

Not sure how an IP camera can be integrated then in touch or pc visualisation.  The manual describes it is done via this url authentification   (09/22 – Firmware Q 2.8.0 LSS 100100 page 98).  what is an alternative way to integrate a camera in touch or pc visualisation?
Reply
#4
Only way is disable credentials or use a camera that allows passing credentials as qeury parameters like
https://192.168.0.100/stream.mjpeg?usern...mypassword but those cams are still rare on the market.
Reply
#5
(25.03.2023, 10:10)Erwin van der Zwart Wrote: Only way is disable credentials or use a camera that allows passing credentials as qeury parameters like
https://192.168.0.100/stream.mjpeg?usern...mypassword but those cams are still rare on the market.

Please allow me to ask, can I find a live stream like this for Hikvision cameras, where can I find it?
Reply
#6
Each camera has a unique way of doing it, contact the manufacture.
------------------------------
Ctrl+F5
Reply
#7
Hi,

my old enough Hik camera and Mozilla (latest version 123.0.1) still working. Chrome block such way.

I still use this:

http://admin:pass@IP/Streaming/channels/102/Preview. Not remember camera config, I think this is second stream. I just put in at visu. Of course not a super secure way..

May be helps,

BR,

Alex
Reply
#8
I had this working when using the camera settings in visualization until now lately, with http://xxxxxxx:xxxxxxx@192.168.1.50/cgi-...&subtype=1
This didnt work in iframe but when using the camera setting, but now the stream are´nt working there eihter.

So what is the way of stream a video from the IP cameras in the visualization now?
Reply
#9
Basic authentication in the URL (user:pass@)is blocked by all modern browsers so this will never work, only thing you can do is use a different camera with query parameters for credentials or disable password..
Reply
#10
(16.09.2024, 05:57)Erwin van der Zwart Wrote: Basic authentication in the URL (user:pass@)is blocked by all modern browsers so this will never work, only thing you can do is use a different camera with query parameters for credentials or disable password..

Hi Erwin. 

Thanks for reply. How does query parameters work in visualization Camera element? 
We run this camera stream with basic authentication in URL (user:pass@) with Camera element in visu until for a couple of months or so. Has it been any new updates lately for this?
Reply
#11
This is an example foe a hikvision camera but each manufacture does it his own way or not at all.
http://IP/cgi-bin/snapshot.cgi?chn=[CHANNEL]&u=[USERNAME]&p=[PASSWORD]
------------------------------
Ctrl+F5
Reply


Forum Jump: