mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-15 04:25:58 +08:00
united some code style
This commit is contained in:
@@ -173,7 +173,7 @@ const string kAuthBasic = RTSP_FIELD "authBasic";
|
||||
const string kHandshakeSecond = RTSP_FIELD "handshakeSecond";
|
||||
const string kKeepAliveSecond = RTSP_FIELD "keepAliveSecond";
|
||||
const string kDirectProxy = RTSP_FIELD "directProxy";
|
||||
const string KLowLatency = RTSP_FIELD"lowLatency";
|
||||
const string kLowLatency = RTSP_FIELD"lowLatency";
|
||||
|
||||
static onceToken token([]() {
|
||||
// 默认Md5方式认证
|
||||
@@ -181,7 +181,7 @@ static onceToken token([]() {
|
||||
mINI::Instance()[kHandshakeSecond] = 15;
|
||||
mINI::Instance()[kKeepAliveSecond] = 15;
|
||||
mINI::Instance()[kDirectProxy] = 1;
|
||||
mINI::Instance()[KLowLatency] = 0;
|
||||
mINI::Instance()[kLowLatency] = 0;
|
||||
});
|
||||
} // namespace Rtsp
|
||||
|
||||
@@ -208,13 +208,13 @@ const string kAudioMtuSize = RTP_FIELD "audioMtuSize";
|
||||
// rtp包最大长度限制,单位是KB
|
||||
const string kRtpMaxSize = RTP_FIELD "rtpMaxSize";
|
||||
|
||||
const string KLowLatency = RTP_FIELD "lowLatency";
|
||||
const string kLowLatency = RTP_FIELD "lowLatency";
|
||||
|
||||
static onceToken token([]() {
|
||||
mINI::Instance()[kVideoMtuSize] = 1400;
|
||||
mINI::Instance()[kAudioMtuSize] = 600;
|
||||
mINI::Instance()[kRtpMaxSize] = 10;
|
||||
mINI::Instance()[KLowLatency] = 0;
|
||||
mINI::Instance()[kLowLatency] = 0;
|
||||
|
||||
});
|
||||
} // namespace Rtp
|
||||
|
||||
Reference in New Issue
Block a user