1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Fix client player error on fast restream

This commit is contained in:
Chocobozzz 2024-08-09 09:42:58 +02:00
parent d47d95cb6f
commit 25684e837c
No known key found for this signature in database
GPG key ID: 583A612D890159BE
12 changed files with 141 additions and 41 deletions

View file

@ -279,6 +279,8 @@ class LiveManager {
if (oldStreamingPlaylist) {
if (!videoLive.permanentLive) throw new Error('Found previous session in a non permanent live: ' + video.uuid)
PeerTubeSocket.Instance.sendVideoForceEnd(video)
await cleanupAndDestroyPermanentLive(video, oldStreamingPlaylist)
}