IVSRemoteStageStreamDelegate
Objective-C
@protocol IVSRemoteStageStreamDelegate <IVSStageStreamDelegate>
Swift
protocol IVSRemoteStageStreamDelegate : IVSStageStreamDelegate
A delegate that provides information about the associated IVSRemoteStageStream
.
-
The layers of associated remote stream has changed.
Declaration
Objective-C
- (void)stream:(nonnull IVSRemoteStageStream *)stream didChangeLayers:(nonnull NSArray<IVSRemoteStageStreamLayer *> *)layers;
Swift
optional func stream(_ stream: IVSRemoteStageStream, didChange layers: [IVSRemoteStageStreamLayer])
Parameters
stream
The associated remote stream.
layers
The layers.
-
The selected layer has changed.
Declaration
Objective-C
- (void)stream:(nonnull IVSRemoteStageStream *)stream didSelectLayer:(nullable IVSRemoteStageStreamLayer *)layer reason:(IVSRemoteStageStreamLayerSelectedReason)reason;
Swift
optional func stream(_ stream: IVSRemoteStageStream, didSelect layer: IVSRemoteStageStreamLayer?, reason: IVSRemoteStageStream.LayerSelectedReason)
Parameters
stream
The associated remote stream.
layer
The selected layer.
reason
The reason for a layer changing.
-
The adaption has changed.
Declaration
Objective-C
- (void)stream:(nonnull IVSRemoteStageStream *)stream didChangeAdaption:(BOOL)adaption;
Swift
optional func stream(_ stream: IVSRemoteStageStream, didChangeAdaption adaption: Bool)
Parameters
stream
The associated remote stream.
adaption
Whether dynamic adaption is enabled.