mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 03:10:04 +08:00
修复握手超时相关bug
This commit is contained in:
parent
4cfe4e5d73
commit
e3139134e8
@ -63,7 +63,7 @@ void RtmpSession::onError(const SockException& err) {
|
||||
}
|
||||
|
||||
void RtmpSession::onManager() {
|
||||
GET_CONFIG(uint32_t,handshake_sec,Rtmp::kKeepAliveSecond);
|
||||
GET_CONFIG(uint32_t,handshake_sec,Rtmp::kHandshakeSecond);
|
||||
GET_CONFIG(uint32_t,keep_alive_sec,Rtmp::kKeepAliveSecond);
|
||||
|
||||
if (_ticker.createdTime() > handshake_sec * 1000) {
|
||||
|
@ -113,7 +113,7 @@ void RtspSession::onError(const SockException& err) {
|
||||
}
|
||||
|
||||
void RtspSession::onManager() {
|
||||
GET_CONFIG(uint32_t,handshake_sec,Rtsp::kKeepAliveSecond);
|
||||
GET_CONFIG(uint32_t,handshake_sec,Rtsp::kHandshakeSecond);
|
||||
GET_CONFIG(uint32_t,keep_alive_sec,Rtsp::kKeepAliveSecond);
|
||||
|
||||
if (_ticker.createdTime() > handshake_sec * 1000) {
|
||||
|
Loading…
Reference in New Issue
Block a user