SoftFever / OrcaSlicer

G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
https://discord.gg/P4VE9UY9gJ
GNU Affero General Public License v3.0
7.47k stars 897 forks source link

Enhanced support for cameras (go2rtc and Klipper) #4358

Closed WayneManion closed 5 months ago

WayneManion commented 8 months ago

Is there an existing issue for this feature request?

Is your feature request related to a problem?

I have some custom Klipper printers. I would first like to say that OrcaSlicer does a great job slicing the jobs for these printers.

I prefer to use PoE security cameras for monitoring my printers. They have integrated IR illumination and no IR filter so I can monitor printers in the dark. They stay running even if the Klipper host has a problem. I run the cameras through a machine running Frigate and bring the streams into Mainsail and Fluidd using a setup that looks like this in moonraker.conf:


location: chamber
enabled: True
service: webrtc-go2rtc
target_fps: 15
target_fps_idle: 5
stream_url: http://192.168.1.32:1984/stream.html?src=kevin&mode=webrtc
snapshot_url: http://192.168.1.32:1984/api/frame.jpeg?src=kevin
flip_horizontal: False
flip_vertical: False
rotation: 0
aspect_ratio: 16:9```

The camera stream looks great and works reliably in Chrome, Brave, and Firefox. The only issue is that the camera feed does not work in the Device tab in OrcaSlicer:
![image](https://github.com/SoftFever/OrcaSlicer/assets/20778855/d0ecd886-c889-48a1-ae97-ff691d0a23f7)
(see how the part where the camera should be is a black rectangle that says something about "Device not supported".)

Just for reference, here is what the Fluidd interface for this printer looks like in a web browser:
![image](https://github.com/SoftFever/OrcaSlicer/assets/20778855/4458ceb2-04f5-43cc-b104-844b2237225f)

### Which printers will be beneficial to this feature?

Klipper

### Describe the solution you'd like

WebRTC camera feed appears in Fluidd interface in OrcaSlicer's Device tab. 

### Describe alternatives you've considered

I have tried the HLS, RTSP, RTC camera options and none of them work in OrcaSlicer, even when they do work in Fluidd in a web browser. 

### Additional context

_No response_
github-actions[bot] commented 5 months ago

Orca bot: this issue is stale because it has been open for 90 days with no activity.

github-actions[bot] commented 5 months ago

Orca bot: This issue was closed because it has been inactive for 7 days since being marked as stale.