fotografia:camaras:rtmp_proxy
This is an old revision of the document!
1. Creamos un servidor de RTMP con nginx
Fichero nginx.conf
worker_processes auto;
events {
worker_connections 1024;
}
rtmp {
server {
listen 1935; # Puerto para RTMP
chunk_size 4096;
application live {
live on;
record off;
}
}
}
http {
sendfile off;
tcp_nopush on;
directio 512;
default_type application/octet-stream;
server {
listen 8080;
location / {
return 200 'RTMP server running\n';
}
}
}
Levanto un servidor de RTMP y lo paso a RTSP
ffmpeg -i rtmp://<ip_del_servidor>:<puerto>/<stream_key> -f rtsp rtsp://localhost:8554/mystream
fotografia/camaras/rtmp_proxy.1730802334.txt.gz · Last modified: by jose
