mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-06 13:34:13 +03:00
Always use fmp4 for HLS (#20638)
This commit is contained in:
parent
81df534784
commit
c5def83e08
@ -73,6 +73,8 @@ http {
|
|||||||
vod_manifest_segment_durations_mode accurate;
|
vod_manifest_segment_durations_mode accurate;
|
||||||
vod_ignore_edit_list on;
|
vod_ignore_edit_list on;
|
||||||
vod_segment_duration 10000;
|
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_align_frames off;
|
||||||
vod_hls_mpegts_interleave_frames on;
|
vod_hls_mpegts_interleave_frames on;
|
||||||
|
|
||||||
@ -105,6 +107,10 @@ http {
|
|||||||
aio threads;
|
aio threads;
|
||||||
vod hls;
|
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 $args;
|
||||||
secure_token_types application/vnd.apple.mpegurl;
|
secure_token_types application/vnd.apple.mpegurl;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user