mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #367, support nginx-rtmp exec. 3.0.1
This commit is contained in:
parent
7de181004f
commit
c34b0c86e1
25 changed files with 519 additions and 14 deletions
12
trunk/conf/exec.conf
Normal file
12
trunk/conf/exec.conf
Normal file
|
@ -0,0 +1,12 @@
|
|||
# the config for srs to support nginx-rtmp exec.
|
||||
# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_NgExec
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
vhost __defaultVhost__ {
|
||||
exec {
|
||||
enabled on;
|
||||
publish ./objs/ffmpeg/bin/ffmpeg -f flv -i [url] -c copy -y ./[stream].flv;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue