mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-26 20:02:21 +08:00
添加rtp rtmp个数统计
This commit is contained in:
@@ -545,4 +545,8 @@ RtpPacket::Ptr RtpPacket::create(){
|
||||
#endif
|
||||
}
|
||||
|
||||
}//namespace mediakit
|
||||
}//namespace mediakit
|
||||
|
||||
namespace toolkit {
|
||||
StatisticImp(mediakit::RtpPacket);
|
||||
}
|
||||
@@ -172,6 +172,10 @@ public:
|
||||
private:
|
||||
friend class ResourcePool_l<RtpPacket>;
|
||||
RtpPacket() = default;
|
||||
|
||||
private:
|
||||
//对象个数统计
|
||||
ObjectStatistic<RtpPacket> _statistic;
|
||||
};
|
||||
|
||||
class RtpPayload {
|
||||
|
||||
Reference in New Issue
Block a user