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-09-17 14:03:25 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
225e7426579efcbd9d1efb6ccde7c2c15091db25
225e7426
1 parent
1fd83d93
add args3
显示空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
10 行增加
和
0 行删除
trunk/src/app/srs_app_config.cpp
trunk/src/app/srs_app_config.hpp
trunk/src/app/srs_app_config.cpp
查看文件 @
225e742
...
...
@@ -670,6 +670,15 @@ string SrsConfDirective::arg2()
return
""
;
}
string
SrsConfDirective
::
arg3
()
{
if
(
args
.
size
()
>
3
)
{
return
args
.
at
(
3
);
}
return
""
;
}
SrsConfDirective
*
SrsConfDirective
::
at
(
int
index
)
{
srs_assert
(
index
<
(
int
)
directives
.
size
());
...
...
trunk/src/app/srs_app_config.hpp
查看文件 @
225e742
...
...
@@ -201,6 +201,7 @@ public:
virtual
std
::
string
arg0
();
virtual
std
::
string
arg1
();
virtual
std
::
string
arg2
();
virtual
std
::
string
arg3
();
// directives
public:
/**
...
...
请
注册
或
登录
后发表评论