何江海/Kevin

Results 7 issues of 何江海/Kevin

Have you ever provoided any tools to run tps benchmark? Thanks.

```go // Acquire Fishing a usable link from the pool func (w *Pool) Acquire() (*grpc.ClientConn, CloseFunc, error) { ctx, cancel := context.WithTimeout(context.Background(), w.Config.AcquireTimeout*time.Second) ``` `w.Config.AcquireTimeout` is in seconds, there is...

documentation

- 命名风格一致性 - 代码重构 - 错误、异常处理 - 日志优化

help wanted
refactor

流媒体服务器级联时,下级流媒体服务器拉流读超时并主动关闭连接,但上级流媒体服务器未关闭连接 其中,SS1、SS2 分别为上级流媒体服务器、下级流媒体服务器 ![bea324b61ea4570894c82f1967256c7](https://user-images.githubusercontent.com/7955133/125738584-7bdc039d-d3db-46e2-b304-4945c6aa7ac4.png) 通过 netstat 查看未关闭的连接: ```bash root@ubuntu:~# netstat -nap|grep 1935 tcp 0 0 183.61.252.7:38911 59.38.100.85:1935 CLOSE_WAIT 4484/./livego tcp 0 0 183.61.252.7:53393 59.38.100.85:1935 CLOSE_WAIT 4484/./livego ```

bug

流媒体服务器级联时,下级流媒体服务器拉流读超时 其中,SS1、SS2 分别为上级流媒体服务器、下级流媒体服务器 ![bea324b61ea4570894c82f1967256c7](https://user-images.githubusercontent.com/7955133/125738584-7bdc039d-d3db-46e2-b304-4945c6aa7ac4.png) 对应地,日志如下: ```bash DEBU[2021-07-15T03:02:34Z] rtmp.go:458 github.com/dudebing99/livego/protocol/rtmp.(*VirReader).Close() publisher closed: read timeout DEBU[2021-07-15T03:02:34Z] stream.go:196 github.com/dudebing99/livego/protocol/rtmp.(*Stream).StopStaticPush() StopStaticPush......live/movie DEBU[2021-07-15T03:02:34Z] stream.go:210 github.com/dudebing99/livego/protocol/rtmp.(*Stream).StopStaticPush() StopStaticPush: current streamname=movie, appname=live DEBU[2021-07-15T03:02:34Z] stream.go:213 github.com/dudebing99/livego/protocol/rtmp.(*Stream).StopStaticPush() StopStaticPush: GetStaticPushList error=no...

bug