What types of input does the interface webcam support?
-
Hiya,
What input does the interface support for the webcam?
JPEG, MJPEG, TCP/UDP sockets, HTTP5, HSL, ffmpeg etc etc?This is to facilitate setting up the appropriate Picamera2 server.
Cheers
(the answer to this should probably be placed in https://docs.duet3d.com/en/User_manual/Reference/DWC_webcam)
-
@jhalewood You can use JPEG/MJPEG, which is what Motion webcam server provides (see DSF in the linked article). Basically you can use any format that can be displayed in a browser; if it cannot be rendered using an
img
tag, you can still embed the remote stream using aniframe
.AFAIK only MJPEG is generally supported in browsers. If rtsp was supported, I'd add support for it, too.