]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Relax bitrate/fps test
authorChocobozzz <me@florianbigard.com>
Wed, 28 Sep 2022 09:21:25 +0000 (11:21 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 28 Sep 2022 09:24:14 +0000 (11:24 +0200)
server/tests/api/live/live.ts

index c436f0f01546d05fefac4fdaa0439ddb7d2fcb60..4e070832dbc09d0914979d4348b729ad3d66e437 100644 (file)
@@ -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)