Update sample_utils/turn.py
Browse files- sample_utils/turn.py +2 -2
sample_utils/turn.py
CHANGED
@@ -18,8 +18,8 @@ def get_ice_servers():
|
|
18 |
|
19 |
# Ref: https://www.twilio.com/docs/stun-turn/api
|
20 |
try:
|
21 |
-
account_sid = "
|
22 |
-
auth_token = "
|
23 |
except KeyError:
|
24 |
logger.warning(
|
25 |
"Twilio credentials are not set. Fallback to a free STUN server from Google." # noqa: E501
|
|
|
18 |
|
19 |
# Ref: https://www.twilio.com/docs/stun-turn/api
|
20 |
try:
|
21 |
+
account_sid = os.environ["TWILIO_ACCOUNT_SID"]
|
22 |
+
auth_token = os.environ["TWILIO_AUTH_TOKEN"]
|
23 |
except KeyError:
|
24 |
logger.warning(
|
25 |
"Twilio credentials are not set. Fallback to a free STUN server from Google." # noqa: E501
|