1
0
Fork 0
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:
winlin 2014-03-21 14:00:26 +08:00
parent 2cebaff9d8
commit a0c0c94cf0
5 changed files with 2 additions and 2 deletions

View file

@ -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, "