diff options
author | Chocobozzz <me@florianbigard.com> | 2022-09-28 11:21:25 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-09-28 11:24:14 +0200 |
commit | 43972ee466740e91b16c08fe106551657969e669 (patch) | |
tree | 83a7884451c6880aa5fd7a440c3b3473a1e06cd2 /server/tests/api | |
parent | 0d6843decdaecb4f726cba27fdb55fc164d00ba7 (diff) | |
download | PeerTube-43972ee466740e91b16c08fe106551657969e669.tar.gz PeerTube-43972ee466740e91b16c08fe106551657969e669.tar.zst PeerTube-43972ee466740e91b16c08fe106551657969e669.zip |
Relax bitrate/fps test
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/live/live.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts index c436f0f01..4e070832d 100644 --- a/server/tests/api/live/live.ts +++ b/server/tests/api/live/live.ts | |||
@@ -538,7 +538,7 @@ describe('Test live', function () { | |||
538 | } | 538 | } |
539 | 539 | ||
540 | const minBitrateLimits = { | 540 | const minBitrateLimits = { |
541 | 720: 5500 * 1000, | 541 | 720: 5000 * 1000, |
542 | 360: 1000 * 1000, | 542 | 360: 1000 * 1000, |
543 | 240: 550 * 1000 | 543 | 240: 550 * 1000 |
544 | } | 544 | } |
@@ -569,7 +569,7 @@ describe('Test live', function () { | |||
569 | if (resolution >= 720) { | 569 | if (resolution >= 720) { |
570 | expect(file.fps).to.be.approximately(60, 10) | 570 | expect(file.fps).to.be.approximately(60, 10) |
571 | } else { | 571 | } else { |
572 | expect(file.fps).to.be.approximately(30, 2) | 572 | expect(file.fps).to.be.approximately(30, 3) |
573 | } | 573 | } |
574 | 574 | ||
575 | const filename = basename(file.fileUrl) | 575 | const filename = basename(file.fileUrl) |