2
0

ingest.conf 631 B

12345678910111213141516171819202122
  1. # use ffmpeg to ingest file/stream/device to SRS
  2. # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-ingest
  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. ingest livestream {
  10. enabled on;
  11. input {
  12. type file;
  13. url ./doc/source.200kbps.768x320.flv;
  14. }
  15. ffmpeg ./objs/ffmpeg/bin/ffmpeg;
  16. engine {
  17. enabled off;
  18. output rtmp://127.0.0.1:[port]/live/livestream?vhost=[vhost];
  19. }
  20. }
  21. }