-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User quota metrics to be tracked #20
Comments
RTMP Stream statistics:Key metrics for us are duration of stream, data transfer in, data transfer out and tracked per stream id. Statistics of currently routing RTMP multistreams, tracked per stream, will include these fields:
FYI, here is a sample stat produced by nginx-rtmp. This scenario has 1 stream being published ( <?xml version="1.0" encoding="UTF-8"?>
<rtmp>
<nginx_version>1.12.0</nginx_version>
<nginx_rtmp_version>1.1.4</nginx_rtmp_version>
<compiler>gcc 6.3.1 20161221 (Red Hat 6.3.1-1) (GCC)</compiler>
<built>Jun 23 2017 20:59:09</built>
<pid>11728</pid>
<uptime>597</uptime>
<naccepted>5</naccepted>
<bw_in>2762176</bw_in>
<bytes_in>112118587</bytes_in>
<bw_out>2772408</bw_out>
<bytes_out>49198920</bytes_out>
<server>
<application>
<name>live</name>
<live>
<stream>
<name>1234</name>
<time>185270</time>
<bw_in>2910272</bw_in>
<bytes_in>57748758</bytes_in>
<bw_out>2910272</bw_out>
<bytes_out>44737662</bytes_out>
<bw_audio>3056</bw_audio>
<bw_video>2907216</bw_video>
<client>
<id>16</id>
<address>127.0.0.1</address>
<time>144070</time>
<flashver>LNX 9,0,124,2</flashver>
<dropped>0</dropped>
<avsync>-11</avsync>
<timestamp>184400</timestamp>
<active />
</client>
<client>
<id>14</id>
<address>127.0.0.1</address>
<time>185394</time>
<flashver>FMLE/3.0 (compatible; FMSc/1.0)</flashver>
<swfurl>rtmp://localhost/live</swfurl>
<dropped>0</dropped>
<avsync>-11</avsync>
<timestamp>184400</timestamp>
<publishing />
<active />
</client>
<meta>
<video>
<width>1280</width>
<height>720</height>
<frame_rate>30</frame_rate>
<codec>H264</codec>
<profile>High</profile>
<compat>0</compat>
<level>3.1</level>
</video>
<audio>
<codec>AAC</codec>
<profile>LC</profile>
<channels>2</channels>
<sample_rate>44100</sample_rate>
</audio>
</meta>
<nclients>2</nclients>
<publishing />
<active />
</stream>
<nclients>2</nclients>
</live>
</application>
</server>
</rtmp> |
The text was updated successfully, but these errors were encountered: