public class LiveChannelStateServiceImpl extends LiveBaseService implements ILiveChannelStateService
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/
|
getReturnBinary, getReturnList, getReturnOne, postFormBodyReturnList, postFormBodyReturnOne, postJsonBodyReturnList, postJsonBodyReturnOne, postJsonBodyReturnOne, uploadMultipartFile, uploadOneFilepublic Boolean resumeChannelStream(LiveResumeChannelStreamRequest liveResumeChannelStreamRequest) throws IOException, NoSuchAlgorithmException
resumeChannelStream 在接口中 ILiveChannelStateServiceliveResumeChannelStreamRequest - 恢复直播频道推流请求体IOException - 异常NoSuchAlgorithmException - 异常public Boolean cutoffChannelStream(LiveCutoffChannelStreamRequest liveCutoffChannelStreamRequest) throws IOException, NoSuchAlgorithmException
cutoffChannelStream 在接口中 ILiveChannelStateServiceliveCutoffChannelStreamRequest - 禁止直播频道推流请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveListChannelStreamStatusResponse listChannelLiveStream(LiveListChannelStreamStatusRequest liveListChannelStreamStatusRequest) throws IOException, NoSuchAlgorithmException
listChannelLiveStream 在接口中 ILiveChannelStateServiceliveListChannelStreamStatusRequest - 批量查询频道直播流状态请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveChannelStreamInfoResponse getChannelStreamInfo(LiveChannelStreamInfoRequest liveChannelStreamInfoRequest) throws IOException, NoSuchAlgorithmException
getChannelStreamInfo 在接口中 ILiveChannelStateServiceliveChannelStreamInfoRequest - 查询频道实时推流信息请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean setChannelStreamLive(LiveChannelStreamLiveRequest liveChannelStreamLiveRequest) throws IOException, NoSuchAlgorithmException
setChannelStreamLive 在接口中 ILiveChannelStateServiceliveChannelStreamLiveRequest - 设置频道流状态为直播中请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean setChannelStreamEnd(LiveChannelStreamEndRequest liveChannelStreamEndRequest) throws IOException, NoSuchAlgorithmException
setChannelStreamEnd 在接口中 ILiveChannelStateServiceliveChannelStreamEndRequest - 设置频道为无直播状态设置频道为无直播状态请求实体IOException - 异常NoSuchAlgorithmException - 异常Copyright © 2021. All rights reserved.