public interface PLChannelStreamService extends PLBaseService
直播频道流处理相关接口
| 限定符和类型 | 方法和说明 |
|---|---|
PLCommonResult |
cutoff(int channelId,
PLChannelStreamCommonRequest request)
频道禁止流接口(详见http://dev.polyv.net/2019/liveproduct/l-api/zbglgn/hqzbxx/banpush/)
该接口提供用户禁止频道推流接口。
|
PLCommonResult |
resume(int channelId,
PLChannelStreamCommonRequest request)
频道恢复流接口(详见http://dev.polyv.net/2017/liveproduct/l-api/zbglgn/hqzbxx/resume/)
该接口提供用户恢复频道的推流的接口。
|
destroyProxy, initForwardProxy, initReverseProxy, initReverseProxyPLCommonResult cutoff(int channelId, PLChannelStreamCommonRequest request)
频道禁止流接口(详见http://dev.polyv.net/2019/liveproduct/l-api/zbglgn/hqzbxx/banpush/)
该接口提供用户禁止频道推流接口。
需要调用该接口的情况:
◆ 业务需要禁止特定频道的推流的信息;
接口地址:http://api.polyv.net/live/v2/stream/{channelId}/cutoff
channelId - 频道IDrequest - 频道流公共的参数对象。PLCommonResult resume(int channelId, PLChannelStreamCommonRequest request)
频道恢复流接口(详见http://dev.polyv.net/2017/liveproduct/l-api/zbglgn/hqzbxx/resume/)
该接口提供用户恢复频道的推流的接口。
需要调用该接口的情况:
◆ 业务需要禁流后恢复频道的推流;
接口地址:http://api.polyv.net/live/v2/stream/{channelId}/resume
channelId - 频道IDrequest - 频道流公共的参数对象。Copyright © 2019. All rights reserved.