aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/lib/live/live-manager.ts2
-rw-r--r--server/lib/live/shared/muxing-session.ts2
2 files changed, 1 insertions, 3 deletions
diff --git a/server/lib/live/live-manager.ts b/server/lib/live/live-manager.ts
index 1863c0b0c..014cd3fcf 100644
--- a/server/lib/live/live-manager.ts
+++ b/server/lib/live/live-manager.ts
@@ -160,8 +160,8 @@ class LiveManager {
160 160
161 const muxingSession = this.muxingSessions.get(sessionId) 161 const muxingSession = this.muxingSessions.get(sessionId)
162 if (muxingSession) { 162 if (muxingSession) {
163 // Muxing session will fire and event so we correctly cleanup the session
163 muxingSession.abort() 164 muxingSession.abort()
164 muxingSession.destroy()
165 165
166 this.muxingSessions.delete(sessionId) 166 this.muxingSessions.delete(sessionId)
167 } 167 }
diff --git a/server/lib/live/shared/muxing-session.ts b/server/lib/live/shared/muxing-session.ts
index 7788eea2d..eb2007b29 100644
--- a/server/lib/live/shared/muxing-session.ts
+++ b/server/lib/live/shared/muxing-session.ts
@@ -60,8 +60,6 @@ class MuxingSession extends EventEmitter {
60 private readonly videoUUID: string 60 private readonly videoUUID: string
61 private readonly saveReplay: boolean 61 private readonly saveReplay: boolean
62 62
63 private toto: Buffer
64
65 private readonly lTags: LoggerTagsFn 63 private readonly lTags: LoggerTagsFn
66 64
67 private segmentsToProcessPerPlaylist: { [playlistId: string]: string[] } = {} 65 private segmentsToProcessPerPlaylist: { [playlistId: string]: string[] } = {}