mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add ingest to mac.dev conf.
This commit is contained in:
parent
74d6f27519
commit
5370493140
1 changed files with 13 additions and 0 deletions
|
@ -20,4 +20,17 @@ vhost __defaultVhost__ {
|
|||
hls_window 60;
|
||||
hls_path ./objs/nginx/html;
|
||||
}
|
||||
ingest livestream {
|
||||
enabled on;
|
||||
input {
|
||||
type file;
|
||||
url ./doc/source.200kbps.768x320.flv;
|
||||
}
|
||||
#ffmpeg ./objs/ffmpeg/bin/ffmpeg;
|
||||
ffmpeg ./objs/research/librtmp/srs_ingest_flv;
|
||||
engine {
|
||||
enabled off;
|
||||
output rtmp://127.0.0.1:[port]/live?vhost=[vhost]/livestream;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue