Skip to content

Commit

Permalink
Merge pull request #558 from FlowerWrong/2.0release
Browse files Browse the repository at this point in the history
Add tcUrl to on_publish http hook for issue #548
  • Loading branch information
winlinvip committed Jan 9, 2016
2 parents 8155e97 + d42a58f commit dbdd2f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trunk/src/app/srs_app_http_hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ int SrsHttpHooks::on_publish(string url, SrsRequest* req)
<< SRS_JFIELD_STR("ip", req->ip) << SRS_JFIELD_CONT
<< SRS_JFIELD_STR("vhost", req->vhost) << SRS_JFIELD_CONT
<< SRS_JFIELD_STR("app", req->app) << SRS_JFIELD_CONT
<< SRS_JFIELD_STR("tcUrl", req->tcUrl) << SRS_JFIELD_CONT // Add tcUrl for auth publish rtmp stream client
<< SRS_JFIELD_STR("stream", req->stream)
<< SRS_JOBJECT_END;

Expand Down

0 comments on commit dbdd2f2

Please sign in to comment.