From 811cec56264af35377a2646262cb4ccfcc6d9b84 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Fri, 9 Oct 2020 22:24:01 +0200 Subject: [PATCH] Enable SRT server for forwarding tests --- stream/forwarding/forwarding_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream/forwarding/forwarding_test.go b/stream/forwarding/forwarding_test.go index e69edde..0ce6a59 100644 --- a/stream/forwarding/forwarding_test.go +++ b/stream/forwarding/forwarding_test.go @@ -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",