mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine conf, add comments for other listen type
This commit is contained in:
parent
2cebaff9d8
commit
a0c0c94cf0
5 changed files with 2 additions and 2 deletions
|
@ -670,6 +670,7 @@ int SrsConfig::parse_file(const char* filename)
|
|||
}
|
||||
|
||||
SrsConfDirective* conf = NULL;
|
||||
// check rtmp port specified by directive listen.
|
||||
if ((conf = get_listen()) == NULL || conf->args.size() == 0) {
|
||||
ret = ERROR_SYSTEM_CONFIG_INVALID;
|
||||
srs_error("line %d: conf error, "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue