Committed by
GitHub
Update srs_app_source.cpp
enabled 为true才进行转发实例创建
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -2342,7 +2342,7 @@ int SrsSource::create_forwarders() | @@ -2342,7 +2342,7 @@ int SrsSource::create_forwarders() | ||
| 2342 | { | 2342 | { |
| 2343 | int ret = ERROR_SUCCESS; | 2343 | int ret = ERROR_SUCCESS; |
| 2344 | 2344 | ||
| 2345 | - if (_srs_config->get_forward_enabled(req->vhost)) { | 2345 | + if (!_srs_config->get_forward_enabled(req->vhost)) { |
| 2346 | return ret; | 2346 | return ret; |
| 2347 | } | 2347 | } |
| 2348 | 2348 |
-
请 注册 或 登录 后发表评论