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

Default for capture.start.wait is too small (increase to 15s)

Steps to reproduce

We have seen production CAs fail to start recordings with the error below. Increasing the default timeout to 15s appears to have helped. Some captures have shown successful startup times from 6s to 10s subsequently.

Steps to reproduce:

1. Schedule recording with capture agent with Epiphan VGAUSB (possibly other hardware)
2.
3.

Actual Results:

Pipeline fails to start within 5s, capture is aborted with log:

2012-09-06 12:10:01 DEBUG (GStreamerPipeline:114) - Pipeline was unable to start after 5 seconds.

Expected Results:

Capture should start correctly.

Workaround (if any):

Set capture.start.wait=15 in org.opencastproject.capture.impl.ConfigurationManager.properties

However, we should change the default in the code as well to avoid new adopters from having to figure this out from scratch:

modules/matterhorn-capture-agent-impl/src/main/java/org/opencastproject/capture/pipeline/GStreamerPipeline.java

// Grab time to wait for pipeline to start
int wait;
String waitProp = newRec.getProperty(CaptureParameters.CAPTURE_START_WAIT);
if (waitProp != null) {
wait = Integer.parseInt(waitProp);
} else {
wait = 5; // Default taken from gstreamer docs
}

Status

Assignee

Edmore Moyo

Reporter

Stephen Marquard

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

Components

Fix versions

Affects versions

1.4.0
1.3

Priority

Minor