X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=httpd.h;h=9cfe1ad87ffd9386ea404b5c44e8519ee7128f64;hb=refs%2Fheads%2Fmjpeg;hp=1ff5c51108facf03ca1b0d8fc2f076a63938e595;hpb=817fffe1ef3bd87f2387395f49487cf5255d8daf;p=nageru diff --git a/httpd.h b/httpd.h index 1ff5c51..9cfe1ad 100644 --- a/httpd.h +++ b/httpd.h @@ -57,6 +57,9 @@ public: int64_t get_num_connected_clients() const { return metric_num_connected_clients.load(); } + int64_t get_num_connected_multicam_clients() const { + return metric_num_connected_multicam_clients.load(); + } private: static int answer_to_connection_thunk(void *cls, MHD_Connection *connection, @@ -119,6 +122,7 @@ private: // Metrics. std::atomic metric_num_connected_clients{0}; + std::atomic metric_num_connected_multicam_clients{0}; }; #endif // !defined(_HTTPD_H)