• October 31, 2024, 11:28:24 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Access D-LINK 942L from C++ (Mac OS)  (Read 4421 times)

cc90202

  • Level 1 Member
  • *
  • Posts: 3
Access D-LINK 942L from C++ (Mac OS)
« 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
Logged

JavaLawyer

  • BETA Tester
  • Level 15 Member
  • *
  • Posts: 12190
  • D-Link Global Forum Moderator
    • FoundFootageCritic
Re: Access D-LINK 942L from C++ (Mac OS)
« Reply #1 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 (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.  ;)
« Last Edit: February 26, 2014, 04:46:39 AM by JavaLawyer »
Logged
Find answers here: D-Link ShareCenter FAQ I D-Link Network Camera FAQ
There's no such thing as too many backups FFC

cc90202

  • Level 1 Member
  • *
  • Posts: 3
Re: Access D-LINK 942L from C++ (Mac OS)
« Reply #2 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
Logged

JavaLawyer

  • BETA Tester
  • Level 15 Member
  • *
  • Posts: 12190
  • D-Link Global Forum Moderator
    • FoundFootageCritic
Re: Access D-LINK 942L from C++ (Mac OS)
« Reply #3 on: February 26, 2014, 05:03:28 AM »

You may also want to post your question on the general DCS series Network Cameras 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.  ;)
Logged
Find answers here: D-Link ShareCenter FAQ I D-Link Network Camera FAQ
There's no such thing as too many backups FFC