Closed avxmw closed 7 months ago
For some reason the cam works in OrcaSlicer if I set it up as http://ip:4409/webcam/?action={snapshot,stream} but not if setup as http://ip:8080/?action=stream while in Firefox both work and even in parallel.
Camera not working for me too. I am using OrcaSlicer 1.8.0 with Creality K1 Max with latest firmware from Creality. If I configure the suggestion from @avxmw camera only shows on firefox but just partly:
Nothing shows on OrcaSlicer and Chrome.
This seems to be a problem with moonraker. If you have your webcam configured in the moonraker.cfg, it will NOT work in OrcaSlicer. If I comment that section out and just use the mainsail config UI to configure the camera, it starts to work in OrcaSlicer. The problem is that I use the webcam configuration in moonraker.cfg in order to get the camera to work on other devices (I have another instance of klipperscreen I run on an Rpi on my desk so I can monitor prints while I'm working on other things).
I am using Docker to run Klipper using mkuf/prind composition. The default content of moonraker.conf does not contain [webcam]
configuration yet still I have the same problem.
Any idea what might be causing it? I'd very much prefer the full experience using just OrcaSlicer than to have a separate tab open with mainsail to just view the stream.
It seems that in my setup there is no moonraker-obico
container running, so having or not the [webcam ...]
section in moonraker.cfg
makes little difference.
edit: added docker ps -a
output
padcom@ender3:~/prind $ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
30cf37ab1a52 mkuf/moonraker:latest "/opt/venv/bin/pytho…" 10 hours ago Up 4 hours 7125/tcp prind-moonraker-1
922101fe02a3 mkuf/klipper:latest "/opt/venv/bin/pytho…" 10 hours ago Up 4 hours prind-klipper-1
364539702ebf ghcr.io/mainsail-crew/mainsail:edge "/docker-entrypoint.…" 10 hours ago Up 4 hours 80/tcp prind-mainsail-1
2ac5442300ba traefik:v2.5 "/entrypoint.sh --ac…" 10 hours ago Up 4 hours 0.0.0.0:80->80/tcp, :::80->80/tcp prind-traefik-1
eef325d1b2fb mkuf/ustreamer:latest "/opt/ustreamer/ustr…" 10 hours ago Up 4 hours 8080/tcp prind-webcam-1
1227c222ad38 busybox:latest "chown -R 1000:1000 …" 10 hours ago Exited (0) 10 hours ago prind-init-1
I have kind of made it work with the Adaptive MJPEG-Streamer:
My motivation to change to the Adaptive service wasn't even because of the webcam - it's just the default 15 fps saturates my WiFi network too much. Maybe this will help others get it to work too.
@padcom Indeed, changing moonraker.conf to have mjpegstreamer-adaptive
also gives me a picture in OrcaSlicer.
Thank you for this, works as a workaround. However I would not call this a fix as at the least this should be documented.
It's definitely not a "fix". It's a lousy workaround at best. That does not change the fact that OrcaSlicer with Mainsail embedded looks like the space shuttle control center at the Kennedy Space Center. The only thing that could make it look better is if Orca would support dark theme because now, to make it look the same as the rest of Orca, Mainsail needs to be switched to light theme...
Orca bot: this issue is stale because it has been open for 90 days with no activity.
Orca bot: This issue was closed because it has been inactive for 7 days since being marked as stale.
I am still having this issue, even when using MJPEG-adaptive. WebRTC works but my host is not powerful enough to run it and stutters. Is there some debug mode I can go into to see why the WebView isn't able to load it?
OrcaSlicer Version
1.8.0
OS version
openSUSE Tumbleweed
Additional system information
No response
Printer
Creality K1
How to reproduce
Camera is configured via moonraker.con as described here: https://github.com/Guilouz/Creality-K1-and-K1-Max/wiki/Configure-Camera
Actual results
I am not getting a preview picture of the webcam in my printer on the 'device' tab of latest OrcaSlicer. Mainsail shows up and is functional.
Mainsail in Firefox and Mobileraker both show the camera.
Screenshot Firefox vs Orca
Expected results
Being able to see my printer.
Project file & Debug log uploads
debug_Wed_Nov_29_17_31_01_10806.log.0.txt debug_network_Wed_Nov_29_17_31_01.log.txt
Checklist of files to include