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-12-31 20:20:32 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1824e18bd2d7d446e0faa17a598e9e0b3aa329d3
1824e18b
1 parent
12f4abd5
fix the comment bug.
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
3 行增加
和
3 行删除
trunk/src/rtmp/srs_protocol_rtmp.cpp
trunk/src/rtmp/srs_protocol_stack.cpp
trunk/src/rtmp/srs_protocol_rtmp.cpp
查看文件 @
1824e18
...
...
@@ -1123,10 +1123,10 @@ int SrsRtmpServer::start_play(int stream_id)
pkt
->
data
->
set
(
StatusClientId
,
SrsAmf0Any
::
str
(
RTMP_SIG_CLIENT_ID
));
if
((
ret
=
protocol
->
send_and_free_packet
(
pkt
,
stream_id
))
!=
ERROR_SUCCESS
)
{
srs_error
(
"send onStatus(NetStream.Play.
Rese
t) message failed. ret=%d"
,
ret
);
srs_error
(
"send onStatus(NetStream.Play.
Star
t) message failed. ret=%d"
,
ret
);
return
ret
;
}
srs_info
(
"send onStatus(NetStream.Play.
Rese
t) message success."
);
srs_info
(
"send onStatus(NetStream.Play.
Star
t) message success."
);
}
// |RtmpSampleAccess(false, false)
...
...
trunk/src/rtmp/srs_protocol_stack.cpp
查看文件 @
1824e18
...
...
@@ -1788,7 +1788,7 @@ int SrsProtocol::on_recv_message(SrsCommonMessage* msg)
if
(
pkt
->
ackowledgement_window_size
>
0
)
{
in_ack_size
.
ack_window_size
=
pkt
->
ackowledgement_window_size
;
// @rema
kr
, we ignore this message, for user noneed to care.
// @rema
rk
, we ignore this message, for user noneed to care.
// but it's important for dev, for client/server will block if required
// ack msg not arrived.
srs_info
(
"set ack window size to %d"
,
pkt
->
ackowledgement_window_size
);
...
...
请
注册
或
登录
后发表评论