类 VodServiceImpl
java.lang.Object
com.bytedanceapi.service.BaseServiceImpl
com.bytedanceapi.service.vod.impl.VodServiceImpl
- 所有已实现的接口:
IBaseService,IVodService
public class VodServiceImpl extends BaseServiceImpl implements IVodService
-
字段概要
-
方法概要
修饰符和类型 方法 说明 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.static IVodServicegetInstance()static IVodServicegetInstance(String region)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.SecurityToken2getVideoPlayAuth(List<String> vidList, List<String> streamTypeList, List<String> watermarkList)SecurityToken2getVideoPlayAuthWithExpiredTime(List<String> vidList, List<String> streamTypeList, List<String> watermarkList, long expiredTime)ModifyVideoInfoResponsemodifyVideoInfo(ModifyVideoInfoRequest modifyVideoInfoRequest)Modify video info modify video info response.voidsetFallbackDomainWeights(Map<String,Integer> fallbackDomainWeights)Sets fallback domain weights.SetVideoPublishStatusResponsesetVideoPublishStatus(SetVideoPublishStatusRequest setVideoPublishStatusRequest)Sets video publish status.voidshutdown()Shutdown.StartTranscodeResponsestartTranscode(StartTranscodeRequest startTranscodeRequest)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.BaseServiceImpl
getAccessKey, getApiInfoList, getHttpClient, getISigner, getSecretKey, getServiceInfo, getSignUrl, json, post, put, putData, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHost, setHttpClient, setRegion, setScheme, setSecretKey, setServiceInfo, setSocketTimeout, signSts2从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.bytedanceapi.service.IBaseService
getAccessKey, getSecretKey, getSignUrl, json, post, put, putData, query, setAccessKey, setClientNoReuse, setConnectionTimeout, setHost, setHttpClient, setRegion, setScheme, setSecretKey, setServiceInfo, setSocketTimeout, signSts2
-
方法详细资料
-
getInstance
-
getInstance
- 抛出:
Exception
-
getSpace
- 指定者:
getSpace在接口中IVodService- 抛出:
Exception
-
getPlayInfo
从接口复制的说明:IVodServiceGets play info.- 指定者:
getPlayInfo在接口中IVodService- 参数:
getPlayInfoRequest- the get play info request- 返回:
- the play info
- 抛出:
Exception- the exception
-
getPlayAuthToken
从接口复制的说明:IVodServiceGets play auth token.- 指定者:
getPlayAuthToken在接口中IVodService- 参数:
params- the params- 返回:
- the play auth token
- 抛出:
Exception- the exception
-
getOriginVideoPlayInfo
public GetOriginVideoPlayResponse getOriginVideoPlayInfo(GetOriginVideoPlayRequest getOriginVideoPlayRequest) throws Exception从接口复制的说明:IVodServiceGets origin video play info.- 指定者:
getOriginVideoPlayInfo在接口中IVodService- 参数:
getOriginVideoPlayRequest- the get origin video play request- 返回:
- the origin video play info
- 抛出:
Exception- the exception
-
getRedirectPlay
从接口复制的说明:IVodServiceGets redirect play.- 指定者:
getRedirectPlay在接口中IVodService- 参数:
getRedirectPlayRequest- the get redirect play request- 返回:
- the redirect play
- 抛出:
Exception- the exception
-
startTranscode
public StartTranscodeResponse startTranscode(StartTranscodeRequest startTranscodeRequest) throws Exception从接口复制的说明:IVodServiceStart transcode start transcode resp.- 指定者:
startTranscode在接口中IVodService- 参数:
startTranscodeRequest- the req- 返回:
- the start transcode resp
- 抛出:
Exception- the exception
-
setVideoPublishStatus
public SetVideoPublishStatusResponse setVideoPublishStatus(SetVideoPublishStatusRequest setVideoPublishStatusRequest) throws Exception从接口复制的说明:IVodServiceSets video publish status.- 指定者:
setVideoPublishStatus在接口中IVodService- 参数:
setVideoPublishStatusRequest- the set video publish status request- 返回:
- the video publish status
- 抛出:
Exception- the exception
-
getDomainWeights
从接口复制的说明:IVodServiceGets domain weights.- 指定者:
getDomainWeights在接口中IVodService- 参数:
spaceName- the space name- 返回:
- the domain weights
-
setFallbackDomainWeights
从接口复制的说明:IVodServiceSets fallback domain weights.- 指定者:
setFallbackDomainWeights在接口中IVodService- 参数:
fallbackDomainWeights- the fallback weights
-
shutdown
public void shutdown()从接口复制的说明:IVodServiceShutdown.- 指定者:
shutdown在接口中IVodService
-
getDomainInfo
从接口复制的说明:IVodServiceGets domain info.- 指定者:
getDomainInfo在接口中IVodService- 参数:
spaceName- the space name- 返回:
- the domain info
-
getPosterUrl
从接口复制的说明:IVodServiceGets poster url.- 指定者:
getPosterUrl在接口中IVodService- 参数:
spaceName- the space nameuri- the uriimgUrlOption- the img url option- 返回:
- the poster url
-
getUploadAuthToken
从接口复制的说明:IVodServiceGets upload auth token.- 指定者:
getUploadAuthToken在接口中IVodService- 参数:
params- the params- 返回:
- the upload auth token
- 抛出:
Exception- the exception
-
applyUpload
从接口复制的说明:IVodServiceApply upload apply upload response.- 指定者:
applyUpload在接口中IVodService- 参数:
applyUploadRequest- the apply upload request- 返回:
- the apply upload response
- 抛出:
Exception- the exception
-
commitUpload
从接口复制的说明:IVodServiceCommit upload commit upload response.- 指定者:
commitUpload在接口中IVodService- 参数:
commitUploadRequest- the commit upload request- 返回:
- the commit upload response
- 抛出:
Exception- the exception
-
uploadMediaByUrl
public UploadMediaByUrlResponse uploadMediaByUrl(UploadMediaByUrlRequest uploadMediaByUrlRequest) throws Exception从接口复制的说明:IVodServiceUpload media by url upload media by url response.- 指定者:
uploadMediaByUrl在接口中IVodService- 参数:
uploadMediaByUrlRequest- the upload media by url request- 返回:
- the upload media by url response
- 抛出:
Exception- the exception
-
modifyVideoInfo
public ModifyVideoInfoResponse modifyVideoInfo(ModifyVideoInfoRequest modifyVideoInfoRequest) throws Exception从接口复制的说明:IVodServiceModify video info modify video info response.- 指定者:
modifyVideoInfo在接口中IVodService- 参数:
modifyVideoInfoRequest- the modify video info request- 返回:
- the modify video info response
- 抛出:
Exception- the exception
-
uploadVideo
public CommitUploadResponse uploadVideo(String spaceName, String filePath, String fileType, List<Functions> functions) throws Exception从接口复制的说明:IVodServiceUpload commit upload response.- 指定者:
uploadVideo在接口中IVodService- 参数:
spaceName- the space namefilePath- the file pathfileType- the file typefunctions- the functions- 返回:
- the commit upload response
- 抛出:
Exception- the exception
-
uploadPoster
public String uploadPoster(String vid, String spaceName, String filePath, String fileType) throws Exception从接口复制的说明:IVodServiceUpload poster string.- 指定者:
uploadPoster在接口中IVodService- 参数:
vid- the vidspaceName- the space namefilePath- the file pathfileType- the file type- 返回:
- the string
- 抛出:
Exception- the exception
-
getVideoPlayAuthWithExpiredTime
public SecurityToken2 getVideoPlayAuthWithExpiredTime(List<String> vidList, List<String> streamTypeList, List<String> watermarkList, long expiredTime) throws Exception- 抛出:
Exception
-
getVideoPlayAuth
public SecurityToken2 getVideoPlayAuth(List<String> vidList, List<String> streamTypeList, List<String> watermarkList) throws Exception- 抛出:
Exception
-