AlivcLivePusher_Interactive v6.15.0
Aliyun Live Pusher Interactive SDK API Reference Manual for iOS Platforms
|
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: |
+ (NSString *) getSDKVersion |
Query the version number of the SDK.
- (void) onLicenceCheck: | (AlivcLiveLicenseCheckResultCode) | result | |
Reason: | (NSString *) | reason |
The callback for verification of the SDK license.
result | The verification result AlivcLiveLicenseCheckResultCodeSuccess success,othres is failure |
reason | The reason why the license verification fails. |
+ (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
+ (void) setConsoleEnable: | (BOOL) | enabled |
Enable or disable console log printing.
enabled |
+ (void) setLogLevel: | (AlivcLivePushLogLevel) | level |
Set the log level.
level | Log level default:AlivcLivePushLogLevelError |
+ (void) setLogPath: | (NSString *) | logPath | |
maxPartFileSizeInKB: | (int) | maxPartFileSizeInKB |
Set the log path.
logPath | Log path |
maxPartFileSizeInKB | The maximum size of each part. The total volume of logs is five times the maximum part size. |
+ (void) setObserver: | (id< AlivcLiveBaseObserver >) | observer |