Don't save the session twice
This commit is contained in:
parent
a63943feae
commit
c08a7f16e7
|
@ -384,6 +384,9 @@ class LiveManager {
|
|||
}
|
||||
|
||||
private onMuxingFFmpegEnd (videoUUID: string, sessionId: string) {
|
||||
// Session already cleaned up
|
||||
if (!this.videoSessions.has(videoUUID)) return
|
||||
|
||||
this.videoSessions.delete(videoUUID)
|
||||
|
||||
this.saveEndingSession(videoUUID, null)
|
||||
|
|
Loading…
Reference in New Issue