node-matroska icon indicating copy to clipboard operation
node-matroska copied to clipboard

cannot parse streaming webm

Open legokichi opened this issue 8 years ago • 0 comments

I tried to parse the webm file created by MediaRecorder API with this library, but throw Uncaught Error: INVALID VINT value too big (length>7 bs=1) error.

in Specifications,

There is only one reserved word for Element Size encoding, which is an Element Size encoded to all 1's. Such a coding indicates that the size of the Element is unknown, which is a special case that we believe will be useful for live streaming purposes. However, avoid using this reserved word unnecessarily, because it makes parsing slower and more difficult to implement. Specifications

this code forgot it.

legokichi avatar Feb 04 '17 16:02 legokichi