multisocketsink and Gio.Socket() issues (python)

Sebastian Dröge sebastian at centricular.com
Tue Mar 22 12:30:03 UTC 2016


On Di, 2016-03-22 at 13:46 +0300, Krutskikh Ivan wrote:
> Maybe something really stupid like:
> 
> sock = socket.socket()
> client_id = Gio.Socket().new_from_fd(sock.fileno())
> 
> and so on...

Exactly like that :)

-- 
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/75fe4dff/attachment.sig>


More information about the gstreamer-devel mailing list