mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine config, add comments
This commit is contained in:
parent
b4e2d70390
commit
a5f4323ea8
4 changed files with 107 additions and 79 deletions
|
@ -93,8 +93,7 @@ int SrsIngester::parse_ingesters(SrsConfDirective* vhost)
|
|||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
||||
std::vector<SrsConfDirective*> ingesters;
|
||||
_srs_config->get_ingesters(vhost->arg0(), ingesters);
|
||||
std::vector<SrsConfDirective*> ingesters = _srs_config->get_ingesters(vhost->arg0());
|
||||
|
||||
// create engine
|
||||
for (int i = 0; i < (int)ingesters.size(); i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue