public interface ILiveChannelStateService
| 限定符和类型 | 方法和说明 |
|---|---|
Boolean |
cutoffChannelStream(LiveCutoffChannelStreamRequest liveCutoffChannelStreamRequest)
禁止直播频道推流
API地址:https://dev.polyv.net/2019/liveproduct/l-api/zbglgn/hqzbxx/banpush/
|
LiveChannelStreamInfoResponse |
getChannelStreamInfo(LiveChannelStreamInfoRequest liveChannelStreamInfoRequest)
查询频道实时推流信息
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/
|
Boolean resumeChannelStream(LiveResumeChannelStreamRequest liveResumeChannelStreamRequest) throws IOException, NoSuchAlgorithmException
liveResumeChannelStreamRequest - 恢复直播频道推流请求体IOException - 异常NoSuchAlgorithmException - 异常Boolean cutoffChannelStream(LiveCutoffChannelStreamRequest liveCutoffChannelStreamRequest) throws IOException, NoSuchAlgorithmException
liveCutoffChannelStreamRequest - 禁止直播频道推流请求实体IOException - 异常NoSuchAlgorithmException - 异常LiveListChannelStreamStatusResponse listChannelLiveStream(LiveListChannelStreamStatusRequest liveListChannelStreamStatusRequest) throws IOException, NoSuchAlgorithmException
liveListChannelStreamStatusRequest - 批量查询频道直播流状态请求实体IOException - 异常NoSuchAlgorithmException - 异常LiveChannelStreamInfoResponse getChannelStreamInfo(LiveChannelStreamInfoRequest liveChannelStreamInfoRequest) throws IOException, NoSuchAlgorithmException
liveChannelStreamInfoRequest - 查询频道实时推流信息请求实体IOException - 异常NoSuchAlgorithmException - 异常Boolean setChannelStreamLive(LiveChannelStreamLiveRequest liveChannelStreamLiveRequest) throws IOException, NoSuchAlgorithmException
liveChannelStreamLiveRequest - 设置频道流状态为直播中请求实体IOException - 异常NoSuchAlgorithmException - 异常Boolean setChannelStreamEnd(LiveChannelStreamEndRequest liveChannelStreamEndRequest) throws IOException, NoSuchAlgorithmException
liveChannelStreamEndRequest - 设置频道为无直播状态设置频道为无直播状态请求实体IOException - 异常NoSuchAlgorithmException - 异常Copyright © 2021. All rights reserved.