blakeblackshear/frigate-hass-integration

Does not stream with go2rtc rtsp authenication enabled

Aperta

#447 aperta il 9 mar 2023

 (37 commenti) (0 reazioni) (0 assegnatari)Python (189 fork)github user discovery
help wanted

Metriche repository

Star
 (1238 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Version of the custom_component

Frigate: 0.12.0-E8D8CC4 Integration: v4.0.0-beta4

Configuration


go2rtc:
  rtsp:
    username: "${FRIGATE_RTSP_USERNAME}"
    password: "${FRIGATE_RTSP_PASSWORD}"

Describe the bug

After enabling rtsp authentication in go2rtc, Home Assistant camera entity cannot stream. A bunch of authentication errors occur in the log. I am not using Frigate add-on within Home Assistant. Frigate is running as a separate docker.

Debug log


Logger: homeassistant.components.stream.stream.camera.backyard
Source: components/stream/__init__.py:434
Integration: Stream ([documentation](https://www.home-assistant.io/integrations/stream), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+stream%22))
First occurred: 7:49:36 PM (17 occurrences)
Last logged: 7:51:48 PM

Error from stream worker: Stream ended; no additional packets
Error from stream worker: Error opening stream (HTTP_UNAUTHORIZED, Server returned 401 Unauthorized (authorization failed)) rtsp://xxxxxxxxxxxx

Guida contributor