nginx-streamer/config/nginx_encode.conf

17 lines
366 B
Plaintext
Raw Normal View History

2020-09-19 22:40:18 +02:00
daemon off;
2020-09-19 21:46:46 +02:00
worker_processes 1;
events {
worker_connections 1024;
}
rtmp {
server {
listen 1935;
chunk_size 8192;
application origin {
live on;
record off;
meta copy;
2020-09-20 02:49:49 +02:00
exec ffmpeg -i rtmp://localhost:1935/origin/___STREAMKEY___ ___FFMPEG_ARGS___ ___ENCOE_PUSH_URL___;
2020-09-19 21:46:46 +02:00
}
}
}