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