gst/: UDP fixes, added uri handler.
Original commit message from CVS:
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpdec.c: (gst_rtpdec_get_type),
(gst_rtpdec_class_init), (gst_rtpdec_init), (gst_rtpdec_chain_rtp),
(gst_rtpdec_chain_rtcp), (gst_rtpdec_set_property),
(gst_rtpdec_get_property), (gst_rtpdec_change_state),
(gst_rtpdec_plugin_init):
* gst/rtp/gstrtpdec.h:
* gst/udp/gstudpsink.c: (gst_udpsink_base_init),
(gst_udpsink_get_times), (gst_udpsink_render),
(gst_udpsink_change_state):
* gst/udp/gstudpsrc.c: (gst_udpsrc_get_type),
(gst_udpsrc_base_init), (gst_udpsrc_class_init), (gst_udpsrc_init),
(gst_udpsrc_loop), (gst_udpsrc_set_uri), (gst_udpsrc_set_property),
(gst_udpsrc_get_property), (gst_udpsrc_init_receive),
(gst_udpsrc_activate), (gst_udpsrc_change_state),
(gst_udpsrc_uri_get_type), (gst_udpsrc_uri_get_protocols),
(gst_udpsrc_uri_get_uri), (gst_udpsrc_uri_set_uri),
(gst_udpsrc_uri_handler_init):
* gst/udp/gstudpsrc.h:
UDP fixes, added uri handler.
Added rtpdec that will manage the RTP session in the future.
2005-05-11 07:31:22 +00:00
|
|
|
/* GStreamer
|
2003-03-02 10:16:26 +00:00
|
|
|
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
|
|
|
|
*
|
|
|
|
* 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
|
2012-11-04 00:07:18 +00:00
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
2003-03-02 10:16:26 +00:00
|
|
|
*/
|
|
|
|
|
2004-01-12 04:15:46 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
2003-11-02 22:04:36 +00:00
|
|
|
#include "config.h"
|
2004-01-12 04:15:46 +00:00
|
|
|
#endif
|
2003-11-02 22:04:36 +00:00
|
|
|
|
2013-04-12 15:16:41 +00:00
|
|
|
#include <gst/tag/tag.h>
|
|
|
|
|
2021-02-12 12:16:28 +00:00
|
|
|
#include "gstrtpelements.h"
|
2017-05-24 11:57:10 +00:00
|
|
|
|
2003-03-02 10:16:26 +00:00
|
|
|
|
|
|
|
static gboolean
|
2004-03-14 22:34:33 +00:00
|
|
|
plugin_init (GstPlugin * plugin)
|
2003-03-02 10:16:26 +00:00
|
|
|
{
|
2021-02-12 12:16:28 +00:00
|
|
|
gboolean ret = FALSE;
|
|
|
|
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpac3depay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpac3pay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpbvdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpbvpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpceltdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpceltpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpdvdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpdvpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpgstdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpgstpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpilbcpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpilbcdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpg722depay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpg722pay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpg723depay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpg723pay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpg726depay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpg726pay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpg729depay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpg729pay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpgsmdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpgsmpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpamrdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpamrpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtppcmadepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtppcmudepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtppcmupay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtppcmapay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpmpadepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpmpapay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpmparobustdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpmpvdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpmpvpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpopusdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpopuspay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtph261pay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtph261depay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtph263ppay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtph263pdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtph263depay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtph263pay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtph264depay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtph264pay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtph265depay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtph265pay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpj2kdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpj2kpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpjpegdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpjpegpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpklvdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpklvpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpL8pay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpL8depay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpL16pay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpL16depay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpL24pay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpL24depay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpldacpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (asteriskh263, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpmp1sdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpmp2tdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpmp2tpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpmp4vpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpmp4vdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpmp4apay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpmp4adepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpmp4gdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpmp4gpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpqcelpdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpqdm2depay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpsbcdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpsbcpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpsirenpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpsirendepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpspeexpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpspeexdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpsv3vdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtptheoradepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtptheorapay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpvorbisdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpvorbispay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpvp8depay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpvp8pay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpvp9depay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpvp9pay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpvrawdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpvrawpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpstreampay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpstreamdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpisacpay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpisacdepay, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpredenc, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpreddec, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpulpfecdec, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpulpfecenc, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (rtpstorage, plugin);
|
|
|
|
|
|
|
|
return ret;
|
2003-03-02 10:16:26 +00:00
|
|
|
}
|
|
|
|
|
2004-03-14 22:34:33 +00:00
|
|
|
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
|
|
|
GST_VERSION_MINOR,
|
2012-04-05 15:36:38 +00:00
|
|
|
rtp,
|
2004-03-14 22:34:33 +00:00
|
|
|
"Real-time protocol plugins",
|
2005-12-01 14:30:01 +00:00
|
|
|
plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);
|