mirror of
https://github.com/arut/nginx-rtmp-module.git
synced 2025-08-06 15:00:18 +08:00
added SwfUrl to statistics
This commit is contained in:
@ -327,6 +327,12 @@ ngx_rtmp_stat_live(ngx_http_request_t *r, ngx_chain_t ***lll,
|
|||||||
NGX_RTMP_STAT_L("</pageurl>");
|
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) {
|
if (ctx->flags & NGX_RTMP_LIVE_PUBLISHING) {
|
||||||
NGX_RTMP_STAT_L("<publishing/>");
|
NGX_RTMP_STAT_L("<publishing/>");
|
||||||
}
|
}
|
||||||
|
2
stat.xsl
2
stat.xsl
@ -122,6 +122,7 @@
|
|||||||
<th>Address</th>
|
<th>Address</th>
|
||||||
<th>Flash version</th>
|
<th>Flash version</th>
|
||||||
<th>Page URL</th>
|
<th>Page URL</th>
|
||||||
|
<th>SWF URL</th>
|
||||||
<th>Dropped</th>
|
<th>Dropped</th>
|
||||||
<th>A-V</th>
|
<th>A-V</th>
|
||||||
<th>Time</th>
|
<th>Time</th>
|
||||||
@ -168,6 +169,7 @@
|
|||||||
<xsl:value-of select="pageurl"/>
|
<xsl:value-of select="pageurl"/>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
<td><xsl:value-of select="swfurl"/></td>
|
||||||
<td><xsl:value-of select="dropped"/></td>
|
<td><xsl:value-of select="dropped"/></td>
|
||||||
<td><xsl:value-of select="avsync"/></td>
|
<td><xsl:value-of select="avsync"/></td>
|
||||||
<td>
|
<td>
|
||||||
|
Reference in New Issue
Block a user