mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
refine conf, add port.
This commit is contained in:
parent
e5ef4c2e66
commit
b735e29d05
1 changed files with 13 additions and 12 deletions
|
@ -358,15 +358,15 @@ vhost http.static.srs.com {
|
|||
# @remark the http of __defaultVhost__ will override the http_stream section.
|
||||
# for example:
|
||||
# mount to [vhost]/
|
||||
# access by http://ossrs.net/xxx.html
|
||||
# access by http://ossrs.net:8080/xxx.html
|
||||
# mount to [vhost]/hls
|
||||
# access by http://ossrs.net/hls/xxx.html
|
||||
# access by http://ossrs.net:8080/hls/xxx.html
|
||||
# mount to /
|
||||
# access by http://ossrs.net/xxx.html
|
||||
# or by http://192.168.1.173/xxx.html
|
||||
# access by http://ossrs.net:8080/xxx.html
|
||||
# or by http://192.168.1.173:8080/xxx.html
|
||||
# mount to /hls
|
||||
# access by http://ossrs.net/hls/xxx.html
|
||||
# or by http://192.168.1.173/hls/xxx.html
|
||||
# access by http://ossrs.net:8080/hls/xxx.html
|
||||
# or by http://192.168.1.173:8080/hls/xxx.html
|
||||
# default: [vhost]/
|
||||
mount [vhost]/hls;
|
||||
# main dir of vhost,
|
||||
|
@ -378,7 +378,7 @@ vhost http.static.srs.com {
|
|||
|
||||
# vhost for http flv/aac/mp3 live stream for each vhost.
|
||||
vhost http.flv.srs.com {
|
||||
# http flv stream vhost specified config
|
||||
# http flv/mp3/aac stream vhost specified config
|
||||
http_flv {
|
||||
# whether enable the http flv live streaming service for vhost.
|
||||
# default: off
|
||||
|
@ -401,14 +401,15 @@ vhost http.flv.srs.com {
|
|||
# .aac mount http live aac stream, ignore video and audio aac codec required.
|
||||
# for example:
|
||||
# mount to [vhost]/[app]/[stream].flv
|
||||
# access by http://ossrs.net/live/livestream.flv
|
||||
# access by http://ossrs.net:8080/live/livestream.flv
|
||||
# mount to /[app]/[stream].flv
|
||||
# access by http://ossrs.net/live/livestream.flv
|
||||
# or by http://192.168.1.173/live/livestream.flv
|
||||
# access by http://ossrs.net:8080/live/livestream.flv
|
||||
# or by http://192.168.1.173:8080/live/livestream.flv
|
||||
# mount to [vhost]/[app]/[stream].mp3
|
||||
# access by http://ossrs.net/live/livestream.mp3
|
||||
# access by http://ossrs.net:8080/live/livestream.mp3
|
||||
# mount to [vhost]/[app]/[stream].aac
|
||||
# access by http://ossrs.net/live/livestream.aac
|
||||
# access by http://ossrs.net:8080/live/livestream.aac
|
||||
# @remark the port of http is specified by http_stream section.
|
||||
# default: [vhost]/[app]/[stream].flv
|
||||
mount [vhost]/[app]/[stream].flv;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue