接口 IVodService
- 所有超级接口:
IBaseService
- 所有已知实现类:
VodServiceImpl
public interface IVodService extends IBaseService
The interface Vod service.
-
方法概要
修饰符和类型 方法 说明 ApplyUploadResponseapplyUpload(ApplyUploadRequest applyUploadRequest)Apply upload apply upload response.CommitUploadResponsecommitUpload(CommitUploadRequest commitUploadRequest)Commit upload commit upload response.DomainInfogetDomainInfo(String spaceName)Gets domain info.GetDomainWeightsResponsegetDomainWeights(String spaceName)Gets domain weights.GetOriginVideoPlayResponsegetOriginVideoPlayInfo(GetOriginVideoPlayRequest getOriginVideoPlayRequest)Gets origin video play info.StringgetPlayAuthToken(Map<String,String> params)Gets play auth token.GetPlayInfoResponsegetPlayInfo(GetPlayInfoRequest getPlayInfoRequest)Gets play info.ImgUrlgetPosterUrl(String spaceName, String uri, ImgUrlOption imgUrlOption)Gets poster url.StringgetRedirectPlay(GetRedirectPlayRequest getRedirectPlayRequest)Gets redirect play.GetSpaceResponsegetSpace(GetSpaceRequest getSpaceRequest)StringgetUploadAuthToken(Map<String,String> params)Gets upload auth token.ModifyVideoInfoResponsemodifyVideoInfo(ModifyVideoInfoRequest modifyVideoInfoRequest)Modify video info modify video info response.voidsetFallbackDomainWeights(Map<String,Integer> fallbackWeights)Sets fallback domain weights.SetVideoPublishStatusResponsesetVideoPublishStatus(SetVideoPublishStatusRequest setVideoPublishStatusRequest)Sets video publish status.voidshutdown()Shutdown.StartTranscodeResponsestartTranscode(StartTranscodeRequest req)Start transcode start transcode resp.UploadMediaByUrlResponseuploadMediaByUrl(UploadMediaByUrlRequest uploadMediaByUrlRequest)Upload media by url upload media by url response.StringuploadPoster(String vid, String spaceName, String filePath, String fileType)Upload poster string.CommitUploadResponseuploadVideo(String spaceName, String filePath, String fileType, List<Functions> functions)Upload commit upload response.从接口继承的方法 com.bytedanceapi.service.IBaseService
getAccessKey, getSecretKey, getSignUrl, json, post, put, putData, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHost, setHttpClient, setRegion, setScheme, setSecretKey, setServiceInfo, setSocketTimeout, signSts2
-
方法详细资料
-
getSpace
- 抛出:
Exception
-
getPlayInfo
Gets play info.- 参数:
getPlayInfoRequest- the get play info request- 返回:
- the play info
- 抛出:
Exception- the exception
-
getPlayAuthToken
Gets play auth token.- 参数:
params- the params- 返回:
- the play auth token
- 抛出:
Exception- the exception
-
getOriginVideoPlayInfo
GetOriginVideoPlayResponse getOriginVideoPlayInfo(GetOriginVideoPlayRequest getOriginVideoPlayRequest) throws ExceptionGets origin video play info.- 参数:
getOriginVideoPlayRequest- the get origin video play request- 返回:
- the origin video play info
- 抛出:
Exception- the exception
-
getRedirectPlay
Gets redirect play.- 参数:
getRedirectPlayRequest- the get redirect play request- 返回:
- the redirect play
- 抛出:
Exception- the exception
-
startTranscode
Start transcode start transcode resp.- 参数:
req- the req- 返回:
- the start transcode resp
- 抛出:
Exception- the exception
-
setVideoPublishStatus
SetVideoPublishStatusResponse setVideoPublishStatus(SetVideoPublishStatusRequest setVideoPublishStatusRequest) throws ExceptionSets video publish status.- 参数:
setVideoPublishStatusRequest- the set video publish status request- 返回:
- the video publish status
- 抛出:
Exception- the exception
-
getDomainWeights
Gets domain weights.- 参数:
spaceName- the space name- 返回:
- the domain weights
-
setFallbackDomainWeights
Sets fallback domain weights.- 参数:
fallbackWeights- the fallback weights
-
shutdown
void shutdown()Shutdown. -
getDomainInfo
Gets domain info.- 参数:
spaceName- the space name- 返回:
- the domain info
- 抛出:
Exception- the exception
-
getPosterUrl
Gets poster url.- 参数:
spaceName- the space nameuri- the uriimgUrlOption- the img url option- 返回:
- the poster url
-
getUploadAuthToken
Gets upload auth token.- 参数:
params- the params- 返回:
- the upload auth token
- 抛出:
Exception- the exception
-
applyUpload
Apply upload apply upload response.- 参数:
applyUploadRequest- the apply upload request- 返回:
- the apply upload response
- 抛出:
Exception- the exception
-
commitUpload
Commit upload commit upload response.- 参数:
commitUploadRequest- the commit upload request- 返回:
- the commit upload response
- 抛出:
Exception- the exception
-
uploadVideo
CommitUploadResponse uploadVideo(String spaceName, String filePath, String fileType, List<Functions> functions) throws ExceptionUpload commit upload response.- 参数:
spaceName- the space namefilePath- the file pathfileType- the file typefunctions- the functions- 返回:
- the commit upload response
- 抛出:
Exception- the exception
-
uploadPoster
String uploadPoster(String vid, String spaceName, String filePath, String fileType) throws ExceptionUpload poster string.- 参数:
vid- the vidspaceName- the space namefilePath- the file pathfileType- the file type- 返回:
- the string
- 抛出:
Exception- the exception
-
uploadMediaByUrl
UploadMediaByUrlResponse uploadMediaByUrl(UploadMediaByUrlRequest uploadMediaByUrlRequest) throws ExceptionUpload media by url upload media by url response.- 参数:
uploadMediaByUrlRequest- the upload media by url request- 返回:
- the upload media by url response
- 抛出:
Exception- the exception
-
modifyVideoInfo
ModifyVideoInfoResponse modifyVideoInfo(ModifyVideoInfoRequest modifyVideoInfoRequest) throws ExceptionModify video info modify video info response.- 参数:
modifyVideoInfoRequest- the modify video info request- 返回:
- the modify video info response
- 抛出:
Exception- the exception
-