public class LiveChannelStateServiceImpl extends LiveBaseService implements ILiveChannelStateService
ERROR_INFO, ERROR_PREFIX, ERROR_PREFIX1, ERROR_SUFFIX| 构造器和说明 |
|---|
LiveChannelStateServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
LiveChannelStreamInfoResponse |
channelStreamInfo(LiveChannelStreamInfoRequest liveChannelStreamInfoRequest)
查询频道实时推流信息(讲师未进入直播间或未开启上课等情况,将抛出"channel status not live"异常),
API地址:https://dev.polyv.net/2019/liveproduct/l-api/zbglgn/hqzbxx/get-stream-info/
|
Boolean |
cutoffChannelStream(LiveCutoffChannelStreamRequest liveCutoffChannelStreamRequest)
禁止直播频道推流
API地址:https://dev.polyv.net/2019/liveproduct/l-api/zbglgn/hqzbxx/banpush/
|
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/
|
baseGet, baseGetReturnArray, basePost, basePostJson, basePostJson, basePostJsonReturnArray, basePostReturnArray, baseUploadFilepublic 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 channelStreamInfo(LiveChannelStreamInfoRequest liveChannelStreamInfoRequest) throws IOException, NoSuchAlgorithmException
channelStreamInfo 在接口中 ILiveChannelStateServiceliveChannelStreamInfoRequest - 查询频道实时推流信息请求实体IOException - 异常NoSuchAlgorithmException - 异常Copyright © 2020. All rights reserved.