mirror of
git://f0xx.org/ac/ac-ms-media-transcode
synced 2026-07-29 04:17:51 +03:00
Encode-once/fanout scripts, HLS output, and single overloadable env source. Commits assets/pirate_drift.png as default watermark for cluster runs. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
484 B
Plaintext
15 lines
484 B
Plaintext
# Snippet for Alpine BE nginx (apps-port80.conf).
|
|
# Serves HLS segments written by streaming_v2 when HLS_OUTPUT_DIR is set.
|
|
# Replace @HLS_ROOT@ with the absolute storage path (e.g. /var/www/ac/media-pipelines/hls).
|
|
|
|
location ^~ /app/androidcast_project/media/hls/ {
|
|
alias @HLS_ROOT@/;
|
|
add_header Cache-Control "no-cache";
|
|
add_header Access-Control-Allow-Origin "*";
|
|
types {
|
|
application/vnd.apple.mpegurl m3u8;
|
|
video/mp2t ts;
|
|
}
|
|
default_type application/vnd.apple.mpegurl;
|
|
}
|