aruntj/mjpeg-readable-stream

Issue when SOI bytes appear in different chunks

Opened this issue · 1 comments

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

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?