| class com::tencent::live2::V2TXLivePremier::V2TXLivePremierObserver |
Public 成员函数 | |
| void | onLog (int level, String log) |
| void | onLicenceLoaded (int result, String reason) |
|
inline |
setLicence 接口回调
| result | 设置 licence 结果 0 成功,负数失败 |
| reason | 设置 licence 失败原因 |
|
inline |
自定义 Log 输出回调接口
| class com::tencent::live2::V2TXLivePremier |
静态 Public 成员函数 | |
| static String | getSDKVersionStr () |
| static void | setObserver (V2TXLivePremierObserver observer) |
| static void | setLogConfig (V2TXLiveDef.V2TXLiveLogConfig config) |
| static void | setEnvironment (String env) |
| static void | setLicence (Context context, String url, String key) |
| static void | setSocks5Proxy (String host, int port, String username, String password) |
|
inlinestatic |
获取 SDK 版本号
|
inlinestatic |
设置 SDK 接入环境
| env | 目前支持 “default” 和 “GDPR” 两个参数
|
|
inlinestatic |
设置 SDK 的授权 License
文档地址:https://cloud.tencent.com/document/product/454/34750
| context | |
| url | licence的地址 |
| key | licence的秘钥 |
|
inlinestatic |
设置 Log 的配置信息
|
inlinestatic |
设置 V2TXLivePremier 回调接口
|
inlinestatic |
设置 SDK sock5 代理配置
| host | sock5 代理服务器的地址 |
| port | sock5 代理服务器的端口 |
| username | sock5 代理服务器的验证的用户名 |
| password | sock5 代理服务器的验证的密码 |