[gst-devel] dynamic pipeline questions

John Stritch johnstritch at earthlink.net
Sat Nov 25 18:05:16 CET 2006


On Sat, 2006-11-25 at 04:48 +0000, Pavan Kumar Patale wrote:

> Will try to answer your first questioin
> 
> You can add a bus_sync_handler to the pipeline and look for the
> GST_MESSAGE_STATE_CHANGED in the handler.
> The message->src will give the source element which has
> generated this message.  GST_ELEMENT_STATE(message->src) will give
> you the current state of the element.
> 
> BR, Pavan.

I tried this and see the state transitions.  But they are not indicating
silence on the line.  I want to know when there is sound or not, like a
voice-activated recorder.
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20061125/6379b008/attachment.htm>


More information about the gstreamer-devel mailing list