rtsp/rtmp超时时间可配置

This commit is contained in:
xiongziliang
2019-05-29 18:24:35 +08:00
parent a39c4c1344
commit e9e21e11a2
4 changed files with 27 additions and 6 deletions

View File

@@ -194,12 +194,19 @@ extern const char kMaxReqSize[];
namespace Rtsp {
//是否优先base64方式认证默认Md5方式认证
extern const char kAuthBasic[];
//握手超时时间默认15秒
extern const char kHandshakeSecond[];
//维持链接超时时间默认15秒
extern const char kKeepAliveSecond[];
} //namespace Rtsp
////////////RTMP服务器配置///////////
namespace Rtmp {
extern const char kModifyStamp[];
//握手超时时间默认15秒
extern const char kHandshakeSecond[];
//维持链接超时时间默认15秒
extern const char kKeepAliveSecond[];
} //namespace RTMP