Skip to content

2-way audio with Dahua CGI HTTP interface #52

Open
@felipecrs

Description

@felipecrs

Hello,

I have a Dahua VTO2202F-P-S2 which unfortunately doesn't support the ONVIF Profile T (at least it didn't work in my tests).

I wonder if it's reasonable to suggest supporting additional methods for playing the audio in the camera/doorbell. For example, this doorbell exposes a small API which allows me to play audio on it:

https://s3.amazonaws.com/amcrest-files/AMCREST_CGI_SDK_API.pdf
(search for Post Audio)

I can reproduce it with something like:

curl --digest -verbose --request POST --url 'http://admin:[email protected]/cgi-bin/audio.cgi?action=postAudio&httptype=singlepart&channel=1' --header 'Content-Type: Audio/G.711A' --data-binary '@DoorBell.wav'

So I wonder if it should be possible to pipe the audio from browser to this API in order to achieve 2-way audio.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dahuaDahua cameras, VTO, SIPenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions