We're updating the issue view to help you get more done. 

Improve configuration and docs for streaming distribution service

Description

During review of (PR #1654), some issues were identified about configuring and using the streaming distribution service.

There are two URLs that can be configured in custom.properties,

org.opencastproject.streaming.url
org.opencastproject.adaptive-streaming.url

Both also have separate parameters for the port, which could just as easily be included as part of the url rather than in a separate parameter.

It seems the first is only for RTMP and the 2nd for DASH, HLS, etc.

Issues:

1. It would be much simpler if we dropped support for RTMP entirely, and just have one streaming URL.

2. We should drop the separate port setting (just include it in the URL)

3. modules/matterhorn-distribution-workflowoperation/src/main/java/org/opencastproject/workflow/handler/distribution/PublishEngageWorkflowOperationHandler.java uses the streaming.url property to decide whether to distribute elements via the streaming distribution service:

private static final String STREAMING_URL_PROPERTY = "org.opencastproject.streaming.url";

and then

distributeStreaming = StringUtils.isNotBlank(bundleContext.getProperty(STREAMING_URL_PROPERTY));

If we keep both URLs then both properties should be checked there.

It seems very unlikely that anyone would want to configure rtmp streaming anymore, given the death of Flash, so if at all possible, we should simplify the code and configuration to cater for the most common use case, i.e. adaptive streaming with wowza.

Steps to reproduce

None

Status

Assignee

Rüdiger Rolf

Reporter

Stephen Marquard

Criticality

None

Tags (folksonomy)

None

Components

Fix versions

Affects versions

4.0

Priority

Major