multisocketsink and Gio.Socket() issues (python)

Krutskikh Ivan stein.hak at gmail.com
Tue Mar 22 09:42:46 UTC 2016


Thanks!

Would this work with vanilla socket or I should stick with Gio.Socket ?

I believe I can use socketpair to connect gstreamer multisocketsink to
another gstreamer chain with socketsrc, am I right?

2016-03-22 11:38 GMT+03:00 Sebastian Dröge <sebastian at centricular.com>:

> On Mo, 2016-03-21 at 14:17 +0300, Krutskikh Ivan wrote:
> > Hi,
> >
> > I want to create a pipeline with multisocketsink, add a socket to it
> > and then read from it as a normal python socket.
> > [...]
>
> The socket you pass to multisocketsink is not supposed to be used
> anymore from the application. multisocketsink handles and owns it.
>
> You could create a socket pair though, pass one part of the pair to
> multisocketsink and then read from the other part of the pair from your
> Python application.
>
> --
> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160322/d2dcd03d/attachment-0001.html>


More information about the gstreamer-devel mailing list