mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-19 00:07:49 +08:00
修复rtsp组播相关bug
更新ZLToolKit(优化性能)
This commit is contained in:
parent
c570ffbd35
commit
75a40daa07
@ -74,7 +74,7 @@ static int kSockFlags = SOCKET_DEFAULE_FLAGS | FLAG_MORE;
|
|||||||
|
|
||||||
RtspSession::RtspSession(const Socket::Ptr &pSock) : TcpSession(pSock) {
|
RtspSession::RtspSession(const Socket::Ptr &pSock) : TcpSession(pSock) {
|
||||||
//设置15秒发送超时时间
|
//设置15秒发送超时时间
|
||||||
pSock->setSendTimeOutSecond(45);
|
pSock->setSendTimeOutSecond(15);
|
||||||
|
|
||||||
DebugL << get_peer_ip();
|
DebugL << get_peer_ip();
|
||||||
}
|
}
|
||||||
@ -628,7 +628,7 @@ bool RtspSession::handleReq_Setup(const Parser &parser) {
|
|||||||
if(!strongSelf) {
|
if(!strongSelf) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
strongSelf->shutdown();
|
strongSelf->safeShutdown();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
int iSrvPort = _pBrdcaster->getPort(trackRef->_type);
|
int iSrvPort = _pBrdcaster->getPort(trackRef->_type);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user