Fix process restart to restart immediately regardless if reconnect is defined

This commit is contained in:
Ingo Oppermann 2023-04-29 08:27:40 +02:00
parent b7e0afc7a7
commit 2376e43f96
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E

View File

@ -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