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-07 11:37:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1bbdae6632b927230658caae643f8d57a3bf052d
1bbdae66
1 parent
bba60634
refine code.
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
4 行删除
trunk/src/rtmp/srs_protocol_stack.cpp
trunk/src/rtmp/srs_protocol_stack.cpp
查看文件 @
1bbdae6
...
...
@@ -1039,10 +1039,7 @@ int SrsProtocol::do_send_messages(SrsSharedPtrMessage** msgs, int nb_msgs)
iov
[
0
].
iov_len
=
nbh
;
// payload iov
int
payload_size
=
pend
-
p
;
if
(
payload_size
>
out_chunk_size
)
{
payload_size
=
out_chunk_size
;
}
int
payload_size
=
srs_min
(
out_chunk_size
,
pend
-
p
);
iov
[
1
].
iov_base
=
p
;
iov
[
1
].
iov_len
=
payload_size
;
...
...
请
注册
或
登录
后发表评论