blakeblackshear/frigate-hass-integration

Does not stream with go2rtc rtsp authenication enabled

开放

#447 创建于 2023年3月9日

 (37 条评论) (0 个反应) (0 位负责人)Python (189 个派生)github user discovery
help wanted

仓库指标

星标
 (1,238 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南