Himer
Committed by GitHub

Update srs_app_source.cpp

enabled 为true才进行转发实例创建
@@ -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