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.
|
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(Map<String,String> params)
Gets upload auth token.
|
ModifyVideoInfoResponse |
modifyVideoInfo(ModifyVideoInfoRequest modifyVideoInfoRequest)
Modify video info modify video info response.
|
void |
setFallbackDomainWeights(Map<String,Integer> fallbackWeights)
Sets fallback domain weights.
|
SetVideoPublishStatusResponse |
setVideoPublishStatus(SetVideoPublishStatusRequest setVideoPublishStatusRequest)
Sets video publish status.
|
void |
shutdown()
Shutdown.
|
StartTranscodeResponse |
startTranscode(StartTranscodeRequest req)
Start transcode start transcode resp.
|
UploadMediaByUrlResponse |
uploadMediaByUrl(UploadMediaByUrlRequest uploadMediaByUrlRequest)
Upload media by url upload media by url response.
|
String |
uploadPoster(String vid,
String spaceName,
String filePath,
String fileType)
Upload poster string.
|
CommitUploadResponse |
uploadVideo(String spaceName,
String filePath,
String fileType,
List<Functions> functions)
Upload commit upload 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 weightsvoid shutdown()
DomainInfo 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 optionString getUploadAuthToken(Map<String,String> params) throws Exception
params - the paramsException - 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 uploadVideo(String spaceName, String filePath, String fileType, List<Functions> functions) throws Exception
spaceName - the space namefilePath - the file pathfileType - the file typefunctions - the functionsException - the exceptionString uploadPoster(String vid, String spaceName, String filePath, String fileType) throws Exception
vid - the vidspaceName - the space namefilePath - the file pathfileType - the file typeException - the exceptionUploadMediaByUrlResponse uploadMediaByUrl(UploadMediaByUrlRequest uploadMediaByUrlRequest) throws Exception
uploadMediaByUrlRequest - the upload media by url requestException - the exceptionModifyVideoInfoResponse modifyVideoInfo(ModifyVideoInfoRequest modifyVideoInfoRequest) throws Exception
modifyVideoInfoRequest - the modify video info requestException - the exceptionCopyright © 2019. All rights reserved.