I've stumbled across some settings that lets me convert mjpegstream to webRTC:
uv4l --driver mjpegstream --auto-video_nr --uri "http://192.168.0.26/webcam/?action=stream" --server-option=--port=8888 --server-option=--enable-webrtc --server-option=--enable-webrtc-video --server-option=--webrtc-enable-hw-codec
This is great in terms of bandwidth and seems to be okay on the CPU. It'd be interesting to see if this improves performance on a Pi Zero W.
The problem is that the uv4l WebRTC demo interface, and pretty much every other interface I've found, is aimed at videoconferencing. This doesn't need two-way control or anything fancy. I've tried cutting down the demo page (1200 lines!) but it frustrates me.
I wish webrtc simply worked in a
Anyhow, I'm putting it here in case anyone is interested. Have I mentioned how much I hate JS?