mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-22 09:12:19 +00:00
Kill FFMPEG at the end of the forwarding test
This commit is contained in:
parent
811cec5626
commit
473e80c5eb
@ -77,5 +77,15 @@ func TestForwardStream(t *testing.T) {
|
||||
|
||||
time.Sleep(5 * time.Second) // Delay is in nanoseconds, here 5s
|
||||
|
||||
err = ffmpeg.Process.Kill()
|
||||
if err != nil {
|
||||
t.Fatalf("Error while killing ffmpeg: already died?")
|
||||
}
|
||||
|
||||
err = forwardedFfmpeg.Process.Kill()
|
||||
if err != nil {
|
||||
t.Fatalf("Error while killing ffmpeg: already died?")
|
||||
}
|
||||
|
||||
// TODO Kill SRT server
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user