|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectnet.polyv.live.v1.service.LiveBaseService
net.polyv.live.v1.service.channel.impl.LiveChannelStateServiceImpl
public class LiveChannelStateServiceImpl
直播直播状态实现类
| 字段摘要 |
|---|
| 从类 net.polyv.live.v1.service.LiveBaseService 继承的字段 |
|---|
ERROR_INFO, ERROR_PREFIX, ERROR_PREFIX1, ERROR_SUFFIX |
| 构造方法摘要 | |
|---|---|
LiveChannelStateServiceImpl()
|
|
| 方法摘要 | |
|---|---|
Boolean |
cutoffChannelStream(LiveCutoffChannelStreamRequest liveCutoffChannelStreamRequest)
禁止直播频道推流 API地址:https://dev.polyv.net/2019/liveproduct/l-api/zbglgn/hqzbxx/banpush/ |
LiveChannelStreamInfoResponse |
getChannelStreamInfo(LiveChannelStreamInfoRequest liveChannelStreamInfoRequest)
查询频道实时推流信息(讲师未进入直播间或未开启上课等情况,将抛出"channel status not live"异常), API地址:https://dev.polyv.net/2019/liveproduct/l-api/zbglgn/hqzbxx/get-stream-info/ |
LiveListChannelStreamStatusResponse |
listChannelLiveStream(LiveListChannelStreamStatusRequest liveListChannelStreamStatusRequest)
批量查询频道直播流状态 API地址:https://dev.polyv.net/2017/liveproduct/l-api/zbglgn/hqzbxx/live-status/ |
Boolean |
resumeChannelStream(LiveResumeChannelStreamRequest liveResumeChannelStreamRequest)
恢复直播频道推流 API地址:https://dev.polyv.net/2017/liveproduct/l-api/zbglgn/hqzbxx/resume/ |
Boolean |
setChannelStreamEnd(LiveChannelStreamEndRequest liveChannelStreamEndRequest)
设置频道为无直播状态 API地址:https://dev.polyv.net/2017/liveproduct/l-api/zbglgn/hqzbxx/set-channal-status-end/ |
Boolean |
setChannelStreamLive(LiveChannelStreamLiveRequest liveChannelStreamLiveRequest)
设置频道流状态为直播中 API地址:https://dev.polyv.net/2017/liveproduct/l-api/zbglgn/hqzbxx/live/ |
| 从类 net.polyv.live.v1.service.LiveBaseService 继承的方法 |
|---|
baseGet, baseGetReturnArray, baseGetReturnArray, basePost, basePostJson, basePostJson, basePostJsonReturnArray, basePostReturnArray, baseUploadFile, baseUploadFileList, baseUploadFileListReturnArray |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public LiveChannelStateServiceImpl()
| 方法详细信息 |
|---|
public Boolean resumeChannelStream(LiveResumeChannelStreamRequest liveResumeChannelStreamRequest)
throws IOException,
NoSuchAlgorithmException
ILiveChannelStateService 中的 resumeChannelStreamliveResumeChannelStreamRequest - 恢复直播频道推流请求体
IOException - 异常
NoSuchAlgorithmException - 异常
public Boolean cutoffChannelStream(LiveCutoffChannelStreamRequest liveCutoffChannelStreamRequest)
throws IOException,
NoSuchAlgorithmException
ILiveChannelStateService 中的 cutoffChannelStreamliveCutoffChannelStreamRequest - 禁止直播频道推流请求实体
IOException - 异常
NoSuchAlgorithmException - 异常
public LiveListChannelStreamStatusResponse listChannelLiveStream(LiveListChannelStreamStatusRequest liveListChannelStreamStatusRequest)
throws IOException,
NoSuchAlgorithmException
ILiveChannelStateService 中的 listChannelLiveStreamliveListChannelStreamStatusRequest - 批量查询频道直播流状态请求实体
IOException - 异常
NoSuchAlgorithmException - 异常
public LiveChannelStreamInfoResponse getChannelStreamInfo(LiveChannelStreamInfoRequest liveChannelStreamInfoRequest)
throws IOException,
NoSuchAlgorithmException
ILiveChannelStateService 中的 getChannelStreamInfoliveChannelStreamInfoRequest - 查询频道实时推流信息请求实体
IOException - 异常
NoSuchAlgorithmException - 异常
public Boolean setChannelStreamLive(LiveChannelStreamLiveRequest liveChannelStreamLiveRequest)
throws IOException,
NoSuchAlgorithmException
ILiveChannelStateService 中的 setChannelStreamLiveliveChannelStreamLiveRequest - 设置频道流状态为直播中请求实体
IOException - 异常
NoSuchAlgorithmException - 异常
public Boolean setChannelStreamEnd(LiveChannelStreamEndRequest liveChannelStreamEndRequest)
throws IOException,
NoSuchAlgorithmException
ILiveChannelStateService 中的 setChannelStreamEndliveChannelStreamEndRequest - 设置频道为无直播状态设置频道为无直播状态请求实体
IOException - 异常
NoSuchAlgorithmException - 异常
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||