Issues with audio on the AD410 through Homekit

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.

Hi @HA_fanatic

Did you find the way to fix it?

option linked_doorbell_sensor is amazing, before I have to use automation and push mp3 to sonos speaker

Also, did you research two way audio to homekit?