gstreamer/gst/gdp
Tim-Philipp Müller d790ba9a06 gdppay: optimise payloading of buffers with multiple memories
Add function to calculate a payload CRC across multiple memories
so we don't have to merge buffers with multiple memories just to
calculate the CRC. Also make CRC calculation function static,
since it's not used outside dataprotocol.h and move special-casing
of length = 0 -> CRC = 0 into CRC function (from caller).

Perhaps more importantly, since payload CRC is off by default:
don't map buffer (and possibly merge memories in the process)
if we are not going to use it to calculate a CRC anyway.
2014-12-26 13:44:32 +00:00
..
dataprotocol.c gdppay: optimise payloading of buffers with multiple memories 2014-12-26 13:44:32 +00:00
dataprotocol.h gdppay: optimise payloading of buffers with multiple memories 2014-12-26 13:44:32 +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: minor caps event payloading optimisation 2014-11-30 14:38:22 +00:00
gstgdppay.h gdppay: put all sticky events in streamheader 2014-07-22 08:51:32 -03: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