3DO Nozzle Camera Help

Get the v2 cam installed, got it kinda working, but not happy with the results. It's painfully laggy, and can't get WebRTC working at all. In theory WebRTC (MediaMTX) should work based on the docs I've been reading, but it just sits at connecting the entire time.
log_path: /home/pi/printer_data/logs/crowsnest.log
log_level: verbose # Valid Options are quiet/verbose/debug
delete_log: false # Deletes log on every restart, if set to true
no_proxy: false

[cam 1]
mode: camera-streamer # ustreamer - Provides mjpg and snapshots. (All devices)
# camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
enable_rtsp: true # If camera-streamer is used, this enables also usage of an rtsp server
rtsp_port: 8554 # Set different ports for each device!
port: 8080 # HTTP/MJPG Stream/Snapshot Port
device: /dev/video0 # See Log for available ...
resolution: 1920x1080 # widthxheight format
max_fps: 30 # If Hardware Supports this it will be forced, otherwise ignored/coerced.
#custom_flags: # You can run the Stream Services with custom flags.
#v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
log_path: /home/pi/printer_data/logs/crowsnest.log
log_level: verbose # Valid Options are quiet/verbose/debug
delete_log: false # Deletes log on every restart, if set to true
no_proxy: false

[cam 1]
mode: camera-streamer # ustreamer - Provides mjpg and snapshots. (All devices)
# camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
enable_rtsp: true # If camera-streamer is used, this enables also usage of an rtsp server
rtsp_port: 8554 # Set different ports for each device!
port: 8080 # HTTP/MJPG Stream/Snapshot Port
device: /dev/video0 # See Log for available ...
resolution: 1920x1080 # widthxheight format
max_fps: 30 # If Hardware Supports this it will be forced, otherwise ignored/coerced.
#custom_flags: # You can run the Stream Services with custom flags.
#v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
No description
No description
Solution:
So it appears that this is a known issue. klipperscreen uses mpv which does not have webrtc support https://github.com/mpv-player/mpv/issues/12801...
GitHub
WebRTC stream support · Issue #12801 · mpv-player/mpv
Please consider adding WebRTC support for mpv. One use case here, possibly there are others: WebRTC is used for streaming from local cameras on 3d printer related software (OctoPrint, Klipper). Usu...
Jump to solution
2 Replies
Xulkal
XulkalOP6mo ago
Ok, after a bit of digging, I found that the URL needed to be updated. ?action=stream replace with webrtc in order to select the service WebRTC (camera-streamer) that solved my latency issue in the WebUI, however klipperscreen is absolutely terrible for latency still. More digging to do
Solution
Xulkal
Xulkal6mo ago
So it appears that this is a known issue. klipperscreen uses mpv which does not have webrtc support https://github.com/mpv-player/mpv/issues/12801
GitHub
WebRTC stream support · Issue #12801 · mpv-player/mpv
Please consider adding WebRTC support for mpv. One use case here, possibly there are others: WebRTC is used for streaming from local cameras on 3d printer related software (OctoPrint, Klipper). Usu...

Did you find this page helpful?