Code Monkey home page Code Monkey logo

Comments (7)

padcom avatar padcom commented on July 30, 2024 1

I do, however, own a mac mini and the webcam does work there no problem. So it is definitely not a problem with the config provided by your composition. Closing it.

Thanks for digging in into the problem!

from prind.

mkuf avatar mkuf commented on July 30, 2024

Hi there,

moonraker-obico.cfg is only used for the moonraker-obico service, not moonraker itself.

I just downloaded orcaslicer to verify this behavior and can confirm that the webcam image is not visible in the device tab.
Looking at the traefik logs when opening the frontend via orcaslicer does show a successful request to the webcam endpoint, which does indicate that this is an issue with the in-app browser of orcaslicer, as it works fine in Chrome and Firefox for me.

prind-traefik-1  | 172.18.0.1 - - [29/Dec/2023:23:12:50 +0000] "GET / HTTP/1.1" 200 2123 "-" "-" 73 "mainsail@docker" "http://172.18.0.7:80" 4ms
prind-traefik-1  | 172.18.0.1 - - [29/Dec/2023:23:11:29 +0000] "GET /websocket HTTP/1.1" 0 0 "-" "-" 43 "moonraker@docker" "http://172.18.0.4:7125" 81537ms
prind-traefik-1  | 172.18.0.1 - - [29/Dec/2023:23:11:29 +0000] "GET /websocket HTTP/1.1" 0 0 "-" "-" 44 "moonraker@docker" "http://172.18.0.4:7125" 81350ms
prind-traefik-1  | 172.18.0.1 - - [29/Dec/2023:23:12:50 +0000] "GET /assets/index-f84b6612.js HTTP/1.1" 304 0 "-" "-" 74 "mainsail@docker" "http://172.18.0.7:80" 1ms
prind-traefik-1  | 172.18.0.1 - - [29/Dec/2023:23:12:50 +0000] "GET /assets/index-756e3396.css HTTP/1.1" 304 0 "-" "-" 75 "mainsail@docker" "http://172.18.0.7:80" 2ms
prind-traefik-1  | 172.18.0.1 - - [29/Dec/2023:23:12:50 +0000] "GET /assets/overlayscrollbars-a16bc3d3.css HTTP/1.1" 304 0 "-" "-" 76 "mainsail@docker" "http://172.18.0.7:80" 4ms
prind-traefik-1  | 172.18.0.1 - - [29/Dec/2023:23:12:50 +0000] "GET /assets/vuetify-950d1cb0.css HTTP/1.1" 304 0 "-" "-" 77 "mainsail@docker" "http://172.18.0.7:80" 4ms
prind-traefik-1  | 172.18.0.1 - - [29/Dec/2023:23:12:51 +0000] "GET /fonts/roboto-regular.woff2 HTTP/1.1" 304 0 "-" "-" 78 "mainsail@docker" "http://172.18.0.7:80" 2ms
prind-traefik-1  | 172.18.0.1 - - [29/Dec/2023:23:12:53 +0000] "GET /fonts/roboto-light.woff2 HTTP/1.1" 304 0 "-" "-" 82 "mainsail@docker" "http://172.18.0.7:80" 3ms
prind-traefik-1  | 172.18.0.1 - - [29/Dec/2023:23:12:53 +0000] "GET /fonts/roboto-medium.woff2 HTTP/1.1" 304 0 "-" "-" 81 "mainsail@docker" "http://172.18.0.7:80" 3ms
prind-traefik-1  | 172.18.0.1 - - [29/Dec/2023:23:12:53 +0000] "GET /fonts/roboto-bold.woff2 HTTP/1.1" 304 0 "-" "-" 83 "mainsail@docker" "http://172.18.0.7:80" 3ms
prind-traefik-1  | 172.18.0.1 - - [29/Dec/2023:23:12:54 +0000] "GET /webcam/stream?action=stream HTTP/1.1" 200 248125 "-" "-" 84 "webcam@docker" "http://172.18.0.2:8080" 107ms

I don't think there is anything that can be done on the (docker/)hosting side to fix this, this requires fixes in the affected Applications themselves.

-Markus

from prind.

padcom avatar padcom commented on July 30, 2024

Thanks for checking it out. I was also thinking this might be Orca-related. Do you mind if we keep this issue open until it is fixed? I will monitor the situation, and if the problem is fixed there, I'll make a reference and close this ticket.

from prind.

padcom avatar padcom commented on July 30, 2024

Alternatively, maybe you could suggest some other way to expose the webcam that would result in the image being shown in Orca?

from prind.

mkuf avatar mkuf commented on July 30, 2024

Do you by any chance use the appimage of orcaslicer?
I found this issue SoftFever/OrcaSlicer#920 , which showed issues with the Device tab when using the appimage.

My testing yesterday was done on Ubuntu w/ the appimage for 1.8.1, which confirmed the described behavior.
Testing today with the windows portable in version 1.8.0 and 1.8.1, the webcam was working in the device tab.

from prind.

padcom avatar padcom commented on July 30, 2024

Indeed, I am using the AppImage of OrcaSlicer. I run Linux Mint on all my computers, windows is essentially banned in my shop xD.

from prind.

padcom avatar padcom commented on July 30, 2024

Interesting fact: I just changed the service from MJPEG-Streamer to Adaptive MJPEG-Streamer and look:

image

I've done the change to limit FPS to 5 so that the stream runs smoother. The default 15 fps is saturating the printer's WiFi - so not even to fix the webcam issue :)

from prind.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.