Validate audio codec strings

This commit is contained in:
Vanilagy
2025-01-02 20:21:49 +01:00
parent 9ac0519217
commit 2471f55f20
6 changed files with 115 additions and 29 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ const CODEC_STRING_MAP: Record<VideoCodec | AudioCodec | SubtitleCodec, string>
vp8: 'V_VP8',
vp9: 'V_VP9',
av1: 'V_AV1',
aac: 'A_AAC',
aac: 'A_AAC', // TODO is this even correct
opus: 'A_OPUS',
webvtt: 'S_TEXT/WEBVTT',
};