mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-11-24 00:47:21 +08:00
Add network traffic statistics (#4239)
Co-authored-by: xiongguangjie <xiong_panda@163.com> Co-authored-by: xia-chu <771730766@qq.com>
This commit is contained in:
@@ -57,4 +57,11 @@ void TsPlayer::onResponseBody(const char *buf, size_t size) {
|
||||
}
|
||||
}
|
||||
|
||||
size_t TsPlayer::getRecvSpeed() {
|
||||
return TcpClient::getRecvSpeed();
|
||||
}
|
||||
|
||||
size_t TsPlayer::getRecvTotalBytes() {
|
||||
return TcpClient::getRecvTotalBytes();
|
||||
}
|
||||
} // namespace mediakit
|
||||
Reference in New Issue
Block a user