Dahua API active deterrence Audio

sheuchert

n3wb
Joined
Jan 4, 2022
Messages
1
Reaction score
0
Location
Poland
Hi I have question.
It is possible to play audio from file in camera by API ?
1641293632445.png
I need play alarm1.pcm by API POST. Dahua API can do this?
 

Cold-Lemonade

Pulling my weight
Joined
Apr 1, 2021
Messages
156
Reaction score
134
Location
Boston
Yes. Something like the following command issued in linux will trigger the file you've selected.

curl --digest -g "http://username:password@camera_ip_address/cgi-bin/coaxialControlIO.cgi?action=control&channel=2&info[0].Type=2&info[0].IO=1"
 

Firepeet

n3wb
Joined
Jul 15, 2015
Messages
10
Reaction score
3
For me its working, but it will play the soud thats selected in the tab audio alarm.
Would it also be possible to play another alarm sound from the list using api?
 
Top