Ankit93 commited on
Commit
12ba455
·
verified ·
1 Parent(s): 568e9e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ def main():
119
  mode=WebRtcMode.SENDRECV,
120
  rtc_configuration=RTC_CONFIGURATION,
121
  video_frame_callback=FaceRecognitionProcessor().recv,
122
- media_stream_constraints={"video": True, "audio": False}
123
  )
124
  if webrtc_ctx.state.playing:
125
  st.write("WebRTC is playing.")
 
119
  mode=WebRtcMode.SENDRECV,
120
  rtc_configuration=RTC_CONFIGURATION,
121
  video_frame_callback=FaceRecognitionProcessor().recv,
122
+ media_stream_constraints={"video": True, "audio": False},async_processing=True
123
  )
124
  if webrtc_ctx.state.playing:
125
  st.write("WebRTC is playing.")