mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support token auth in connect args. 0.9.128
This commit is contained in:
parent
6ff193c989
commit
10953c9743
14 changed files with 218 additions and 98 deletions
|
@ -129,7 +129,7 @@ int SrsEdgeIngester::cycle()
|
|||
srs_error("handshake with server failed. ret=%d", ret);
|
||||
return ret;
|
||||
}
|
||||
if ((ret = client->connect_app(req->app, req->tcUrl)) != ERROR_SUCCESS) {
|
||||
if ((ret = client->connect_app(req->app, req->tcUrl, req)) != ERROR_SUCCESS) {
|
||||
srs_error("connect with server failed, tcUrl=%s. ret=%d", req->tcUrl.c_str(), ret);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue