Fix: config rtmp for bandwith select
This commit is contained in:
parent
fc4397a5ed
commit
4dba9b14b6
@ -10,11 +10,11 @@ rtmp {
|
||||
application entrada {
|
||||
live on;
|
||||
# enciende HLS
|
||||
hls on;
|
||||
hls_path /var/www/html/canal/;
|
||||
#hls on;
|
||||
#hls_path /var/www/html/canal/;
|
||||
# ajustes de hls
|
||||
hls_fragment 5;
|
||||
hls_playlist_length 1m;
|
||||
#hls_fragment 5;
|
||||
#hls_playlist_length 1m;
|
||||
# para bloquear el directo
|
||||
# quita el comentario de la línea siguiente
|
||||
# deny play all;
|
||||
@ -23,8 +23,8 @@ rtmp {
|
||||
#on_publish http://docker.for.mac.host.internal:5000/api/stream/start;
|
||||
#on_publish_done http://docker.for.mac.host.internal:5000/api/stream/end;
|
||||
|
||||
idle_streams off;
|
||||
hls_cleanup on;
|
||||
#idle_streams off;
|
||||
#hls_cleanup on;
|
||||
|
||||
|
||||
## Transcode video for low latencies
|
||||
@ -39,10 +39,12 @@ rtmp {
|
||||
|
||||
hls_fragment 2s;
|
||||
hls_playlist_length 10s;
|
||||
idle_streams off;
|
||||
hls_cleanup on;
|
||||
|
||||
# Pointing this to an SSD is better as this involves lots of IO
|
||||
# hls_path /tmp/hls/;
|
||||
hls_path /var/www/html/canal/variant/;
|
||||
hls_path /var/www/html/canal/;
|
||||
|
||||
# Instruct clients to adjust resolution according to bandwidth
|
||||
#hls_variant _subsd BANDWIDTH=400000;
|
||||
|
Loading…
Reference in New Issue
Block a user