aruntj / mjpeg-readable-stream

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

Issue when SOI bytes appear in different chunks #1

Open aruntj opened 6 years ago

aruntj commented 6 years ago

There is an obvious bug in the code where if the SOI bytes appear in different chunks it breaks. But from experience this should rarely happen. I've had a stream running for a day and it hasn't hit me yet.

But this needs to be fixed

pattarmanjunath50 commented 5 years ago

Hi As the stream is played for a longer time there is an increase in the memory as the image is cached onto the browser. Any solution for this?