Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix hls tests

Chocobozzz925724362059
diff --git a/packages/tests/src/shared/streaming-playlists.ts b/packages/tests/src/shared/streaming-playlists.ts
index f2f0fbe85f..ec5a0187a9 100644
--- a/packages/tests/src/shared/streaming-playlists.ts
+++ b/packages/tests/src/shared/streaming-playlists.ts
@@ -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}`))
}