Implement ADTS demuxer, Fix MP3 demuxer race conditions

This commit is contained in:
Ally
2025-08-18 01:29:52 +02:00
parent 1ce5e108a7
commit 8da619a624
10 changed files with 560 additions and 85 deletions
@@ -117,7 +117,7 @@ const compressFile = async (file: File) => {
selectMediaButton.addEventListener('click', () => {
const fileInput = document.createElement('input');
fileInput.type = 'file';
fileInput.accept = 'video/*,video/x-matroska,audio/*';
fileInput.accept = 'video/*,video/x-matroska,audio/*,audio/aac';
fileInput.addEventListener('change', () => {
const file = fileInput.files?.[0];
if (!file) {