gstbasertpdepayload

gstbasertpdepayload —

Synopsis


#include <gst/rtp/gstbasertpdepayload.h>


            GstBaseRTPDepayload;
            GstBaseRTPDepayloadClass;
#define     GST_BASE_RTP_DEPAYLOAD_SINKPAD  (depayload)
#define     GST_BASE_RTP_DEPAYLOAD_SRCPAD   (depayload)

Object Hierarchy


  GObject
   +----GstObject
         +----GstElement
               +----GstBaseRTPDepayload

Properties


  "queue-delay"          guint                 : Read / Write

Description

Details

GstBaseRTPDepayload

typedef struct _GstBaseRTPDepayload GstBaseRTPDepayload;


GstBaseRTPDepayloadClass

typedef struct {
  GstElementClass parent_class;

  /* virtuals */
  gboolean (*set_caps) (GstBaseRTPDepayload *filter, GstCaps *caps);

  /* non-pure function, default implementation in base class
   * this does buffering, reordering and dropping 
   */
  GstFlowReturn (*add_to_queue) (GstBaseRTPDepayload *filter, GstBuffer *in);

  /* pure virtual function, child must use this to process incoming
   * rtp packets. If the child returns a buffer, the timestamp of @in will be
   * applied to the result buffer and the buffer will be pushed. If this
   * function returns %NULL, nothing is pushed.
   */
  GstBuffer * (*process) (GstBaseRTPDepayload *base, GstBuffer *in);

  /* non-pure function used to convert from RTP timestamp to GST timestamp
   * this function is used by the child class before gst_pad_pushing
   */
  void (*set_gst_timestamp) (GstBaseRTPDepayload *filter, guint32 timestamp, GstBuffer *buf);
} GstBaseRTPDepayloadClass;


GST_BASE_RTP_DEPAYLOAD_SINKPAD()

#define GST_BASE_RTP_DEPAYLOAD_SINKPAD(depayload) (GST_BASE_RTP_DEPAYLOAD (depayload)->sinkpad)

depayload :depayload
depayload :

GST_BASE_RTP_DEPAYLOAD_SRCPAD()

#define GST_BASE_RTP_DEPAYLOAD_SRCPAD(depayload)  (GST_BASE_RTP_DEPAYLOAD (depayload)->srcpad)

depayload :depayload
depayload :

Property Details

The "queue-delay" property

  "queue-delay"          guint                 : Read / Write

Amount of ms to queue/buffer.

Default value: 0