exec.conf 406 B

1234567891011121314
  1. # the config for srs to support nginx-rtmp exec.
  2. # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/nginx-exec
  3. # @see full.conf for detail config.
  4. listen 1935;
  5. max_connections 1000;
  6. daemon off;
  7. srs_log_tank console;
  8. vhost __defaultVhost__ {
  9. exec {
  10. enabled on;
  11. publish ./objs/ffmpeg/bin/ffmpeg -f flv -i [url] -c copy -y ./[stream].flv;
  12. }
  13. }