Welcome! Log In Create A New Profile

Advanced

Config para Rtmp a HLS

Posted by Mr_RIP 
Config para Rtmp a HLS
August 30, 2013 07:13PM
Ya tengo el servidor funcionando perfectamente, salvo el detalle de que no he podido hacer que de un rtmp que yo genero lo puedda poner como hls que es un .m3u8, ya tengo puesto el modulo de rtmp y me lanza un error cada que intento poner el rtmp a funcionar, he seguido todas las guias que he encontrado, pero hasta ahora no logro hacer que trabaje, alguien que me pueda orientar el pull es

}
location /hls {
# Serve HLS fragments
types {
application/vnd.apple.mpegurl m3u8;
video/mp2t ts;
}
alias /tmp/tv2;
expires -1;
}


}
}

rtmp {
server {
listen 1936;
ping 30s;
notify_method get;

application tv {
live on;

# sample play/publish handlers
#on_play http://localhost:8080/on_play;
#on_publish http://localhost:8080/on_publish;

# sample recorder
#recorder rec1 {
# record all;
# record_interval 30s;
# record_path /tmp;
# record_unique on;
#}

# sample HLS
hls on;
hls_path /tmp/tv2;
hls_fragment 15s;
pull rtmp://mi_dominio.dyndns.tv:1936/live/livestream static;
}
Re: Config para Rtmp a HLS
January 02, 2015 01:49AM
Thanks for sharing the coding

best restaurants in Perth - manzil http://www.themanzil.co.uk/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 81
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready