net.polyv.vod.v1.config
类 InitConfig

java.lang.Object
  继承者 net.polyv.vod.v1.config.InitConfig

public class InitConfig
extends Object


构造方法摘要
InitConfig()
           
 
方法摘要
static void initPolyvVodByFile(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
 

构造方法详细信息

InitConfig

public InitConfig()
方法详细信息

initPolyvVodByFile

public static void initPolyvVodByFile(String path)
初始化配置 从文件读取JSON初始化配置,JSON格式如下:liveConfig:直播配置,vodConfig:点播配置 {"liveConfig":{"appId":"xxx","userId":"xxx","appSecret":"xxx"},"vodConfig":{"userId":"xxx","writeToken":"xxxxxxe","readToken":"xxxxxx","secretKey":"xxxx"}}



Copyright © 2020. All Rights Reserved.