Skip to content

Commit 6536d34

Browse files
edenhausfrenck
authored andcommitted
Prioritize default stun port over alternative (home-assistant#157829)
1 parent c157c83 commit 6536d34

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

homeassistant/components/camera/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,8 +407,8 @@ def get_ice_servers() -> list[RTCIceServer]:
407407
return [
408408
RTCIceServer(
409409
urls=[
410-
"stun:stun.home-assistant.io:80",
411410
"stun:stun.home-assistant.io:3478",
411+
"stun:stun.home-assistant.io:80",
412412
]
413413
),
414414
]

tests/components/camera/test_webrtc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ async def test_ws_get_client_config(
205205
"iceServers": [
206206
{
207207
"urls": [
208-
"stun:stun.home-assistant.io:80",
209208
"stun:stun.home-assistant.io:3478",
209+
"stun:stun.home-assistant.io:80",
210210
]
211211
},
212212
],
@@ -238,8 +238,8 @@ def get_ice_server() -> list[RTCIceServer]:
238238
"iceServers": [
239239
{
240240
"urls": [
241-
"stun:stun.home-assistant.io:80",
242241
"stun:stun.home-assistant.io:3478",
242+
"stun:stun.home-assistant.io:80",
243243
]
244244
},
245245
{

0 commit comments

Comments
 (0)