Closed lukepolo closed 3 years ago
Can you share an example file?
Here is a sample of the type of data we are reading
The moov
is never detected because it's not complete, at least in the file you shared.
Correct, our chunk size is private chunkSize = 1024 * 64;
, so we may run into this issue. We fixed it by just pausing reading and reading from the file position again
The goal is that we write to these sparse files continuously, and want to stream video to the browser as it comes in. We only want to send buffers when we detect a moov, however a moov is never detected.
Also to note , that using a static mp4 file does seem to work.
UPDATE It seems mp4box cannot detect moovs that may come in the middle? We can not guarantee the moov will be at the start or ending.