mobileraker icon indicating copy to clipboard operation
mobileraker copied to clipboard

Camera URL seems to ignore FLUIDD port

Open funkyluke opened this issue 1 year ago • 2 comments

Bug Report

Description

The Camera Stream url is not correctly generated from the connection string and webcam config

Steps to Reproduce

  1. Setup printer so that fluidd runs on e.g port 4408
  2. connect mobileraker to the fluidd instance by using the [printer-ip]:4408 address
  3. camera stream endpoint is automatically received from fluidd
  4. camera view shows 404 error because the generated url is [printer-ip]/webcam/?action=stream, not [printer-ip]:4408/webcam/?action=stream
  5. The same happens when using moonrakers port,

Expected Behavior

The correct URL should be generated and the camera stream should be showing

Version Information

  • Device-OS (Android/iOS): [Android]
  • Mobileraker: 2.6.8-357
  • Klipper: whatever is stock on K1 Max currently
  • Moonraker: 0.8.0-243

funkyluke avatar Jan 04 '24 21:01 funkyluke

This seems to be related to #212 as my fluidd conf also uses a relative webcam path that is incorrectly appended

funkyluke avatar Jan 04 '24 21:01 funkyluke

Hey, webcams defined via Fluidd are currently not using the new Webcam API of Moonraker and, therefore, do not sync with Mobileraker.

Clon1998 avatar Jan 04 '24 22:01 Clon1998