QuinnDamerell / OctoPrint-OctoEverywhere

Cloud Empower Your OctoPrint, Klipper, and Bambu Lab 3D Printers With Free, Private, And Secure Remote Access, AI Print Failure Detection, Real-time Notifications, Live Streaming, and More!
https://octoeverywhere.com
GNU Affero General Public License v3.0
142 stars 14 forks source link

Klipper/Mainsail - Webcam unable to load with Crowsnest v4 camera-streamer & webrtc #42

Open Edigorin opened 1 year ago

Edigorin commented 1 year ago

After changing to camera-streamer & webrtc option in Crowsnest v4, the webcam is unable to load in Octoeverwhere. Webcam work fine in Mainsail itself

QuinnDamerell commented 1 year ago

@Edigorin, thanks for letting me know! I haven't tried that setup yet. Is there a guide or something you followed to setup v4?

Edigorin commented 1 year ago

Here's the short explanation from the Mainsail Discord, in the announcement channel:

A short guide to updating Crowsnest to v4:

cd ~/crowsnest
make uninstall

# update Crowsnest via update manager

cd ~/crowsnest
sudo make install

To use the new streamer, you have to change the mode in crowsnest.conf from mjepg/ustreamer to camera-streamer. After Crowsnest restart, you have to change the mode in Mainsail webcam settings to WebRTC (camera-streamer) and change the streaming URL to /webcam/webrtc.

Here's the link to the post: https://discord.com/channels/758059413700345988/781284268654854154/1110660341693677650

Edigorin commented 1 year ago

Here's an updated guide on installing V4: https://crowsnest.mainsail.xyz/faq/upgrade-from-v3-to-v4

QuinnDamerell commented 1 year ago

Thanks for the update! I just pushed an update to the plugin yesterday that fixes some of the issues, but the WebRTC stream in mainsail still won't work. I think for now, I might have to force mainsail to use the old streaming stack only when connecting via OctoEverywhere. I know what I need to do in-order to make WebRTC work, but it requires changes in the mainsail logic, which I'm just starting the conversations for now.

QuinnDamerell commented 1 year ago

I'm still working with the camera-streamer dev on a full solution here, hopefully it will be ready soon!

QuinnDamerell commented 1 year ago

Update, this is still on-going. I'm still waiting on the deployment of the new packages of camera-streamer.

flow23 commented 6 months ago

Hi, is this still worked on?

QuinnDamerell commented 6 months ago

Hey! Yeah, I need to follow up with the crowsnest and camera streamer people. The OctoEverywhere logic is already done and rolled out, so whenever it's completed on their end, it should all work!

arcaspo commented 5 months ago

Hi, i am still encountering this issue but only on mobile, when i view the webcam through octoeverywhere on desktop it shows up fine but on mobile the stream doesn't work.