getVisualQuality()

Returns an object containing information about the current quality of a video stream.

ValueDescriptionType
modeThe current quality mode. Can be auto if adaptive is enabled or manual if a static quality is setString
levelInformation about the current selected quality. See getQualityLevels for the full list of available informationObject
reasonThe reason that a quality was selected. See table below for more informationString

List of Reasons

ReasonDescription
initial choiceThe user had this quality set as a default and did not change it
autoAn automatic quality change occurred
apiThe user chose a static quality after playback began, or an API was used to set it
© 2007-2024 Longtail Ad Solutions, Inc.