prepare


Description:

public virtual bool prepare (owned Thread? thread)

Prepare this for streaming.

This function will create the objects to manage the streaming. A pipeline must have been set on this with take_pipeline.

It will preroll the pipeline and collect vital information about the streams such as the duration.

Parameters:

this

a Media

thread

a Thread to run the bus handler or null

Returns:

true on success.