优化HLS延时

This commit is contained in:
xiongziliang
2017-11-09 18:14:16 +08:00
parent 45070dbfff
commit 0588c47bd2
3 changed files with 78 additions and 78 deletions

View File

@@ -296,11 +296,11 @@ namespace Hls {
#define HLS_FIELD "hls."
//HLS切片时长,单位秒
#define HLS_SEGMENT_DURATION 5
#define HLS_SEGMENT_DURATION 0
const char kSegmentDuration[] = HLS_FIELD"segDur";
//HLS切片个数
#define HLS_SEGMENT_NUM 3
#define HLS_SEGMENT_NUM 1
const char kSegmentNum[] = HLS_FIELD"segNum";
//HLS文件写缓存大小