Skip to content

Commit ec16c13

Browse files
committed
feat: Add more regexps to detect well-known audio and video codecs
1 parent 59d4360 commit ec16c13

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/util/manifest_parser_utils.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ shaka.util.ManifestParserUtils.VIDEO_CODEC_REGEXPS_ = [
168168
/^hvc/,
169169
/^vp0?[89]/,
170170
/^av01/,
171+
/^dvhe/,
171172
];
172173

173174

@@ -183,6 +184,9 @@ shaka.util.ManifestParserUtils.AUDIO_CODEC_REGEXPS_ = [
183184
/^flac$/,
184185
/^mp4a/,
185186
/^[ae]c-3$/,
187+
/^ac-4$/,
188+
/^dts[cx]$/,
189+
/^[du]dts$/,
186190
];
187191

188192

0 commit comments

Comments
 (0)