hi, I've passed a webm video file to mp4box, and nothing has happened. (I expect onError to be called.)
so I checked the source code and found that onError never be called.
It's this a bug ? or by design it works this way?
should I check video file MIME type before passing it to mp4box ?
/* Callback to call when there is an error in the parsing or processing of samples */
this.onError = null;
hi, I've passed a
webm
video file tomp4box
, and nothing has happened. (I expect onError to be called.) so I checked the source code and found thatonError
never be called.It's this a bug ? or by design it works this way? should I check video file MIME type before passing it to
mp4box
?https://github.com/gpac/mp4box.js/blob/a2909aec4fbce46310584694669705b236b2447d/src/isofile.js#L31