SHM sink waiting for connection

Hamza Chouh hchouh at gmail.com
Tue Jul 24 14:50:41 PDT 2012


Yes, I did exactly what is written in the header of shmpipe.h.
I don't understand why it doesn't work as it should. Well, if I don't find
any solution to this problem, I'll just make the client connect as soon as
the stream starts, but it's not the best way..

2012/7/24 Olivier Crête <olivier.crete at collabora.com>

> 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
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120724/1194e304/attachment.html>


More information about the gstreamer-devel mailing list