aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/hls.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-08 12:08:16 +0200
committerChocobozzz <me@florianbigard.com>2019-04-08 12:08:16 +0200
commit594d0c6a7c64b045c11508bb4e4b19b75b3fc557 (patch)
tree942e4a3715f7bc97a57fe3c04dc1dd160899de02 /server/lib/hls.ts
parent0e9c48c2edbb3871b0ca3ccd6718f2c99f9760b6 (diff)
downloadPeerTube-594d0c6a7c64b045c11508bb4e4b19b75b3fc557.tar.gz
PeerTube-594d0c6a7c64b045c11508bb4e4b19b75b3fc557.tar.zst
PeerTube-594d0c6a7c64b045c11508bb4e4b19b75b3fc557.zip
Fix HLS federation
Diffstat (limited to 'server/lib/hls.ts')
-rw-r--r--server/lib/hls.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/hls.ts b/server/lib/hls.ts
index c0fc4961a..a9a96dd16 100644
--- a/server/lib/hls.ts
+++ b/server/lib/hls.ts
@@ -19,7 +19,7 @@ async function updateStreamingPlaylistsInfohashesIfNeeded () {
19 await sequelizeTypescript.transaction(async t => { 19 await sequelizeTypescript.transaction(async t => {
20 const videoFiles = await VideoFileModel.listByStreamingPlaylist(playlist.id, t) 20 const videoFiles = await VideoFileModel.listByStreamingPlaylist(playlist.id, t)
21 21
22 playlist.p2pMediaLoaderInfohashes = await VideoStreamingPlaylistModel.buildP2PMediaLoaderInfoHashes(playlist.playlistUrl, videoFiles) 22 playlist.p2pMediaLoaderInfohashes = VideoStreamingPlaylistModel.buildP2PMediaLoaderInfoHashes(playlist.playlistUrl, videoFiles)
23 playlist.p2pMediaLoaderPeerVersion = P2P_MEDIA_LOADER_PEER_VERSION 23 playlist.p2pMediaLoaderPeerVersion = P2P_MEDIA_LOADER_PEER_VERSION
24 await playlist.save({ transaction: t }) 24 await playlist.save({ transaction: t })
25 }) 25 })