GenDey commited on
Commit
7a89f31
·
verified ·
1 Parent(s): a66a204

Updated to allow webrtc

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -94,7 +94,6 @@ class VideoProcessor:
94
  webrtc_streamer(
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
  )
 
94
  webrtc_streamer(
95
  key="monitor",
96
  video_processor_factory=VideoProcessor,
97
+ mode="recvonly", # This avoids two-way ICE negotiation
98
+ rtc_configuration=RTCConfiguration(iceServers=[]), # Remove STUN to prevent UDP signaling
 
99
  )