Me encuentro con un problema extraño con una aplicación de guión en nginx. Todo funciona bien si no incluyo las líneas dash_variant en el siguiente código. En el momento en que los elimino, la configuración de nginx falla con la unknown directive "dash_variant" . Estoy buscando agregar las directivas dash_variant para poder tener diferentes flujos de bits dependiendo de la calidad del ancho de banda/conexión del usuario. ¡Cualquier ayuda sería muy apreciada! ¡Gracias por adelantado!
application dash { allow play all; live on; #record all; record off; record_path videos; record_unique on; #allow publish <your_sender_ip_here>; #allow publish 127.0.0.1; #deny publish all; meta copy; wait_key on; wait_video on; idle_streams off; # Dash settings and pushing towards repeaters dash on; dash_nested on; dash_path /tmp/dash; dash_fragment 3; dash_playlist_length 20; dash_cleanup on; #dash_clock_compensation http_head; #dash_clock_helper_uri https://localhost/time; dash_variant _low bandwidth="500000" width="640" height="360"; dash_variant _med bandwidth="1500000" width="1280" height="720"; dash_variant _high bandwidth="5000000" width="1920" height="1080" max; #push rtmp://localhost/hls/hls; // it goes to generate a HLS streaming }