SDK基础接口
More...
#include "AlivcLiveBase.h"
◆ getSDKVersion
+ (NSString *) getSDKVersion |
|
|
|
◆ registerSDK
注册SDK 请在工程的Info.plist中增加AlivcLicenseKey和AlivcLicenseFile字段 在AlivcLicenseKey中填入您的LicenseKey 在AlivcLicenseFile中填入您的LicenseFile路径(相对于mainBundle);例如您的LicenseFile为"license.crt"放到mainBundle下,就填入license.crt LicenseKey和LicenseFile的获取请参考文档:https://help.aliyun.com/document_detail/431730.html
◆ setConsoleEnable:
+ (void) setConsoleEnable: |
|
(BOOL) | enabled |
|
◆ setLogLevel:
+ (void) setLogLevel: |
|
(AlivcLivePushLogLevel) | level |
|
设置Log级别
- Parameters
-
level | Log级别 default:AlivcLivePushLogLevelError |
◆ setLogPath:maxPartFileSizeInKB:
+ (void) setLogPath: |
|
(NSString *) | logPath |
maxPartFileSizeInKB: |
|
(int) | maxPartFileSizeInKB |
设置Log路径
- Parameters
-
logPath | Log路径 |
maxPartFileSizeInKB | 每个分片最大大小。最终日志总体积是 5*最大分片大小 |
◆ setObserver:
The documentation for this class was generated from the following file: