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
lovecat
2015-08-25 11:46:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9c2beffe8fb0823b661f8432b56c0a27a9fc5073
9c2beffe
1 parent
15102a73
statistic connection bytes before remove client.
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
2 行增加
和
3 行删除
trunk/src/app/srs_app_rtmp_conn.cpp
trunk/src/app/srs_app_server.cpp
trunk/src/app/srs_app_rtmp_conn.cpp
查看文件 @
9c2beff
...
...
@@ -210,9 +210,7 @@ int SrsRtmpConn::do_cycle()
ret
=
service_cycle
();
http_hooks_on_close
();
SrsStatistic
*
stat
=
SrsStatistic
::
instance
();
stat
->
on_disconnect
(
_srs_context
->
get_id
());
return
ret
;
}
...
...
trunk/src/app/srs_app_server.cpp
查看文件 @
9c2beff
...
...
@@ -896,6 +896,7 @@ void SrsServer::remove(SrsConnection* conn)
SrsStatistic
*
stat
=
SrsStatistic
::
instance
();
stat
->
kbps_add_delta
(
conn
);
stat
->
on_disconnect
(
conn
->
srs_id
());
// all connections are created by server,
// so we free it here.
...
...
请
注册
或
登录
后发表评论