Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
flowerwrong
2016-01-08 15:10:25 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9ddd0054a17b4dbee76294387b91bf7342530b80
9ddd0054
1 parent
8155e97b
Add tcUrl to on_publish http hook for issue #548
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
trunk/src/app/srs_app_http_hooks.cpp
trunk/src/app/srs_app_http_hooks.cpp
查看文件 @
9ddd005
...
...
@@ -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
;
...
...
请
注册
或
登录
后发表评论