exec.conf 348 B

123456789101112
  1. # the config for srs to support nginx-rtmp exec.
  2. # @see https://github.com/ossrs/srs/wiki/v3_CN_NgExec
  3. # @see full.conf for detail config.
  4. listen 1935;
  5. max_connections 1000;
  6. vhost __defaultVhost__ {
  7. exec {
  8. enabled on;
  9. publish ./objs/ffmpeg/bin/ffmpeg -f flv -i [url] -c copy -y ./[stream].flv;
  10. }
  11. }