X11VNC supports outputting video from V4L devices as the VNC video stream, but the set of supported encodings is limited.
What would it take and how could it be implemented to support MJPEG?
I may attempt this myself. It's been a few months but I did look at the code a bit, however it wasn't completely clear to me with the amount of time I invested.
xref rvaiya/keyd#838 (comment)