Fix hls tests

This commit is contained in:
Chocobozzz 2023-10-04 11:12:29 +02:00
parent 0112cd3851
commit 9257243620
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ async function checkResolutionsInMasterPlaylist (options: {
if (resolution === VideoResolution.H_NOVIDEO) {
expect(masterPlaylist).to.match(new RegExp(`${base},CODECS="mp4a.40.2"`))
} else if (transcoded) {
expect(masterPlaylist).to.match(new RegExp(`${base},(FRAME-RATE=\\d+,)?CODECS="avc1.64001f,mp4a.40.2"`))
expect(masterPlaylist).to.match(new RegExp(`${base},(FRAME-RATE=\\d+,)?CODECS="avc1.6400[0-f]{2},mp4a.40.2"`))
} else {
expect(masterPlaylist).to.match(new RegExp(`${base}`))
}