mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
12 lines
348 B
Text
12 lines
348 B
Text
# the config for srs to support nginx-rtmp exec.
|
|
# @see https://github.com/ossrs/srs/wiki/v3_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;
|
|
}
|
|
}
|