正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -138,6 +138,7 @@ int SrsHttpHooks::on_publish(string url, SrsRequest* req) | @@ -138,6 +138,7 @@ int SrsHttpHooks::on_publish(string url, SrsRequest* req) | ||
138 | << SRS_JFIELD_STR("ip", req->ip) << SRS_JFIELD_CONT | 138 | << SRS_JFIELD_STR("ip", req->ip) << SRS_JFIELD_CONT |
139 | << SRS_JFIELD_STR("vhost", req->vhost) << SRS_JFIELD_CONT | 139 | << SRS_JFIELD_STR("vhost", req->vhost) << SRS_JFIELD_CONT |
140 | << SRS_JFIELD_STR("app", req->app) << SRS_JFIELD_CONT | 140 | << SRS_JFIELD_STR("app", req->app) << SRS_JFIELD_CONT |
141 | + << SRS_JFIELD_STR("tcUrl", req->tcUrl) << SRS_JFIELD_CONT // Add tcUrl for auth publish rtmp stream client | ||
141 | << SRS_JFIELD_STR("stream", req->stream) | 142 | << SRS_JFIELD_STR("stream", req->stream) |
142 | << SRS_JOBJECT_END; | 143 | << SRS_JOBJECT_END; |
143 | 144 |
-
请 注册 或 登录 后发表评论