ingest.conf 576 B

1234567891011121314151617181920
  1. # use ffmpeg to ingest file/stream/device to SRS
  2. # @see https://github.com/ossrs/srs/wiki/v1_CN_SampleIngest
  3. # @see full.conf for detail config.
  4. listen 1935;
  5. max_connections 1000;
  6. vhost __defaultVhost__ {
  7. ingest livestream {
  8. enabled on;
  9. input {
  10. type file;
  11. url ./doc/source.200kbps.768x320.flv;
  12. }
  13. ffmpeg ./objs/ffmpeg/bin/ffmpeg;
  14. engine {
  15. enabled off;
  16. output rtmp://127.0.0.1:[port]/live?vhost=[vhost]/livestream;
  17. }
  18. }
  19. }