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

Enable SRT server for forwarding tests

This commit is contained in:
Alexandre Iooss 2020-10-09 22:24:01 +02:00
parent 0a0e8330f3
commit 811cec5626
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02

View File

@ -53,7 +53,7 @@ func TestForwardStream(t *testing.T) {
go Serve(forwardingChannel, forwardingList)
// Serve SRT Server without authentification backend
go srt.Serve(&srt.Options{ListenAddress: ":9712", MaxClients: 2}, nil, forwardingChannel, nil)
go srt.Serve(&srt.Options{Enabled: true, ListenAddress: ":9712", MaxClients: 2}, nil, forwardingChannel, nil)
ffmpeg := exec.Command("ffmpeg", "-hide_banner", "-loglevel", "error",
"-re", "-f", "lavfi", "-i", "testsrc=size=640x480:rate=10",