mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-23 09:22:21 +08:00
添加rtp rtmp个数统计
This commit is contained in:
@@ -146,4 +146,8 @@ RtmpPacket::Ptr RtmpPacket::create(){
|
||||
#endif
|
||||
}
|
||||
|
||||
}//namespace mediakit
|
||||
}//namespace mediakit
|
||||
|
||||
namespace toolkit {
|
||||
StatisticImp(mediakit::RtmpPacket);
|
||||
}
|
||||
@@ -213,6 +213,10 @@ private:
|
||||
RtmpPacket(){
|
||||
clear();
|
||||
}
|
||||
|
||||
private:
|
||||
//对象个数统计
|
||||
ObjectStatistic<RtmpPacket> _statistic;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user