Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2015-01-20 10:53:57 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e5ef4c2e666d0f38fa44d012a986bf7efe8e371a
e5ef4c2e
1 parent
463f75f1
update the conf of http static and stream.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
27 行增加
和
4 行删除
trunk/conf/full.conf
trunk/conf/full.conf
查看文件 @
e5ef4c2
...
...
@@ -350,11 +350,23 @@ vhost http.static.srs.com {
# whether enabled the http static service for vhost.
# default: off
enabled
on
;
# the virtual directory root for this vhost to mount at
# for example, if mount to [vhost]/hls, user access by http://[vhost]/hls
# the url to mount to,
# typical mount to [vhost]/
# the variables:
# [vhost] current vhost for http server.
# @remark the [vhost] is optional, used to mount at specified vhost.
# @remark the http of __defaultVhost__ will override the http_stream section.
# for example:
# mount to [vhost]/
# access by http://ossrs.net/xxx.html
# mount to [vhost]/hls
# access by http://ossrs.net/hls/xxx.html
# mount to /
# access by http://ossrs.net/xxx.html
# or by http://192.168.1.173/xxx.html
# mount to /hls
# access by http://ossrs.net/hls/xxx.html
# or by http://192.168.1.173/hls/xxx.html
# default: [vhost]/
mount
[
vhost
]/
hls
;
# main dir of vhost,
...
...
@@ -364,7 +376,7 @@ vhost http.static.srs.com {
}
}
# vhost for http flv live stream for each vhost.
# vhost for http flv
/aac/mp3
live stream for each vhost.
vhost
http
.
flv
.
srs
.
com
{
# http flv stream vhost specified config
http_flv
{
...
...
@@ -377,15 +389,26 @@ vhost http.flv.srs.com {
# default: 30
fast_cache
30
;
# the stream mout for rtmp to remux to flv live streaming.
#
for example, if mount to [vhost]/[app]/[stream].flv, user access by http://
[vhost]/[app]/[stream].flv
#
typical mount to
[vhost]/[app]/[stream].flv
# the variables:
# [vhost] current vhost for http flv live stream.
# [app] current app for http flv live stream.
# [stream] current stream for http flv live stream.
# @remark the [vhost] is optional, used to mount at specified vhost.
# the extension:
# .flv mount http live flv stream, use default gop cache.
# .mp3 mount http live mp3 stream, ignore video and audio mp3 codec required.
# .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
# mount to /[app]/[stream].flv
# access by http://ossrs.net/live/livestream.flv
# or by http://192.168.1.173/live/livestream.flv
# mount to [vhost]/[app]/[stream].mp3
# access by http://ossrs.net/live/livestream.mp3
# mount to [vhost]/[app]/[stream].aac
# access by http://ossrs.net/live/livestream.aac
# default: [vhost]/[app]/[stream].flv
mount
[
vhost
]/[
app
]/[
stream
].
flv
;
}
...
...
请
注册
或
登录
后发表评论