gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
/* GStreamer
|
|
|
|
* Copyright (C) <2005> Wim Taymans <wim@fluendo.com>
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
2011-11-11 11:24:08 +00:00
|
|
|
#ifndef __GST_RTP_BASE_PAYLOAD_H__
|
|
|
|
#define __GST_RTP_BASE_PAYLOAD_H__
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
|
|
|
|
#include <gst/gst.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2011-11-11 11:24:08 +00:00
|
|
|
#define GST_TYPE_RTP_BASE_PAYLOAD \
|
|
|
|
(gst_rtp_base_payload_get_type())
|
|
|
|
#define GST_RTP_BASE_PAYLOAD(obj) \
|
|
|
|
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_BASE_PAYLOAD,GstRTPBasePayload))
|
|
|
|
#define GST_RTP_BASE_PAYLOAD_CLASS(klass) \
|
|
|
|
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_BASE_PAYLOAD,GstRTPBasePayloadClass))
|
|
|
|
#define GST_RTP_BASE_PAYLOAD_GET_CLASS(obj) \
|
|
|
|
(G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_RTP_BASE_PAYLOAD, GstRTPBasePayloadClass))
|
|
|
|
#define GST_IS_RTP_BASE_PAYLOAD(obj) \
|
|
|
|
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_RTP_BASE_PAYLOAD))
|
|
|
|
#define GST_IS_RTP_BASE_PAYLOAD_CLASS(klass) \
|
|
|
|
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTP_BASE_PAYLOAD))
|
|
|
|
#define GST_RTP_BASE_PAYLOAD_CAST(obj) \
|
|
|
|
((GstRTPBasePayload*)(obj))
|
|
|
|
|
|
|
|
typedef struct _GstRTPBasePayload GstRTPBasePayload;
|
|
|
|
typedef struct _GstRTPBasePayloadPrivate GstRTPBasePayloadPrivate;
|
|
|
|
typedef struct _GstRTPBasePayloadClass GstRTPBasePayloadClass;
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
|
2007-08-12 16:30:36 +00:00
|
|
|
/**
|
2011-11-11 11:24:08 +00:00
|
|
|
* GST_RTP_BASE_PAYLOAD_SINKPAD:
|
|
|
|
* @payload: a #GstRTPBasePayload
|
2007-08-12 16:30:36 +00:00
|
|
|
*
|
|
|
|
* Get access to the sinkpad of @payload.
|
|
|
|
*/
|
2011-11-11 11:24:08 +00:00
|
|
|
#define GST_RTP_BASE_PAYLOAD_SINKPAD(payload) (GST_RTP_BASE_PAYLOAD (payload)->sinkpad)
|
2007-08-12 16:30:36 +00:00
|
|
|
/**
|
2011-11-11 11:24:08 +00:00
|
|
|
* GST_RTP_BASE_PAYLOAD_SRCPAD:
|
|
|
|
* @payload: a #GstRTPBasePayload
|
2007-08-12 16:30:36 +00:00
|
|
|
*
|
|
|
|
* Get access to the srcpad of @payload.
|
|
|
|
*/
|
2011-11-11 11:24:08 +00:00
|
|
|
#define GST_RTP_BASE_PAYLOAD_SRCPAD(payload) (GST_RTP_BASE_PAYLOAD (payload)->srcpad)
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
|
2007-08-12 16:30:36 +00:00
|
|
|
/**
|
2011-11-11 11:24:08 +00:00
|
|
|
* GST_RTP_BASE_PAYLOAD_PT:
|
|
|
|
* @payload: a #GstRTPBasePayload
|
2007-08-12 16:30:36 +00:00
|
|
|
*
|
|
|
|
* Get access to the configured payload type of @payload.
|
|
|
|
*/
|
2011-11-11 11:24:08 +00:00
|
|
|
#define GST_RTP_BASE_PAYLOAD_PT(payload) (GST_RTP_BASE_PAYLOAD (payload)->pt)
|
2007-08-12 16:30:36 +00:00
|
|
|
/**
|
2011-11-11 11:24:08 +00:00
|
|
|
* GST_RTP_BASE_PAYLOAD_MTU:
|
|
|
|
* @payload: a #GstRTPBasePayload
|
2007-08-12 16:30:36 +00:00
|
|
|
*
|
|
|
|
* Get access to the configured MTU of @payload.
|
|
|
|
*/
|
2011-11-11 11:24:08 +00:00
|
|
|
#define GST_RTP_BASE_PAYLOAD_MTU(payload) (GST_RTP_BASE_PAYLOAD (payload)->mtu)
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
|
2011-11-11 11:24:08 +00:00
|
|
|
struct _GstRTPBasePayload
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
{
|
|
|
|
GstElement element;
|
|
|
|
|
2005-11-30 19:08:14 +00:00
|
|
|
/*< private >*/
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
GstPad *sinkpad;
|
|
|
|
GstPad *srcpad;
|
|
|
|
|
|
|
|
guint32 ts_base;
|
|
|
|
guint16 seqnum_base;
|
|
|
|
|
|
|
|
gchar *media;
|
|
|
|
gchar *encoding_name;
|
|
|
|
gboolean dynamic;
|
|
|
|
guint32 clock_rate;
|
|
|
|
|
2005-09-20 11:50:20 +00:00
|
|
|
gint32 ts_offset;
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
guint32 timestamp;
|
2005-09-20 13:34:02 +00:00
|
|
|
gint16 seqnum_offset;
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
guint16 seqnum;
|
gst-libs/gst/rtp/gstbasertppayload.*: Added max-ptime to control amount of data in the rtp packets.
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_setcaps), (gst_basertppayload_chain),
(gst_basertppayload_set_options), (gst_basertppayload_set_outcaps),
(gst_basertppayload_is_filled), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added max-ptime to control amount of data in the rtp packets.
2005-09-22 14:13:04 +00:00
|
|
|
gint64 max_ptime;
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
guint pt;
|
|
|
|
guint ssrc;
|
|
|
|
guint current_ssrc;
|
|
|
|
guint mtu;
|
2005-11-30 19:08:14 +00:00
|
|
|
|
|
|
|
GstSegment segment;
|
|
|
|
|
gst-libs/gst/rtp/gstbasertpaudiopayload.c: Some cleanups, remove minptime property as it is now in the parent class.
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
(gst_base_rtp_audio_payload_class_init),
(gst_base_rtp_audio_payload_init),
(gst_base_rtp_audio_payload_finalize),
(gst_base_rtp_audio_payload_handle_frame_based_buffer),
(gst_base_rtp_audio_payload_handle_sample_based_buffer),
(gst_base_rtp_payload_audio_handle_event):
Some cleanups, remove minptime property as it is now in the parent
class.
Override parent class event function.
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_event), (gst_basertppayload_set_property),
(gst_basertppayload_get_property):
* gst-libs/gst/rtp/gstbasertppayload.h:
Add min-ptime property.
Add handle-event vmethod. Fixes #415001.
2007-05-21 09:45:28 +00:00
|
|
|
guint64 min_ptime;
|
|
|
|
|
2005-11-30 19:08:14 +00:00
|
|
|
/*< private >*/
|
2011-11-11 11:24:08 +00:00
|
|
|
GstRTPBasePayloadPrivate *priv;
|
gst-libs/gst/rtp/gstbasertpaudiopayload.c: Some cleanups, remove minptime property as it is now in the parent class.
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
(gst_base_rtp_audio_payload_class_init),
(gst_base_rtp_audio_payload_init),
(gst_base_rtp_audio_payload_finalize),
(gst_base_rtp_audio_payload_handle_frame_based_buffer),
(gst_base_rtp_audio_payload_handle_sample_based_buffer),
(gst_base_rtp_payload_audio_handle_event):
Some cleanups, remove minptime property as it is now in the parent
class.
Override parent class event function.
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_event), (gst_basertppayload_set_property),
(gst_basertppayload_get_property):
* gst-libs/gst/rtp/gstbasertppayload.h:
Add min-ptime property.
Add handle-event vmethod. Fixes #415001.
2007-05-21 09:45:28 +00:00
|
|
|
|
2009-12-29 23:36:29 +00:00
|
|
|
union {
|
|
|
|
struct {
|
2010-01-19 02:16:32 +00:00
|
|
|
guint64 ptime; /* in ns */
|
2010-04-09 14:06:05 +00:00
|
|
|
guint64 ptime_multiple; /* in ns */
|
2009-12-29 23:36:29 +00:00
|
|
|
} ABI;
|
|
|
|
gpointer _gst_reserved[GST_PADDING - (sizeof(guint64)/sizeof(gpointer)) - 1];
|
|
|
|
} abidata;
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
};
|
|
|
|
|
2011-05-23 20:12:50 +00:00
|
|
|
/**
|
2011-11-11 11:24:08 +00:00
|
|
|
* GstRTPBasePayloadClass:
|
2011-05-23 20:12:50 +00:00
|
|
|
* @parent_class: the parent class
|
|
|
|
* @set_caps: configure the payloader
|
|
|
|
* @handle_buffer: process data
|
|
|
|
* @handle_event: custom event handling
|
|
|
|
* @get_caps: get desired caps
|
|
|
|
*
|
|
|
|
* Base class for audio RTP payloader.
|
|
|
|
*/
|
2011-11-11 11:24:08 +00:00
|
|
|
struct _GstRTPBasePayloadClass
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
{
|
|
|
|
GstElementClass parent_class;
|
|
|
|
|
2011-06-13 14:28:58 +00:00
|
|
|
/* query accepted caps */
|
2011-11-11 11:24:08 +00:00
|
|
|
GstCaps * (*get_caps) (GstRTPBasePayload *payload, GstPad * pad, GstCaps * filter);
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
/* receive caps on the sink pad, configure the payloader. */
|
2011-11-11 11:24:08 +00:00
|
|
|
gboolean (*set_caps) (GstRTPBasePayload *payload, GstCaps *caps);
|
2011-06-13 14:28:58 +00:00
|
|
|
|
2011-11-11 11:24:08 +00:00
|
|
|
/* handle a buffer, perform 0 or more gst_rtp_base_payload_push() on
|
2009-04-27 08:15:44 +00:00
|
|
|
* the RTP buffers. This function takes ownership of the buffer. */
|
2011-11-11 11:24:08 +00:00
|
|
|
GstFlowReturn (*handle_buffer) (GstRTPBasePayload *payload,
|
2005-12-06 19:42:02 +00:00
|
|
|
GstBuffer *buffer);
|
2011-11-11 11:24:08 +00:00
|
|
|
gboolean (*handle_event) (GstRTPBasePayload *payload, GstEvent * event);
|
2005-11-30 19:08:14 +00:00
|
|
|
|
|
|
|
/*< private >*/
|
2011-06-13 14:28:58 +00:00
|
|
|
gpointer _gst_reserved[GST_PADDING];
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
};
|
|
|
|
|
2011-11-11 11:24:08 +00:00
|
|
|
GType gst_rtp_base_payload_get_type (void);
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
|
2011-11-11 11:24:08 +00:00
|
|
|
void gst_rtp_base_payload_set_options (GstRTPBasePayload *payload,
|
2010-03-19 21:33:58 +00:00
|
|
|
const gchar *media,
|
|
|
|
gboolean dynamic,
|
|
|
|
const gchar *encoding_name,
|
2005-12-06 19:42:02 +00:00
|
|
|
guint32 clock_rate);
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
|
2011-11-11 11:24:08 +00:00
|
|
|
gboolean gst_rtp_base_payload_set_outcaps (GstRTPBasePayload *payload,
|
2010-03-19 21:33:58 +00:00
|
|
|
const gchar *fieldname, ...);
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
|
2011-11-11 11:24:08 +00:00
|
|
|
gboolean gst_rtp_base_payload_is_filled (GstRTPBasePayload *payload,
|
2005-12-06 19:42:02 +00:00
|
|
|
guint size, GstClockTime duration);
|
gst-libs/gst/rtp/gstbasertppayload.*: Added max-ptime to control amount of data in the rtp packets.
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_setcaps), (gst_basertppayload_chain),
(gst_basertppayload_set_options), (gst_basertppayload_set_outcaps),
(gst_basertppayload_is_filled), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added max-ptime to control amount of data in the rtp packets.
2005-09-22 14:13:04 +00:00
|
|
|
|
2011-11-11 11:24:08 +00:00
|
|
|
GstFlowReturn gst_rtp_base_payload_push (GstRTPBasePayload *payload,
|
2005-12-06 19:42:02 +00:00
|
|
|
GstBuffer *buffer);
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
|
2011-11-11 11:24:08 +00:00
|
|
|
GstFlowReturn gst_rtp_base_payload_push_list (GstRTPBasePayload *payload,
|
2009-06-19 13:52:34 +00:00
|
|
|
GstBufferList *list);
|
|
|
|
|
gst-libs/gst/rtp/: Added rtp payloader base class.
Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_get_type), (gst_basertppayload_base_init),
(gst_basertppayload_class_init), (gst_basertppayload_init),
(gst_basertppayload_finalize), (gst_basertppayload_setcaps),
(gst_basertppayload_chain), (gst_basertppayload_set_options),
(gst_basertppayload_set_outcaps), (gst_basertppayload_push),
(gst_basertppayload_set_property),
(gst_basertppayload_get_property),
(gst_basertppayload_change_state):
* gst-libs/gst/rtp/gstbasertppayload.h:
Added rtp payloader base class.
2005-09-15 13:50:05 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
2011-11-11 11:24:08 +00:00
|
|
|
#endif /* __GST_RTP_BASE_PAYLOAD_H__ */
|