Migrate all codec data parsing logic into new file

This commit is contained in:
Vanilagy
2025-05-12 15:09:04 +02:00
parent b0a6cf8535
commit fd159ecce3
10 changed files with 600 additions and 593 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ import {
serializeAvcDecoderConfigurationRecord,
serializeHevcDecoderConfigurationRecord,
transformAnnexBToLengthPrefixed,
} from '../avc';
} from '../codec-data';
export const GLOBAL_TIMESCALE = 1000;
const TIMESTAMP_OFFSET = 2_082_844_800; // Seconds between Jan 1 1904 and Jan 1 1970