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() {
|
func SetStreamAsDisconnected() {
|
||||||
_stats.StreamConnected = false
|
_stats.StreamConnected = false
|
||||||
_stats.LastDisconnectTime = utils.NullTime{time.Now(), true}
|
_stats.LastDisconnectTime = utils.NullTime{time.Now(), true}
|
||||||
|
_broadcaster = nil
|
||||||
|
|
||||||
offlineFilename := "offline.ts"
|
offlineFilename := "offline.ts"
|
||||||
offlineFilePath := "static/" + offlineFilename
|
offlineFilePath := "static/" + offlineFilename
|
||||||
|
Loading…
x
Reference in New Issue
Block a user