Ultimaker / Cura

3D printer / slicing GUI built on top of the Uranium framework
GNU Lesser General Public License v3.0
6.15k stars 2.07k forks source link

Cura Monitor webcam preview flashing white when network lags or mjpeg stream drops frames #16333

Closed ansonl closed 1 year ago

ansonl commented 1 year ago

Cura Version

5.4.0

Operating System

Windows 10

Printer

ESP-EYE webcam https://github.com/ansonl/esp32-mjpeg-multiclient-espcam-drivers/blob/master/esp32-cam-rtos/esp32-cam-rtos.ino

Reproduction steps

  1. Use a mjpeg stream and camera that may drop some frames or have a network that is under load or lagging
  2. Preview the stream in Cura Monitor tab

Actual results

Cura will load the stream and flash white every few seconds

Expected results

Cura will load the stream and display the last received mjpeg frame instead of flashing white when a frame is dropped

Add your .zip and screenshots here ⬇️

cura.log ezgif com-optimize

fieldOfView commented 1 year ago

This is via the OctoPrint plugin, right? In that case, please open an issue at https://github.com/fieldOfView/Cura-OctoPrintPlugin/issues instead of here.

MariMakes commented 1 year ago

Hey @ansonl,

This indeed seems to be an issue for the Octoprint Plugin. To me, it doesn't seem like a bug in Ultimaker Cura. I'll be closing this issue, good luck finding a solution!