Add MPEG-TS muxer, fix a demuxer bug, remove Infinity from output format track counts

This commit is contained in:
Vanilagy
2026-01-16 16:33:28 +01:00
parent ae37973878
commit e8b27768a9
13 changed files with 1705 additions and 64 deletions
+1 -1
View File
@@ -302,7 +302,7 @@ export class OggMuxer extends Muxer {
async interleavePages(isFinalCall = false) {
if (!this.bosPagesWritten) {
if (!this.allTracksAreKnown()) {
if (!this.allTracksAreKnown() && !isFinalCall) {
return; // We can't interleave yet as we don't yet know how many tracks we'll truly have
}