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
2016-09-13 18:08:19 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
77bca7cc05ceab0e69cc0f3b71775f786c4d9cd7
77bca7cc
2 parents
6b8fe92a
53d2eb5e
Merge branch '2.0release' into develop
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
6 行增加
和
0 行删除
trunk/src/libs/srs_librtmp.cpp
trunk/src/libs/srs_librtmp.cpp
查看文件 @
77bca7c
...
...
@@ -2028,6 +2028,9 @@ int64_t srs_utils_send_bytes(srs_rtmp_t rtmp)
{
srs_assert
(
rtmp
!=
NULL
);
Context
*
context
=
(
Context
*
)
rtmp
;
if
(
!
context
->
rtmp
)
{
return
0
;
}
return
context
->
rtmp
->
get_send_bytes
();
}
...
...
@@ -2035,6 +2038,9 @@ int64_t srs_utils_recv_bytes(srs_rtmp_t rtmp)
{
srs_assert
(
rtmp
!=
NULL
);
Context
*
context
=
(
Context
*
)
rtmp
;
if
(
!
context
->
rtmp
)
{
return
0
;
}
return
context
->
rtmp
->
get_recv_bytes
();
}
...
...
请
注册
或
登录
后发表评论