aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/server-commands/videos/live-command.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-10 09:28:42 +0200
committerChocobozzz <me@florianbigard.com>2023-05-10 09:30:33 +0200
commit5170f492b95dc81b75230312411c5fdb0019eed2 (patch)
treefea18f482e1eb16ac92fd2d08022b33d58ab8747 /shared/server-commands/videos/live-command.ts
parent9d1e41e8bbd9afd961f2dd48c791a3be114e878d (diff)
downloadPeerTube-5170f492b95dc81b75230312411c5fdb0019eed2.tar.gz
PeerTube-5170f492b95dc81b75230312411c5fdb0019eed2.tar.zst
PeerTube-5170f492b95dc81b75230312411c5fdb0019eed2.zip
Try to have more robust live tests
Diffstat (limited to 'shared/server-commands/videos/live-command.ts')
-rw-r--r--shared/server-commands/videos/live-command.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/server-commands/videos/live-command.ts b/shared/server-commands/videos/live-command.ts
index dc3c5a86e..2e4bc10b5 100644
--- a/shared/server-commands/videos/live-command.ts
+++ b/shared/server-commands/videos/live-command.ts
@@ -224,7 +224,7 @@ export class LiveCommand extends AbstractCommand {
224 const video = await server.videos.get({ id: videoUUID }) 224 const video = await server.videos.get({ id: videoUUID })
225 const hlsPlaylist = video.streamingPlaylists[0] 225 const hlsPlaylist = video.streamingPlaylists[0]
226 226
227 const shaBody = await server.streamingPlaylists.getSegmentSha256({ url: hlsPlaylist.segmentsSha256Url }) 227 const shaBody = await server.streamingPlaylists.getSegmentSha256({ url: hlsPlaylist.segmentsSha256Url, withRetry: objectStorage })
228 228
229 if (!shaBody[segmentName]) { 229 if (!shaBody[segmentName]) {
230 throw new Error('Segment SHA does not exist') 230 throw new Error('Segment SHA does not exist')