Jon Taylor commited on
Commit
8e06a0f
1 Parent(s): 8106674

added rendering logic back

Browse files
Files changed (1) hide show
  1. app/bot.py +0 -2
app/bot.py CHANGED
@@ -115,7 +115,6 @@ class DailyVision(EventHandler):
115
  self.logger.info(f"Expiration timer exceeded. Exiting...")
116
  self.__app_quit = True
117
  break
118
- """
119
  try:
120
  #video_frame = self.__queue.get(timeout=5)
121
  video_frame = self.__image_buffer
@@ -126,7 +125,6 @@ class DailyVision(EventHandler):
126
  self.__camera.write_frame(result_image.tobytes())
127
  except queue.Empty:
128
  pass
129
- """
130
 
131
  def on_video_frame(self, participant_id, video_frame):
132
  # Process ~15 frames per second (considering incoming frames at 30fps).
 
115
  self.logger.info(f"Expiration timer exceeded. Exiting...")
116
  self.__app_quit = True
117
  break
 
118
  try:
119
  #video_frame = self.__queue.get(timeout=5)
120
  video_frame = self.__image_buffer
 
125
  self.__camera.write_frame(result_image.tobytes())
126
  except queue.Empty:
127
  pass
 
128
 
129
  def on_video_frame(self, participant_id, video_frame):
130
  # Process ~15 frames per second (considering incoming frames at 30fps).