I am having issues with audio going through to homekit using the Dahua integration from HACS on the Amcrest AD410.
This is my homekit config:
- name: Front Door Doorbell
mode: accessory
port: 21062
filter:
include_entities:
- camera.front_door_main
entity_config:
camera.front_door_main:
name: Front Door Doorbell
stream_source: -rtsp_transport tcp -re -i rtsp://admin:<REDACTED>@172.25.XXX:XXX:554/cam/realmonitor?channel=1&subtype=0
video_codec: copy
audio_codec: copy
support_audio: True
linked_doorbell_sensor: binary_sensor.front_door_button_pressed
I have looked at several homekit / Amcrest AD410 / ffmpeg related posts such as:
but nothing! Does anyone know what other options I can use in the audio_codec key?
Before I didn’t have video working at all, and through trial and error I got it working by adding the video_codec: copy given that VLC shows the media stream coming as H264 by default so once I added that the video worked flawlessly. Now i’m thinking something in the audio_codec has to change as well.
Hey sorry for replying late. I think i stopped doing this and later used scrypted now to pip things to homekit. I will be trying the amcrest home assistant integration again as there was firmware changes recently that I upgraded and read that maybe it helps with home assistant integration.