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