gstreamer/gst-libs/gst/rtp
Tim-Philipp Müller a4f2df6341 Revert "g-i: change g-ir-scanner arg --library=libgstfoo-X.la to --library=gstfoo-X"
This reverts commit e39fbe6b7e.

Looks like we need to pass the full .la file after all in a setup
with libtool, or it might not find the library, e.g. like

  ERROR: can't resolve libraries to shared libraries: gstfft-1.0

Conflicts:
	gst-libs/gst/audio/Makefile.am
	gst-libs/gst/pbutils/Makefile.am

Also see https://bugzilla.gnome.org/show_bug.cgi?id=603710
2012-10-29 12:47:05 +00:00
..
gstrtcpbuffer.c rtp: add many missing annotations on RTP/RTCP buffer functions 2012-07-17 11:10:37 +02:00
gstrtcpbuffer.h libs: Remove "Since" markers and minor doc fixups 2012-07-13 12:11:06 +02:00
gstrtpbaseaudiopayload.c rtpbaseaudiopayload: add transfer annotation to get_adapter return 2012-07-17 11:10:04 +02:00
gstrtpbaseaudiopayload.h rtp: add many missing annotations on RTP/RTCP buffer functions 2012-07-17 11:10:37 +02:00
gstrtpbasedepayload.c rtpbasedepay: indicate packet loss using GAP event 2012-09-05 12:02:32 +02:00
gstrtpbasedepayload.h libs: Remove "Since" markers and minor doc fixups 2012-07-13 12:11:06 +02:00
gstrtpbasepayload.c rtpbasepayload: error out if no CAPS event was received before buffers 2012-09-06 18:23:22 +01:00
gstrtpbasepayload.h change getcaps to query 2011-11-15 18:04:16 +01:00
gstrtpbuffer.c rtp: fix buffer leak when gst_rtp_buffer_map() fails because of broken data 2012-08-22 09:20:55 +01:00
gstrtpbuffer.h rtp: remove unused field 2012-08-22 09:56:39 +02:00
gstrtppayloads.c gst-libs/gst/rtp/gstrtppayloads.c: Use g_ascii_strcasecmp() instead of the deprecated g_strcasecmp(). 2008-04-19 16:33:24 +00:00
gstrtppayloads.h fix docs 2011-11-14 10:46:56 +01:00
Makefile.am Revert "g-i: change g-ir-scanner arg --library=libgstfoo-X.la to --library=gstfoo-X" 2012-10-29 12:47:05 +00:00
README rtp: Add support for multiple memory blocks in RTP 2012-07-17 16:41:36 +02:00

The RTP libraries
---------------------

  RTP Buffers
  -----------
  The real time protocol as described in RFC 3550 requires the use of special
  packets containing an additional RTP header of at least 12 bytes. GStreamer
  provides some helper functions for creating and parsing these RTP headers.
  The result is a normal #GstBuffer with an additional RTP header.
 
  RTP buffers are usually created with gst_rtp_buffer_new_allocate() or
  gst_rtp_buffer_new_allocate_len(). These functions create buffers with a
  preallocated space of memory. It will also ensure that enough memory
  is allocated for the RTP header. The first function is used when the payload
  size is known. gst_rtp_buffer_new_allocate_len() should be used when the size
  of the whole RTP buffer (RTP header + payload) is known.
 
  When receiving RTP buffers from a network, gst_rtp_buffer_new_take_data()
  should be used when the user would like to parse that RTP packet. (TODO Ask
  Wim what the real purpose of this function is as it seems to simply create a
  duplicate GstBuffer with the same data as the previous one). The
  function will create a new RTP buffer with the given data as the whole RTP
  packet. Alternatively, gst_rtp_buffer_new_copy_data() can be used if the user
  wishes to make a copy of the data before using it in the new RTP buffer.
 
  It is now possible to use all the gst_rtp_buffer_get_*() or
  gst_rtp_buffer_set_*() functions to read or write the different parts of the
  RTP header such as the payload type, the sequence number or the RTP
  timestamp. The use can also retreive a pointer to the actual RTP payload data
  using the gst_rtp_buffer_get_payload() function.

  RTP Base Payloader Class (GstBaseRTPPayload)
  --------------------------------------------

  All RTP payloader elements (audio or video) should derive from this class.

  RTP Base Audio Payloader Class (GstBaseRTPAudioPayload)
  -------------------------------------------------------

  This base class can be tested through it's children classes. Here is an
  example using the iLBC payloader (frame based).

  For 20ms mode :

  GST_DEBUG="basertpaudiopayload:5" gst-launch-0.10 fakesrc sizetype=2
  sizemax=114 datarate=1900 ! audio/x-iLBC, mode=20 !  rtpilbcpay
  max-ptime="40000000" ! fakesink

  For 30ms mode :

  GST_DEBUG="basertpaudiopayload:5" gst-launch-0.10 fakesrc sizetype=2
  sizemax=150 datarate=1662 ! audio/x-iLBC, mode=30 !  rtpilbcpay
  max-ptime="60000000" ! fakesink

  Here is an example using the uLaw payloader (sample based).

  GST_DEBUG="basertpaudiopayload:5" gst-launch-0.10 fakesrc sizetype=2
  sizemax=150 datarate=8000 ! audio/x-mulaw ! rtppcmupay max-ptime="6000000" !
  fakesink

  RTP Base Depayloader Class (GstBaseRTPDepayload)
  ------------------------------------------------

  All RTP depayloader elements (audio or video) should derive from this class.