mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #324, refine code, add hstrs config.
This commit is contained in:
parent
2adc069df0
commit
6d15d0ea99
15 changed files with 97 additions and 50 deletions
|
@ -474,6 +474,12 @@ vhost http.remux.srs.com {
|
|||
# @remark the port of http is specified by http_server section.
|
||||
# default: [vhost]/[app]/[stream].flv
|
||||
mount [vhost]/[app]/[stream].flv;
|
||||
# whether http stream trigger rtmp stream source when no stream available,
|
||||
# for example, when encoder has not publish stream yet,
|
||||
# user can play the http flv stream and wait for stream.
|
||||
# TODO: FIXME: for edge vhost, automatically trigger the backsource connection.
|
||||
# default: on
|
||||
hstrs on;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -14,5 +14,7 @@ vhost __defaultVhost__ {
|
|||
enabled on;
|
||||
fast_cache 30;
|
||||
mount [vhost]/[app]/[stream].aac;
|
||||
hstrs on;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,5 +13,6 @@ vhost __defaultVhost__ {
|
|||
http_remux {
|
||||
enabled on;
|
||||
mount [vhost]/[app]/[stream].flv;
|
||||
hstrs on;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,5 +14,7 @@ vhost __defaultVhost__ {
|
|||
enabled on;
|
||||
fast_cache 30;
|
||||
mount [vhost]/[app]/[stream].mp3;
|
||||
hstrs on;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,5 +13,6 @@ vhost __defaultVhost__ {
|
|||
http_remux {
|
||||
enabled on;
|
||||
mount [vhost]/[app]/[stream].ts;
|
||||
hstrs on;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue