1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-23 01:32:19 +00:00

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

View File

@ -29,7 +29,7 @@ func Serve(cfg *Options) {
continue continue
} }
go func(s *sck.SrtSocket) { go func(s sck.SrtSocket) {
buff := make([]byte, 2048) buff := make([]byte, 2048)
for { for {
n, err := s.Read(buff, 10000) n, err := s.Read(buff, 10000)