Spaces:
Build error
Build error
Commit
·
25b2c9e
1
Parent(s):
f9e75ef
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,29 @@ from streamlit_webrtc import webrtc_streamer
|
|
| 2 |
webrtc_streamer(key="example",
|
| 3 |
# ...
|
| 4 |
rtc_configuration={ # Add this config
|
| 5 |
-
"iceServers": [{"urls": ["stun:stun.l.google.com:19302"]}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
}
|
| 7 |
# ...
|
| 8 |
)
|
|
|
|
| 2 |
webrtc_streamer(key="example",
|
| 3 |
# ...
|
| 4 |
rtc_configuration={ # Add this config
|
| 5 |
+
"iceServers": [{"urls": ["stun:stun.l.google.com:19302"]}, {
|
| 6 |
+
urls: "stun:stun.relay.metered.ca:80",
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
urls: "turn:a.relay.metered.ca:80",
|
| 10 |
+
username: "1569e470fe2a2afdb9e2b963",
|
| 11 |
+
credential: "EG59c3tmBQzU7mMw",
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
urls: "turn:a.relay.metered.ca:80?transport=tcp",
|
| 15 |
+
username: "1569e470fe2a2afdb9e2b963",
|
| 16 |
+
credential: "EG59c3tmBQzU7mMw",
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
urls: "turn:a.relay.metered.ca:443",
|
| 20 |
+
username: "1569e470fe2a2afdb9e2b963",
|
| 21 |
+
credential: "EG59c3tmBQzU7mMw",
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
urls: "turn:a.relay.metered.ca:443?transport=tcp",
|
| 25 |
+
username: "1569e470fe2a2afdb9e2b963",
|
| 26 |
+
credential: "EG59c3tmBQzU7mMw",
|
| 27 |
+
}]
|
| 28 |
}
|
| 29 |
# ...
|
| 30 |
)
|