Skip to content

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

Relax live fps test

Chocobozzz47e363bbe961
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts
index 98a5287aac..ac91b6b083 100644
--- a/server/tests/api/live/live.ts
+++ b/server/tests/api/live/live.ts
@@ -424,7 +424,7 @@ describe('Test live', function () {
const file = hlsPlaylist.files.find(f => f.resolution.id === resolution)
expect(file).to.exist
- expect(file.fps).to.equal(25)
+ expect(file.fps).to.be.oneOf([ 24, 25 ])
expect(file.size).to.be.greaterThan(1)
await makeRawRequest(file.torrentUrl, 200)