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-11-18 17:30:40 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
749fac414b894f3ac4a9500f021a5b5ffd7f01d0
749fac41
1 parent
1bf32a15
refine code, donot response call when transaction id is zero.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
trunk/src/app/srs_app_rtmp_conn.cpp
trunk/src/app/srs_app_rtmp_conn.cpp
查看文件 @
749fac4
...
...
@@ -922,7 +922,9 @@ int SrsRtmpConn::process_play_control_msg(SrsConsumer* consumer, SrsMessage* msg
// @see https://github.com/winlinvip/simple-rtmp-server/issues/106
// TODO: FIXME: response in right way, or forward in edge mode.
SrsCallPacket
*
call
=
dynamic_cast
<
SrsCallPacket
*>
(
pkt
);
if
(
call
)
{
// only response it when transaction id not zero,
// for the zero means donot need response.
if
(
call
&&
call
->
transaction_id
>
0
)
{
SrsCallResPacket
*
res
=
new
SrsCallResPacket
(
call
->
transaction_id
);
res
->
command_object
=
SrsAmf0Any
::
null
();
res
->
response
=
SrsAmf0Any
::
null
();
...
...
请
注册
或
登录
后发表评论