Commit f9d2e49e authored by Wim Taymans's avatar Wim Taymans

gst/rtp/README: Say something about case-sensitivity of caps vs mime-attributes.

Original commit message from CVS:
* gst/rtp/README:
Say something about case-sensitivity of caps vs mime-attributes.

* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpamrpay.c: (gst_rtp_amr_pay_class_init),
(gst_rtp_amr_pay_handle_buffer):
* gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_get_type),
(gst_rtp_mp4g_pay_base_init), (gst_rtp_mp4g_pay_class_init),
(gst_rtp_mp4g_pay_init), (gst_rtp_mp4g_pay_finalize),
(gst_rtp_mp4g_pay_new_caps), (gst_rtp_mp4g_pay_setcaps),
(gst_rtp_mp4g_pay_flush), (gst_rtp_mp4g_pay_handle_buffer),
(gst_rtp_mp4g_pay_set_property), (gst_rtp_mp4g_pay_get_property),
(gst_rtp_mp4g_pay_plugin_init):
* gst/rtp/gstrtpmp4gpay.h:
Added beginnings of mpeg4-generic payloader (RFC 3640)
parent 946e1e43
2006-02-10 Wim Taymans <wim@fluendo.com>
* gst/rtp/README:
Say something about case-sensitivity of caps vs mime-attributes.
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpamrpay.c: (gst_rtp_amr_pay_class_init),
(gst_rtp_amr_pay_handle_buffer):
* gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_get_type),
(gst_rtp_mp4g_pay_base_init), (gst_rtp_mp4g_pay_class_init),
(gst_rtp_mp4g_pay_init), (gst_rtp_mp4g_pay_finalize),
(gst_rtp_mp4g_pay_new_caps), (gst_rtp_mp4g_pay_setcaps),
(gst_rtp_mp4g_pay_flush), (gst_rtp_mp4g_pay_handle_buffer),
(gst_rtp_mp4g_pay_set_property), (gst_rtp_mp4g_pay_get_property),
(gst_rtp_mp4g_pay_plugin_init):
* gst/rtp/gstrtpmp4gpay.h:
Added beginnings of mpeg4-generic payloader (RFC 3640)
2006-02-09 Wim Taymans <wim@fluendo.com>
* gst/rtsp/Makefile.am:
......
......@@ -17,6 +17,7 @@ libgstrtp_la_SOURCES = \
gstasteriskh263.c \
gstrtpmp4vdepay.c \
gstrtpmp4vpay.c \
gstrtpmp4gpay.c \
gstrtpspeexdepay.c \
gstrtpspeexpay.c
......@@ -49,6 +50,7 @@ noinst_HEADERS = \
gstrtph263pay.h \
gstrtpmp4vdepay.h \
gstrtpmp4vpay.h \
gstrtpmp4gpay.h \
gstrtpdepay.h \
gstasteriskh263.h \
gstrtpspeexdepay.h \
......
......@@ -66,6 +66,10 @@ The following fields can or must (*) be specified in the structure:
in RTSP, the SSRC is also sent.
The optional parameters in the SDP fields are case insensitive. In the caps we
always use the lowercase names so that the SDP -> caps mapping remains
possible.
TODO
----
......
......@@ -35,6 +35,7 @@
#include "gstrtph263pay.h"
#include "gstasteriskh263.h"
#include "gstrtpmp4vpay.h"
#include "gstrtpmp4gpay.h"
#include "gstrtpmp4vdepay.h"
#include "gstrtpspeexpay.h"
#include "gstrtpspeexdepay.h"
......@@ -87,6 +88,9 @@ plugin_init (GstPlugin * plugin)
if (!gst_rtp_mp4v_depay_plugin_init (plugin))
return FALSE;
if (!gst_rtp_mp4g_pay_plugin_init (plugin))
return FALSE;
if (!gst_rtp_speex_pay_plugin_init (plugin))
return FALSE;
......
......@@ -133,7 +133,7 @@ gst_rtp_amr_pay_class_init (GstRtpAMRPayClass * klass)
gstbasertppayload_class->handle_buffer = gst_rtp_amr_pay_handle_buffer;
GST_DEBUG_CATEGORY_INIT (rtpamrpay_debug, "rtpamrpay", 0,
"AMR RTP Depayloader");
"AMR RTP Payloader");
}
......
This diff is collapsed.
/* Gnome-Streamer
* 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.
*/
#ifndef __GST_RTP_MP4G_PAY_H__
#define __GST_RTP_MP4G_PAY_H__
#include <gst/gst.h>
#include <gst/rtp/gstbasertppayload.h>
#include <gst/base/gstadapter.h>
G_BEGIN_DECLS
#define GST_TYPE_RTP_MP4G_PAY \
(gst_rtp_mp4g_pay_get_type())
#define GST_RTP_MP4G_PAY(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_MP4G_PAY,GstRtpMP4GPay))
#define GST_RTP_MP4G_PAY_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_MP4G_PAY,GstRtpMP4GPay))
#define GST_IS_RTP_MP4G_PAY(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_RTP_MP4G_PAY))
#define GST_IS_RTP_MP4G_PAY_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTP_MP4G_PAY))
typedef struct _GstRtpMP4GPay GstRtpMP4GPay;
typedef struct _GstRtpMP4GPayClass GstRtpMP4GPayClass;
struct _GstRtpMP4GPay
{
GstBaseRTPPayload payload;
GstAdapter *adapter;
GstClockTime first_ts;
GstClockTime duration;
gint rate;
gint profile;
GstBuffer *config;
};
struct _GstRtpMP4GPayClass
{
GstBaseRTPPayloadClass parent_class;
};
gboolean gst_rtp_mp4g_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS
#endif /* __GST_RTP_MP4G_PAY_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment