|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectnet.polyv.live.v1.config.InitConfig
public class InitConfig
| 方法摘要 | |
|---|---|
static void |
initPolyvLive(String appId,
String userId,
String appSecret)
初始化配置 |
static void |
initPolyvLiveByFile(String path)
初始化配置 从文件读取JSON初始化配置,JSON格式如下:liveConfig:直播配置,vodConfig:点播配置 {"liveConfig":{"appId":"xxx","userId":"xxx","appSecret":"xxx"},"vodConfig":{"userId":"xxx","writeToken":"xxxxxxe","readToken":"xxxxxx","secretKey":"xxxx"}} |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 方法详细信息 |
|---|
public static void initPolyvLive(String appId,
String userId,
String appSecret)
public static void initPolyvLiveByFile(String path)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||