1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00
srs/trunk/conf/mac.dev.conf

37 lines
907 B
Text
Raw Normal View History

2015-03-10 05:13:31 +00:00
# no-daemon and write log to console config for srs.
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
daemon off;
srs_log_tank console;
http_api {
enabled on;
listen 1985;
}
http_server {
enabled on;
listen 8080;
}
vhost __defaultVhost__ {
hls {
enabled on;
hls_fragment 10;
hls_window 60;
hls_path ./objs/nginx/html;
}
2015-03-11 05:24:14 +00:00
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;
}
}
2015-03-10 05:13:31 +00:00
}