source: plugins/qualitymonitor/v5/doc/reference.html @ 1756

Revision 1756, 4.0 KB checked in by jeroen, 2 years ago (diff)

updated QM plugin docs for easy copy/paste into Drupal

Line 
1<h2>Purpose</h2>
2
3<p>The purpose of this guide is to be a reference for you as you get started with the latest version of the <a href="http://www.longtailvideo.com/addons/plugins/123/QualityMonitor">Quality Monitor Plugin</a> for the JW Player.</p>
4
5
6
7
8<h2>Introduction</h2>
9
10<p>The Qualitymonitor plugin for the JW Player is used to monitor the status of the bitrate switching / dynamic streaming functionalty of the player. This functionality is triggered by loading multiple quality levels of one video into the player. It will then monitor certain quality metrics and play the  optimal stream is served for every viewer.</p>
11
12<p>For more info about this functionality, please refer to the dedicated sections in the HTTP resp. RTMP streaming guides:
13
14<ul>
15<li><a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12534/video-delivery-http-pseudo-streaming#bitrateswitching">HTTP bitrate switching </a></li>
16<li><a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12535/video-delivery-rtmp-streaming#dynamicstreaming">RTMP dynamic streaming </a></li>
17</ul>
18
19
20
21
22<h2>Screenshot</h2>
23
24<p>Here's a screenshot of a JW Player with the qualitymonitor plugin:</p>
25
26<p><img src="http://www.longtailvideo.com/support/sites/default/files/qualitymonitor.png" alt="quality monitor plugin example"/></p>
27
28<p>The plugin consists of two sections. The biggest one is the overlay at the top of the video that lists and charts the current quality metrics. Additionally, the plugin contains a small messaging area in the middle of the screen, for printing player messages that relate to the video quality.</p>
29
30
31
32
33<h2>Metrics</h2>
34
35
36<p>The Qualitymonitor plugin monitors the following metrics:</p>
37
38<ul>
39<li>The <b>bandwidth</b> of the current connection, in kilobits per second (green).</li>
40<li>The number of <b>frames dropped</b> per second (red).</li>
41<li>The <b>width</b> of the video screen (blue).</li>
42<li>The currently playing <b>quality level</b> (white). The required width and bandwidth of this level is shown between parentheses.</li>
43</ul>
44
45<h4>Messages</h4>
46
47<p>In addition to these four metrics, the plugin displays two quality related messages in the middle of the screen:</p>
48
49<ul>
50<li>The moment an actual quality transition occurs (in green text).</li>
51<li>The moment a quality level gets blacklisted or un-blacklisted, as a result of too many framedrops (in red text).</li>
52</ul>
53
54<p><em>Note the framedrop detection and resulting (un)blacklisting of levels is only supported in JW Player 5.3+. For JW Player 5.0, 5.1 and 5.2, the framedrop chart will simply remain at 0.</em></p>
55
56
57
58
59<h2>Configuration Options</h2>
60
61<p>Embedding the qualitymonitor plugin is a matter of setting amending its name to the player's <b>plugins</b> option. The  plugin contains no configuration options itself.</p>
62
63<p>Here is a basic embed code example of a player using the qualitymonitor plugin, using the <a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/15995/jw-embedder-reference-guide">JW Embedder </a>.</p>
64
65<pre>
66&lt;p id="container"&gt;The player will be placed here&lt;/p&gt;
67
68&lt;script type="text/javascript"&gt;
69 jwplayer("container").setup({
70   file: "/static/dynamic_stream.xml",
71   flashplayer: "/static/player.swf",
72   height: 270,
73   plugins: {
74     "qualitymonitor": {}
75   },
76   width: 480
77 });
78&lt;/script&gt;
79</pre>
80
81
82
83
84<h2>Skinning</h2>
85
86<p>This plugin offers no skinning functionalities.</p>
87
88
89
90
91<h2>Changelog</h2>
92
93<h4>Version 2.0</h4>
94
95<ul>
96<li>Switched from the 4.x to the 5.x plugin API. As of now, the plugin cannot be loaded in the JW Player v4.</li>
97<li>Added support for monitoring framedrops in the chart, and level (un)blacklisting events in the center message.</li>
98<li>Colored the various quality metrics in the chart, to easily distinct between them.</li>
99<li>Made the chart stop drawing when the video is paused or stopped.</li>
100</ul>
101
102<h4>Version 2.1</h4>
103
104<ul>
105<li>Added fix to support playlists loaded through the JavaScript API.</li>
106<li>Some updates around formatting of the chart labels.</li>
107</ul>
Note: See TracBrowser for help on using the repository browser.