diff --git a/ngx_rtmp_stat_module.c b/ngx_rtmp_stat_module.c
index 770cd10..0bec4a3 100644
--- a/ngx_rtmp_stat_module.c
+++ b/ngx_rtmp_stat_module.c
@@ -337,19 +337,23 @@ ngx_rtmp_stat_live(ngx_http_request_t *r, ngx_chain_t ***lll,
#ifdef NGX_RTMP_POOL_DEBUG
ngx_rtmp_stat_dump_pool(r, lll, s->connection->pool);
#endif
+ NGX_RTMP_STAT_L("");
+ NGX_RTMP_STAT(buf, ngx_snprintf(buf, sizeof(buf), "%ui",
+ (ngx_uint_t) s->connection->number)
+ - buf);
+ NGX_RTMP_STAT_L("");
NGX_RTMP_STAT_L("
");
NGX_RTMP_STAT_S(&s->connection->addr_text);
NGX_RTMP_STAT_L("");
NGX_RTMP_STAT_L("");
NGX_RTMP_STAT_L("");
- /*NGX_RTMP_STAT(buf, ngx_snprintf(buf, sizeof(buf),
- "%uz", ctx->ndropped) - buf);*/
NGX_RTMP_STAT(buf, ngx_snprintf(buf, sizeof(buf),
"%uD/%uD", ctx->cs[1].dropped,
ctx->cs[0].dropped) - buf);
diff --git a/stat.xsl b/stat.xsl
index f094427..25f288e 100644
--- a/stat.xsl
+++ b/stat.xsl
@@ -125,6 +125,7 @@
+ Id |
State |
Address |
Flash version |
@@ -187,6 +188,7 @@
#eeeeee
+ |
|
|
|
|