Available in: Extended firmware only
The extended firmware includes hardware-accelerated camera support with WebRTC streaming.
Access at: http://<printer-ip>/webcam/
The internal camera is automatically configured and enabled.
Access at: http://<printer-ip>/webcam2/
USB cameras must be enabled in extended2.cfg. See USB Camera Configuration below for setup instructions.
Camera streaming settings are configured through Moonraker configuration files in the extended/moonraker/ directory.
Edit extended/moonraker/02_internal_camera.cfg to customize internal camera streaming:
[webcam case]
service: webrtc-camerastreamer
stream_url: /webcam/webrtc
snapshot_url: /webcam/snapshot.jpg
aspect_ratio: 16:9
Available streaming modes:
webrtc-camerastreamer - WebRTC streaming (best quality and performance, default)
stream_url: /webcam/webrtciframe - H264/MJPEG iframe streaming (acceptable quality and performance)
stream_url: /webcam/playermjpegstreamer-adaptive - MJPEG streaming (best compatibility, most resource intensive)
Edit extended/moonraker/03_usb_camera.cfg to enable USB camera. Uncomment one of the sections:
[webcam usb]
service: webrtc-camerastreamer
stream_url: /webcam2/webrtc
snapshot_url: /webcam2/snapshot.jpg
aspect_ratio: 16:9
Important: Only one streaming mode can be active per camera. After changing camera configuration, reboot the printer.
Note: Camera controls and RTSP streaming are only available with the paxx12 camera service.
The paxx12 camera service includes a web-based interface for adjusting camera settings in real-time. Available controls depend on your camera hardware capabilities.
Camera controls are accessible at:
http://<printer-ip>/webcam/controlhttp://<printer-ip>/webcam2/controlCamera settings are automatically saved across reboots:
/oem/printer_data/config/extended/camera/case.json/oem/printer_data/config/extended/camera/usb.jsonTo reset camera settings to defaults, delete the corresponding JSON file and reboot the printer.
All camera configuration is done through /home/lava/printer_data/config/extended/extended2.cfg. See Firmware Configuration for editing instructions.
By default, the extended firmware uses a custom hardware-accelerated camera service (paxx12). To switch to Snapmakerās original camera service:
[camera]
internal: snapmaker
To disable the internal camera entirely (also disables timelapses):
[camera]
internal: none
Note: Only one camera service can be operational at a time for the internal camera.
Enable logging to syslog for all camera services:
[camera]
logs: syslog
Logs are available in /var/log/messages.
RTSP streaming is disabled by default (paxx12 service only). To enable:
[camera]
rtsp: true
RTSP streams will be available at:
rtsp://<printer-ip>:8554/streamrtsp://<printer-ip>:8555/streamEnable USB camera support (paxx12 service only):
[camera]
usb: paxx12
To disable USB camera:
[camera]
usb: none
When enabled, USB cameras are accessible at http://<printer-ip>/webcam2/.
After any configuration changes, reboot the printer for changes to take effect.
Fluidd timelapse plugin is included (no settings support).