Interface SpeechToTextAsyncTracker
public interface SpeechToTextAsyncTracker
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidStart tracking all jobs created by a speech-to-text woh.voiduntrack(org.opencastproject.job.api.Job job) Stop tracking this STT job (subtitles have already been attached or tracking was abandoned.voiduntrackAll(long workflowId) Stop tracking all STT jobs created by a workflow.
-
Field Details
-
JOBS_WORKFLOW_CONFIGURATION
Workflow configuration name to store jobs in- See Also:
-
STT_ASYNC_COLLECTION
Collection where input files are placed when running STT asynchronously- See Also:
-
-
Method Details
-
track
void track(org.opencastproject.job.api.Job job, String mediaPackageId, long workflowId) throws SpeechToTextAsyncException Start tracking all jobs created by a speech-to-text woh.- Parameters:
job- the STT jobmediaPackageId- the media package idworkflowId- the workflow that started the jobs- Throws:
SpeechToTextAsyncException- if an exception occurs
-
untrack
Stop tracking this STT job (subtitles have already been attached or tracking was abandoned.- Parameters:
job- the STT job- Throws:
SpeechToTextAsyncException- if an exception occurs
-
untrackAll
Stop tracking all STT jobs created by a workflow.- Parameters:
workflowId- the workflow id- Throws:
SpeechToTextAsyncException- if an exception occurs
-