mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 20:01:56 +00:00
14 lines
406 B
Text
14 lines
406 B
Text
# the config for srs to support nginx-rtmp exec.
|
|
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/nginx-exec
|
|
# @see full.conf for detail config.
|
|
|
|
listen 1935;
|
|
max_connections 1000;
|
|
daemon off;
|
|
srs_log_tank console;
|
|
vhost __defaultVhost__ {
|
|
exec {
|
|
enabled on;
|
|
publish ./objs/ffmpeg/bin/ffmpeg -f flv -i [url] -c copy -y ./[stream].flv;
|
|
}
|
|
}
|