SrtSocket is a struct

This commit is contained in:
Alexandre Iooss 2020-09-27 22:30:12 +02:00
parent 5999fc69d8
commit a6e972bb51
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
1 changed files with 1 additions and 1 deletions

View File

@ -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)