gstreamer/gst/gdp
Thomas Vander Stichele 84bbfbecc4 gdp: add a GstDPPacketizer object, and create/free functions
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
(gst_dp_version_get_type), (gst_dp_init),
(gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
(gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
(gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
(gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
(gst_dp_event_from_packet), (gst_dp_packetizer_new),
(gst_dp_packetizer_free):
* libs/gst/dataprotocol/dataprotocol.h:
API: add a GstDPPacketizer object, and create/free functions
API: add GstDPVersion enum
Add 1.0 event function that uses the string serialization
Serialize more useful buffer flags
Fixes #343988
2012-09-11 01:54:38 +01:00
..
dataprotocol.c gdp: add a GstDPPacketizer object, and create/free functions 2012-09-11 01:54:38 +01:00
dataprotocol.h gdp: add a GstDPPacketizer object, and create/free functions 2012-09-11 01:54:38 +01:00
dp-private.h gdp: It's about time we bump the version number. 2012-09-11 01:54:37 +01:00
gstgdp.c adding GDP payloader and depayloader. Build integration will follow later when the GDP issues for core are sorted out. 2012-09-11 01:54:28 +01:00
gstgdpdepay.c add parent to pad functions 2012-09-11 01:54:36 +01:00
gstgdpdepay.h Add -Wmissing-declarations -Wmissing-prototypes to warning flags 2012-09-11 01:54:33 +01:00
gstgdppay.c add parent to pad functions 2012-09-11 01:54:36 +01:00
gstgdppay.h Add -Wmissing-declarations -Wmissing-prototypes to warning flags 2012-09-11 01:54:33 +01:00
Makefile.am android: make it ready for androgenizer 2012-09-11 01:54:34 +01: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