timer that is controlled by gstreamer

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

timer that is controlled by gstreamer

rmkart
I want to create a RTCP plugin that runs in a timer (say 3sec once) to send RTCP.

I can use functions like g_timer_new(), but this will have a synchronization problem when it is running independant of gst control.is there is any timer that is controlled by gst api's then it would be better as the timer will be controlled by GST.
Any thoughts or pointers will be appreciated.
Thanks,
RK
Reply | Threaded
Open this post in threaded view
|

Re: timer that is controlled by gstreamer

joh-4
I am not an expert, but I think you need to listen pipeline clock and count it so that you can fire an action at certain interval.
Usually clock source is audio sink, but pipeline also provides default clock if there is no audio sink.

Justin


On Tue, Aug 4, 2009 at 8:39 AM, rmkart <[hidden email]> wrote:

I want to create a RTCP plugin that runs in a timer (say 3sec once) to send
RTCP.

I can use functions like g_timer_new(), but this will have a synchronization
problem when it is running independant of gst control.is there is any timer
that is controlled by gst api's then it would be better as the timer will be
controlled by GST.
Any thoughts or pointers will be appreciated.
Thanks,
RK
--
View this message in context: http://www.nabble.com/timer-that-is-controlled-by-gstreamer-tp24811019p24811019.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel