<div dir="ltr"><div><div>Maybe something really stupid like:<br><br></div>sock = socket.socket()<br>client_id = Gio.Socket().new_from_fd(sock.fileno())<br><br></div>and so on...<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-22 13:04 GMT+03:00 Krutskikh Ivan <span dir="ltr"><<a href="mailto:stein.hak@gmail.com" target="_blank">stein.hak@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span></span>GSocket is just an API around normal sockets. But multisocketsink<br>
requires sockets to be wrapped in a GSocket.</blockquote><div><br></div></span><div>Well, I was wondering because python has socket.socketpair element and Gio.Socket() does not. How can I wrap a socket in a GSocket then? <br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2016-03-22 12:50 GMT+03:00 Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><span>On Di, 2016-03-22 at 12:42 +0300, Krutskikh Ivan wrote:<br>
> Thanks!<br>
><br>
> Would this work with vanilla socket or I should stick with Gio.Socket<br>
> ?<br>
<br>
</span>GSocket is just an API around normal sockets. But multisocketsink<br>
requires sockets to be wrapped in a GSocket.<br>
<span><br>
> I believe I can use socketpair to connect gstreamer multisocketsink<br>
> to another gstreamer chain with socketsrc, am I right?<br>
<br>
</span>Yes that should work<br>
<div><div><br>
--<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
<br>
</div></div><br></div></div><span class="">_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div>