IVSBroadcastConfiguration
Objective-C
@interface IVSBroadcastConfiguration : NSObject
Swift
class IVSBroadcastConfiguration : NSObject
An object to broadcast, transform, and distribute audio video content.
Changing any properties on this object after providing it to IVSBroadcastSession
will not have any effect.
A copy of the configuration is made and kept internally.
To make changes to the session live, use the IVSBroadcastSession.mixer
APIs, or IVSBroadcastSession.setLogLevel
.
-
This describes the audio configuration for the broadcast esssion.
Declaration
Objective-C
@property (nonatomic, strong) IVSAudioConfiguration *_Nonnull audio;
Swift
var audio: IVSAudioConfiguration { get set }
-
This describes the video configuration for the broadcast esssion.
Declaration
Objective-C
@property (nonatomic, strong) IVSVideoConfiguration *_Nonnull video;
Swift
var video: IVSVideoConfiguration { get set }
-
This describes the mixer configuration for the broadcast esssion.
Declaration
Objective-C
@property (nonatomic, strong) IVSMixerConfiguration *_Nonnull mixer;
Swift
var mixer: IVSMixerConfiguration { get set }
-
This describes the auto-reconnect configuration for the broadcast session.
Declaration
Objective-C
@property (nonatomic, strong) IVSBroadcastAutoReconnectConfiguration *_Nonnull autoReconnect;
Swift
var autoReconnect: IVSBroadcastAutoReconnectConfiguration { get set }
-
Logging level for the broadcast session. Default is
IVSBroadcastLogLevelError
. In order to catch logs at a more granular level thanError
during the initialization process, you will need to use this property instead of theIVSBroadcastSession.logLevel
property.Declaration
Objective-C
@property (nonatomic) IVSBroadcastLogLevel logLevel;
-
Creates a
IVSBroadcastConfiguration
with pre-defined audio, video, and mixer configurationsDeclaration
Objective-C
- (nonnull instancetype)initWithAudio:(nonnull IVSAudioConfiguration *)audio video:(nonnull IVSVideoConfiguration *)video mixer:(nonnull IVSMixerConfiguration *)mixer;
Swift
init(audio: IVSAudioConfiguration, video: IVSVideoConfiguration, mixer: IVSMixerConfiguration)
Parameters
audio
the audio configuration.
video
the video configuration.
mixer
the mixer configuration.