mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-15 04:25:58 +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:
@@ -77,4 +77,11 @@ vector<Track::Ptr> TsPlayerImp::getTracks(bool ready) const {
|
||||
return static_pointer_cast<HlsDemuxer>(_demuxer)->getTracks(ready);
|
||||
}
|
||||
|
||||
size_t TsPlayerImp::getRecvSpeed() {
|
||||
return TcpClient::getRecvSpeed();
|
||||
}
|
||||
|
||||
size_t TsPlayerImp::getRecvTotalBytes() {
|
||||
return TcpClient::getRecvTotalBytes();
|
||||
}
|
||||
}//namespace mediakit
|
||||
Reference in New Issue
Block a user