public class VodServiceImpl extends BaseServiceImpl implements IVodService
apiInfoList, serviceInfo| 限定符和类型 | 方法和说明 |
|---|---|
ApplyUploadResponse |
applyUpload(ApplyUploadRequest applyUploadRequest)
Apply upload apply upload response.
|
CommitUploadResponse |
commitUpload(CommitUploadRequest commitUploadRequest)
Commit upload commit upload response.
|
DomainInfo |
getDomainInfo(String spaceName)
Gets domain info.
|
GetDomainWeightsResponse |
getDomainWeights(String spaceName)
Gets domain weights.
|
ImgUrl |
getImageUrl(String spaceName,
String uri,
ImgUrlOption imgUrlOption)
Gets image url.
|
static IVodService |
getInstance() |
GetOriginVideoPlayResponse |
getOriginVideoPlayInfo(GetOriginVideoPlayRequest getOriginVideoPlayRequest)
Gets origin video play info.
|
String |
getPlayAuthToken(Map<String,String> params)
Gets play auth token.
|
GetPlayInfoResponse |
getPlayInfo(GetPlayInfoRequest getPlayInfoRequest)
Gets play info.
|
ImgUrl |
getPosterUrl(String spaceName,
String uri,
ImgUrlOption imgUrlOption)
Gets poster url.
|
String |
getRedirectPlay(GetRedirectPlayRequest getRedirectPlayRequest)
Gets redirect play.
|
String |
getUploadAuthToken(String space)
Gets upload auth token.
|
void |
setFallbackDomainWeights(Map<String,Integer> fallbackDomainWeights)
Sets fallback domain weights.
|
SetVideoPublishStatusResponse |
setVideoPublishStatus(SetVideoPublishStatusRequest setVideoPublishStatusRequest)
Sets video publish status.
|
StartTranscodeResponse |
startTranscode(StartTranscodeRequest startTranscodeRequest)
Start transcode start transcode resp.
|
CommitUploadResponse |
upload(String spaceName,
String filePath,
String fileType,
List<Functions> functions)
Upload commit upload response.
|
UploadMediaByUrlResponse |
uploadMediaByUrl(UploadMediaByUrlRequest uploadMediaByUrlRequest)
Upload media by url upload media by url response.
|
getAccessKey, getApiInfoList, getHttpClient, getISigner, getSecretKey, getServiceInfo, getSignUrl, json, post, put, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHttpClient, setRegion, setSecretKey, setServiceInfo, setSocketTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAccessKey, getSecretKey, getSignUrl, json, post, put, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHttpClient, setRegion, setSecretKey, setServiceInfo, setSocketTimeoutpublic static IVodService getInstance()
public GetPlayInfoResponse getPlayInfo(GetPlayInfoRequest getPlayInfoRequest) throws Exception
IVodServicegetPlayInfo 在接口中 IVodServicegetPlayInfoRequest - the get play info requestException - the exceptionpublic String getPlayAuthToken(Map<String,String> params) throws Exception
IVodServicegetPlayAuthToken 在接口中 IVodServiceparams - the paramsException - the exceptionpublic GetOriginVideoPlayResponse getOriginVideoPlayInfo(GetOriginVideoPlayRequest getOriginVideoPlayRequest) throws Exception
IVodServicegetOriginVideoPlayInfo 在接口中 IVodServicegetOriginVideoPlayRequest - the get origin video play requestException - the exceptionpublic String getRedirectPlay(GetRedirectPlayRequest getRedirectPlayRequest) throws Exception
IVodServicegetRedirectPlay 在接口中 IVodServicegetRedirectPlayRequest - the get redirect play requestException - the exceptionpublic StartTranscodeResponse startTranscode(StartTranscodeRequest startTranscodeRequest) throws Exception
IVodServicestartTranscode 在接口中 IVodServicestartTranscodeRequest - the reqException - the exceptionpublic SetVideoPublishStatusResponse setVideoPublishStatus(SetVideoPublishStatusRequest setVideoPublishStatusRequest) throws Exception
IVodServicesetVideoPublishStatus 在接口中 IVodServicesetVideoPublishStatusRequest - the set video publish status requestException - the exceptionpublic GetDomainWeightsResponse getDomainWeights(String spaceName)
IVodServicegetDomainWeights 在接口中 IVodServicespaceName - the space namepublic void setFallbackDomainWeights(Map<String,Integer> fallbackDomainWeights)
IVodServicesetFallbackDomainWeights 在接口中 IVodServicefallbackDomainWeights - the fallback weightspublic DomainInfo getDomainInfo(String spaceName)
IVodServicegetDomainInfo 在接口中 IVodServicespaceName - the space namepublic ImgUrl getPosterUrl(String spaceName, String uri, ImgUrlOption imgUrlOption)
IVodServicegetPosterUrl 在接口中 IVodServicespaceName - the space nameuri - the uriimgUrlOption - the img url optionpublic ImgUrl getImageUrl(String spaceName, String uri, ImgUrlOption imgUrlOption)
IVodServicegetImageUrl 在接口中 IVodServicespaceName - the space nameuri - the uriimgUrlOption - the img url optionpublic String getUploadAuthToken(String space) throws Exception
IVodServicegetUploadAuthToken 在接口中 IVodServicespace - the spaceException - the exceptionpublic ApplyUploadResponse applyUpload(ApplyUploadRequest applyUploadRequest) throws Exception
IVodServiceapplyUpload 在接口中 IVodServiceapplyUploadRequest - the apply upload requestException - the exceptionpublic CommitUploadResponse commitUpload(CommitUploadRequest commitUploadRequest) throws Exception
IVodServicecommitUpload 在接口中 IVodServicecommitUploadRequest - the commit upload requestException - the exceptionpublic UploadMediaByUrlResponse uploadMediaByUrl(UploadMediaByUrlRequest uploadMediaByUrlRequest) throws Exception
IVodServiceuploadMediaByUrl 在接口中 IVodServiceuploadMediaByUrlRequest - the upload media by url requestException - the exceptionpublic CommitUploadResponse upload(String spaceName, String filePath, String fileType, List<Functions> functions) throws Exception
IVodServiceupload 在接口中 IVodServicespaceName - the space namefilePath - the file pathfileType - the file typefunctions - the functionsException - the exceptionCopyright © 2019. All rights reserved.