diff --git a/Getting-number-of-subscribers.md b/Getting-number-of-subscribers.md index 1fb6e77..0da8120 100644 --- a/Getting-number-of-subscribers.md +++ b/Getting-number-of-subscribers.md @@ -1,13 +1,13 @@ There's an easy way to display number of clients watching the stream. You need to -- set up statistics page at location `/stat` +Set up statistics page at location `/stat` location /stat { rtmp_stat all; allow 127.0.0.1; } -- create a simple xsl stylesheet `nclients.xsl` extracting number of stream subscribers +Create a simple xsl stylesheet `nclients.xsl` extracting number of stream subscribers @@ -22,7 +22,7 @@ There's an easy way to display number of clients watching the stream. You need t -- set up a location returning number of suscribers +Set up a location returning number of suscribers location /nclients { proxy_pass http://127.0.0.1/stat; @@ -30,4 +30,4 @@ There's an easy way to display number of clients watching the stream. You need t add_header Refresh "3; $request_uri"; } -- use HTTP request `http://myserver.com/nclients?app=myapp&name=mystream` to get the number of stream subscribers \ No newline at end of file +Use HTTP request `http://myserver.com/nclients?app=myapp&name=mystream` to get the number of stream subscribers \ No newline at end of file