Event。xml
FragmentDuration 每个碎片的长度
SegmentDuration 每个切片的大小 关系到文件的大小
DiskManagementDuration 存储在服务器上的时间
<Event>
<EventID>liveevent</EventID>
<Recording>
<FragmentDuration>4000</FragmentDuration>
<SegmentDuration>400000</SegmentDuration>
<DiskManagementDuration>3</DiskManagementDuration>
</Recording>
</Event>
Apache 默认设置
25s 延迟
----------------------
Event。xml
<Event>
<EventID>liveevent</EventID>
<Recording>
<FragmentDuration>1000</FragmentDuration>
<SegmentDuration>100000</SegmentDuration>
<DiskManagementDuration>3</DiskManagementDuration>
</Recording>
</Event>
Apache 默认设置
30s 延迟
----------------------
Event。xml
<Event>
<EventID>liveevent</EventID>
<Recording>
<FragmentDuration>1000</FragmentDuration>
<SegmentDuration>100000</SegmentDuration>
<DiskManagementDuration>3</DiskManagementDuration>
</Recording>
</Event>
Apache
HLSMediaFileDuration 2000
HLSSlidingWindowLength15
17s 延迟
----------------------
Event。xml
<Event>
<EventID>liveevent</EventID>
<Recording>
<FragmentDuration>4000</FragmentDuration>
<SegmentDuration>400000</SegmentDuration>
<DiskManagementDuration>3</DiskManagementDuration>
</Recording>
</Event>
Apache
HLSMediaFileDuration 1000
HLSSlidingWindowLength 30
10s 延迟
----------------------
Event。xml
<Event>
<EventID>liveevent</EventID>
<Recording>
<FragmentDuration>1000</FragmentDuration>
<SegmentDuration>100000</SegmentDuration>
<DiskManagementDuration>3</DiskManagementDuration>
</Recording>
</Event>
Apache
HLSMediaFileDuration 1000
HLSSlidingWindowLength 60
15s 延迟
总结:速度是跟apache下载的切片大小而定的。切片小 。下载的数量多 是调试的根本。