public class PLChannelServiceImpl extends PLAbstractService implements PLChannelService
直播频道接口请求接口实现类
CONTENTS_TAG, DELETE_METHOD, GET_METHOD, POST_METHOD, PUT_METHOD| 构造器和说明 |
|---|
PLChannelServiceImpl() |
destroyProxy, getPLChannelCommonResult, getPLChannelCommonResultV1, getPLCommonResult, getPLCommonResult, getPLCommonResultV1, getResult, getResult, initForwardProxy, initHttpClient, initReverseProxy, initReverseProxy, request, request, requestV1clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroyProxy, initForwardProxy, initReverseProxy, initReverseProxypublic PLChannelCreateResult createChannel(PLChannelCreateRequest plChannelCreateRequest)
创建直播频道。
createChannel 在接口中 PLChannelServiceplChannelCreateRequest - 频道创建请求对象。public PLChannelCommonResult setChannelMaxViewer(int channelId, PLChannelMaxViewerSetRequest plChannelMaxViewerSetRequest)
设置观看频道最大在线人数。
setChannelMaxViewer 在接口中 PLChannelServicechannelId - 频道IDplChannelMaxViewerSetRequest - 设置频道最大在线人数的请求对象public PLChannelCommonResult setChannelName(int channelId, PLChannelNameSetRequest plChannelNameSetRequest)
修改频道名称。
setChannelName 在接口中 PLChannelServicechannelId - 频道ID。plChannelNameSetRequest - 修改频道频道名称需要的参数对象。public PLChannelCommonResult setChannelPublisher(String userId, PLChannelPublisherSetRequest plChannelPublisherSetRequest)
修改主持人姓名。
setChannelPublisher 在接口中 PLChannelServiceuserId - 用户IDplChannelPublisherSetRequest - 修改频道频道主持人需要的参数对象。public PLChannelCommonResult deleteChannel(int channelId, PLChannelDeleteRequest plChannelDeleteRequest)
删除直播频道。
deleteChannel 在接口中 PLChannelServicechannelId - 频道IDplChannelDeleteRequest - 删除频道的参数对象。public PLChannelCommonResult setChannelPassword(String userId, PLChannelPasswordSetRequest plChannelPasswordSetRequest)
设置频道密码。
setChannelPassword 在接口中 PLChannelServiceuserId - 用户IDplChannelPasswordSetRequest - 设置频道密码参数对象。public PLChannelCommonResult setChannelPlayback(String userId, PLChannelPlaybackSetRequest plChannelPlaybackSetRequest)
设置频道回放开关。
setChannelPlayback 在接口中 PLChannelServiceuserId - 用户IDplChannelPlaybackSetRequest - 设置频道回放开关参数对象。public PLChannelSummaryListGetResult getChannelSummaryList(String userId, PLChannelSummaryListGetRequest plChannelSummaryListGetRequest)
获取频道汇总统计的播放数据
getChannelSummaryList 在接口中 PLChannelServiceuserId - 用户IDplChannelSummaryListGetRequest - 获取频道汇总统计的播放数据的参数对象。public String getChannelLiveStatus(String stream)
获取频道直播状态 注: ◆ 如果正在直播,返回live,否则返回end
getChannelLiveStatus 在接口中 PLChannelServicestream - 流名(可调用获取频道信息接口,获取stream字段的值)public PLChannelViewersGetResult getChannelViewers(PLChannelViewersGetRequest plChannelViewersGetRequest)
获取多个频道的实时在线人数
getChannelViewers 在接口中 PLChannelServiceplChannelViewersGetRequest - 获取多个频道实时在线人数的参数对象。public PLChannelViewLogsGetResult getChannelViewLogs(int channelId, PLChannelViewLogsGetRequest plChannelViewLogsGetRequest)
查询某个频道观看分页日志信息
getChannelViewLogs 在接口中 PLChannelServicechannelId - 频道IDplChannelViewLogsGetRequest - 获取用户获取频道观看分页日志信息的参数对象。public PLChannelGetResult getChannel(int channelId, PLChannelGetRequest plChannelGetRequest)
获取频道信息
getChannel 在接口中 PLChannelServicechannelId - 频道IDplChannelGetRequest - 获取频道信息的参数对象。public PLChannelRecordFilesGetResult getChannelRecordFiles(int channelId, PLChannelRecordFilesGetRequest plChannelRecordFilesGetRequest)
查询频道录制文件列表
getChannelRecordFiles 在接口中 PLChannelServicechannelId - 频道IDplChannelRecordFilesGetRequest - 获取频道录制文件的参数对象。public PLChannelCommonResult convertChannelRecords(int channelId, PLChannelRecordFileConvertRequest plChannelRecordFileConvertRequest)
直播录制文件转存点播
convertChannelRecords 在接口中 PLChannelServicechannelId - 频道IDplChannelRecordFileConvertRequest - 录制文件转存请求的参数对象。public PLChannelPlaybackListGetResult getChannelPlaybacks(int channelId, PLChannelPlaybackListGetRequest plChannelPlaybackListGetRequest)
获取频道回放列表
getChannelPlaybacks 在接口中 PLChannelServicechannelId - 频道IDplChannelPlaybackListGetRequest - 回放列表请求的参数对象。public PLChannelCommonResult setPlaybackListDefault(int channelId, PLChannelPlaybackSetDefaultRequest plChannelPlaybackSetDefaultRequest)
设置频道回放列表的默认回放视频
setPlaybackListDefault 在接口中 PLChannelServicechannelId - 频道IDplChannelPlaybackSetDefaultRequest - 设置默认回放视频的请求的参数对象。public PLChannelCommonResult deletePlaybackVideo(int channelId, PLChannelPlaybackDeleteRequest plChannelPlaybackDeleteRequest)
删除回放视频
deletePlaybackVideo 在接口中 PLChannelServicechannelId - 频道IDplChannelPlaybackDeleteRequest - 删除回放视频请求的参数对象。public PLChannelCommonResult mergeChannelRecords(int channelId, PLChannelRecordFileMergeRequest plChannelRecordFileMergeRequest)
直播录制文件合并
mergeChannelRecords 在接口中 PLChannelServicechannelId - 频道IDplChannelRecordFileMergeRequest - 录制文件合并请求的参数对象。public PLChannelCommonResult updateLikes(int channelId, PLChannelLikesUpdateRequest plChannelLikesUpdateRequest)
频道设置点赞数和观看人数
updateLikes 在接口中 PLChannelServicechannelId - 频道IDplChannelLikesUpdateRequest - 设置点赞数和观看人数请求的参数对象。public PLChannelLikesGetResult getLikes(PLChannelLikesGetRequest plChannelLikesGetRequest)
频道获取点赞数和历史观看人数
getLikes 在接口中 PLChannelServiceplChannelLikesGetRequest - 获取频道点赞数和历史观看人数请求的参数对象。public PLChannelDailySummaryResult getChannelDailySummary(int channelId, PLChannelDailySummaryRequest plChannelDailySummaryRequest)
获取频道某段时间的直播统计数据
getChannelDailySummary 在接口中 PLChannelServicechannelId - 频道IDplChannelDailySummaryRequest - 获取频道某段时间的直播统计数据请求的参数对象。public PLChannelManagementListResult getSimpleChannelList(PLChannelManagementListRequest plChannelManagementListRequest)
获取简单的频道列表
getSimpleChannelList 在接口中 PLChannelServiceplChannelManagementListRequest - 获取频道列表请求的参数对象。Copyright © 2019. All rights reserved.