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
winlin
2014-06-29 10:32:52 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cb2967c967973a9faf80ca9e5d5d9418ef024367
cb2967c9
1 parent
4d45b330
refine forward, use utility to generate the tcUrl
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
8 行删除
trunk/src/app/srs_app_forward.cpp
trunk/src/app/srs_app_forward.cpp
查看文件 @
cb2967c
...
...
@@ -100,14 +100,7 @@ int SrsForwarder::on_publish(SrsRequest* req, std::string forward_server)
port
=
::
atoi
(
s_port
.
c_str
());
// generate tcUrl
tc_url
=
"rtmp://"
;
if
(
vhost
==
RTMP_VHOST_DEFAULT
)
{
tc_url
+=
forward_server
;
}
else
{
tc_url
+=
vhost
;
}
tc_url
+=
"/"
;
tc_url
+=
req
->
app
;
tc_url
=
srs_generate_tc_url
(
forward_server
,
vhost
,
req
->
app
,
s_port
);
// dead loop check
std
::
string
source_ep
=
"rtmp://"
;
...
...
请
注册
或
登录
后发表评论