LazeMSS / OctoPrint-UICustomizer

UI Customizer for octoprint
165 stars 18 forks source link

Webcam disappears in Octoprint but works in browser window url #301

Closed bdare088 closed 1 year ago

bdare088 commented 1 year ago

Description

Webcam in Octoprint loses stream but /webcam/?action=stream works fine in separate browser window

Describe your problem? Upgraded to Octoprint 1.9x with new cameras stack recently and had webcam issues. Thought is was hardware and tried 2 different ov5647 cameras, different ribbons and set up 2 Octoprint servers on Pi 3 and 4 to test. Both have same issue and are reproducible. Was working fine before upgrade to 1.9x.

What is the problem? When I click on the wrench icon for Octoprint settings and close or save settings, webcam loses stream in about 5 seconds. A refresh of the Octoprint browser window will return the webcam stream in Octoprint. Happens on both my Pi 3 and Pi 4 with Octoprint 1.9x.

Can you recreate it? Yes, see above.

Did you try disabling plugins? Yes, if UI Customizer is disabled or in safe mode, webcam stream is fine. When UI Customizer is active and I go to view Octoprint settings, web stream will go blank displaying "Webcam stream not loaded" in Octoprint. I exported my UI Customizer settings and cleaned up the plugin data in Plugin Manager, the problem still exists.

Did you remember to update the subject?**


Plugins installed

UI Customizer settings

Software versions

Browser

LazeMSS commented 1 year ago

Should be fixed in: https://github.com/LazeMSS/OctoPrint-UICustomizer/releases/tag/0.1.9.8

Please check and reopen if not working - thank you...