Open grasevski opened 1 year ago
@scottlamb I second this pull request. Can this be reviewed and eventually merged? Thank you.
I ended up writing my own parsing code: https://gist.github.com/grasevski/a7238b5f3775605253b8e73ea2a8d5f2
Feel free to copy/paste, if it helps.
Some cameras have mjpeg streams which do not write Content-Length in each part. This code searches for the boundary marker when Content-Length is missing, in order to infer the length.