Skip to content

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

Relax bitrate/fps test

Chocobozzz43972ee46674
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts
index c436f0f015..4e070832db 100644
--- a/server/tests/api/live/live.ts
+++ b/server/tests/api/live/live.ts
@@ -538,7 +538,7 @@ describe('Test live', function () {
}
const minBitrateLimits = {
- 720: 5500 * 1000,
+ 720: 5000 * 1000,
360: 1000 * 1000,
240: 550 * 1000
}
@@ -569,7 +569,7 @@ describe('Test live', function () {
if (resolution >= 720) {
expect(file.fps).to.be.approximately(60, 10)
} else {
- expect(file.fps).to.be.approximately(30, 2)
+ expect(file.fps).to.be.approximately(30, 3)
}
const filename = basename(file.fileUrl)