Skip to main content
Version: v1.19.0

StageStreamLayerSelectedReason

When a layer is selected, it's possible that the layer is no longer available. This enumeration helps to provide context to layer selections, and if they were unsuccessful due to unavailable layers.

Enumeration Members

SELECTED

SELECTED: "selected"

The preferred layer set by the application or server has been selected successfully.


UNAVAILABLE

UNAVAILABLE: "unavailable"

When a layer is unavailable, this means the SDK or server can no longer surface the layer, and a new best effort layer has been selected. Layer availability will also be notified via the onLayersChanged event