From 6c7ac2d3b3dd6bbc611a788f79e636a8a8039a06 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sun, 27 Sep 2020 22:32:49 +0200 Subject: [PATCH] Fix sck to srtgo --- 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 691fbbd..3a0d5ff 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 *srtgo.SrtSocket) { buff := make([]byte, 2048) for { n, err := s.Read(buff, 10000)