srs/trunk/conf/exec.conf
2025-07-05 09:32:11 -04:00

15 lines
405 B
Plaintext

# the config for srs to support nginx-rtmp exec.
# @see https://ossrs.io/lts/en-us/docs/v7/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;
}
}