mirror of https://github.com/EasyDarwin/EasyDarwin
修复bug
parent
785f293376
commit
b37df00d5f
|
@ -249,11 +249,7 @@ func (session *Session) Start() {
|
|||
Buffer: rtpBuf,
|
||||
}
|
||||
default:
|
||||
logger.Printf("unknow rtp pack type, %v", pack.Type)
|
||||
continue
|
||||
}
|
||||
if pack == nil {
|
||||
logger.Printf("session tcp got nil rtp pack")
|
||||
logger.Printf("unknow rtp pack type, %v", channel)
|
||||
continue
|
||||
}
|
||||
session.InBytes += rtpLen + 4
|
||||
|
|
Loading…
Reference in New Issue