Lines Matching defs:rtpbin
85 GstElement *appsrc = NULL, *pay = NULL, *capsf = NULL, *rtpbin = NULL, *sink = NULL;
102 MAKE_ELEMENT(rtpbin, "rtpbin");
107 gst_bin_add_many(GST_BIN(c->pipeline), appsrc, pay, capsf, rtpbin, sink, NULL);
157 !gst_element_link_pads(capsf, "src", rtpbin, "send_rtp_sink_0") ||
158 !gst_element_link_pads(rtpbin, "send_rtp_src_0", sink, "sink")) {
166 !gst_element_link_pads(capsf, "src", rtpbin, "send_rtp_sink_0") ||
167 !gst_element_link_pads(rtpbin, "send_rtp_src_0", sink, "sink")) {
196 if (rtpbin)
197 gst_object_unref(rtpbin);
392 error = g_error_new(GST_CORE_ERROR, GST_CORE_ERROR_PAD, "Could not link rtpbin to depayloader");
423 GstElement *udpsrc = NULL, *rtpbin = NULL, *depay = NULL, *appsink = NULL;
431 MAKE_ELEMENT(rtpbin, "rtpbin");
443 gst_bin_add_many(GST_BIN(c->pipeline), udpsrc, rtpbin, depay, appsink, NULL);
462 g_object_set(rtpbin, "latency", 0, "buffer-mode", 0 /* none */, NULL);
481 if (!gst_element_link_pads(udpsrc, "src", rtpbin, "recv_rtp_sink_0") ||
490 if (!gst_element_link_pads(udpsrc, "src", rtpbin, "recv_rtp_sink_0") ||
498 g_signal_connect(G_OBJECT(rtpbin), "pad-added", G_CALLBACK(on_pad_added), c);
526 if (rtpbin)
527 gst_object_unref(rtpbin);