nginx-streamer/config/nginx_ingest.conf
Torma Kristof e0a298da5b
All checks were successful
continuous-integration/drone/push Build is passing
add encode mode
2020-09-20 02:49:49 +02:00

23 lines
518 B
Plaintext

daemon off;
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;
}
}
}