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/lib/live/shared/muxing-session.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/lib/live/shared/muxing-session.ts')
-rw-r--r-- | server/lib/live/shared/muxing-session.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/lib/live/shared/muxing-session.ts b/server/lib/live/shared/muxing-session.ts index 6ec126955..25ecf1c64 100644 --- a/server/lib/live/shared/muxing-session.ts +++ b/server/lib/live/shared/muxing-session.ts | |||
@@ -262,6 +262,8 @@ class MuxingSession extends EventEmitter { | |||
262 | const url = await storeHLSFileFromFilename(this.streamingPlaylist, this.streamingPlaylist.playlistFilename) | 262 | const url = await storeHLSFileFromFilename(this.streamingPlaylist, this.streamingPlaylist.playlistFilename) |
263 | 263 | ||
264 | this.streamingPlaylist.playlistUrl = url | 264 | this.streamingPlaylist.playlistUrl = url |
265 | this.streamingPlaylist.assignP2PMediaLoaderInfoHashes(this.videoLive.Video, this.allResolutions) | ||
266 | |||
265 | await this.streamingPlaylist.save() | 267 | await this.streamingPlaylist.save() |
266 | } catch (err) { | 268 | } catch (err) { |
267 | logger.error('Cannot upload live master file to object storage.', { err, ...this.lTags() }) | 269 | logger.error('Cannot upload live master file to object storage.', { err, ...this.lTags() }) |