Fix process restart to restart immediately regardless if reconnect is defined
This commit is contained in:
parent
b7e0afc7a7
commit
2376e43f96
@ -1271,7 +1271,8 @@ func (r *restream) restartProcess(id string) error {
|
||||
}
|
||||
|
||||
if task.ffmpeg != nil {
|
||||
task.ffmpeg.Kill(true)
|
||||
task.ffmpeg.Stop(true)
|
||||
task.ffmpeg.Start()
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user