Hi, what is the current state of web access and plugins for Dahua cams? I've spent some time searching the forums but haven't found a clear answer. Some say they're only compatible with Windows + Internet Explorer because of ActiveX; 'There is no plugins for Safari or Chrome. You need a browser that support ActiveX which is the internet explorer on a Windows OS.'
But this appears to show the web interface with a working video stream on MacOS (but I guess it could just be a static image taken from the live stream): Several plugins are listed here for Macs: But no mention about support; what camera models, MacOS version, browsers, etc? Looks like older versions of Firefox with the legacy NPAPI plugins might work for some people (but again, probably only on Windows). Click to expand.FWIW, I just installed that IPC driver for the Mac on macOS 10.13.4 (using Safari 11.1), and it works with the different Dahua models in my signature. With one exception. Once I have Tripwire enabled (and a zone setup), if I come back into the camera and let it stay on the main screen long enough for it to give the live preview, the video will fail with a 'plugin failure' error. The workaround I use is that as soon as I login to the camera, I click on the SETUP tab.
Oct 24, 2017 - My camera is a Dahua IPC HFW5432EP-Z and my problem right now is. The camera shows up with a page asking me to download the plugin. Message displayed when trying to access system from Chrome. This message will continue to display regardless of whether or not the plugin is installed.
So the browser never stays on the main screen long enough to do the live preview. This Tripwire thing has been the case (for me) over various Dahua Mac driver versions going back a year or two. This is from tonight on my Mac (camera is HDW5231R-Z).
I do wish the camera manufacturers would get their act together. There is no reason besides ineptitude for their web interfaces still requiring plugins or separate apps for basic things like checking the camera's aim and focus, previewing exposure changes, and configuring motion detection. It has been YEARS since plugins started losing support in major browsers and still they prefer to just let their interfaces be broken. Chrome dropped NPAPI in 2015 and gave about a year of warning prior to the cutoff!
I do wish the camera manufacturers would get their act together. There is no reason besides ineptitude for their web interfaces still requiring plugins or separate apps for basic things like checking the camera's aim and focus, previewing exposure changes, and configuring motion detection. It has been YEARS since plugins started losing support in major browsers and still they prefer to just let their interfaces be broken. Chrome dropped NPAPI in 2015 and gave about a year of warning prior to the cutoff! Click to expand.Minimum I would have expected to see some graceful fallbacks by now. No HLS or Plugin, why don't you just display a static snapshot that updates once every few seconds. If you set a stream to mjpeg, how about coding the page so the browser can actually display it.
Then again the English translations are still lacking, so I won't hold my breath. There are a few tags in the html that make me think Dahua has at least been experimenting with HLS, but afik no cameras support it yet.
Unfortunately they're using the plugins to stuff other than simply displaying the video feed. Once version of one of the plugins I even had to patch myself to fix a typo they made that was preventing it from working. HTML5 not natively supporting live streams is the main issue I think. They could achieve it via a method like HLS, feeding fully-formed video files into the browser one at a time, but this unavoidably adds video delay equal to the iframe interval, and it doesn't support H.265. Alternatively they could use WebRTC (which is designed for making audio and video calls so it is a hack to use it for an IP camera) but again H.265 is not supported and even H.264 is not nailed down, just kind of supported 'for now' in most browsers.
HTML5 not natively supporting live streams is the main issue I think. They could achieve it via a method like HLS, feeding fully-formed video files into the browser one at a time, but this unavoidably adds video delay equal to the iframe interval, and it doesn't support H.265. Alternatively they could use WebRTC (which is designed for making audio and video calls so it is a hack to use it for an IP camera) but again H.265 is not supported and even H.264 is not nailed down, just kind of supported 'for now' in most browsers. Click to expand.I found out last week that the Chrome NACL web plugin/app can also be installed on Linux, too (my main OS), and works well enough to access the Dahua demo cameras listed here: The login screen sometimes gets stuck, even with the correct password and I couldn't get the alert notifications to make any sound. The other cam features seem to work; liveview, pan/tilt/zoom, etc.
Does anyone know if their NVRs can be controlled this way? It'd probably be easier to set up a Windows Virtual Machine and run the native Windows client from there. The Reolink cameras can supposedly be accessed without any plugins, so I ordered a RLC-410S to test out. It needs Flash - despite this message: twitter.com/reolinktech/status/50082560 'It's pretty cool to access #Reolink camera in browsers, without installing plugins.Thanks for sharing' Maybe that only applies to some of their cameras, or later firmware. I'm not sure. The only upside is Flash is a fairly unified experience on Win/Mac/Linux, so the features seem to work.
But as people have said, it's well on the way out. And it's a CPU hog. I don't have it on Firefox, so only tested on Chrome. I do wish the camera manufacturers would get their act together.
There is no reason besides ineptitude for their web interfaces still requiring plugins or separate apps for basic things like checking the camera's aim and focus, previewing exposure changes, and configuring motion detection. It has been YEARS since plugins started losing support in major browsers and still they prefer to just let their interfaces be broken. Chrome dropped NPAPI in 2015 and gave about a year of warning prior to the cutoff! Click to expand.So in practice, the I-frame interval is often equivalent to a few seconds, which doesn't seem too much of a deal.
They could tell the user that streaming to a browser adds a bit of latency. I was about to say that the manufacturers should publish their APIs so people can write their own apps and then found this: ftp://ftp.wintel.fi/drivers/dahua/SDK-HTTPohjelmointi/DAHUAIPCHTTPAPIV1.00x.pdf Hikvision has some basic stuff documented, but looks like only enough for basic adjustments: Reolink also looks patchy on the details. Has anyone here used Dahua or Reolink cameras with ZoneMinder? Can it make use of the cameras motion detection/alerts (via ONVIF?) and also configure the detection areas/masks, etc? Thanks for all the replies, I guess no word from Dahua about this?
I found out last week that the Chrome NACL web plugin/app can also be installed on Linux, too (my main OS), and works well enough to access the Dahua demo cameras listed here: The login screen sometimes gets stuck, even with the correct password and I couldn't get the alert notifications to make any sound. The other cam features seem to work; liveview, pan/tilt/zoom, etc. Does anyone know if their NVRs can be controlled this way? It'd probably be easier to set up a Windows Virtual Machine and run the native Windows client from there.
The Reolink cameras can supposedly be accessed without any plugins, so I ordered a RLC-410S to test out. It needs Flash - despite this message: twitter.com/reolinktech/status/50082560 'It's pretty cool to access #Reolink camera in browsers, without installing plugins.Thanks for sharing' Maybe that only applies to some of their cameras, or later firmware. I'm not sure. The only upside is Flash is a fairly unified experience on Win/Mac/Linux, so the features seem to work. But as people have said, it's well on the way out. And it's a CPU hog. I don't have it on Firefox, so only tested on Chrome.
If YouTube are able to stream live video with HTML5 in 2018, then manufacturers should really be moving in that direction. It could even benefit them, since they wouldn't have to support multiple OS client software. So in practice, the I-frame interval is often equivalent to a few seconds, which doesn't seem too much of a deal.
They could tell the user that streaming to a browser adds a bit of latency. I was about to say that the manufacturers should publish their APIs so people can write their own apps and then found this: ftp://ftp.wintel.fi/drivers/dahua/SDK-HTTPohjelmointi/DAHUAIPCHTTPAPIV1.00x.pdf Hikvision has some basic stuff documented, but looks like only enough for basic adjustments: Reolink also looks patchy on the details. Has anyone here used Dahua or Reolink cameras with ZoneMinder? Can it make use of the cameras motion detection/alerts (via ONVIF?) and also configure the detection areas/masks, etc?
Click to expand.Yep, I've already noticed a few issues with this RLC-410; The image seems out of focus at night. Not sure what's going on right now. EDIT: Maybe this cam is faulty. Will investigate further. The audio is around 32kbps AAC. Even for mono streams, that's low.
So lots of compression artefacts. Why is this way more complex than it needs to be. Are there any non-proprietary standalone NVRs that can be used with Dahua or Hikvision cameras and play nicely with their motion detection/alert systems and also have a good web interface that doesn't lean on ActiveX or proprietary manufacturer plugins.
Adobe Flash would just about be ok. It feels like I'm asking for the impossible. Click to expand.lets break that down a little more.pretty much all standalone NVRs are proprietary, they're often linux based but rarely release the required source for foss components.
Most implement ONVIF, how well varies. Basic motion detection will work via ONVIF, features like line crossing may not -There are some much more expensive brands that have NVRs that now work without plugins. So, not impossible just expensive and still may not work seamlessly with every camera / camera feature.
The plugin-free implementations also often lack some features of the full implementation, may display a lower quality feed, and may have a video delay. VMS software on a PC is the most practical way to achieve what you want on a budget. This is how I am often able to trick many websites in making the video play even if they are looking for useless plugins. It worked with my Dahua HDBW5831R 8MP. No plugin needed. Use Safari's developer to change the user agent to be an iPad.
The video will play on your Macos High Sierra just fine now as it makes the website think your browser can only support H264. To enable the developer tools - click on Safari - Preferences - Advanced - Show Develop menu in menu bar. Then click on the menu bar on Develop - User Agent - Safari - iOS 11 - iPad.