Add support AAC for RTMP to MP4

This commit is contained in:
Alexey Khit
2022-11-06 22:44:48 +03:00
parent d8158bc1e3
commit 8b93c97e69
7 changed files with 315 additions and 93 deletions
+5 -1
View File
@@ -74,7 +74,11 @@
if (sourceBuffer.updating) {
queueBuffer.push(ev.data)
} else {
sourceBuffer.appendBuffer(ev.data);
try {
sourceBuffer.appendBuffer(ev.data);
} catch (e) {
console.warn(e);
}
}
}
}