• November 02, 2024, 03:21:18 AM
  • 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: does it has NetIPCamAPI support for put audio upstream?  (Read 5213 times)

jomateix

  • Level 1 Member
  • *
  • Posts: 2
does it has NetIPCamAPI support for put audio upstream?
« on: June 27, 2013, 03:11:53 AM »

Hi I would like to know if its possible to put audio upstream (two-way audio talk) using NetIPCamAPI, i succefeully managed to stream mjpeg,stream ulaw, now i want to upload audio to the DCS-2332L

I am trying to replicate theses commands ( page 43 NetIPCamAPI-1.9.5.pdf)
I don't have the support table of this CAM.

Verification request:
Request object:
HEAD /dev/speaker.cgi?client=<MAC address of client side>
Request header:
Authorization: Basic <base64 encode(username:password)>\r\n
Content-Type: audio/ACAS\r\n
Content-length: 0\r\n
\r\n
Response of verification request:
If the authorization is verified, the camera should return 200 OK to indicate client side can keep uploading request:
HTTP/1.0 200 OK\r\n

from curl, also from android


jordip@jordip-HP-Compaq-8200-Elite-SFF-PC:~$ curl -H "Authorization: Basic dXNlcjQ6cHN3NA==" -H  "Content-Type: audio/ACAS"\-H  "Content-length: 0\r\n" http://192.168.0.10/dev/speaker.cgi?client=2c:27:d7:1c:cd:17
curl: (6) Couldn't resolve host 'Content-length'
<html>
<body>
<h1>Unauthorized</h1>
Please enter correct account/password.
</body>
</html>

thank you very much for your help and insight
Logged

jomateix

  • Level 1 Member
  • *
  • Posts: 2
Re: does it has NetIPCamAPI support for put audio upstream?
« Reply #1 on: June 27, 2013, 05:28:23 AM »

it actually does, I haven't managed to upload audio but it accepts the request

curl -v -i -X HEAD  -H "Authorization: Basic wewrtege45345" -H  "Content-Type: audio/ACAS" -H  "Content-length: 0"  ip.ip.ip.ip/dev/speaker.cgi?client=2c:27:d7:1c:cd:17
 
Logged