News for hackers. Stuff that matters.
Re:Show HN: MaryJane – Mjpeg server in 30 lines of async Python by eichin on Friday October 08, 2021 @01:43PM (#28801926)
One use for this is using old android tablets as ambient display screens - you just autostart a browser on an mjpeg url and update the image to update the screen. Note that mjpeg doesn't have a frame rate - it just renders the frames as they show up, so you don't actually have to keep sending them when they're not changing... except that chrome is buggy about not actually rendering the image right when it shows up :(

(I did a version of this in bash with netcat, and here-documents for the mime parts, which is where I ran into the problem. https://underjord.io/live-server-push-without-js.html was the inspiration for the display-screen case...)

There are no comments on this comment yet.