mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-23 00:22:19 +00:00
Fix sck to srtgo
This commit is contained in:
parent
a6e972bb51
commit
6c7ac2d3b3
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user