tcp: Add element socketsrc
authorWilliam Manley <will@williammanley.net>
Mon, 3 Nov 2014 02:47:14 +0000 (02:47 +0000)
committerWim Taymans <wtaymans@redhat.com>
Fri, 13 Mar 2015 19:05:00 +0000 (20:05 +0100)
commit7c10499ecdfb3743e893eac8439c03d58895dd46
treeb299ee4c8c9d93a8f0fd3e6ea0e54d694d9b1f78
parent592fc9cdbadf6b7b3ea5e04fba87d8bf717055e4
tcp: Add element socketsrc

`socketsrc` can be considered a source counterpart to `multisocketsink`.
It can be considered a generalization of `tcpclientsrc` and
`tcpserversrc`:  it contains all the logic required to communicate over
the socket but none of the logic for creating the sockets/establishing
the connection in the first place, allowing the user to accomplish this
externally in whatever manner they wish making it applicable to other
types of sockets besides TCP.

This commit essentially copies the implementation directly from
tcpserversrc.  Later patches will tidy the implementation up and
re-implement `tcpclientsrc` and `tcpserversrc` in terms of `socketsrc`.

See https://bugzilla.gnome.org/show_bug.cgi?id=739546
docs/plugins/Makefile.am
docs/plugins/gst-plugins-base-plugins-docs.sgml
docs/plugins/gst-plugins-base-plugins-sections.txt
docs/plugins/inspect/plugin-tcp.xml
gst/tcp/Makefile.am
gst/tcp/gstsocketsrc.c [new file with mode: 0644]
gst/tcp/gstsocketsrc.h [new file with mode: 0644]
gst/tcp/gsttcpplugin.c
tests/check/pipelines/tcp.c
win32/vs7/libgsttcp.vcproj
win32/vs8/libgsttcp.vcproj