mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Allow configuring WebRTC stun and turn servers (#128984)
* Allow configuring WebRTC stun and turn servers * Add tests * Remove class WebRTCCoreConfiguration
This commit is contained in:
@ -119,6 +119,7 @@ from .util.unit_system import (
|
||||
UnitSystem,
|
||||
get_unit_system,
|
||||
)
|
||||
from .util.webrtc import RTCConfiguration
|
||||
|
||||
# Typing imports that create a circular dependency
|
||||
if TYPE_CHECKING:
|
||||
@ -2966,6 +2967,8 @@ class Config:
|
||||
# If Home Assistant is running in safe mode
|
||||
self.safe_mode: bool = False
|
||||
|
||||
self.webrtc = RTCConfiguration()
|
||||
|
||||
def async_initialize(self) -> None:
|
||||
"""Finish initializing a config object.
|
||||
|
||||
|
Reference in New Issue
Block a user