WOWZStreamConfig
IntroductionThe WOWZStreamConfig class provides configuration properties for the streaming connection. MethodscopyTo:- (void) copyTo:(nonnull WOWZStreamConfig *)other; ParametersDiscussionCopies the receiver's settings to the specified WOWZStreamConfig. initWithPreset:- (nonnull instancetype) initWithPreset:(WOWZFrameSizePreset)preset; ParametersReturn ValueAn initialized WOWZStreamConfig instance. DiscussionInitializes a WOWZStreamConfig instance with a specified WOWZFrameSizePreset. validateForBroadcast- (nullable NSError *) validateForBroadcast; Return ValueNil if the minimum set of values has been specified; otherwise, an NSError object that describes the first validation failure. DiscussionValidates that the minimum set of property values has been specified to initiate a live-stream broadcast. PropertiesapplicationName@property (nonatomic, strong, nullable) NSString *applicationName; DiscussionThe name of the live-streaming application. connectionParameters@property (nonatomic, strong, nullable) WOWZDataMap *connectionParameters; DiscussionThe connection parameters passed as the query string at connection. hostAddress@property (nonatomic, strong, nullable) NSString *hostAddress; DiscussionThe fully qualified connection URL for the config. password@property (nonatomic, strong, nullable) NSString *password; DiscussionThe password for source authentication. portNumber@property (nonatomic, assign) NSUInteger portNumber; DiscussionThe port number for the server connection. The default is 1935. streamName@property (nonatomic, strong, nullable) NSString *streamName; DiscussionThe name of the live stream. username@property (nonatomic, strong, nullable) NSString *username; DiscussionThe user name for source authentication. |