<xi:include href="xml/element-gdkpixbufsink.xml" />
<xi:include href="xml/element-goom.xml" />
<xi:include href="xml/element-goom2k1.xml" />
- <xi:include href="xml/element-gstrtpbin.xml" />
- <xi:include href="xml/element-gstrtpjitterbuffer.xml" />
- <xi:include href="xml/element-gstrtpptdemux.xml" />
- <xi:include href="xml/element-gstrtpsession.xml" />
- <xi:include href="xml/element-gstrtpssrcdemux.xml" />
<xi:include href="xml/element-halaudiosink.xml" />
<xi:include href="xml/element-halaudiosrc.xml" />
<xi:include href="xml/element-hdv1394src.xml" />
<xi:include href="xml/element-rtpj2kpay.xml" />
<xi:include href="xml/element-rtpjpegpay.xml" />
<xi:include href="xml/element-rtspsrc.xml" />
+ <xi:include href="xml/element-rtpbin.xml" />
+ <xi:include href="xml/element-rtpjitterbuffer.xml" />
+ <xi:include href="xml/element-rtpptdemux.xml" />
+ <xi:include href="xml/element-rtpsession.xml" />
+ <xi:include href="xml/element-rtpssrcdemux.xml" />
<xi:include href="xml/element-shagadelictv.xml" />
<xi:include href="xml/element-shapewipe.xml" />
<xi:include href="xml/element-smokedec.xml" />
<xi:include href="xml/plugin-pulseaudio.xml" />
<xi:include href="xml/plugin-replaygain.xml" />
<xi:include href="xml/plugin-rtp.xml" />
- <xi:include href="xml/plugin-gstrtpmanager.xml" />
+ <xi:include href="xml/plugin-rtpmanager.xml" />
<xi:include href="xml/plugin-rtsp.xml" />
<xi:include href="xml/plugin-shapewipe.xml" />
<xi:include href="xml/plugin-shout2send.xml" />
</SECTION>
<SECTION>
-<FILE>element-gstrtpbin</FILE>
-<TITLE>gstrtpbin</TITLE>
+<FILE>element-rtpbin</FILE>
+<TITLE>rtpbin</TITLE>
GstRtpBin
<SUBSECTION Standard>
GstRtpBinPrivate
</SECTION>
<SECTION>
-<FILE>element-gstrtpjitterbuffer</FILE>
-<TITLE>gstrtpjitterbuffer</TITLE>
+<FILE>element-rtpjitterbuffer</FILE>
+<TITLE>rtpjitterbuffer</TITLE>
GstRtpJitterBuffer
<SUBSECTION Standard>
GstRtpJitterBufferClass
</SECTION>
<SECTION>
-<FILE>element-gstrtpptdemux</FILE>
-<TITLE>gstrtpptdemux</TITLE>
+<FILE>element-rtpptdemux</FILE>
+<TITLE>rtpptdemux</TITLE>
GstRtpPtDemux
<SUBSECTION Standard>
GstRtpPtDemuxClass
</SECTION>
<SECTION>
-<FILE>element-gstrtpsession</FILE>
-<TITLE>gstrtpsession</TITLE>
+<FILE>element-rtpsession</FILE>
+<TITLE>rtpsession</TITLE>
GstRtpSession
<SUBSECTION Standard>
GstRtpSessionClass
</SECTION>
<SECTION>
-<FILE>element-gstrtpssrcdemux</FILE>
-<TITLE>gstrtpssrcdemux</TITLE>
+<FILE>element-rtpssrcdemux</FILE>
+<TITLE>rtpssrcdemux</TITLE>
GstRtpSsrcDemux
<SUBSECTION Standard>
GstRtpSsrcDemuxClass
<plugin>
- <name>gstrtpmanager</name>
+ <name>rtpmanager</name>
<description>RTP session management plugin library</description>
<filename>../../gst/rtpmanager/.libs/libgstrtpmanager.so</filename>
<basename>libgstrtpmanager.so</basename>
<origin>Unknown package origin</origin>
<elements>
<element>
- <name>gstrtpbin</name>
+ <name>rtpbin</name>
<longname>RTP Bin</longname>
<class>Filter/Network/RTP</class>
<description>Real-Time Transport Protocol bin</description>
</pads>
</element>
<element>
- <name>gstrtpjitterbuffer</name>
+ <name>rtpjitterbuffer</name>
<longname>RTP packet jitter-buffer</longname>
<class>Filter/Network/RTP</class>
<description>A buffer that deals with network jitter and other transmission faults</description>
</pads>
</element>
<element>
- <name>gstrtpptdemux</name>
+ <name>rtpptdemux</name>
<longname>RTP Demux</longname>
<class>Demux/Network/RTP</class>
<description>Parses codec streams transmitted in the same RTP session</description>
</pads>
</element>
<element>
- <name>gstrtpsession</name>
+ <name>rtpsession</name>
<longname>RTP Session</longname>
<class>Filter/Network/RTP</class>
<description>Implement an RTP session</description>
</pads>
</element>
<element>
- <name>gstrtpssrcdemux</name>
+ <name>rtpssrcdemux</name>
<longname>RTP SSRC Demux</longname>
<class>Demux/Network/RTP</class>
<description>Splits RTP streams based on the SSRC</description>
GstElement *session, *demux;
GstState target;
- if (!(session = gst_element_factory_make ("gstrtpsession", NULL)))
+ if (!(session = gst_element_factory_make ("rtpsession", NULL)))
goto no_session;
- if (!(demux = gst_element_factory_make ("gstrtpssrcdemux", NULL)))
+ if (!(demux = gst_element_factory_make ("rtpssrcdemux", NULL)))
goto no_demux;
sess = g_new0 (GstRtpBinSession, 1);
/* ERRORS */
no_session:
{
- g_warning ("gstrtpbin: could not create gstrtpsession element");
+ g_warning ("rtpbin: could not create gstrtpsession element");
return NULL;
}
no_demux:
{
gst_object_unref (session);
- g_warning ("gstrtpbin: could not create gstrtpssrcdemux element");
+ g_warning ("rtpbin: could not create gstrtpssrcdemux element");
return NULL;
}
}
rtpbin = session->bin;
- if (!(buffer = gst_element_factory_make ("gstrtpjitterbuffer", NULL)))
+ if (!(buffer = gst_element_factory_make ("rtpjitterbuffer", NULL)))
goto no_jitterbuffer;
if (!rtpbin->ignore_pt)
- if (!(demux = gst_element_factory_make ("gstrtpptdemux", NULL)))
+ if (!(demux = gst_element_factory_make ("rtpptdemux", NULL)))
goto no_demux;
/* ERRORS */
no_jitterbuffer:
{
- g_warning ("gstrtpbin: could not create gstrtpjitterbuffer element");
+ g_warning ("rtpbin: could not create gstrtpjitterbuffer element");
return NULL;
}
no_demux:
{
gst_object_unref (buffer);
- g_warning ("gstrtpbin: could not create gstrtpptdemux element");
+ g_warning ("rtpbin: could not create gstrtpptdemux element");
return NULL;
}
}
/* ERRORS */
no_name:
{
- g_warning ("gstrtpbin: invalid name given");
+ g_warning ("rtpbin: invalid name given");
return NULL;
}
create_error:
}
pad_failed:
{
- g_warning ("gstrtpbin: failed to get session pad");
+ g_warning ("rtpbin: failed to get session pad");
return NULL;
}
link_failed:
{
- g_warning ("gstrtpbin: failed to link pads");
+ g_warning ("rtpbin: failed to link pads");
return NULL;
}
}
/* ERRORS */
no_name:
{
- g_warning ("gstrtpbin: invalid name given");
+ g_warning ("rtpbin: invalid name given");
return NULL;
}
create_error:
}
pad_failed:
{
- g_warning ("gstrtpbin: failed to get session pad");
+ g_warning ("rtpbin: failed to get session pad");
return NULL;
}
link_failed:
{
- g_warning ("gstrtpbin: failed to link pads");
+ g_warning ("rtpbin: failed to link pads");
return NULL;
}
}
/* ERRORS */
no_name:
{
- g_warning ("gstrtpbin: invalid name given");
+ g_warning ("rtpbin: invalid name given");
return NULL;
}
create_error:
}
pad_failed:
{
- g_warning ("gstrtpbin: failed to get session pad for session %d", sessid);
+ g_warning ("rtpbin: failed to get session pad for session %d", sessid);
return NULL;
}
no_srcpad:
{
- g_warning ("gstrtpbin: failed to get rtp source pad for session %d",
- sessid);
+ g_warning ("rtpbin: failed to get rtp source pad for session %d", sessid);
return NULL;
}
}
/* ERRORS */
no_name:
{
- g_warning ("gstrtpbin: invalid name given");
+ g_warning ("rtpbin: invalid name given");
return NULL;
}
no_session:
{
- g_warning ("gstrtpbin: session with id %d does not exist", sessid);
+ g_warning ("rtpbin: session with id %d does not exist", sessid);
return NULL;
}
pad_failed:
{
- g_warning ("gstrtpbin: failed to get rtcp pad for session %d", sessid);
+ g_warning ("rtpbin: failed to get rtcp pad for session %d", sessid);
return NULL;
}
}
{
g_free (pad_name);
GST_RTP_BIN_UNLOCK (rtpbin);
- g_warning ("gstrtpbin: this is not our template");
+ g_warning ("rtpbin: this is not our template");
return NULL;
}
}
unknown_pad:
{
GST_RTP_BIN_UNLOCK (rtpbin);
- g_warning ("gstrtpbin: %s:%s is not one of our request pads",
+ g_warning ("rtpbin: %s:%s is not one of our request pads",
GST_DEBUG_PAD_NAME (pad));
return;
}
static gboolean
plugin_init (GstPlugin * plugin)
{
- if (!gst_element_register (plugin, "gstrtpbin", GST_RANK_NONE,
- GST_TYPE_RTP_BIN))
+ if (!gst_element_register (plugin, "rtpbin", GST_RANK_NONE, GST_TYPE_RTP_BIN))
return FALSE;
- if (!gst_element_register (plugin, "gstrtpjitterbuffer", GST_RANK_NONE,
+ if (!gst_element_register (plugin, "rtpjitterbuffer", GST_RANK_NONE,
GST_TYPE_RTP_JITTER_BUFFER))
return FALSE;
- if (!gst_element_register (plugin, "gstrtpptdemux", GST_RANK_NONE,
+ if (!gst_element_register (plugin, "rtpptdemux", GST_RANK_NONE,
GST_TYPE_RTP_PT_DEMUX))
return FALSE;
- if (!gst_element_register (plugin, "gstrtpsession", GST_RANK_NONE,
+ if (!gst_element_register (plugin, "rtpsession", GST_RANK_NONE,
GST_TYPE_RTP_SESSION))
return FALSE;
- if (!gst_element_register (plugin, "gstrtpssrcdemux", GST_RANK_NONE,
+ if (!gst_element_register (plugin, "rtpssrcdemux", GST_RANK_NONE,
GST_TYPE_RTP_SSRC_DEMUX))
return FALSE;
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
- "gstrtpmanager",
+ "rtpmanager",
"RTP session management plugin library",
plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
GObject *session;
gint count = 2;
- rtpbin = gst_element_factory_make ("gstrtpbin", "rtpbin");
+ rtpbin = gst_element_factory_make ("rtpbin", "rtpbin");
while (count--) {
/* request session 0 */
init_data (&data);
- rtpbin = gst_element_factory_make ("gstrtpbin", "rtpbin");
+ rtpbin = gst_element_factory_make ("rtpbin", "rtpbin");
g_signal_connect (rtpbin, "pad-added", (GCallback) pad_added_cb, &data);
g_signal_connect (rtpbin, "pad-removed", (GCallback) pad_removed_cb, &data);
init_data (&data);
- rtpbin = gst_element_factory_make ("gstrtpbin", "rtpbin");
+ rtpbin = gst_element_factory_make ("rtpbin", "rtpbin");
g_signal_connect (rtpbin, "pad-added", (GCallback) pad_added_cb, &data);
g_signal_connect (rtpbin, "pad-removed", (GCallback) pad_removed_cb, &data);
GstElement *rtpbin;
GstPad *rtp_sink1, *rtp_sink2, *rtp_sink3;
- rtpbin = gst_element_factory_make ("gstrtpbin", "rtpbin");
+ rtpbin = gst_element_factory_make ("rtpbin", "rtpbin");
rtp_sink1 = gst_element_get_request_pad (rtpbin, "recv_rtp_sink_%u");
fail_unless (rtp_sink1 != NULL);
fail_unless_equals_string (GST_PAD_NAME (rtp_sink1), "recv_rtp_sink_0");
static Suite *
gstrtpbin_suite (void)
{
- Suite *s = suite_create ("gstrtpbin");
+ Suite *s = suite_create ("rtpbin");
TCase *tc_chain = tcase_create ("general");
suite_add_tcase (s, tc_chain);
g_assert (res == TRUE);
/* the rtpbin element */
- rtpbin = gst_element_factory_make ("gstrtpbin", "rtpbin");
+ rtpbin = gst_element_factory_make ("rtpbin", "rtpbin");
g_assert (rtpbin);
gst_bin_add (GST_BIN (pipeline), rtpbin);
RTCP_RECV_PORT = 5003
RTCP_SEND_PORT = 5007
-#gst-launch -v gstrtpbin name=rtpbin \
+#gst-launch -v rtpbin name=rtpbin \
# udpsrc caps=$AUDIO_CAPS port=$RTP_RECV_PORT ! rtpbin.recv_rtp_sink_0 \
# rtpbin. ! rtppcmadepay ! alawdec ! audioconvert ! audioresample ! autoaudiosink \
# udpsrc port=$RTCP_RECV_PORT ! rtpbin.recv_rtcp_sink_0 \
res = gst.element_link_many(audiodepay, audiodec, audioconv, audiores, audiosink)
# the rtpbin element
-rtpbin = gst.element_factory_make('gstrtpbin', 'rtpbin')
+rtpbin = gst.element_factory_make('rtpbin', 'rtpbin')
pipeline.add(rtpbin)
/* build a pipeline equivalent to:
*
- * gst-launch -v gstrtpbin name=rtpbin \
+ * gst-launch -v rtpbin name=rtpbin \
* $AUDIO_SRC ! audioconvert ! audioresample ! $AUDIO_ENC ! $AUDIO_PAY ! rtpbin.send_rtp_sink_0 \
* rtpbin.send_rtp_src_0 ! udpsink port=5002 host=$DEST \
* rtpbin.send_rtcp_src_0 ! udpsink port=5003 host=$DEST sync=false async=false \
}
/* the rtpbin element */
- rtpbin = gst_element_factory_make ("gstrtpbin", "rtpbin");
+ rtpbin = gst_element_factory_make ("rtpbin", "rtpbin");
g_assert (rtpbin);
gst_bin_add (GST_BIN (pipeline), rtpbin);
pygst.require("0.10")
import gst
-#gst-launch -v gstrtpbin name=rtpbin audiotestsrc ! audioconvert ! alawenc ! rtppcmapay ! rtpbin.send_rtp_sink_0 \
+#gst-launch -v rtpbin name=rtpbin audiotestsrc ! audioconvert ! alawenc ! rtppcmapay ! rtpbin.send_rtp_sink_0 \
# rtpbin.send_rtp_src_0 ! udpsink port=10000 host=xxx.xxx.xxx.xxx \
# rtpbin.send_rtcp_src_0 ! udpsink port=10001 host=xxx.xxx.xxx.xxx sync=false async=false \
# udpsrc port=10002 ! rtpbin.recv_rtcp_sink_0
res = gst.element_link_many(audiosrc, audioconv, audiores, audioenc, audiopay)
# the rtpbin element
-rtpbin = gst.element_factory_make('gstrtpbin', 'rtpbin')
+rtpbin = gst.element_factory_make('rtpbin', 'rtpbin')
pipeline.add(rtpbin)