AlivcLivePusher_Interactive v6.15.0
Aliyun Live Pusher Interactive SDK API Reference Manual for iOS Platforms
Loading...
Searching...
No Matches
Live SDk

Topics

 SDK Basic Methods
 Basic live pusher methods
 
 Live interaction player engine
 The main interface class of the live interaction player function
 
 Live interaction player engine callbacks
 Live interaction player engine callbacks
 
 Live pusher engine configuration settings
 Methods to configure live pusher engine parameters
 
 Live pusher engine
 Major classes
 
 Live pusher engine callbacks
 
 

Functions

(NSString *) + AlivcLiveBase::getSDKVersion
 Query the version number of the SDK.
 
(void) - <AlivcLiveBaseObserver>::onLicenceCheck:Reason:
 The callback for verification of the SDK license.
 
(BOOL) + AlivcLiveBase::registerSDK
 Register the SDK.
 
(void) + AlivcLiveBase::setConsoleEnable:
 Enable or disable console log printing.
 
(void) + AlivcLiveBase::setLogLevel:
 Set the log level.
 
(void) + AlivcLiveBase::setLogPath:maxPartFileSizeInKB:
 Set the log path.
 
(void) + AlivcLiveBase::setObserver:
 

Detailed Description

Function Documentation

◆ getSDKVersion

+ (NSString *) getSDKVersion

Query the version number of the SDK.

Returns
version number

◆ onLicenceCheck:Reason:

- (void) onLicenceCheck: (AlivcLiveLicenseCheckResultCode) result
Reason: (NSString *) reason 

The callback for verification of the SDK license.

Parameters
resultThe verification result AlivcLiveLicenseCheckResultCodeSuccess success,othres is failure
reasonThe reason why the license verification fails.

◆ registerSDK

+ (BOOL) registerSDK

Register the SDK.

Add the AlivcLicenseKey and AlivcLicenseFile fields to the Info.plist file of the project. Enter your license key in the AlivcLicenseKey field Enter the path of your license file (relative to mainBundle) in the AlivcLicenseFile field. For example, if you place your license file license.crt under mainBundle, enter "license.crt". For more information about how to obtain the license key and license file, see::https://help.aliyun.com/document_detail/431730.html

◆ setConsoleEnable:

+ (void) setConsoleEnable: (BOOL) enabled

Enable or disable console log printing.

Parameters
enabled

◆ setLogLevel:

+ (void) setLogLevel: (AlivcLivePushLogLevel) level

Set the log level.

Parameters
levelLog level default:AlivcLivePushLogLevelError

◆ setLogPath:maxPartFileSizeInKB:

+ (void) setLogPath: (NSString *) logPath
maxPartFileSizeInKB: (int) maxPartFileSizeInKB 

Set the log path.

Parameters
logPathLog path
maxPartFileSizeInKBThe maximum size of each part. The total volume of logs is five times the maximum part size.

◆ setObserver:

+ (void) setObserver: (id< AlivcLiveBaseObserver >) observer