public interface ILiveChannelStateService
| 限定符和类型 | 方法和说明 |
|---|---|
Boolean |
cutoffChannelStream(LiveCutoffChannelStreamRequest liveCutoffChannelStreamRequest)
禁止直播频道推流
API地址:https://dev.polyv.net/2019/liveproduct/l-api/zbglgn/hqzbxx/banpush/
|
Boolean |
endDiskPush(LiveEndDiskPushRequest liveEndDiskPushRequest)
结束伪直播
API地址:https://help.polyv.net/index.html#/live/api/channel/operate/end_disk_video
|
LiveChannelStreamInfoResponse |
getChannelStreamInfo(LiveChannelStreamInfoRequest liveChannelStreamInfoRequest)
查询频道实时推流信息
API地址:https://dev.polyv.net/2019/liveproduct/l-api/zbglgn/hqzbxx/get-stream-info/
|
List<LiveGetStreamsResponse> |
getStreams(LiveGetStreamsRequest liveGetStreamsRequest)
批量查询频道直播流信息
API地址:https://help.polyv.net/#/live/api/channel/state/get_streams
|
LiveListChannelStreamStatusResponse |
listChannelLiveStream(LiveListChannelStreamStatusRequest liveListChannelStreamStatusRequest)
批量查询频道直播流状态
API地址:https://dev.polyv.net/2017/liveproduct/l-api/zbglgn/hqzbxx/live-status/
|
List<LiveListChannelStreamStatusV2Response> |
listChannelLiveStreamV2(LiveListChannelStreamStatusV2Request liveListChannelStreamStatusV2Request)
批量查询频道直播状态
API地址:https://help.polyv.net/#/live/api/v4/channel/get_all_live_status_list
|
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 - 异常List<LiveListChannelStreamStatusV2Response> listChannelLiveStreamV2(LiveListChannelStreamStatusV2Request liveListChannelStreamStatusV2Request) throws IOException, NoSuchAlgorithmException
liveListChannelStreamStatusV2Request - 批量查询频道直播状态请求实体IOException - 异常NoSuchAlgorithmException - 异常List<LiveGetStreamsResponse> getStreams(LiveGetStreamsRequest liveGetStreamsRequest) throws IOException, NoSuchAlgorithmException
liveGetStreamsRequest - 批量查询频道直播流信息请求实体IOException - 异常NoSuchAlgorithmException - 异常Boolean endDiskPush(LiveEndDiskPushRequest liveEndDiskPushRequest) throws IOException, NoSuchAlgorithmException
liveEndDiskPushRequest - 结束伪直播请求实体IOException - 异常NoSuchAlgorithmException - 异常Copyright © 2025. All rights reserved.