BaseSrc.setLive

If the element listens to a live source, live should be set to TRUE.

A live source will not produce data in the PAUSED state and will therefore not be able to participate in the PREROLL phase of a pipeline. To signal this fact to the application and the pipeline, the state change return value of the live source will be GST_STATE_CHANGE_NO_PREROLL.

class BaseSrc
void
setLive
(
bool live
)

Parameters

live bool

new live-mode