SHM sink waiting for connection

Olivier Crête olivier.crete at collabora.com
Tue Jul 24 14:37:31 PDT 2012


On Tue, 2012-07-24 at 05:55 -0700, Takido wrote:
> I managed to extract a stream from Gstreamer using shmsink, and it works
> correctly when the property "wait-for-connection" is set to false.
> I'd like the property to be set to true so that the stream starts only when
> I want it to start. However, when I set it to true, the stream never starts.
> I saw that there is something to do with signals (client-connected) but how
> can I emit such a signal from a non-gstreamer application ?

The "client-connected" signal is just informative for the application.
Did you copy shmpipe.[ch] into your own application? Or are you using
some other mechanism? If "wait-for-connection" is true, the sink should
unblock as soon as at least one client is connected.

-- 
Olivier Crête
olivier.crete at collabora.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120724/8b231b9d/attachment.pgp>


More information about the gstreamer-devel mailing list