Clear current broadcaster on stream end. Closes #285
This commit is contained in:
parent
de40da1cf0
commit
32c7e3fa34
@ -56,6 +56,7 @@ func SetStreamAsConnected() {
|
||||
func SetStreamAsDisconnected() {
|
||||
_stats.StreamConnected = false
|
||||
_stats.LastDisconnectTime = utils.NullTime{time.Now(), true}
|
||||
_broadcaster = nil
|
||||
|
||||
offlineFilename := "offline.ts"
|
||||
offlineFilePath := "static/" + offlineFilename
|
||||
|
Loading…
Reference in New Issue
Block a user