mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-16 16:51:07 +02:00
added SwfUrl to statistics
This commit is contained in:
parent
ae71903de4
commit
223b2713af
|
@ -327,6 +327,12 @@ ngx_rtmp_stat_live(ngx_http_request_t *r, ngx_chain_t ***lll,
|
|||
NGX_RTMP_STAT_L("</pageurl>");
|
||||
}
|
||||
|
||||
if (s->swf_url.len) {
|
||||
NGX_RTMP_STAT_L("<swfurl>");
|
||||
NGX_RTMP_STAT_ES(&s->swf_url);
|
||||
NGX_RTMP_STAT_L("</swfurl>");
|
||||
}
|
||||
|
||||
if (ctx->flags & NGX_RTMP_LIVE_PUBLISHING) {
|
||||
NGX_RTMP_STAT_L("<publishing/>");
|
||||
}
|
||||
|
|
2
stat.xsl
2
stat.xsl
|
@ -122,6 +122,7 @@
|
|||
<th>Address</th>
|
||||
<th>Flash version</th>
|
||||
<th>Page URL</th>
|
||||
<th>SWF URL</th>
|
||||
<th>Dropped</th>
|
||||
<th>A-V</th>
|
||||
<th>Time</th>
|
||||
|
@ -168,6 +169,7 @@
|
|||
<xsl:value-of select="pageurl"/>
|
||||
</a>
|
||||
</td>
|
||||
<td><xsl:value-of select="swfurl"/></td>
|
||||
<td><xsl:value-of select="dropped"/></td>
|
||||
<td><xsl:value-of select="avsync"/></td>
|
||||
<td>
|
||||
|
|
Loading…
Reference in a new issue