This commit is contained in:
17
config/nginx_encode.conf
Normal file
17
config/nginx_encode.conf
Normal file
@ -0,0 +1,17 @@
|
||||
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___;
|
||||
}
|
||||
}
|
||||
}
|
23
config/nginx_ingest.conf
Normal file
23
config/nginx_ingest.conf
Normal file
@ -0,0 +1,23 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
17
config/nginx_restream.conf
Normal file
17
config/nginx_restream.conf
Normal file
@ -0,0 +1,17 @@
|
||||
daemon off;
|
||||
worker_processes 1;
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
rtmp {
|
||||
server {
|
||||
listen 1935;
|
||||
chunk_size 8192;
|
||||
application origin {
|
||||
live on;
|
||||
record off;
|
||||
meta copy;
|
||||
___PUSH_DIRECTIVES___
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user