Absolute webcam URL is attached to moonraker host URL
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
- Go to printer settings
- Add a webcam
- Set Stream URL to
rtsp://user:[email protected] - 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
- Device-OS (Android/iOS): iOS
- Mobileraker: 2.6.8-357
- Klipper: latest docker image (https://hub.docker.com/layers/mkuf/klipper/b502558/images/sha256-48f90b0dce1bd4b3261edcb226307f0410fac3069ae30ec2ee1a7cc1e4743b35?context=explore)
- Moonraker: latest docker image (https://hub.docker.com/layers/mkuf/moonraker/c4d15e4/images/sha256-bc83e068a0468a7747f775f51e34fa776034bce2946bd79124fc1abdafd7ebcc?context=explore)
Checklist
To help us diagnose the issue, please ensure you've completed the following steps:
- [x] Provided a clear bug description.
- [x] Listed detailed steps to reproduce the issue.
- [x] Described the expected behavior.
- [x] Included the Mobileraker version you are using.
- [ ] Attached Mobileraker's debug log files.
- [x] Specified the version numbers of Klipper and Moonraker if applicable.
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 :)