正在显示
5 个修改的文件
包含
2 行增加
和
2 行删除
trunk/conf/full.conf
100755 → 100644
trunk/conf/srs.conf
100755 → 100644
| @@ -670,6 +670,7 @@ int SrsConfig::parse_file(const char* filename) | @@ -670,6 +670,7 @@ int SrsConfig::parse_file(const char* filename) | ||
| 670 | } | 670 | } |
| 671 | 671 | ||
| 672 | SrsConfDirective* conf = NULL; | 672 | SrsConfDirective* conf = NULL; |
| 673 | + // check rtmp port specified by directive listen. | ||
| 673 | if ((conf = get_listen()) == NULL || conf->args.size() == 0) { | 674 | if ((conf = get_listen()) == NULL || conf->args.size() == 0) { |
| 674 | ret = ERROR_SYSTEM_CONFIG_INVALID; | 675 | ret = ERROR_SYSTEM_CONFIG_INVALID; |
| 675 | srs_error("line %d: conf error, " | 676 | srs_error("line %d: conf error, " |
| @@ -325,7 +325,7 @@ int SrsServer::accept_client(SrsListenerType type, st_netfd_t client_stfd) | @@ -325,7 +325,7 @@ int SrsServer::accept_client(SrsListenerType type, st_netfd_t client_stfd) | ||
| 325 | if (type == SrsListenerStream) { | 325 | if (type == SrsListenerStream) { |
| 326 | conn = new SrsClient(this, client_stfd); | 326 | conn = new SrsClient(this, client_stfd); |
| 327 | } else { | 327 | } else { |
| 328 | - // handler others | 328 | + // TODO: FIXME: handler others |
| 329 | } | 329 | } |
| 330 | srs_assert(conn); | 330 | srs_assert(conn); |
| 331 | 331 |
-
请 注册 或 登录 后发表评论