Lifetimes¶
This page explains the lifetimes of various elements/properties.
GST_STATE_NULL¶
During this state __no__ hardware will be opened.
No properties will be available.
GST_STATE_NULL -> GST_STATE_READY¶
Upon entering this state a device will be opened by the tcamsrc. If the requested device cannot be found or opened a GST_STATE_CHANGE_FAILURE will be returned.
tcamconvert/tcamdutils/tcamdutils-cuda will be initialized.
All properties will be available.
GST_STATE_READY -> GST_STATE_PAUSED¶
tcambin device-caps will be fixed and set for the internal tcamsrc. - if no device-caps are set, auto negotiation will determine caps and set them.
if tcambin tcam-properties-json is set, the properties will be applied.
GST_STATE_PAUSED -> GST_STATE_PLAYING¶
Start image retrieval.
GST_STATE_PLAYING -> GST_STATE_PAUSED¶
GST_STATE_PAUSED -> GST_STATE_READY¶
GST_STATE_READY -> GST_STATE_NULL¶
All property objects are invalid and should be discarded. Using property functions will return TCAM_ERROR_NO_DEVICE_OPEN.
All tcambin internal elements will be discarded.
The tcambin source element will be discarded. This closes the camera.
The tcamsrc will close the hardware device.