public interface IVodService extends IBaseService
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
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> fallbackWeights)
Sets fallback domain weights.
|
SetVideoPublishStatusResponse |
setVideoPublishStatus(SetVideoPublishStatusRequest setVideoPublishStatusRequest)
Sets video publish status.
|
StartTranscodeResponse |
startTranscode(StartTranscodeRequest req)
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, getSecretKey, getSignUrl, json, post, put, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHttpClient, setRegion, setSecretKey, setServiceInfo, setSocketTimeoutGetPlayInfoResponse getPlayInfo(GetPlayInfoRequest getPlayInfoRequest) throws Exception
getPlayInfoRequest - the get play info requestException - the exceptionString getPlayAuthToken(Map<String,String> params) throws Exception
params - the paramsException - the exceptionGetOriginVideoPlayResponse getOriginVideoPlayInfo(GetOriginVideoPlayRequest getOriginVideoPlayRequest) throws Exception
getOriginVideoPlayRequest - the get origin video play requestException - the exceptionString getRedirectPlay(GetRedirectPlayRequest getRedirectPlayRequest) throws Exception
getRedirectPlayRequest - the get redirect play requestException - the exceptionStartTranscodeResponse startTranscode(StartTranscodeRequest req) throws Exception
req - the reqException - the exceptionSetVideoPublishStatusResponse setVideoPublishStatus(SetVideoPublishStatusRequest setVideoPublishStatusRequest) throws Exception
setVideoPublishStatusRequest - the set video publish status requestException - the exceptionGetDomainWeightsResponse getDomainWeights(String spaceName)
spaceName - the space namevoid setFallbackDomainWeights(Map<String,Integer> fallbackWeights)
fallbackWeights - the fallback weightsDomainInfo getDomainInfo(String spaceName) throws Exception
spaceName - the space nameException - the exceptionImgUrl getPosterUrl(String spaceName, String uri, ImgUrlOption imgUrlOption)
spaceName - the space nameuri - the uriimgUrlOption - the img url optionImgUrl getImageUrl(String spaceName, String uri, ImgUrlOption imgUrlOption)
spaceName - the space nameuri - the uriimgUrlOption - the img url optionString getUploadAuthToken(String space) throws Exception
space - the spaceException - the exceptionApplyUploadResponse applyUpload(ApplyUploadRequest applyUploadRequest) throws Exception
applyUploadRequest - the apply upload requestException - the exceptionCommitUploadResponse commitUpload(CommitUploadRequest commitUploadRequest) throws Exception
commitUploadRequest - the commit upload requestException - the exceptionCommitUploadResponse upload(String spaceName, String filePath, String fileType, List<Functions> functions) throws Exception
spaceName - the space namefilePath - the file pathfileType - the file typefunctions - the functionsException - the exceptionUploadMediaByUrlResponse uploadMediaByUrl(UploadMediaByUrlRequest uploadMediaByUrlRequest) throws Exception
uploadMediaByUrlRequest - the upload media by url requestException - the exceptionCopyright © 2019. All rights reserved.