Fix muxing cleanup

pull/4197/head
Chocobozzz 2021-06-17 17:08:47 +02:00
parent 52fb1d97ba
commit e466544fb9
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 1 additions and 3 deletions

View File

@ -160,8 +160,8 @@ class LiveManager {
const muxingSession = this.muxingSessions.get(sessionId)
if (muxingSession) {
// Muxing session will fire and event so we correctly cleanup the session
muxingSession.abort()
muxingSession.destroy()
this.muxingSessions.delete(sessionId)
}

View File

@ -60,8 +60,6 @@ class MuxingSession extends EventEmitter {
private readonly videoUUID: string
private readonly saveReplay: boolean
private toto: Buffer
private readonly lTags: LoggerTagsFn
private segmentsToProcessPerPlaylist: { [playlistId: string]: string[] } = {}