srs1.0:
hls {
enabled on;
hls_path ./objs/nginx/html;
hls_fragment 3;
hls_window 5;
}
srs2.0:
hls {
enabled on;
hls_fragment 3;
hls_window 30;
hls_storage
ram;
hls_mount
/[app]/[stream].m3u8;
# hls_path ./objs/nginx/html;
# hls_m3u8_file [app]/[stream].m3u8;
# hls_ts_file [app]/[stream]-[seq].ts;
}
对比目前两个版本,2.0的版本在ios上延时较高