mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-26 11:52:22 +08:00
添加性能测试模式
This commit is contained in:
@@ -286,6 +286,8 @@ const string kTimeoutMS = "protocol_timeout_ms";
|
||||
const string kMediaTimeoutMS = "media_timeout_ms";
|
||||
const string kBeatIntervalMS = "beat_interval_ms";
|
||||
const string kMaxAnalysisMS = "max_analysis_ms";
|
||||
const string kBenchmarkMode = "benchmark_mode";
|
||||
|
||||
}
|
||||
|
||||
} // namespace mediakit
|
||||
|
||||
@@ -315,6 +315,8 @@ extern const string kMediaTimeoutMS;
|
||||
extern const string kBeatIntervalMS;
|
||||
//Track编码格式探测最大时间,单位毫秒,默认2000
|
||||
extern const string kMaxAnalysisMS;
|
||||
//是否为性能测试模式,性能测试模式开启后不会解析rtp或rtmp包
|
||||
extern const string kBenchmarkMode;
|
||||
}
|
||||
} // namespace mediakit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user