1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 19:31:53 +00:00

Update default srs.conf, enable HLS and HTTP-FLV

This commit is contained in:
winlin 2020-10-23 21:00:29 +08:00
parent cc6b71e1ae
commit f036460164

View file

@ -5,6 +5,7 @@ listen 1935;
max_connections 1000; max_connections 1000;
srs_log_tank file; srs_log_tank file;
srs_log_file ./objs/srs.log; srs_log_file ./objs/srs.log;
daemon on;
http_api { http_api {
enabled on; enabled on;
listen 1985; listen 1985;
@ -19,4 +20,11 @@ stats {
disk sda sdb xvda xvdb; disk sda sdb xvda xvdb;
} }
vhost __defaultVhost__ { vhost __defaultVhost__ {
hls {
enabled on;
}
http_remux {
enabled on;
mount [vhost]/[app]/[stream].flv;
}
} }