mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
统计TcpServer个数
This commit is contained in:
parent
272d1a8bd9
commit
bad9553ec4
@ -1 +1 @@
|
||||
Subproject commit 6a21c58fa2e21416306c5a9cc88f943b882253e6
|
||||
Subproject commit 57165f6dd5291c1cf794cac531a58ec2f3016b8a
|
@ -1031,6 +1031,7 @@ void installWebApi() {
|
||||
val["data"]["MediaSource"] = (Json::UInt64)(ObjectStatistic<MediaSource>::count());
|
||||
val["data"]["MultiMediaSourceMuxer"] = (Json::UInt64)(ObjectStatistic<MultiMediaSourceMuxer>::count());
|
||||
|
||||
val["data"]["TcpServer"] = (Json::UInt64)(ObjectStatistic<TcpServer>::count());
|
||||
val["data"]["TcpSession"] = (Json::UInt64)(ObjectStatistic<TcpSession>::count());
|
||||
val["data"]["TcpClient"] = (Json::UInt64)(ObjectStatistic<TcpClient>::count());
|
||||
val["data"]["Socket"] = (Json::UInt64)(ObjectStatistic<Socket>::count());
|
||||
|
Loading…
Reference in New Issue
Block a user