watchdog
The watchdog element watches buffers and events flowing through a pipeline. If no buffers are seen for a configurable amount of time, a error message is sent to the bus.
To use this element, insert it into a pipeline as you would an identity element. Once activated, any pause in the flow of buffers through the element will cause an element error. The maximum allowed pause is determined by the timeout property.
This element is currently intended for transcoding pipelines, although may be useful in other contexts.
Example launch line
gst-launch-1.0 -v fakesrc ! watchdog ! fakesink
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseTransform ╰──watchdog
Factory details
Authors: – David Schleef
Classification: – Generic
Rank – none
Plugin – debugutilsbad
Package – GStreamer Bad Plug-ins
Pad Templates
Properties
timeout
“timeout” gint
Timeout (in ms) after which an element error is sent to the bus if no buffers are received. 0 means disabled.
Flags : Read / Write / Construct
Default value : 1000
The results of the search are