Enable SRT server for forwarding tests
This commit is contained in:
parent
0a0e8330f3
commit
811cec5626
|
@ -53,7 +53,7 @@ func TestForwardStream(t *testing.T) {
|
||||||
go Serve(forwardingChannel, forwardingList)
|
go Serve(forwardingChannel, forwardingList)
|
||||||
|
|
||||||
// Serve SRT Server without authentification backend
|
// 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",
|
ffmpeg := exec.Command("ffmpeg", "-hide_banner", "-loglevel", "error",
|
||||||
"-re", "-f", "lavfi", "-i", "testsrc=size=640x480:rate=10",
|
"-re", "-f", "lavfi", "-i", "testsrc=size=640x480:rate=10",
|
||||||
|
|
Loading…
Reference in New Issue