适配ZLToolKit最新代码(优化发送性能)

This commit is contained in:
xiongziliang
2019-03-18 18:44:16 +08:00
parent 748adadd6a
commit 082efb126b
7 changed files with 10 additions and 20 deletions

View File

@@ -35,8 +35,6 @@ static int kSockFlags = SOCKET_DEFAULE_FLAGS | FLAG_MORE;
RtmpSession::RtmpSession(const Socket::Ptr &pSock) : TcpSession(pSock) {
DebugL << get_peer_ip();
//设置10秒发送缓存
pSock->setSendBufSecond(10);
//设置15秒发送超时时间
pSock->setSendTimeOutSecond(15);
}