WZStreamConfig
IntroductionThe WZStreamConfig class provides configuration properties for the streaming connection MethodscopyTo:- (void) copyTo:(nonnull WZStreamConfig *)other; ParametersDiscussionCopy the reciever's settings to the given WZStreamConfig initWithPreset:- (nonnull instancetype) initWithPreset:(WZFrameSizePreset)preset; ParametersReturn ValueAn initialized WZStreamConfig instance DiscussionInitializes a WZStreamConfig instance with a given WZFrameSizePreset validateForBroadcast- (nullable NSError *) validateForBroadcast; Return Valuenil if the minimum set of property values have been specified; otherwise, an NSError object describing the first encountered validation failure. DiscussionValidates that the minimum set of property values have been specified necessary to initiate a live streaming broadcast PropertiesapplicationName@property (nonatomic, strong, nullable) NSString *applicationName; DiscussionThe name of the live streaming application connectionParameters@property (nonatomic, strong, nullable) WZDataMap *connectionParameters; DiscussionThe connection parameters passed as the query string at connect time hostAddress@property (nonatomic, strong, nullable) NSString *hostAddress; DiscussionThe fully-qualified connection URL for this config password@property (nonatomic, strong, nullable) NSString *password; DiscussionThe password for Source Authentication portNumber@property (nonatomic, assign) NSUInteger portNumber; DiscussionThe server connection port number. Default is 1935 streamName@property (nonatomic, strong, nullable) NSString *streamName; DiscussionThe name of the live streaming stream username@property (nonatomic, strong, nullable) NSString *username; DiscussionThe user name for Source Authentication |