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:
parent
5999fc69d8
commit
a6e972bb51
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user