Class WowzaStreamingDistributionRestService
java.lang.Object
org.opencastproject.rest.AbstractJobProducerEndpoint
org.opencastproject.distribution.streaming.wowza.endpoint.WowzaStreamingDistributionRestService
@Path("/distribution/streaming")
public class WowzaStreamingDistributionRestService
extends org.opencastproject.rest.AbstractJobProducerEndpoint
Rest endpoint for distributing media to the streaming distribution channel.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(org.osgi.service.component.ComponentContext cc) OSGi activation callbackjavax.ws.rs.core.Responsedistribute(String mediaPackageXml, String channelId, String elementIds) javax.ws.rs.core.ResponsedistributeSync(String mediaPackageXml, String channelId, String elementIds) org.opencastproject.job.api.JobProducerorg.opencastproject.serviceregistry.api.ServiceRegistryjavax.ws.rs.core.Responsejavax.ws.rs.core.Responsejavax.ws.rs.core.ResponseretractSync(String mediaPackageXml, String channelId, String elementIds) voidsetService(org.opencastproject.distribution.api.StreamingDistributionService service) protected voidsetServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) Callback from the OSGi declarative services to set the service registry.Methods inherited from class org.opencastproject.rest.AbstractJobProducerEndpoint
checkHeartbeat, dispatchJob
-
Constructor Details
-
WowzaStreamingDistributionRestService
public WowzaStreamingDistributionRestService()
-
-
Method Details
-
activate
public void activate(org.osgi.service.component.ComponentContext cc) OSGi activation callback- Parameters:
cc- this component's context
-
setServiceRegistry
protected void setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) Callback from the OSGi declarative services to set the service registry.- Parameters:
serviceRegistry- the service registry
-
setService
public void setService(org.opencastproject.distribution.api.StreamingDistributionService service) - Parameters:
service- the service to set
-
publishToStreaming
@GET @Produces("application/json") @Path("/publishToStreaming") public javax.ws.rs.core.Response publishToStreaming() -
distribute
-
distributeSync
-
retract
-
retractSync
-
getService
public org.opencastproject.job.api.JobProducer getService()- Specified by:
getServicein classorg.opencastproject.rest.AbstractJobProducerEndpoint- See Also:
-
getServiceRegistry
public org.opencastproject.serviceregistry.api.ServiceRegistry getServiceRegistry()- Specified by:
getServiceRegistryin classorg.opencastproject.rest.AbstractJobProducerEndpoint- See Also:
-