Document more runtime properties. For #86.
Add documentation for segmentXhrTime and bandwidth properties.
Showing
1 changed file
with
13 additions
and
0 deletions
... | @@ -107,6 +107,19 @@ Type: `number` | ... | @@ -107,6 +107,19 @@ Type: `number` |
107 | The index of the next video segment to be downloaded from | 107 | The index of the next video segment to be downloaded from |
108 | `player.hls.media`. | 108 | `player.hls.media`. |
109 | 109 | ||
110 | #### player.hls.segmentXhrTime | ||
111 | Type: `number` | ||
112 | |||
113 | The number of milliseconds it took to download the last media segment. | ||
114 | This value is updated after each segment download completes. | ||
115 | |||
116 | #### player.hls.bandwidth | ||
117 | Type: `number` | ||
118 | |||
119 | The number of bits downloaded per second in the last segment download. | ||
120 | This value is used by the default implementation of `selectPlaylist` | ||
121 | to select an appropriate bitrate to play. | ||
122 | |||
110 | #### player.hls.selectPlaylist | 123 | #### player.hls.selectPlaylist |
111 | Type: `function` | 124 | Type: `function` |
112 | 125 | ... | ... |
-
Please register or sign in to post a comment