Exposes a set of properties having to do with QoE (quality-of-experience).
Note that there might be some undocumented properties that are likely to change and/or be removed at a later version.
Use at your own peril.
Properties
player.qoe.score : number
The QoE score (quality-of-experience). A number in the range [0, 1] where 0 is a bad experience and 1 is good.
See: qoescore
Example
console.log('The current QoE score is ' + player.qoe.score);
player.qoe.status : string
The QoE status. One of excellent
, good
, fair
, poor
or alert
.
See: qoestatus
Example
if (player.qoe.status === 'alert') {
alert('Uh oh');
}
player.qoe.envFps : number
The current framerate achieved by the environment/browser. Represented as number of frames-per-second.
Example
console.log('The current browser framerate is ' + player.qoe.envFps + ' frames per second');