mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 03:10:04 +08:00
mp4点播每次流化时间改成500毫秒,优化文件io性能
This commit is contained in:
parent
732e00ea63
commit
a604d8c620
@ -116,7 +116,7 @@ filePath=/Users/xzl/git/ZLMediaKit/release/mac/Release/httpRoot
|
|||||||
fileSecond=3600
|
fileSecond=3600
|
||||||
#mp4点播每次流化数据量,单位毫秒,
|
#mp4点播每次流化数据量,单位毫秒,
|
||||||
#减少该值可以让点播数据发送量更平滑,增大该值则更节省cpu资源
|
#减少该值可以让点播数据发送量更平滑,增大该值则更节省cpu资源
|
||||||
sampleMS=100
|
sampleMS=500
|
||||||
#mp4录制完成后是否进行二次关键帧索引写入头部
|
#mp4录制完成后是否进行二次关键帧索引写入头部
|
||||||
fastStart=0
|
fastStart=0
|
||||||
#MP4点播(rtsp/rtmp/http-flv/ws-flv)是否循环播放文件
|
#MP4点播(rtsp/rtmp/http-flv/ws-flv)是否循环播放文件
|
||||||
|
@ -257,7 +257,7 @@ namespace Record {
|
|||||||
const string kAppName = RECORD_FIELD"appName";
|
const string kAppName = RECORD_FIELD"appName";
|
||||||
|
|
||||||
//每次流化MP4文件的时长,单位毫秒
|
//每次流化MP4文件的时长,单位毫秒
|
||||||
#define RECORD_SAMPLE_MS 100
|
#define RECORD_SAMPLE_MS 500
|
||||||
const string kSampleMS = RECORD_FIELD"sampleMS";
|
const string kSampleMS = RECORD_FIELD"sampleMS";
|
||||||
|
|
||||||
//MP4文件录制大小,默认一个小时
|
//MP4文件录制大小,默认一个小时
|
||||||
|
Loading…
Reference in New Issue
Block a user