aruntj / mjpeg-readable-stream

Code to read an Mjpeg stream using the Readable stream api.
MIT License
56 stars 12 forks source link

mjpeg-readable-stream

Code to read an Mjpeg stream using the Readable stream api.

This code allows you to get an mjpeg stream using the fetch api and read from a ReadableStream in chunks and extract the jpeg frames and render it on an image or canvas object.

Code is in index.html