nginx-streamer/nginx_ingest.conf
2020-09-19 21:46:46 +02:00

22 lines
506 B
Plaintext

worker_processes 1;
events {
worker_connections 1024;
}
rtmp {
server {
listen 1935;
chunk_size 8192;
application origin {
live on;
record off;
meta copy;
exec ffmpeg -i rtmp://localhost:1935/origin/___STREAMKEY___ -c copy -f flv rtmp://127.0.0.1:1935/live;
}
application live {
allow publish 127.0.0.1;
deny publish all;
live on;
record off;
}
}
}