1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 13:52:19 +00:00

Enable SRT server during testing

This commit is contained in:
Alexandre Iooss 2020-10-09 22:17:25 +02:00
parent 2bc62bb6e8
commit 7ae82656a4
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02

View File

@ -35,7 +35,7 @@ func TestServeSRT(t *testing.T) {
t.Skip("WARNING: FFMPEG is not installed. Skipping stream test")
}
go Serve(&Options{ListenAddress: ":9711", MaxClients: 2}, nil, nil, nil)
go Serve(&Options{Enabled: true, ListenAddress: ":9711", MaxClients: 2}, nil, nil, nil)
ffmpeg := exec.Command("ffmpeg", "-hide_banner", "-loglevel", "error",
"-f", "lavfi", "-i", "testsrc=size=640x480:rate=10",