4 ms·
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 scree
by eichin 5y ago
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 https://underjord.io/live-server-push-without-js.html was the inspiration for the display-screen case...)