IVSLocalStageStream
Objective-C
@interface IVSLocalStageStream : IVSStageStream
Swift
class IVSLocalStageStream : IVSStageStream
A stage stream that is used to publish local IVSDevices.
-
Unavailable
Do not create instances of this class directly
Declaration
Objective-C
IVS_INIT_UNAVAILABLE -
Unavailable
Do not create instances of this class directly
Declaration
Objective-C
IVS_INIT_UNAVAILABLE -
Creates a
IVSLocalStageStreamwith the associated device.Declaration
Objective-C
- (nonnull instancetype)initWithDevice:(nonnull id<IVSDevice>)device;Parameters
deviceThe device to initialize the stream with.
-
Creates a
IVSLocalStageStreamwith the associated device and configuration.Declaration
Objective-C
- (nonnull instancetype)initWithDevice:(nonnull id<IVSDevice>)device configuration: (nullable IVSLocalStageStreamVideoConfiguration *) configuration;Parameters
deviceThe device to initialize the stream with.
configurationThe configuration to initialize the stream with.
-
Sets the mute state for this stream on the Stage. Setting this to
truewill either disable your video, or mute your audio on the Stage, depending on the media type associated with this stream.Declaration
Objective-C
- (void)setMuted:(BOOL)muted;Swift
func setMuted(_ muted: Bool)Parameters
mutedThe new muted state for the stream.
-
Updates the configuration of this stream.
Declaration
Objective-C
- (void)setConfiguration: (nonnull IVSLocalStageStreamVideoConfiguration *)configuration;Swift
func setConfiguration(_ configuration: IVSLocalStageStreamVideoConfiguration)Parameters
configurationThe new configuration for the stream.
IVSLocalStageStream Class Reference