Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Absolute webcam URL is attached to moonraker host URL #307

Open
5 of 6 tasks
datenzar opened this issue Dec 29, 2023 · 1 comment
Open
5 of 6 tasks

Absolute webcam URL is attached to moonraker host URL #307

datenzar opened this issue Dec 29, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@datenzar
Copy link

datenzar commented Dec 29, 2023

Bug Report

Description

Hi there,
Mobileraker is a great project, and so I have just decided to become a supporter!

However, I have a bug that's preventing me from using the webcam, which is serving behind a different URL. I have it configured properly in Moonraker and fluidd is showing the stream. In Mobileraker however I always get an error which indicates that the absolute url (beginning with the schema rtsp) is just attached to mobilraker's URL.

Steps to Reproduce

  1. Go to printer settings
  2. Add a webcam
  3. Set Stream URL to rtsp://user:[email protected]
  4. See the error.
    Error: SocketException: Faled host lookup: 'klipper.lanrtsp' ConnectError: [Errno 8] nodename nor servname provided, or not known

Expected Behavior

I would expect to see the preview of the cameras

Screenshots

If applicable, add screenshots to help explain the problem.

Version Information


Checklist

To help us diagnose the issue, please ensure you've completed the following steps:

  • Provided a clear bug description.
  • Listed detailed steps to reproduce the issue.
  • Described the expected behavior.
  • Included the Mobileraker version you are using.
  • Attached Mobileraker's debug log files.
  • Specified the version numbers of Klipper and Moonraker if applicable.
@datenzar datenzar added the bug Something isn't working label Dec 29, 2023
@Clon1998
Copy link
Owner

Hey,
mobileraker does not support RTSP cams yet. That's probably also the reason why the absolute URL is wrong here.
What kind of webcam service did you choose in Fluidd/Mainsail?
I will see what it will take to include RTSP :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants