优化hls

This commit is contained in:
xiongziliang
2018-09-03 10:28:41 +08:00
parent 4bb9bef320
commit 237a7d71f3
2 changed files with 13 additions and 13 deletions

View File

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