Spaces:
Running
Running
Update turn.py
Browse files- sample_utils/turn.py +1 -1
sample_utils/turn.py
CHANGED
@@ -32,7 +32,7 @@ def get_ice_servers():
|
|
32 |
try:
|
33 |
token = client.tokens.create()
|
34 |
except TwilioRestException as e:
|
35 |
-
|
36 |
f"Error occurred while accessing Twilio API. Fallback to a free STUN server from Google. ({e})" # noqa: E501
|
37 |
)
|
38 |
return [{"urls": ["stun:stun.l.google.com:19302"]}]
|
|
|
32 |
try:
|
33 |
token = client.tokens.create()
|
34 |
except TwilioRestException as e:
|
35 |
+
st.warning(
|
36 |
f"Error occurred while accessing Twilio API. Fallback to a free STUN server from Google. ({e})" # noqa: E501
|
37 |
)
|
38 |
return [{"urls": ["stun:stun.l.google.com:19302"]}]
|