nginx-streamer/config/nginx_encode.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

17 lines
366 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___ ___FFMPEG_ARGS___ ___ENCOE_PUSH_URL___;
}
}
}