IVSRemoteStageStreamLayerSelectedReason
Objective-C
enum IVSRemoteStageStreamLayerSelectedReason : NSInteger {}
Swift
enum LayerSelectedReason : Int, @unchecked Sendable
The reasons for a layer changing.
-
When a layer is unavailable, this means the SDK or SFU can no longer surface the layer, and a new best effort layer has been selected. Layer availability will also be notified via the didChangeLayers event.
Declaration
Objective-C
IVSRemoteStageStreamLayerSelectedReasonUnavailable = 0
Swift
case unavailable = 0
-
The preferred layer set by the developer has been selected.
Declaration
Objective-C
IVSRemoteStageStreamLayerSelectedReasonSelected
Swift
case selected = 1