修复udp发送相关bug

This commit is contained in:
xiongziliang
2018-12-20 16:59:54 +08:00
parent 166bbb0be0
commit c64bf1ea7a
2 changed files with 2 additions and 2 deletions

View File

@@ -998,7 +998,7 @@ inline void RtspSession::sendRtpPacket(const RtpPacket::Ptr & pkt) {
}
BufferRtp::Ptr buffer(new BufferRtp(pkt,4));
_ui64TotalBytes += buffer->size();
pSock->send(buffer,kSockFlags, peerAddr.get());
pSock->send(buffer,SOCKET_DEFAULE_FLAGS, peerAddr.get());
}
break;
default: