mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix bugs
This commit is contained in:
parent
fabcc91a0e
commit
5ac8177ce6
6 changed files with 28 additions and 13 deletions
|
@ -410,7 +410,7 @@ int SrsRtmpConn::do_cycle()
|
|||
srs_info("discovery app success. schema=%s, vhost=%s, port=%s, app=%s",
|
||||
req->schema.c_str(), req->vhost.c_str(), req->port.c_str(), req->app.c_str());
|
||||
|
||||
if (req->schema.empty() || req->vhost.empty() || req->app.empty()) {
|
||||
if (req->schema.empty() || req->vhost.empty() || req->port == 0 || req->app.empty()) {
|
||||
ret = ERROR_RTMP_REQ_TCURL;
|
||||
srs_error("discovery tcUrl failed. "
|
||||
"tcUrl=%s, schema=%s, vhost=%s, port=%d, app=%s, ret=%d",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue