Vanilagy / mp4-muxer

MP4 multiplexer in pure TypeScript with support for WebCodecs API, video & audio.
https://vanilagy.github.io/mp4-muxer/demo
MIT License
419 stars 32 forks source link

timestamp verification fails in strict mode #7

Closed 0-mandrixx-0 closed 1 year ago

0-mandrixx-0 commented 1 year ago

it shows an error for every chunk after the first one (which has a 0 timestamp)

reason is that track.lastTimestamp is never set to the actual timestamp

Vanilagy commented 1 year ago

You are correct! Let me fix that real quick.