go2rtc icon indicating copy to clipboard operation
go2rtc copied to clipboard

WebRTC Camera Audio Home Assistant

Open tovdave opened this issue 1 year ago • 8 comments

Hello,

I'm running HA on a Linux VM and unfortunately I have the following problem. I add a camera (Reolink E1 Zoom) via an integration, whether Reolink, generic camera or custom card, the image and sound of the cameras work, only the delay is about 10-15 seconds. As soon as I install go2rtc under Addons and set up the RTSPtoWeb integration, the delay is completely gone but so is the sound. None of the cameras still transmit sound, but in go2rtc's WebUI, image and sound no longer work in HA. I would be very happy about your help.

streams:
  camera.192_168_7_64:
    - rtsp://[email protected]/live0
    - ffmpeg:camera.192_168_7_64#audio=opus

LG David

tovdave avatar Oct 11 '24 16:10 tovdave

I'm not sure if RTSPtoWeb will use your settings from go2rtc config. It's better to use WebRTC integration to know for sure.

AlexxIT avatar Oct 11 '24 19:10 AlexxIT

Thx for your response This means the sound works but I have a 10 second delay compared to the live image. Is there a way to reduce this?

tovdave avatar Oct 11 '24 20:10 tovdave

It depends on the technology on which WebRTC integration shows the stream. In most cases the delay is less than 1 second.

AlexxIT avatar Oct 12 '24 09:10 AlexxIT

Is it possible to change the technology to test several?

tovdave avatar Oct 12 '24 11:10 tovdave

Have you read the documentation? https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#go2rtc-home-assistant-integration

AlexxIT avatar Oct 12 '24 13:10 AlexxIT

Yes, I did, but I don't think I understood it. Am I correct that I can only change the format in a custom card in HA?

tovdave avatar Oct 13 '24 11:10 tovdave

Most likely you've misconfigured something. Maybe you are not using go2rtc and/or WebRTC at all. You need to examine the documentation carefully and figure it out.

AlexxIT avatar Oct 13 '24 20:10 AlexxIT

okay Thank You

tovdave avatar Oct 15 '24 11:10 tovdave