mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-06-27 10:18:51 +02:00
Fix sck to srtgo
This commit is contained in:
@ -29,7 +29,7 @@ func Serve(cfg *Options) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
go func(s sck.SrtSocket) {
|
go func(s *srtgo.SrtSocket) {
|
||||||
buff := make([]byte, 2048)
|
buff := make([]byte, 2048)
|
||||||
for {
|
for {
|
||||||
n, err := s.Read(buff, 10000)
|
n, err := s.Read(buff, 10000)
|
||||||
|
Reference in New Issue
Block a user