mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-06-29 15:51:01 +02:00
Use reference to Stream
This commit is contained in:
@ -58,7 +58,7 @@ func TestServeSRT(t *testing.T) {
|
||||
}
|
||||
|
||||
// Init streams messaging and SRT server
|
||||
streams := make(map[string]stream.Stream)
|
||||
streams := make(map[string]*stream.Stream)
|
||||
go Serve(streams, nil, &Options{Enabled: true, ListenAddress: ":9711", MaxClients: 2})
|
||||
|
||||
ffmpeg := exec.Command("ffmpeg", "-hide_banner", "-loglevel", "error",
|
||||
|
Reference in New Issue
Block a user