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:
parent
0a0e8330f3
commit
811cec5626
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user