mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
62294f0650
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. |
||
---|---|---|
.. | ||
dataprotocol.c | ||
dataprotocol.h | ||
dp-private.h | ||
gstgdp.c | ||
gstgdpdepay.c | ||
gstgdpdepay.h | ||
gstgdppay.c | ||
gstgdppay.h | ||
Makefile.am | ||
README |
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