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-08-23 21:53:20 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cbfe438e73a96e4e0f52d77daf3195073b6ea6e4
cbfe438e
1 parent
5e48dab2
for #367, design the config for exec.
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
20 行增加
和
0 行删除
trunk/conf/full.conf
trunk/conf/full.conf
查看文件 @
cbfe438
...
...
@@ -919,6 +919,26 @@ vhost same.vhost.forward.srs.com {
forward
127
.
0
.
0
.
1
:
1936
127
.
0
.
0
.
1
:
1937
;
}
# the vhost for exec, fork process when publish stream.
vhost
exec
.
srs
.
com
{
# the exec used to fork process when got some event.
exec
{
# whether enable the exec.
# default: off.
enabled
off
;
# when publish stream, exec the process with variables:
# [vhost] the input stream vhost.
# [port] the intput stream port.
# [app] the input stream app.
# [stream] the input stream name.
# [engine] the tanscode engine name.
# other variables for exec only:
# [url] the rtmp url which trigger the publish.
# @remark empty to ignore this exec.
publish
./
objs
/
ffmpeg
/
bin
/
ffmpeg
-
f
flv
-
i
[
url
] -
vcodec
copy
-
acodec
copy
-
f
flv
./[
stream
].
flv
;
}
}
# the main comments for transcode
vhost
example
.
transcode
.
srs
.
com
{
# the streaming transcode configs.
...
...
请
注册
或
登录
后发表评论