add ingest to mac.dev conf.
This commit is contained in:
parent
74d6f27519
commit
5370493140
|
|
@ -20,4 +20,17 @@ vhost __defaultVhost__ {
|
||||||
hls_window 60;
|
hls_window 60;
|
||||||
hls_path ./objs/nginx/html;
|
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…
Reference in New Issue
Block a user