[Bug 737316] Add support for sending file-descriptors over Unix domain sockets
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Oct 30 10:40:43 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=737316
GStreamer | gstreamer (core) | git
--- Comment #19 from Will Manley <gnome at williammanley.net> 2014-10-30 17:40:40 UTC ---
reply to comment #16)
> These patches have been uploaded mostly for posterity. Between your comments
> above, the pain I had to go through to implement this and a discussion I had
> with wtay during the conference I agree a specialized sink and source could be
> a better way to go, at least in the short term.
I'm flip-flopping once again. I tried creating a custom sink for this and it
turned out horrible too. I ended up having to copy `multisocketsink` wholesale
as I really need most of the logic in there for handling multiple clients who
may or may not be cooperative. This in turn required copying
`GstMultiHandleSink` as this is not a publicly available base-class. While
solving some dependency/deployment issues of my previous approach it resulted
in a huge amount of duplicated code.
I'm working on a third approach which I hope will be more palatable, again
using `GstMeta` but in a much less intrusive way utilising GIO's
`GSocketControlMessage` to take care of the portability and dependency issues
and to make the intention behind the design clearer. I will also introduce a
new `socketsrc` element based on `GSocket` in a similar way that
`multisocketsink` uses `GSocket`.
I'll create a separate bugzilla ticket for these patches when they're more
ready.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list