Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -82,12 +82,12 @@ with col1:
|
|
82 |
}
|
83 |
ctx = webrtc_streamer(
|
84 |
key="example",
|
85 |
-
mode=WebRtcMode.SENDRECV,
|
86 |
video_transformer_factory=lambda: VideoTransformer(st.session_state),
|
87 |
media_stream_constraints={"video": True, "audio": False},
|
88 |
async_transform=True,
|
89 |
-
rtc_configuration={
|
90 |
-
|
|
|
91 |
)
|
92 |
|
93 |
with col2:
|
|
|
82 |
}
|
83 |
ctx = webrtc_streamer(
|
84 |
key="example",
|
|
|
85 |
video_transformer_factory=lambda: VideoTransformer(st.session_state),
|
86 |
media_stream_constraints={"video": True, "audio": False},
|
87 |
async_transform=True,
|
88 |
+
rtc_configuration={
|
89 |
+
"iceServers": [{"urls": ["stun:stun.l.google.com:19302"]}]
|
90 |
+
}
|
91 |
)
|
92 |
|
93 |
with col2:
|