Fix muxing cleanup
This commit is contained in:
parent
52fb1d97ba
commit
e466544fb9
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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[] } = {}
|
||||
|
|
Loading…
Reference in New Issue