multiudpsink: add sendmmsg-ready render_list function prototype
authorTim-Philipp Müller <tim@centricular.com>
Fri, 20 Jun 2014 10:36:19 +0000 (11:36 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 16 Dec 2014 20:26:36 +0000 (20:26 +0000)
commite1a7deb27f7eeb037e3361551e5e853df0920b05
tree2c8919668211edc1569918b4da8abe41fa45b7d8
parentdead5c2476ff1033c8765764fbe970a084ad888a
multiudpsink: add sendmmsg-ready render_list function prototype

Add prototype for a render_list() function that can use a
sendmmsg-style g_socket_send_messages() function once it lands
in GLib. We can use this infrastructure to send multiple buffers
made up by multiple memories to multiple clients in one go, which
drastically reduces the number of syscalls made when sending
high-bitrate video streams.

https://bugzilla.gnome.org/show_bug.cgi?id=732152
gst/udp/gstmultiudpsink.c
gst/udp/gstmultiudpsink.h