Class VideoGridServiceRemoteImpl
java.lang.Object
org.opencastproject.serviceregistry.api.RemoteBase
org.opencastproject.videogrid.remote.VideoGridServiceRemoteImpl
- All Implemented Interfaces:
VideoGridService
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencastproject.serviceregistry.api.RemoteBase
RemoteBase.HttpClientClosingInputStream -
Field Summary
Fields inherited from class org.opencastproject.serviceregistry.api.RemoteBase
client, remoteServiceManager, serviceTypeFields inherited from interface org.opencastproject.videogrid.api.VideoGridService
JOB_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePartialTrack(List<String> command, Track... tracks) Generate the final video in partsvoidsetRemoteServiceManager(ServiceRegistry serviceRegistry) Sets the remote service manager.voidsetTrustedHttpClient(TrustedHttpClient trustedHttpClient) Sets the trusted http clientMethods inherited from class org.opencastproject.serviceregistry.api.RemoteBase
closeConnection, elementsFromHttpResponse, getResponse, getResponse, runRequest
-
Constructor Details
-
VideoGridServiceRemoteImpl
public VideoGridServiceRemoteImpl()Creates a new videogrid service instance.
-
-
Method Details
-
createPartialTrack
public Job createPartialTrack(List<String> command, Track... tracks) throws VideoGridServiceException, org.apache.commons.codec.EncoderException Description copied from interface:VideoGridServiceGenerate the final video in parts- Specified by:
createPartialTrackin interfaceVideoGridService- Parameters:
command- An ffmpeg command as a listtracks- Source tracks used by the ffmpeg command- Returns:
- VideoGrid service job.
- Throws:
VideoGridServiceException- If something went wrong during the processingorg.apache.commons.codec.EncoderException
-
setTrustedHttpClient
Description copied from class:RemoteBaseSets the trusted http client- Overrides:
setTrustedHttpClientin classRemoteBase- Parameters:
trustedHttpClient-
-
setRemoteServiceManager
Description copied from class:RemoteBaseSets the remote service manager.- Overrides:
setRemoteServiceManagerin classRemoteBase- Parameters:
serviceRegistry-
-