Always use fmp4 for HLS (#20638)

This commit is contained in:
Nicolas Mowen 2025-10-23 10:50:37 -06:00 committed by GitHub
parent 81df534784
commit c5def83e08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,6 +73,8 @@ http {
vod_manifest_segment_durations_mode accurate;
vod_ignore_edit_list on;
vod_segment_duration 10000;
# MPEG-TS settings (not used when fMP4 is enabled, kept for reference)
vod_hls_mpegts_align_frames off;
vod_hls_mpegts_interleave_frames on;
@ -105,6 +107,10 @@ http {
aio threads;
vod hls;
# Use fMP4 (fragmented MP4) instead of MPEG-TS for better performance
# Smaller segments, faster generation, better browser compatibility
vod_hls_segment_container fmp4;
secure_token $args;
secure_token_types application/vnd.apple.mpegurl;