mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
for #334, refine code, use kbps instead skt of rtmp connection.
This commit is contained in:
parent
a95bd7d30e
commit
c92d40e00b
1 changed files with 1 additions and 1 deletions
|
@ -1294,7 +1294,7 @@ void SrsRtmpConn::http_hooks_on_close()
|
|||
int connection_id = _srs_context->get_id();
|
||||
for (int i = 0; i < (int)on_close->args.size(); i++) {
|
||||
std::string url = on_close->args.at(i);
|
||||
SrsHttpHooks::on_close(url, connection_id, ip, req, skt->get_send_bytes(), skt->get_recv_bytes());
|
||||
SrsHttpHooks::on_close(url, connection_id, ip, req, kbps->get_send_bytes(), kbps->get_recv_bytes());
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue