public class VodServiceImpl extends BaseServiceImpl implements IVodService
apiInfoList, serviceInfo| Modifier | Constructor and Description |
|---|---|
protected |
VodServiceImpl() |
getAccessKey, getApiInfoList, getHttpClient, getISigner, getRegion, getSecretKey, getServiceInfo, getSignUrl, 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, waitgetAccessKey, getRegion, getSecretKey, getSignUrl, json, post, put, putData, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHost, setHttpClient, setRegion, setScheme, setSecretKey, setServiceInfo, setSocketTimeout, signSts2public static IVodService getInstance()
public static IVodService getInstance(String region) throws Exception
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 getPlayAuthToken(VodGetPlayInfoRequest input, Long expireSeconds) throws Exception
IVodServicegetPlayAuthToken in interface IVodServiceinput - the paramsException - 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) throws Exception
IVodServiceuploadMedia in interface IVodServicevodUploadMediaRequest - com.byteplus.service.vod.model.request.VodUploadMediaRequestException - the exceptionpublic VodCommitUploadInfoResponse uploadMaterial(VodUploadMaterialRequest vodUploadMaterialRequest) throws Exception
IVodServiceuploadMaterial in interface IVodServiceExceptionpublic 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 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 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 VodGetMediaInfosResponse getMediaInfos(VodGetMediaInfosRequest input) throws Exception
getMediaInfos in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodGetMediaInfosRequestException - 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 VodGetMediaListResponse getMediaList(VodGetMediaListRequest input) throws Exception
getMediaList in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodGetMediaListRequestException - the exceptionpublic VodStartWorkflowResponse StartWorkflow(VodStartWorkflowRequest input) throws Exception
StartWorkflow in interface IVodServiceinput - com.byteplus.service.vod.model.request.VodStartWorkflowRequestException - the exceptionCopyright © 2022. All rights reserved.