mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-19 01:31:09 +02:00
fixed stats
This commit is contained in:
parent
613e7072c1
commit
224615dbbb
|
@ -400,8 +400,13 @@ ngx_rtmp_stat_handler(ngx_http_request_t *r)
|
|||
|
||||
NGX_RTMP_STAT_L("<rtmp>\r\n");
|
||||
|
||||
#ifdef NGINX_VERSION
|
||||
NGX_RTMP_STAT_L("<version>" NGINX_VERSION "</version>\r\n");
|
||||
#endif
|
||||
|
||||
#ifdef NGX_COMPILER
|
||||
NGX_RTMP_STAT_L("<compiler>" NGX_COMPILER "</compiler>\r\n");
|
||||
#endif
|
||||
NGX_RTMP_STAT_L("<built>" __DATE__ " " __TIME__ "</built>\r\n");
|
||||
|
||||
ngx_rtmp_stat_bw(r, lll, &ngx_rtmp_bw_in, &ngx_rtmp_bw_out);
|
||||
|
|
Loading…
Reference in a new issue