mp4点播每次流化时间改成500毫秒,优化文件io性能

This commit is contained in:
xiongziliang 2019-10-10 17:52:19 +08:00
parent 732e00ea63
commit a604d8c620
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ filePath=/Users/xzl/git/ZLMediaKit/release/mac/Release/httpRoot
fileSecond=3600
#mp4点播每次流化数据量单位毫秒
#减少该值可以让点播数据发送量更平滑增大该值则更节省cpu资源
sampleMS=100
sampleMS=500
#mp4录制完成后是否进行二次关键帧索引写入头部
fastStart=0
#MP4点播(rtsp/rtmp/http-flv/ws-flv)是否循环播放文件

View File

@ -257,7 +257,7 @@ namespace Record {
const string kAppName = RECORD_FIELD"appName";
//每次流化MP4文件的时长,单位毫秒
#define RECORD_SAMPLE_MS 100
#define RECORD_SAMPLE_MS 500
const string kSampleMS = RECORD_FIELD"sampleMS";
//MP4文件录制大小,默认一个小时