Skip to content

Support for Axis cameras/door stations 2-way audio #2325

Description

@JPMakesStuff

Axis I8116-E front door camera/intercom, even when using a custom ONVIF profile, cant seem to get audio, sendonly or sendrecv to show up under the go2rtc api

Describe the solution you'd like
Axis supports VAPIX (proprietary?) or "play" WAV files to the intercom using FFmpeg directly (see example URL below), could go2rtc do something like that?

ffmpeg.exe -hide_banner -loglevel error -i "C:\axis-sounds%~1.wav" -filter_complex "aevalsrc=0:d=0.30[sil];[0:a]aresample=16000[a];[sil][a]concat=n=2:v=0:a=1[out]" -map "[out]" -c:a pcm_mulaw -ac 1 -ar 16000 -f wav -chunked_post 0 -content_type audio/axis-mulaw-128 "http://[IP_of_Axis_Intercom]/axis-cgi/audio/transmit.cgi"

See also...
https://developer.axis.com/vapix/audio-systems/audio-api/

If someone can commit to a working solution, I am willing to provide you with the hardware to test with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions