gstreamer/gst/gdp
Tim-Philipp Müller 62294f0650 gdppay: refactor payloading code a little
Get rid of some indirections and inefficiencies,
just payload things directly which gives us more
control over what memory is allocated where and
how and makes things much simpler. In particular,
we can now allocate the payload header plus the
GstMemory to represent it in one go.
2014-12-26 13:44:33 +00:00
..
dataprotocol.c gdppay: refactor payloading code a little 2014-12-26 13:44:33 +00:00
dataprotocol.h gdppay: refactor payloading code a little 2014-12-26 13:44:33 +00:00
dp-private.h gdp: add DTS to headers 2014-01-31 23:44:11 -03:00
gstgdp.c Fix FSF address 2012-11-04 00:09:59 +00:00
gstgdpdepay.c Fix FSF address 2012-11-04 00:09:59 +00:00
gstgdpdepay.h Fix FSF address 2012-11-04 00:09:59 +00:00
gstgdppay.c gdppay: refactor payloading code a little 2014-12-26 13:44:33 +00:00
gstgdppay.h gdppay: refactor a little 2014-12-26 13:44:32 +00:00
Makefile.am gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
README adding a README 2012-09-11 01:54:31 +01:00

Sample pipelines:
- replacing tcpserversink protocol=gdp with gdppay ! tcpserversink:
  - raw audio:
    - server:
      gst-launch -v audiotestsrc ! gdppay version=0.2 ! tcpserversink
    - client:
      gst-launch -v tcpclientsrc protocol=gdp ! alsasink sync=FALSE

  - vorbis packets:
    - server:
      gst-launch -v audiotestsrc ! audioconvert ! vorbisenc ! gdppay version=0.2 ! tcpserversink
    - client:
      gst-launch -v tcpclientsrc protocol=gdp ! vorbisdec ! audioconvert ! alsasink sync=FALSE

  - ogg packets:
    - server:
      gst-launch -v audiotestsrc ! audioconvert ! vorbisenc ! oggmux ! gdppay version=0.2 ! tcpserversink
    - client:
      gst-launch -v tcpclientsrc protocol=gdp ! oggdemux ! vorbisdec ! audioconvert ! alsasink sync=FALSE

  In all the client pipelines, tcpclientsrc protocol=gdp can be replaced with
  tcpclientsrc ! gdpdepay