mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine framework to calc the kbps
This commit is contained in:
parent
3f33dffdb3
commit
9006194cd7
21 changed files with 153 additions and 131 deletions
|
@ -375,16 +375,6 @@ int64_t SrsRtmpClient::get_send_bytes()
|
|||
return protocol->get_send_bytes();
|
||||
}
|
||||
|
||||
int SrsRtmpClient::get_recv_kbps()
|
||||
{
|
||||
return protocol->get_recv_kbps();
|
||||
}
|
||||
|
||||
int SrsRtmpClient::get_send_kbps()
|
||||
{
|
||||
return protocol->get_send_kbps();
|
||||
}
|
||||
|
||||
int SrsRtmpClient::recv_message(SrsMessage** pmsg)
|
||||
{
|
||||
return protocol->recv_message(pmsg);
|
||||
|
@ -730,16 +720,6 @@ int64_t SrsRtmpServer::get_send_bytes()
|
|||
return protocol->get_send_bytes();
|
||||
}
|
||||
|
||||
int SrsRtmpServer::get_recv_kbps()
|
||||
{
|
||||
return protocol->get_recv_kbps();
|
||||
}
|
||||
|
||||
int SrsRtmpServer::get_send_kbps()
|
||||
{
|
||||
return protocol->get_send_kbps();
|
||||
}
|
||||
|
||||
int SrsRtmpServer::recv_message(SrsMessage** pmsg)
|
||||
{
|
||||
return protocol->recv_message(pmsg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue