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)