X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=httpd.h;h=9cfe1ad87ffd9386ea404b5c44e8519ee7128f64;hb=7cd8d9079f89d091f3332de1cdfee46136d2d74f;hp=1ff5c51108facf03ca1b0d8fc2f076a63938e595;hpb=16e6694c62f62250b1c5d6923ed93c674c4ccf88;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)