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 } -
Logging level for the broadcast session. Default is
IVSBroadcastLogLevelError. In order to catch logs at a more granular level thanErrorduring the initialization process, you will need to use this property instead of theIVSBroadcastSession.logLevelproperty.Declaration
Objective-C
@property (nonatomic) IVSBroadcastLogLevel logLevel; -
Creates a
IVSBroadcastConfigurationwith pre-defined audio, video, and mixer configurations.Declaration
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
audiothe audio configuration.
videothe video configuration.
mixerthe mixer configuration.
IVSBroadcastConfiguration Class Reference