diff options
author | Chocobozzz <me@florianbigard.com> | 2022-12-30 15:28:49 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-12-30 15:28:49 +0100 |
commit | 9972ace3a3bc65865fb3aaaa865a400386e49252 (patch) | |
tree | 7bd9a0b40311145c942b0cbf2fbcf58a58f9eca5 /server/tests/shared/streaming-playlists.ts | |
parent | 75ec2580484d2fa2d6d21a062ddb33ffea9ab046 (diff) | |
parent | fbe088b816c6e33e013006285e18bc2938173507 (diff) | |
download | PeerTube-9972ace3a3bc65865fb3aaaa865a400386e49252.tar.gz PeerTube-9972ace3a3bc65865fb3aaaa865a400386e49252.tar.zst PeerTube-9972ace3a3bc65865fb3aaaa865a400386e49252.zip |
Merge branch 'release/5.0.0' into develop
Diffstat (limited to 'server/tests/shared/streaming-playlists.ts')
-rw-r--r-- | server/tests/shared/streaming-playlists.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/tests/shared/streaming-playlists.ts b/server/tests/shared/streaming-playlists.ts index 5c62af812..75e135c4e 100644 --- a/server/tests/shared/streaming-playlists.ts +++ b/server/tests/shared/streaming-playlists.ts | |||
@@ -40,6 +40,8 @@ async function checkSegmentHash (options: { | |||
40 | expect(sha256(segmentBody)).to.equal(shaBody[videoName][range]) | 40 | expect(sha256(segmentBody)).to.equal(shaBody[videoName][range]) |
41 | } | 41 | } |
42 | 42 | ||
43 | // --------------------------------------------------------------------------- | ||
44 | |||
43 | async function checkLiveSegmentHash (options: { | 45 | async function checkLiveSegmentHash (options: { |
44 | server: PeerTubeServer | 46 | server: PeerTubeServer |
45 | baseUrlSegment: string | 47 | baseUrlSegment: string |
@@ -56,6 +58,8 @@ async function checkLiveSegmentHash (options: { | |||
56 | expect(sha256(segmentBody)).to.equal(shaBody[segmentName]) | 58 | expect(sha256(segmentBody)).to.equal(shaBody[segmentName]) |
57 | } | 59 | } |
58 | 60 | ||
61 | // --------------------------------------------------------------------------- | ||
62 | |||
59 | async function checkResolutionsInMasterPlaylist (options: { | 63 | async function checkResolutionsInMasterPlaylist (options: { |
60 | server: PeerTubeServer | 64 | server: PeerTubeServer |
61 | playlistUrl: string | 65 | playlistUrl: string |