Returns an object containing information about the current quality of a video stream.
| Value | Description | Type |
|---|---|---|
| mode | The current quality mode. Can be auto if adaptive is enabled or manual if a static quality is set | String |
| level | Information about the current selected quality. See getQualityLevels for the full list of available information | Object |
| reason | The reason that a quality was selected. See table below for more information | String |
List of Reasons
| Reason | Description |
|---|---|
| initial choice | The user had this quality set as a default and did not change it |
| auto | An automatic quality change occurred |
| api | The user chose a static quality after playback began, or an API was used to set it |
