mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 11:21:52 +00:00
Update default srs.conf, enable HLS and HTTP-FLV
This commit is contained in:
parent
cc6b71e1ae
commit
f036460164
1 changed files with 8 additions and 0 deletions
|
@ -5,6 +5,7 @@ listen 1935;
|
|||
max_connections 1000;
|
||||
srs_log_tank file;
|
||||
srs_log_file ./objs/srs.log;
|
||||
daemon on;
|
||||
http_api {
|
||||
enabled on;
|
||||
listen 1985;
|
||||
|
@ -19,4 +20,11 @@ stats {
|
|||
disk sda sdb xvda xvdb;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
hls {
|
||||
enabled on;
|
||||
}
|
||||
http_remux {
|
||||
enabled on;
|
||||
mount [vhost]/[app]/[stream].flv;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue