|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TranscodingService
The principal interface of Alembik transcoding service. Its methods can be
accessed through methods of the TranscodingManager wrapper class.
| Method Summary | |
|---|---|
JobResult |
getTranscodingInfo(TranscodingRequest request,
java.lang.String jobID)
Returns the result information of a transcoding job with the specified jobId (within the request). |
TranscodingParams |
getTranscodingProfile(TranscodingJob job)
Returns the transcoding profile resolved by the server for the given transcoding job. |
boolean |
isSourceFileReady(TranscodingRequest request,
java.lang.String jobID)
Checks whether the source file of a transcoding job with the specified jobId (within the request) has been loaded into the storage. |
boolean |
isTranscodedFileReady(TranscodingRequest request,
java.lang.String jobID)
Checks whether the result file of a transcoding job with the specified jobId (within the request) has been transcoded. |
void |
processAsync(TranscodingRequest request)
Processes the given transcoding request asynchronously. |
TranscodingResponse |
processSync(TranscodingRequest request)
Processes the given transcoding request synchronously. |
| Method Detail |
|---|
TranscodingResponse processSync(TranscodingRequest request)
throws TranscodingException
request - transcoding request
TranscodingException - upon unexpected processing errorTranscodingManager.processSync(TranscodingRequest)
void processAsync(TranscodingRequest request)
throws TranscodingException
request - transcoding request
TranscodingException - upon unexpected processing errorTranscodingManager.processAsync(TranscodingRequest)
boolean isSourceFileReady(TranscodingRequest request,
java.lang.String jobID)
request - transcoding requestjobID - id of the selected job from the request
TranscodingManager.isSourceFileReady(TranscodingRequest, String)
boolean isTranscodedFileReady(TranscodingRequest request,
java.lang.String jobID)
request - transcoding requestjobID - id of the selected job from the request
TranscodingManager.isTranscodedFileReady(TranscodingRequest, String)
JobResult getTranscodingInfo(TranscodingRequest request,
java.lang.String jobID)
request - transcoding requestjobID - id of the selected job from the request
TranscodingManager.getTranscodingInfo(TranscodingRequest, String),
JobResult.Output.getLocation(),
TranscodingUtils.getResultInfo(JobResult, org.alembik.util.TranscodingUtils.FileInfo),
TranscodingUtils.getResultState(JobResult)TranscodingParams getTranscodingProfile(TranscodingJob job)
job - transcoding job
TranscodingManager.getTranscodingProfile(TranscodingJob)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||