更新ZLToolK(修复linux下编译问题)

This commit is contained in:
xiongziliang
2019-06-11 12:28:48 +08:00
parent 1257ad725b
commit 826f3649ea
3 changed files with 4 additions and 4 deletions

View File

@@ -970,7 +970,7 @@ inline void RtspSession::startListenPeerUdpData(int trackIdx) {
WarnP(this) << "udp端口为空:" << intervaled;
return;
}
sock->setOnRead([onUdpData,intervaled](const Buffer::Ptr &pBuf, struct sockaddr *pPeerAddr){
sock->setOnRead([onUdpData,intervaled](const Buffer::Ptr &pBuf, struct sockaddr *pPeerAddr , int addr_len){
onUdpData(pBuf,pPeerAddr,intervaled);
});
};