bambulab / BambuStudio

PC Software for BambuLab and other 3D printers
GNU Affero General Public License v3.0
2.21k stars 296 forks source link

Disable Webconnection to Device when it's not selected so webcam-stream is not loading in background #1193

Open Hawxxer opened 1 year ago

Hawxxer commented 1 year ago

Is your feature request related to a problem? Please describe. When using Bambustudio in conjunction with Mainsail/Klipper the webcam is streamed in the background, especially when more then one instance is opened from Bambulab Studio, this requires a lot of bandwidth, which is not needed when the device tab is not selected. Describe the solution you'd like The communication between device and Bambulab Studio should be paused / closed if the device tab is not selected

Describe alternatives you've considered or at least have an option in settings to enable this feature (disconnecting and connecting will probably increase the website loading time so this is a good compromise)

Additional context None

lanewei120 commented 1 year ago

Currently the liveview data is stopped when switched out from device tab

could you give more details on this use cases: "using Bambustudio in conjunction with Mainsail/Klipper the webcam"