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

28 lines
718 B
Text
Raw Normal View History

2015-05-05 03:44:20 +00:00
# push HTTP FLV to SRS.
# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_Streamer#push-http-flv-to-srs
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
2015-05-07 03:07:32 +00:00
http_server {
enabled on;
listen 8080;
dir ./objs/nginx/html;
}
2015-05-05 03:44:20 +00:00
stream_caster {
enabled on;
caster flv;
output rtmp://127.0.0.1/[app]/[stream];
listen 8936;
}
vhost __defaultVhost__ {
2015-05-07 03:07:32 +00:00
hls {
enabled on;
hls_fragment 10;
hls_window 60;
hls_path ./objs/nginx/html;
hls_m3u8_file [app]/[stream].m3u8;
hls_ts_file [app]/[stream]-[seq].ts;
}
2015-05-05 03:44:20 +00:00
}