Change Stun server port to 80 (#128879)

This commit is contained in:
Krisjanis Lejejs 2024-10-22 15:23:29 +03:00 committed by GitHub
parent cdf809926b
commit de77751779
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -402,7 +402,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
)
async def get_ice_server() -> RTCIceServer:
return RTCIceServer(urls="stun:stun.home-assistant.io:3478")
return RTCIceServer(urls="stun:stun.home-assistant.io:80")
register_ice_server(hass, get_ice_server)
return True

View File

@ -210,7 +210,7 @@ async def test_ws_get_client_config(
assert msg["type"] == TYPE_RESULT
assert msg["success"]
assert msg["result"] == {
"configuration": {"iceServers": [{"urls": "stun:stun.home-assistant.io:3478"}]}
"configuration": {"iceServers": [{"urls": "stun:stun.home-assistant.io:80"}]}
}