From a6e972bb51a2f7863e580035c1aceb4fd0070820 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sun, 27 Sep 2020 22:30:12 +0200 Subject: [PATCH] SrtSocket is a struct --- stream/srt/srt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream/srt/srt.go b/stream/srt/srt.go index bc8b257..691fbbd 100644 --- a/stream/srt/srt.go +++ b/stream/srt/srt.go @@ -29,7 +29,7 @@ func Serve(cfg *Options) { continue } - go func(s *sck.SrtSocket) { + go func(s sck.SrtSocket) { buff := make([]byte, 2048) for { n, err := s.Read(buff, 10000)