S sheuchert n3wb Jan 4, 2022 1 0 Poland Jan 4, 2022 #1 Hi I have question. It is possible to play audio from file in camera by API ? I need play alarm1.pcm by API POST. Dahua API can do this?
Hi I have question. It is possible to play audio from file in camera by API ? I need play alarm1.pcm by API POST. Dahua API can do this?
C Cold-Lemonade Pulling my weight Apr 1, 2021 156 134 Boston Apr 14, 2023 #2 Yes. Something like the following command issued in linux will trigger the file you've selected. curl --digest -g "http://usernameassword@camera_ip_address/cgi-bin/coaxialControlIO.cgi?action=control&channel=2&info[0].Type=2&info[0].IO=1" Reactions: JDreaming
Yes. Something like the following command issued in linux will trigger the file you've selected. curl --digest -g "http://usernameassword@camera_ip_address/cgi-bin/coaxialControlIO.cgi?action=control&channel=2&info[0].Type=2&info[0].IO=1"
C Cold-Lemonade Pulling my weight Apr 1, 2021 156 134 Boston May 3, 2023 #4 @killerdan56 Pardon my ignorance, but what is "OP"? The curl command above is specifically for ip cameras that use the Dahua API.
@killerdan56 Pardon my ignorance, but what is "OP"? The curl command above is specifically for ip cameras that use the Dahua API.
wittaj IPCT Contributor Apr 28, 2019 27,511 53,459 USA May 3, 2023 #5 "OP" is Original Poster or something like that LOL to delineate who first created the thread Reactions: JDreaming and Cold-Lemonade
F Firepeet n3wb Jul 15, 2015 10 3 May 21, 2023 #6 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?
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?