mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
update log, add dsu(debug_srs_upnode), 0.9.204
This commit is contained in:
parent
f549f88ed8
commit
4d5414faec
4 changed files with 9 additions and 6 deletions
|
@ -256,7 +256,8 @@ int SrsEdgeIngester::connect_app(string ep_server, string ep_port)
|
||||||
// the debug_srs_upnode is config in vhost and default to true.
|
// the debug_srs_upnode is config in vhost and default to true.
|
||||||
bool debug_srs_upnode = _srs_config->get_debug_srs_upnode(req->vhost);
|
bool debug_srs_upnode = _srs_config->get_debug_srs_upnode(req->vhost);
|
||||||
if ((ret = client->connect_app(req->app, tc_url, req, debug_srs_upnode)) != ERROR_SUCCESS) {
|
if ((ret = client->connect_app(req->app, tc_url, req, debug_srs_upnode)) != ERROR_SUCCESS) {
|
||||||
srs_error("connect with server failed, tcUrl=%s. ret=%d", tc_url.c_str(), ret);
|
srs_error("connect with server failed, tcUrl=%s, dsu=%d. ret=%d",
|
||||||
|
tc_url.c_str(), debug_srs_upnode, ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -686,7 +687,8 @@ int SrsEdgeForwarder::connect_app(string ep_server, string ep_port)
|
||||||
// the debug_srs_upnode is config in vhost and default to true.
|
// the debug_srs_upnode is config in vhost and default to true.
|
||||||
bool debug_srs_upnode = _srs_config->get_debug_srs_upnode(req->vhost);
|
bool debug_srs_upnode = _srs_config->get_debug_srs_upnode(req->vhost);
|
||||||
if ((ret = client->connect_app(req->app, tc_url, req, debug_srs_upnode)) != ERROR_SUCCESS) {
|
if ((ret = client->connect_app(req->app, tc_url, req, debug_srs_upnode)) != ERROR_SUCCESS) {
|
||||||
srs_error("connect with server failed, tcUrl=%s. ret=%d", tc_url.c_str(), ret);
|
srs_error("connect with server failed, tcUrl=%s, dsu=%d. ret=%d",
|
||||||
|
tc_url.c_str(), debug_srs_upnode, ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -352,7 +352,8 @@ int SrsForwarder::connect_app(string ep_server, string ep_port)
|
||||||
// the debug_srs_upnode is config in vhost and default to true.
|
// the debug_srs_upnode is config in vhost and default to true.
|
||||||
bool debug_srs_upnode = _srs_config->get_debug_srs_upnode(req->vhost);
|
bool debug_srs_upnode = _srs_config->get_debug_srs_upnode(req->vhost);
|
||||||
if ((ret = client->connect_app(req->app, tc_url, req, debug_srs_upnode)) != ERROR_SUCCESS) {
|
if ((ret = client->connect_app(req->app, tc_url, req, debug_srs_upnode)) != ERROR_SUCCESS) {
|
||||||
srs_error("connect with server failed, tcUrl=%s. ret=%d", tc_url.c_str(), ret);
|
srs_error("connect with server failed, tcUrl=%s, dsu=%d. ret=%d",
|
||||||
|
tc_url.c_str(), debug_srs_upnode, ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
// current release version
|
// current release version
|
||||||
#define VERSION_MAJOR "0"
|
#define VERSION_MAJOR "0"
|
||||||
#define VERSION_MINOR "9"
|
#define VERSION_MINOR "9"
|
||||||
#define VERSION_REVISION "203"
|
#define VERSION_REVISION "204"
|
||||||
#define RTMP_SIG_SRS_VERSION VERSION_MAJOR"."VERSION_MINOR"."VERSION_REVISION
|
#define RTMP_SIG_SRS_VERSION VERSION_MAJOR"."VERSION_MINOR"."VERSION_REVISION
|
||||||
// server info.
|
// server info.
|
||||||
#define RTMP_SIG_SRS_KEY "SRS"
|
#define RTMP_SIG_SRS_KEY "SRS"
|
||||||
|
|
|
@ -536,8 +536,8 @@ int SrsRtmpClient::connect_app2(
|
||||||
srs_pid = (int)prop->to_number();
|
srs_pid = (int)prop->to_number();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
srs_trace("connected, version=%s, ip=%s, pid=%d, id=%d",
|
srs_trace("connected, version=%s, ip=%s, pid=%d, id=%d, dsu=%d",
|
||||||
srs_version.c_str(), srs_server_ip.c_str(), srs_pid, srs_id);
|
srs_version.c_str(), srs_server_ip.c_str(), srs_pid, srs_id, debug_srs_upnode);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue