GenDey commited on
Commit
a66a204
·
verified ·
1 Parent(s): 51ae26d

Disable STUN to avoid aioice errors in restricted environments

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -95,6 +95,6 @@ webrtc_streamer(
95
  key="monitor",
96
  video_processor_factory=VideoProcessor,
97
  rtc_configuration=RTCConfiguration(
98
- {"iceServers": [{"urls": ["stun:stun.l.google.com:19302"]}]}
99
- )
100
  )
 
95
  key="monitor",
96
  video_processor_factory=VideoProcessor,
97
  rtc_configuration=RTCConfiguration(
98
+ {"iceServers": []} # Disable STUN to avoid aioice errors in restricted environments
99
+ )
100
  )