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:55:38 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
df35f75df1b1fa2c1ffedb24f637a6ef1430baa7
df35f75d
1 parent
89110d97
refine response call, 2.0.24
显示空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
4 行增加
和
2 行删除
trunk/src/app/srs_app_rtmp_conn.cpp
trunk/src/core/srs_core.hpp
trunk/src/app/srs_app_rtmp_conn.cpp
查看文件 @
df35f75
...
...
@@ -922,9 +922,10 @@ 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
)
{
if
(
call
->
transaction_id
>
0
)
{
SrsCallResPacket
*
res
=
new
SrsCallResPacket
(
call
->
transaction_id
);
res
->
command_object
=
SrsAmf0Any
::
null
();
res
->
response
=
SrsAmf0Any
::
null
();
...
...
@@ -932,6 +933,7 @@ int SrsRtmpConn::process_play_control_msg(SrsConsumer* consumer, SrsMessage* msg
srs_warn
(
"response call failed. ret=%d"
,
ret
);
return
ret
;
}
}
return
ret
;
}
...
...
trunk/src/core/srs_core.hpp
查看文件 @
df35f75
...
...
@@ -31,7 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// current release version
#define VERSION_MAJOR 2
#define VERSION_MINOR 0
#define VERSION_REVISION 2
3
#define VERSION_REVISION 2
4
// server info.
#define RTMP_SIG_SRS_KEY "SRS"
#define RTMP_SIG_SRS_ROLE "origin/edge server"
...
...
请
注册
或
登录
后发表评论