WebRTC
The WebRTC integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] is an internal integration that provides WebRTC functionality for camera streaming in Home Assistant. It is automatically set up when needed and does not require any manual configuration.
Advanced configuration
To configure your own STUN and TURN servers, add the following to your configuration.yamlThe configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file:
# Example configuration.yaml entry
web_rtc:
Configuration Variables
Enables the WebRTC integration. Only allowed once.
List of STUN and TURN server configurations.
Configuration example
# Example configuration.yaml entry with custom STUN and TURN servers
web_rtc:
ice_servers:
# Add an entry for each STUN or TURN server
- url:
- "stun:stun.example.com:19302"
- "stun:stun2.example.com:12345"
- url: "turn:turn.domain.com"
username: "username"
credential: "abc123"