I could do a timer callback through gst_clock_new_periodic_id().
RK
rmkart wrote
Hi,
I want a timer plugin that runs in it's own thread and checks for timeouts.
For eg: I am receiving packets in a sepearte thread and I want my timeout plugin to check is there any inactivity , say each 3 sec the plugin checks for some data and after some threshold triggers an event to the application.
My pipeline will look like
udpsrc ! queue ! timeout
Is there anyway that GST provides ways to achieve this.