mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 19:51:49 +08:00
添加网速统计功能
This commit is contained in:
@@ -66,6 +66,10 @@ const string& MediaSource::getId() const {
|
||||
return _stream_id;
|
||||
}
|
||||
|
||||
int MediaSource::getBytesSpeed(){
|
||||
return _speed.getSpeed();
|
||||
}
|
||||
|
||||
vector<Track::Ptr> MediaSource::getTracks(bool ready) const {
|
||||
auto listener = _listener.lock();
|
||||
if(!listener){
|
||||
|
||||
Reference in New Issue
Block a user