mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-22 09:12:19 +00:00
Enable SRT server during testing
This commit is contained in:
parent
2bc62bb6e8
commit
7ae82656a4
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user