mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add args3
This commit is contained in:
parent
1fd83d9314
commit
225e742657
2 changed files with 20 additions and 10 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue