avtp: Introduce AVTP source element
authorAndre Guedes <andre.guedes@intel.com>
Wed, 23 Jan 2019 23:17:48 +0000 (15:17 -0800)
committerEderson de Souza <ederson.desouza@intel.com>
Wed, 3 Jul 2019 16:59:35 +0000 (09:59 -0700)
commit5abe516c6c75fa5c9c9ab95a638f8b169c5e5927
tree173c271ab494093d8a45c17a6b8e2e184b5eefcb
parent37550226d885bad8b63d1035c862c9b917c02b99
avtp: Introduce AVTP source element

This patch introduces the avtpsrc element which implements a typical
network source. The avtpsrc element receives AVTPDUs encapsulated into
Ethernet frames and push them downstream in the GStreamer pipeline.
Implementation if pretty straightforward since the burden is implemented
by GstPushSrc class.

Likewise the avtpsink element, applications that utilize this element
must have CAP_NET_RAW capability since it is required by Linux to open
sockets from AF_PACKET domain.
ext/avtp/Makefile.am
ext/avtp/gstavtp.c
ext/avtp/gstavtpsrc.c [new file with mode: 0644]
ext/avtp/gstavtpsrc.h [new file with mode: 0644]
ext/avtp/meson.build