public class VodServiceImpl extends BaseServiceImpl implements IVodService
apiInfoList, serviceInfo| Modifier | Constructor and Description |
|---|---|
protected |
VodServiceImpl(String region) |
destroy, getAccessKey, getApiInfoList, getHttpClient, getISigner, getRegion, getSecretKey, getServiceInfo, getSignUrl, getWholeSignUrl, json, post, put, putData, putDataWithResponse, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHost, setHttpClient, setRegion, setScheme, setSecretKey, setServiceInfo, setSocketTimeout, signSts2clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, getAccessKey, getRegion, getSecretKey, getSignUrl, getWholeSignUrl, json, post, put, putData, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHost, setHttpClient, setRegion, setScheme, setSecretKey, setServiceInfo, setSocketTimeout, signSts2protected VodServiceImpl(String region)
public static IVodService getInstance()
public static IVodService getInstance(String region) throws Exception
Exceptionpublic String getPrivateDrmAuthToken(VodGetPrivateDrmPlayAuthRequest input, Long expireSeconds) throws Exception
IVodServicegetPrivateDrmAuthToken in interface IVodServiceinput - the paramsexpireSeconds - the paramsException - the exceptionpublic String createSha1HlsDrmAuthToken(Long expireSeconds) throws Exception
IVodServicecreateSha1HlsDrmAuthToken in interface IVodServiceexpireSeconds - the paramsException - the exceptionpublic String createHlsDrmAuthToken(String dsa, Long expireSeconds) throws Exception
Exceptionpublic String getSubtitleAuthToken(VodGetSubtitleInfoListRequest input, Long expireSeconds) throws Exception
IVodServicegetSubtitleAuthToken in interface IVodServiceinput - the paramsException - the exceptionpublic String getPlayAuthToken(VodGetPlayInfoRequest input, Long expireSeconds) throws Exception
IVodServicegetPlayAuthToken in interface IVodServiceinput - the paramsException - the exceptionpublic String getThirdPartyDrmAuthToken(VodGetDrmLicenseRequest input, Long expireSeconds) throws Exception
IVodServicegetThirdPartyDrmAuthToken in interface IVodServiceinput - the paramsException - the exceptionpublic String getFairPlayCertUrl(String certId, Long expireSeconds) throws Exception
IVodServicegetFairPlayCertUrl in interface IVodServicecertId - cert idException - the exceptionpublic SecurityToken2 getUploadSts2() throws Exception
IVodServicegetUploadSts2 in interface IVodServiceException - the exceptionpublic SecurityToken2 getUploadSts2WithExpire(long expire) throws Exception
IVodServicegetUploadSts2WithExpire in interface IVodServiceexpire - longException - the exceptionpublic VodCommitUploadInfoResponse uploadMedia(VodUploadMediaRequest vodUploadMediaRequest, VodUploadProgressListener listener) throws Exception
IVodServiceuploadMedia in interface IVodServicevodUploadMediaRequest - com.byteplus.service.vod.model.request.VodUploadMediaRequestException - the exceptionpublic VodCommitUploadInfoResponse uploadMaterial(VodUploadMaterialRequest vodUploadMaterialRequest, VodUploadProgressListener listener) throws Exception
IVodServiceuploadMaterial in interface IVodServiceExceptionpublic VodSubmitDirectEditTaskAsyncResponse submitDirectEditTaskAsync(VodSubmitDirectEditTaskAsyncRequest input) throws Exception
submitDirectEditTaskAsync in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodSubmitDirectEditTaskAsyncRequestException - the exceptionpublic VodGetDirectEditResultResponse getDirectEditResult(VodGetDirectEditResultRequest input) throws Exception
getDirectEditResult in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodGetDirectEditResultRequestException - the exceptionpublic VodGetDirectEditProgressResponse getDirectEditProgress(VodGetDirectEditProgressRequest input) throws Exception
getDirectEditProgress in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodGetDirectEditProgressRequestException - the exceptionpublic VodGetPlayInfoResponse getPlayInfo(VodGetPlayInfoRequest input) throws Exception
getPlayInfo in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodGetPlayInfoRequestException - the exceptionpublic VodGetPrivateDrmPlayAuthResponse getPrivateDrmPlayAuth(VodGetPrivateDrmPlayAuthRequest input) throws Exception
getPrivateDrmPlayAuth in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodGetPrivateDrmPlayAuthRequestException - the exceptionpublic VodGetHlsDecryptionKeyResponse getHlsDecryptionKey(VodGetHlsDecryptionKeyRequest input) throws Exception
getHlsDecryptionKey in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodGetHlsDecryptionKeyRequestException - the exceptionpublic VodCreateHlsDecryptionKeyResponse createHlsDecryptionKey(VodCreateHlsDecryptionKeyRequest input) throws Exception
createHlsDecryptionKey in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodCreateHlsDecryptionKeyRequestException - the exceptionpublic VodGetPlayInfoWithLiveTimeShiftSceneResponse getPlayInfoWithLiveTimeShiftScene(VodGetPlayInfoWithLiveTimeShiftSceneRequest input) throws Exception
getPlayInfoWithLiveTimeShiftScene in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodGetPlayInfoWithLiveTimeShiftSceneRequestException - the exceptionpublic VodUrlUploadResponse uploadMediaByUrl(VodUrlUploadRequest input) throws Exception
uploadMediaByUrl in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodUrlUploadRequestException - the exceptionpublic VodQueryUploadTaskInfoResponse queryUploadTaskInfo(VodQueryUploadTaskInfoRequest input) throws Exception
queryUploadTaskInfo in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodQueryUploadTaskInfoRequestException - the exceptionpublic VodApplyUploadInfoResponse applyUploadInfo(VodApplyUploadInfoRequest input) throws Exception
applyUploadInfo in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodApplyUploadInfoRequestException - the exceptionpublic VodCommitUploadInfoResponse commitUploadInfo(VodCommitUploadInfoRequest input) throws Exception
commitUploadInfo in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodCommitUploadInfoRequestException - the exceptionpublic VodListFileMetaInfosByFileNamesResponse listFileMetaInfosByFileNames(VodListFileMetaInfosByFileNamesRequest input) throws Exception
listFileMetaInfosByFileNames in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodListFileMetaInfosByFileNamesRequestException - the exceptionpublic VodUpdateMediaInfoResponse updateMediaInfo(VodUpdateMediaInfoRequest input) throws Exception
updateMediaInfo in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodUpdateMediaInfoRequestException - the exceptionpublic VodUpdateMediaPublishStatusResponse updateMediaPublishStatus(VodUpdateMediaPublishStatusRequest input) throws Exception
updateMediaPublishStatus in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodUpdateMediaPublishStatusRequestException - the exceptionpublic VodUpdateMediaStorageClassResponse updateMediaStorageClass(VodUpdateMediaStorageClassRequest input) throws Exception
updateMediaStorageClass in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodUpdateMediaStorageClassRequestException - the exceptionpublic VodGetMediaInfosResponse getMediaInfos(VodGetMediaInfosRequest input) throws Exception
getMediaInfos in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodGetMediaInfosRequestException - the exceptionpublic VodGetRecommendedPosterResponse getRecommendedPoster(VodGetRecommendedPosterRequest input) throws Exception
getRecommendedPoster in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodGetRecommendedPosterRequestException - the exceptionpublic VodDeleteMediaResponse deleteMedia(VodDeleteMediaRequest input) throws Exception
deleteMedia in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodDeleteMediaRequestException - the exceptionpublic VodDeleteTranscodesResponse deleteTranscodes(VodDeleteTranscodesRequest input) throws Exception
deleteTranscodes in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodDeleteTranscodesRequestException - the exceptionpublic VodGetFileInfosResponse getFileInfos(VodGetFileInfosRequest input) throws Exception
getFileInfos in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodGetFileInfosRequestException - the exceptionpublic VodDeleteMediaTosFileResponse deleteMediaTosFile(VodDeleteMediaTosFileRequest input) throws Exception
deleteMediaTosFile in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodDeleteMediaTosFileRequestException - the exceptionpublic VodGetMediaListResponse getMediaList(VodGetMediaListRequest input) throws Exception
getMediaList in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodGetMediaListRequestException - the exceptionpublic VodGetSubtitleInfoListResponse getSubtitleInfoList(VodGetSubtitleInfoListRequest input) throws Exception
getSubtitleInfoList in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodGetSubtitleInfoListRequestException - the exceptionpublic VodUpdateSubtitleStatusResponse updateSubtitleStatus(VodUpdateSubtitleStatusRequest input) throws Exception
updateSubtitleStatus in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodUpdateSubtitleStatusRequestException - the exceptionpublic VodUpdateSubtitleInfoResponse updateSubtitleInfo(VodUpdateSubtitleInfoRequest input) throws Exception
updateSubtitleInfo in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequestException - the exceptionpublic VodCreatePlaylistResponse createPlaylist(VodCreatePlaylistRequest input) throws Exception
createPlaylist in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodCreatePlaylistRequestException - the exceptionpublic VodGetPlaylistsResponse getPlaylists(VodGetPlaylistsRequest input) throws Exception
getPlaylists in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodGetPlaylistsRequestException - the exceptionpublic VodUpdatePlaylistResponse updatePlaylist(VodUpdatePlaylistRequest input) throws Exception
updatePlaylist in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodUpdatePlaylistRequestException - the exceptionpublic VodDeletePlaylistResponse deletePlaylist(VodDeletePlaylistRequest input) throws Exception
deletePlaylist in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodDeletePlaylistRequestException - the exceptionpublic VodCreateVideoClassificationResponse createVideoClassification(VodCreateVideoClassificationRequest input) throws Exception
createVideoClassification in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodCreateVideoClassificationRequestException - the exceptionpublic VodUpdateVideoClassificationResponse updateVideoClassification(VodUpdateVideoClassificationRequest input) throws Exception
updateVideoClassification in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodUpdateVideoClassificationRequestException - the exceptionpublic VodDeleteVideoClassificationResponse deleteVideoClassification(VodDeleteVideoClassificationRequest input) throws Exception
deleteVideoClassification in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodDeleteVideoClassificationRequestException - the exceptionpublic VodListVideoClassificationsResponse listVideoClassifications(VodListVideoClassificationsRequest input) throws Exception
listVideoClassifications in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodListVideoClassificationsRequestException - the exceptionpublic VodListSnapshotsResponse listSnapshots(VodListSnapshotsRequest input) throws Exception
listSnapshots in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodListSnapshotsRequestException - the exceptionpublic VodStartWorkflowResponse startWorkflow(VodStartWorkflowRequest input) throws Exception
startWorkflow in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodStartWorkflowRequestException - the exceptionpublic VodRetrieveTranscodeResultResponse retrieveTranscodeResult(VodRetrieveTranscodeResultRequest input) throws Exception
retrieveTranscodeResult in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodRetrieveTranscodeResultRequestException - the exceptionpublic VodGetWorkflowExecutionStatusResponse GetWorkflowExecution(VodGetWorkflowExecutionStatusRequest input) throws Exception
GetWorkflowExecution in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodGetWorkflowExecutionStatusRequestException - the exceptionpublic VodCreateSpaceResponse createSpace(VodCreateSpaceRequest input) throws Exception
createSpace in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodCreateSpaceRequestException - the exceptionpublic VodListSpaceResponse listSpace(VodListSpaceRequest input) throws Exception
listSpace in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodListSpaceRequestException - the exceptionpublic VodGetSpaceDetailResponse getSpaceDetail(VodGetSpaceDetailRequest input) throws Exception
getSpaceDetail in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodGetSpaceDetailRequestException - the exceptionpublic VodUpdateSpaceUploadConfigResponse updateSpaceUploadConfig(VodUpdateSpaceUploadConfigRequest input) throws Exception
updateSpaceUploadConfig in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodUpdateSpaceUploadConfigRequestException - the exceptionpublic VodDescribeVodSpaceStorageDataResponse describeVodSpaceStorageData(VodDescribeVodSpaceStorageDataRequest input) throws Exception
describeVodSpaceStorageData in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodDescribeVodSpaceStorageDataRequestException - the exceptionpublic VodStartDomainResponse startDomain(VodStartDomainRequest input) throws Exception
startDomain in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodStartDomainRequestException - the exceptionpublic VodStopDomainResponse stopDomain(VodStopDomainRequest input) throws Exception
stopDomain in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodStopDomainRequestException - the exceptionpublic VodAddDomainToSchedulerResponse addDomainToScheduler(VodAddDomainToSchedulerRequest input) throws Exception
addDomainToScheduler in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodAddDomainToSchedulerRequestException - the exceptionpublic VodRemoveDomainFromSchedulerResponse removeDomainFromScheduler(VodRemoveDomainFromSchedulerRequest input) throws Exception
removeDomainFromScheduler in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodRemoveDomainFromSchedulerRequestException - the exceptionpublic VodUpdateDomainPlayRuleResponse updateDomainPlayRule(VodUpdateDomainPlayRuleRequestRequest input) throws Exception
updateDomainPlayRule in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodUpdateDomainPlayRuleRequestRequestException - the exceptionpublic VodListDomainResponse listDomain(VodListDomainRequest input) throws Exception
listDomain in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodListDomainRequestException - the exceptionpublic VodCreateCdnRefreshTaskResponse createCdnRefreshTask(VodCreateCdnRefreshTaskRequest input) throws Exception
createCdnRefreshTask in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodCreateCdnRefreshTaskRequestException - the exceptionpublic VodCreateCdnPreloadTaskResponse createCdnPreloadTask(VodCreateCdnPreloadTaskRequest input) throws Exception
createCdnPreloadTask in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodCreateCdnPreloadTaskRequestException - the exceptionpublic VodListCdnTasksResponse listCdnTasks(VodListCdnTasksRequest input) throws Exception
listCdnTasks in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodListCdnTasksRequestException - the exceptionpublic VodListCdnAccessLogResponse listCdnAccessLog(VodListCdnAccessLogRequest input) throws Exception
listCdnAccessLog in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodListCdnAccessLogRequestException - the exceptionpublic VodListCdnTopAccessUrlResponse listCdnTopAccessUrl(VodListCdnTopAccessUrlRequest input) throws Exception
listCdnTopAccessUrl in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodListCdnTopAccessUrlRequestException - the exceptionpublic VodDescribeVodDomainBandwidthDataResponse describeVodDomainBandwidthData(VodDescribeVodDomainBandwidthDataRequest input) throws Exception
describeVodDomainBandwidthData in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodDescribeVodDomainBandwidthDataRequestException - the exceptionpublic VodCdnStatisticsCommonResponse listCdnUsageData(VodListCdnUsageDataRequest input) throws Exception
listCdnUsageData in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodListCdnUsageDataRequestException - the exceptionpublic VodListCdnUsageDataDetailResponse listCdnUsageDataDetail(VodListCdnUsageDataDetailRequest input) throws Exception
listCdnUsageDataDetail in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodListCdnUsageDataDetailRequestException - the exceptionpublic VodCdnStatisticsCommonResponse listCdnStatusData(VodListCdnStatusDataRequest input) throws Exception
listCdnStatusData in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodListCdnStatusDataRequestException - the exceptionpublic VodListCdnStatusDataDetailResponse listCdnStatusDataDetail(VodListCdnStatusDataDetailRequest input) throws Exception
listCdnStatusDataDetail in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodListCdnStatusDataDetailRequestException - the exceptionpublic VodDescribeIPInfoResponse describeIpInfo(VodDescribeIPInfoRequest input) throws Exception
describeIpInfo in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodDescribeIPInfoRequestException - the exceptionpublic VodDescribeVodDomainTrafficDataResponse describeVodDomainTrafficData(VodDescribeVodDomainTrafficDataRequest input) throws Exception
describeVodDomainTrafficData in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodDescribeVodDomainTrafficDataRequestException - the exceptionpublic VodCdnStatisticsCommonResponse listCdnPvData(VodListCdnPvDataRequest input) throws Exception
listCdnPvData in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodListCdnPvDataRequestException - the exceptionpublic VodSubmitBlockTasksResponse submitBlockTasks(VodSubmitBlockTasksRequest input) throws Exception
submitBlockTasks in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodSubmitBlockTasksRequestException - the exceptionpublic VodGetContentBlockTasksResponse getContentBlockTasks(VodGetContentBlockTasksRequest input) throws Exception
getContentBlockTasks in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodGetContentBlockTasksRequestException - the exceptionpublic VodCreateDomainV2Response createDomain(VodCreateDomainV2Request input) throws Exception
createDomain in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodCreateDomainV2RequestException - the exceptionpublic VodUpdateDomainExpireV2Response updateDomainExpire(VodUpdateDomainExpireV2Request input) throws Exception
updateDomainExpire in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodUpdateDomainExpireV2RequestException - the exceptionpublic AddOrUpdateCertificateV2Response addOrUpdateCertificate(AddOrUpdateCertificateV2Request input) throws Exception
addOrUpdateCertificate in interface IVodServiceinput - com.byteplus.service.vod.model.request.AddOrUpdateCertificateV2RequestException - the exceptionpublic VodAddCallbackSubscriptionResponse addCallbackSubscription(VodAddCallbackSubscriptionRequest input) throws Exception
addCallbackSubscription in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodAddCallbackSubscriptionRequestException - the exceptionpublic VodSetCallbackEventResponse setCallbackEvent(VodSetCallbackEventRequest input) throws Exception
setCallbackEvent in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodSetCallbackEventRequestException - the exceptionpublic DescribeVodSpaceTranscodeDataResponse describeVodSpaceTranscodeData(DescribeVodSpaceTranscodeDataRequest input) throws Exception
describeVodSpaceTranscodeData in interface IVodServiceinput - com.byteplus.service.vod.model.request.DescribeVodSpaceTranscodeDataRequestException - the exceptionpublic DescribeVodSpaceSubtitleStatisDataResponse describeVodSpaceSubtitleStatisData(DescribeVodSpaceSubtitleStatisDataRequest input) throws Exception
describeVodSpaceSubtitleStatisData in interface IVodServiceinput - com.byteplus.service.vod.model.request.DescribeVodSpaceSubtitleStatisDataRequestException - the exceptionpublic DescribeVodSnapshotDataResponse describeVodSnapshotData(DescribeVodSnapshotDataRequest input) throws Exception
describeVodSnapshotData in interface IVodServiceinput - com.byteplus.service.vod.model.request.DescribeVodSnapshotDataRequestException - the exceptionpublic DescribeVodEnhanceImageDataResponse describeVodEnhanceImageData(DescribeVodEnhanceImageDataRequest input) throws Exception
describeVodEnhanceImageData in interface IVodServiceinput - com.byteplus.service.vod.model.request.DescribeVodEnhanceImageDataRequestException - the exceptionpublic DescribeVodPlayedStatisDataResponse describeVodPlayedStatisData(DescribeVodPlayedStatisDataRequest input) throws Exception
describeVodPlayedStatisData in interface IVodServiceinput - com.byteplus.service.vod.model.request.DescribeVodPlayedStatisDataRequestException - the exceptionpublic DescribeVodMostPlayedStatisDataResponse describeVodMostPlayedStatisData(DescribeVodMostPlayedStatisDataRequest input) throws Exception
describeVodMostPlayedStatisData in interface IVodServiceinput - com.byteplus.service.vod.model.request.DescribeVodMostPlayedStatisDataRequestException - the exceptionpublic DescribeVodRealtimeMediaDataResponse describeVodRealtimeMediaData(DescribeVodRealtimeMediaDataRequest input) throws Exception
describeVodRealtimeMediaData in interface IVodServiceinput - com.byteplus.service.vod.model.request.DescribeVodRealtimeMediaDataRequestException - the exceptionCopyright © 2025. All rights reserved.