mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix bug #73, http callback api support authentication in tcUrl
This commit is contained in:
parent
f37faf7236
commit
d4b8fee61a
4 changed files with 5 additions and 3 deletions
|
@ -69,6 +69,7 @@ int SrsHttpHooks::on_connect(string url, int client_id, string ip, SrsRequest* r
|
|||
<< JFIELD_STR("ip", ip) << JFIELD_CONT
|
||||
<< JFIELD_STR("vhost", req->vhost) << JFIELD_CONT
|
||||
<< JFIELD_STR("app", req->app) << JFIELD_CONT
|
||||
<< JFIELD_STR("tcUrl", req->tcUrl) << JFIELD_CONT
|
||||
<< JFIELD_STR("pageUrl", req->pageUrl)
|
||||
<< JOBJECT_END;
|
||||
std::string data = ss.str();
|
||||
|
|
|
@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
// current release version
|
||||
#define VERSION_MAJOR "0"
|
||||
#define VERSION_MINOR "9"
|
||||
#define VERSION_REVISION "108"
|
||||
#define VERSION_REVISION "109"
|
||||
#define RTMP_SIG_SRS_VERSION VERSION_MAJOR"."VERSION_MINOR"."VERSION_REVISION
|
||||
// server info.
|
||||
#define RTMP_SIG_SRS_KEY "SRS"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue