multisocketsink and Gio.Socket() issues (python)

Sebastian Dröge sebastian at centricular.com
Tue Mar 22 08:38:57 UTC 2016


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160322/08e13fbf/attachment.sig>


More information about the gstreamer-devel mailing list