TXLiveBase Class Reference

Inherits from NSObject
Declared in TXLiveBase.h

  delegate

通过这个delegate将全部log回调给SDK使用者,由SDK使用者来决定log如何处理

@property (nonatomic, weak) id<TXLiveBaseDelegate> delegate

Declared In

TXLiveBase.h

+ sharedInstance

+ (instancetype)sharedInstance

+ setLogLevel:

设置log输出级别 @prarm level 参见 LOGLEVEL

+ (void)setLogLevel:(TX_Enum_Type_LogLevel)level

Declared In

TXLiveBase.h

+ setConsoleEnabled:

启用或禁用控制台日志打印 @param enabled指定是否启用

+ (void)setConsoleEnabled:(BOOL)enabled

Declared In

TXLiveBase.h

+ setAppVersion:

+ (void)setAppVersion:(NSString *)verNum

+ setAudioSessionDelegate:

+ (void)setAudioSessionDelegate:(id<TXLiveAudioSessionDelegate>)delegate

+ getSDKVersionStr

获取SDK版本信息

+ (NSString *)getSDKVersionStr

Declared In

TXLiveBase.h

+ getPituSDKVersion

  获取pitu版本信息

+ (NSString *)getPituSDKVersion

Declared In

TXLiveBase.h

+ setAppID:

设置appID,云控使用

+ (void)setAppID:(NSString *)appID

Declared In

TXLiveBase.h

+ setLicenceURL:key:

设置sdk的licence下载url和key

+ (void)setLicenceURL:(NSString *)url key:(NSString *)key

Declared In

TXLiveBase.h