public class LiveChannelPlaybackServiceImpl extends LiveBaseService implements ILiveChannelPlaybackService
ERROR_INFO, ERROR_PREFIX, ERROR_PREFIX1, ERROR_SUFFIX| 构造器和说明 |
|---|
LiveChannelPlaybackServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
LiveCreateChannelVideoPlaybackResponse |
addChannelVideoPlayback(LiveCreateChannelVideoPlaybackRequest liveCreateChannelVideoPlaybackRequest)
将点播中的视频添加到视频库
API地址:https://dev.polyv.net/2019/liveproduct/l-api/zbglgn/lzhf/add-vod-playback/
|
Boolean |
clipRecordFile(LiveClipRecordFileRequest liveClipRecordFileRequest)
裁剪录制文件
API地址:https://help.polyv.net/#/live/api/channel/playback/clip_record_file
|
String |
convertChannelVideo(LiveConvertChannelVideoRequest liveConvertChannelVideoRequest)
已过时。
|
Boolean |
convertChannelVideoListAsync(LiveConvertChannelVideoListAsyncRequest liveConvertChannelVideoListAsyncRequest)
异步批量转存录制文件到点播
API地址:https://dev.polyv.net/2019/liveproduct/l-api/zbglgn/lzhf/async-convert/
|
Boolean |
deleteChannelPlaybackVideo(LiveDeleteChannelPlaybackVideoRequest liveDeleteChannelPlaybackVideoRequest)
删除视频库列表中的视频
API地址:https://dev.polyv.net/2017/liveproduct/l-api/zbglgn/lzhf/deleteplaybackvideo/
|
Boolean |
deleteChannelVideo(LiveDeleteChannelVideoRequest liveDeleteChannelVideoRequest)
删除直播暂存中的录制文件,sessionId和startTime不能同时为空,可单独提交某一参数。
|
String |
getChannelPlayBackEnabledInfo(LiveChannelPlaybackEnabledInfoRequest liveChannelPlaybackEnabledInfoRequest)
查询频道的回放开关状态
API地址:https://dev.polyv.net/2018/liveproduct/l-api/zbglgn/lzhf/get-playback-enbaled/
|
LiveChannelVideoOnlyResponse |
getChannelVideoOnly(LiveChannelVideoOnlyRequest liveChannelVideoOnlyRequest)
查询指定文件ID的录制文件信息
API地址:https://dev.polyv.net/2019/liveproduct/l-api/zbglgn/lzhf/get-record-file/
|
List<LiveGetPlaybackListResponse> |
getPlaybackList(LiveGetPlaybackListRequest liveGetPlaybackListRequest)
查询多个频道回放设置
API地址:https://help.polyv.net/#/live/api/v4/channel/playback/playback_list
|
LiveGetPlaybackSettingResponse |
getPlaybackSetting(LiveGetPlaybackSettingRequest liveGetPlaybackSettingRequest)
查询频道回放设置
API地址:https://help.polyv.net/#/live/api/channel/playback/get_playback_setting
|
LiveListChannelSessionInfoResponse |
listChannelSessionInfo(LiveListChannelSessionInfoRequest liveListChannelSessionInfoRequest)
查询频道直播场次信息
API地址:https://dev.polyv.net/2019/liveproduct/l-api/zbglgn/lzhf/get-channel-sessions/
|
LiveChannelVideoListResponse |
listChannelVideo(LiveChannelVideoListRequest liveChannelVideoListRequest)
查询频道录制视频信息
API地址:https://dev.polyv.net/2017/liveproduct/l-api/zbglgn/lzhf/recordfilesinfo/#fileUrl
|
LiveListChannelVideoLibraryResponse |
listChannelVideoLibrary(LiveListChannelVideoLibraryRequest liveListChannelVideoLibraryRequest)
查询视频库列表
API地址:https://dev.polyv.net/2017/liveproduct/l-api/zbglgn/lzhf/getplaybacklist/
|
String |
mergeChannelVideo(LiveMergeChannelVideoRequest liveMergeChannelVideoRequest)
合并录制文件(由于同步上传影响性能,暂时不对外提供)
注意:urls 和 fileIds 参数不能同时不传;两个参数都传时,urls生效。
|
Boolean |
mergeChannelVideoAsync(LiveMergeChannelVideoAsyncRequest liveMergeChannelVideoAsyncRequest)
异步合并直播录制文件
API地址:https://dev.polyv.net/2019/liveproduct/l-api/zbglgn/lzhf/async-merge/
|
LiveMergeMp4RecordResponse |
mergeMp4Record(LiveMergeMp4RecordRequest liveMergeMp4RecordRequest)
导出合并的录制文件并回调mp4下载地址
API地址:https://dev.polyv.net/2019/liveproduct/l-api/zbglgn/lzhf/merge-record-mp4/
|
Boolean |
setChannelDefaultVideo(LiveChannelDefaultVideoRequest liveChannelDefaultVideoRequest)
设置视频库列表的默认视频
API地址:https://dev.polyv.net/2017/liveproduct/l-api/zbglgn/lzhf/setdefault/
|
Boolean |
setChannelVideoSort(LiveChannelVideoSortRequest liveChannelVideoSortRequest)
设置视频库列表排序
API地址:https://dev.polyv.net/2018/liveproduct/l-api/zbglgn/lzhf/sort-playback/
|
String |
updateChannelPlayBackEnabledSetting(LiveChannelPlaybackEnabledRequest liveChannelPlaybackEnabledRequest)
设置后台回放开关
API地址:https://dev.polyv.net/2017/liveproduct/l-api/zbglgn/lzhf/setplaybackenabled/
|
Boolean |
updateChannelPlaybackSetting(LiveChannelPlaybackSettingRequest liveChannelPlaybackSettingRequest)
设置频道回放设置
API地址:https://help.polyv.net/#/live/api/channel/playback/set_record_setting
|
Boolean |
updatePlaybackTitle(LiveUpdatePlaybackTitleRequest liveUpdatePlaybackTitleRequest)
修改回放视频名称
API地址:https://dev.polyv.net/2020/liveproduct/l-api/zbglgn/lzhf/update-playback-title/
|
getReturnBinary, getReturnList, getReturnOne, postEmptyFormBodyReturnOne, postFormBodyReturnList, postFormBodyReturnOne, postJsonBodyReturnList, postJsonBodyReturnOne, postJsonBodyReturnOne, postJsonBodyReturnOne, responseConversion, uploadMultipartFile, uploadOneFilepublic LiveCreateChannelVideoPlaybackResponse addChannelVideoPlayback(LiveCreateChannelVideoPlaybackRequest liveCreateChannelVideoPlaybackRequest) throws IOException, NoSuchAlgorithmException
addChannelVideoPlayback 在接口中 ILiveChannelPlaybackServiceliveCreateChannelVideoPlaybackRequest - 将点播中的视频添加到视频库请求实体IOException - 异常NoSuchAlgorithmException - 异常public String mergeChannelVideo(LiveMergeChannelVideoRequest liveMergeChannelVideoRequest) throws IOException, NoSuchAlgorithmException
mergeChannelVideo 在接口中 ILiveChannelPlaybackServiceliveMergeChannelVideoRequest - 合并录制文件请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean mergeChannelVideoAsync(LiveMergeChannelVideoAsyncRequest liveMergeChannelVideoAsyncRequest) throws IOException, NoSuchAlgorithmException
mergeChannelVideoAsync 在接口中 ILiveChannelPlaybackServiceliveMergeChannelVideoAsyncRequest - 异步合并直播录制文件请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean convertChannelVideoListAsync(LiveConvertChannelVideoListAsyncRequest liveConvertChannelVideoListAsyncRequest) throws IOException, NoSuchAlgorithmException
convertChannelVideoListAsync 在接口中 ILiveChannelPlaybackServiceliveConvertChannelVideoListAsyncRequest - 异步批量转存录制文件到点播晴天实体IOException - 异常NoSuchAlgorithmException - 异常public LiveChannelVideoListResponse listChannelVideo(LiveChannelVideoListRequest liveChannelVideoListRequest) throws IOException, NoSuchAlgorithmException
listChannelVideo 在接口中 ILiveChannelPlaybackServiceliveChannelVideoListRequest - 查询频道录制视频信息请求实体IOException - 异常NoSuchAlgorithmException - 异常@Deprecated public String convertChannelVideo(LiveConvertChannelVideoRequest liveConvertChannelVideoRequest) throws IOException, NoSuchAlgorithmException
convertChannelVideo 在接口中 ILiveChannelPlaybackServiceliveConvertChannelVideoRequest - 同步转存录制文件到点播请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean updateChannelPlaybackSetting(LiveChannelPlaybackSettingRequest liveChannelPlaybackSettingRequest) throws IOException, NoSuchAlgorithmException
updateChannelPlaybackSetting 在接口中 ILiveChannelPlaybackServiceliveChannelPlaybackSettingRequest - 设置频道回放设置请求实体IOException - 异常NoSuchAlgorithmException - 异常public String updateChannelPlayBackEnabledSetting(LiveChannelPlaybackEnabledRequest liveChannelPlaybackEnabledRequest) throws IOException, NoSuchAlgorithmException
updateChannelPlayBackEnabledSetting 在接口中 ILiveChannelPlaybackServiceliveChannelPlaybackEnabledRequest - 设置后台回放开关请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveListChannelVideoLibraryResponse listChannelVideoLibrary(LiveListChannelVideoLibraryRequest liveListChannelVideoLibraryRequest) throws IOException, NoSuchAlgorithmException
listChannelVideoLibrary 在接口中 ILiveChannelPlaybackServiceliveListChannelVideoLibraryRequest - 查询视频库列表请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean setChannelVideoSort(LiveChannelVideoSortRequest liveChannelVideoSortRequest) throws IOException, NoSuchAlgorithmException
setChannelVideoSort 在接口中 ILiveChannelPlaybackServiceliveChannelVideoSortRequest - 设置视频库列表排序请求体IOException - 异常NoSuchAlgorithmException - 异常public LiveListChannelSessionInfoResponse listChannelSessionInfo(LiveListChannelSessionInfoRequest liveListChannelSessionInfoRequest) throws IOException, NoSuchAlgorithmException
listChannelSessionInfo 在接口中 ILiveChannelPlaybackServiceliveListChannelSessionInfoRequest - 查询频道直播场次信息请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveChannelVideoOnlyResponse getChannelVideoOnly(LiveChannelVideoOnlyRequest liveChannelVideoOnlyRequest) throws IOException, NoSuchAlgorithmException
getChannelVideoOnly 在接口中 ILiveChannelPlaybackServiceliveChannelVideoOnlyRequest - 查询指定文件ID的录制文件信息请求实体IOException - 异常NoSuchAlgorithmException - 异常public String getChannelPlayBackEnabledInfo(LiveChannelPlaybackEnabledInfoRequest liveChannelPlaybackEnabledInfoRequest) throws IOException, NoSuchAlgorithmException
getChannelPlayBackEnabledInfo 在接口中 ILiveChannelPlaybackServiceliveChannelPlaybackEnabledInfoRequest - 查询频道的回放开关状态请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean deleteChannelVideo(LiveDeleteChannelVideoRequest liveDeleteChannelVideoRequest) throws IOException, NoSuchAlgorithmException
deleteChannelVideo 在接口中 ILiveChannelPlaybackServiceliveDeleteChannelVideoRequest - 删除直播暂存中的录制文件请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean deleteChannelPlaybackVideo(LiveDeleteChannelPlaybackVideoRequest liveDeleteChannelPlaybackVideoRequest) throws IOException, NoSuchAlgorithmException
deleteChannelPlaybackVideo 在接口中 ILiveChannelPlaybackServiceliveDeleteChannelPlaybackVideoRequest - 删除视频库列表中的视频请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean setChannelDefaultVideo(LiveChannelDefaultVideoRequest liveChannelDefaultVideoRequest) throws IOException, NoSuchAlgorithmException
setChannelDefaultVideo 在接口中 ILiveChannelPlaybackServiceliveChannelDefaultVideoRequest - 设置视频库列表的默认视频请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean updatePlaybackTitle(LiveUpdatePlaybackTitleRequest liveUpdatePlaybackTitleRequest) throws IOException, NoSuchAlgorithmException
updatePlaybackTitle 在接口中 ILiveChannelPlaybackServiceliveUpdatePlaybackTitleRequest - 修改回放视频名称请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveMergeMp4RecordResponse mergeMp4Record(LiveMergeMp4RecordRequest liveMergeMp4RecordRequest) throws IOException, NoSuchAlgorithmException
mergeMp4Record 在接口中 ILiveChannelPlaybackServiceliveMergeMp4RecordRequest - 导出合并的录制文件并回调mp4下载地址请求实体IOException - 异常NoSuchAlgorithmException - 异常public List<LiveGetPlaybackListResponse> getPlaybackList(LiveGetPlaybackListRequest liveGetPlaybackListRequest) throws IOException, NoSuchAlgorithmException
getPlaybackList 在接口中 ILiveChannelPlaybackServiceliveGetPlaybackListRequest - 查询多个频道回放列表请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean clipRecordFile(LiveClipRecordFileRequest liveClipRecordFileRequest) throws IOException, NoSuchAlgorithmException
clipRecordFile 在接口中 ILiveChannelPlaybackServiceliveClipRecordFileRequest - 裁剪录制文件请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveGetPlaybackSettingResponse getPlaybackSetting(LiveGetPlaybackSettingRequest liveGetPlaybackSettingRequest) throws IOException, NoSuchAlgorithmException
getPlaybackSetting 在接口中 ILiveChannelPlaybackServiceliveGetPlaybackSettingRequest - 查询频道回放设置请求实体IOException - 异常NoSuchAlgorithmException - 异常Copyright © 2025. All rights reserved.