go2rtc
go2rtc is an open source project providing a camera streaming application that supports formats such as RTSP, WebRTC, HomeKit, FFmpeg, RTMP. The go2rtc integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] connects to a go2rtc instance and provides a WebRTC proxy for all your cameras. To learn more about go2rtc, refer to the project’s GitHub page
If you are using the default_config
and run Home Assistant using one of the following installation methods, the go2rtc integration will be set up automatically and you don’t need to do anything:
- Home Assistant Operating SystemHome Assistant OS,即 Home Assistant 操作系统,是一个嵌入式、简约的操作系统,旨在运行 Home Assistant 生态系统。它是大多数用户推荐的安装方法。 [Learn more]
- Home Assistant SupervisedHome Assistant Supervised 是完整的 Home Assistant 生态系统,没有 Home Assistant 操作系统。 [Learn more]
- Home Assistant ContainerHome Assistant Container 是 Home Assistant Core 的独立容器化安装。任何 OCI
兼容的运行时都可以使用,但文档重点是 Docker。 [Learn more]
Configuration
This integration is part of the default_config
.
The following YAML options are available:
Configuration Variables
Enables the UI of the go2rtc, which helps debugging WebRTC issues. The debug_ui
should only be enabled during debugging as it will expose port 11984 without any authentication!
The URL to the self-hosted go2rtc
If you using the go2rtc server managed by Home Assistant, please be aware that all ports are prefixed by 1
compared to the default port settings to avoid port conflicts:
- Api port
1984
becomes11984
- WebRTC port
8555
becomes18555
The debug_ui
should only be enabled during debugging as it will expose port 11984 without any authentication!
Please disable the debug_ui
immediately after debugging.
Examples
Use a self-hosted instance:
go2rtc:
url: http://my-go2rtc-instance:1984