Hi, i'm trying to implement a two way audio app but i cant get the audio encoding to work. I use the ISAPI methods :
curl -X PUT "http://admin:[email protected]/ISAPI/System/TwoWayAudio/channels/1/open"
<?xml version="1.0" encoding="UTF-8"?>
<TwoWayAudioSession version="2.0" xmlns="Oops:The page you are visiting may have been deleted,renamed or inaccessible.">
<sessionId>1943264390</sessionId>
</TwoWayAudioSession>
curl -H "Content-Type: application/binary" -X PUT -d @didi.pcm http://admin:[email protected]/ISAPI/System/TwoWayAudio/channels/1/audioData
HTTP/1.1 200 OK
Date: Mon, 08 Jan 2018 18:25:16 GMT
Server: App-webs/
Connection: close
Content-Length: 302
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8"?>
<ResponseStatus version="2.0" xmlns="Oops:The page you are visiting may have been deleted,renamed or inaccessible.">
<requestURL>/ISAPI/System/TwoWayAudio/channels/1/audioData</requestURL>
<statusCode>1</statusCode>
<statusString>OK</statusString>
<subStatusCode>ok</subStatusCode>
</ResponseStatus>
So far everything looks ok, but the problem is that i have tried almost all the audio bitrate, samplingrate, encoding, endiannes combination possible and i cant get a clear audio reproduction in the camera. All of them sounds with an incredible amount of noise and a pitched up annoying effect. Is there a way to get the two way audio reproduction to work? Or is it closed to some obscure hikvision encoding ? Thanks in advance!
curl -X PUT "http://admin:[email protected]/ISAPI/System/TwoWayAudio/channels/1/open"
<?xml version="1.0" encoding="UTF-8"?>
<TwoWayAudioSession version="2.0" xmlns="Oops:The page you are visiting may have been deleted,renamed or inaccessible.">
<sessionId>1943264390</sessionId>
</TwoWayAudioSession>
curl -H "Content-Type: application/binary" -X PUT -d @didi.pcm http://admin:[email protected]/ISAPI/System/TwoWayAudio/channels/1/audioData
HTTP/1.1 200 OK
Date: Mon, 08 Jan 2018 18:25:16 GMT
Server: App-webs/
Connection: close
Content-Length: 302
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8"?>
<ResponseStatus version="2.0" xmlns="Oops:The page you are visiting may have been deleted,renamed or inaccessible.">
<requestURL>/ISAPI/System/TwoWayAudio/channels/1/audioData</requestURL>
<statusCode>1</statusCode>
<statusString>OK</statusString>
<subStatusCode>ok</subStatusCode>
</ResponseStatus>
So far everything looks ok, but the problem is that i have tried almost all the audio bitrate, samplingrate, encoding, endiannes combination possible and i cant get a clear audio reproduction in the camera. All of them sounds with an incredible amount of noise and a pitched up annoying effect. Is there a way to get the two way audio reproduction to work? Or is it closed to some obscure hikvision encoding ? Thanks in advance!