We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go-sip-ua/pkg/media/rtp/udp.go
Line 65 in cb97c36
if r.stop { r.Log().Infof("Terminate: stop rtp conn now!") return } n, raddr, err := r.conn.ReadFrom(buf) if err != nil { r.Log().Warnf("RTP Conn [%v] refused, err: %v, stop now!", raddr, err) return }
如果先执行了if判断后,udp被close,那么后面代码将会继续执行。
The text was updated successfully, but these errors were encountered:
Write at 0x00c000224048 by goroutine 14: github.com/cloudwebrtc/go-sip-ua/pkg/media/rtp.(*RtpUDPStream).Close() C:/Users/na/go/pkg/mod/github.com/cloudwebrtc/go-sip-ua@v1.0.2/pkg/media/rtp/udp.go:55 +0x18d sip-gateway/pkg/SingerCall.(*CallOne).ShutDown() C:/Users/na/Desktop/a/go-sip-call-sdk/pkg/SingerCall/singleCall.go:212 +0x161 sip-gateway/pkg/SingerCall.(*CallOne).initTicker.func1() C:/Users/na/Desktop/a/go-sip-call-sdk/pkg/SingerCall/singleCall.go:162 +0x19a Previous read at 0x00c000224048 by goroutine 17: github.com/cloudwebrtc/go-sip-ua/pkg/media/rtp.(*RtpUDPStream).Read() C:/Users/na/go/pkg/mod/github.com/cloudwebrtc/go-sip-ua@v1.0.2/pkg/media/rtp/udp.go:83 +0x317
Sorry, something went wrong.
No branches or pull requests
go-sip-ua/pkg/media/rtp/udp.go
Line 65 in cb97c36
如果先执行了if判断后,udp被close,那么后面代码将会继续执行。
The text was updated successfully, but these errors were encountered: