Class: QualityScoreChangedEvent

The Subscriber object dispatches a qualityScoreChanged event when either the audio or video quality score changes for the subscriber. The scores are a heuristic value representing the expected subscriber experience. The values are integers ranging from 1 to 5, with the values corresponding to bad, poor, fair, good, and excellent.

Properties

Name Type Description
qualityScore Object The current quality score for the subscriber. The event contains two properties: audioQualityScore and videoQualityScore. These properties are undefined if there is either no audio or no video.
See:

Methods

Name Description
isDefaultPrevented() → {Boolean} Whether the default event behavior has been prevented via a call to preventDefault() (true) or not (false).
preventDefault() Prevents the default behavior associated with the event from taking place.

isDefaultPrevented() → {Boolean}

Whether the default event behavior has been prevented via a call to preventDefault() (true) or not (false). See preventDefault().
Returns:

preventDefault()

Prevents the default behavior associated with the event from taking place.

To see whether an event has a default behavior, check the cancelable property of the event object.

Call the preventDefault() method in the callback function for the event.

The following events have default behaviors: