D-Link Forums

The Graveyard - Products No Longer Supported => IP Cameras => DCS-942L => Topic started by: cc90202 on February 26, 2014, 03:39:43 AM

Title: Access D-LINK 942L from C++ (Mac OS)
Post by: cc90202 on February 26, 2014, 03:39:43 AM
Dear all, I'm trying to accessing via HTTP my D-LINK 942L.
I'm using OpenCV library (open source) to programming that.

When I try to open the streaming using "http://xx.xx.xx.xx" embedded in the C++ class it doesn't work.
---
VideoCapture vcap("http://xx.xx.xx.xx");
----


I tried any option: "http://xx.xx.xx.xx:<port>/video.cgi" and so on...nothing!

I set also the userid/pwd in the string, like "http://xx.xx.xx.xx/?user=admin&pwd=xxxx"

Is there a mode to properly open the streaming using code to get the video in C++ code? Anybody at D-LINK can help me?
I stopped the project :-(

Best regards

Cristiano
Title: Re: Access D-LINK 942L from C++ (Mac OS)
Post by: JavaLawyer on February 26, 2014, 04:44:29 AM
There are a couple of FAQ entries in the following sticky post that may provide some guidance: Network Cameras - Important Posts & Information (http://forums.dlink.com/index.php?topic=58121.0) (see  "Network Camera - Remote Access FAQ" section, last two posts - re: embedding streaming video in a webpage).

Please post back and let us know if these help.  ;)
Title: Re: Access D-LINK 942L from C++ (Mac OS)
Post by: cc90202 on February 26, 2014, 04:55:11 AM
Thank you. I've read before post. Unfortunately, nothing seems to answer to my questions. In the FAQ many examples are how to embed in a web site the video. I'm trying to do something different: use code to access to the streaming. I should know how to get the service from web server inside the camera software.

Best regards

Cristiano
Title: Re: Access D-LINK 942L from C++ (Mac OS)
Post by: JavaLawyer on February 26, 2014, 05:03:28 AM
You may also want to post your question on the general DCS series Network Cameras (http://forums.dlink.com/index.php?board=154.0) board to hit a broader swath of members.

If you do figure things out, please let me know and I'll create an FAQ entry.  ;)