Browse Source

修复bug

pull/203/head
mask-pp 4 years ago
parent
commit
b37df00d5f
  1. 6
      rtsp/rtsp-session.go

6
rtsp/rtsp-session.go

@ -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…
Cancel
Save