Lines Matching refs:appsrc
53 GstElement *appsrc; member
77 GstElement *appsrc = NULL, *pay = NULL, *capsf = NULL, *rtpbin = NULL, *sink = NULL; in init_send_pipeline() local
85 MAKE_ELEMENT(appsrc, "appsrc"); in init_send_pipeline()
93 gst_bin_add_many(GST_BIN(c->pipeline), appsrc, pay, capsf, rtpbin, sink, NULL); in init_send_pipeline()
112 …g_object_set(appsrc, "caps", caps, "is-live", TRUE, "blocksize", mtu, "format", 3 /* time */, NULL… in init_send_pipeline()
132 if (!gst_element_link(appsrc, pay) || in init_send_pipeline()
146 c->appsrc = gst_object_ref(appsrc); in init_send_pipeline()
155 if (appsrc) in init_send_pipeline()
156 gst_object_unref(appsrc); in init_send_pipeline()
300 if (gst_app_src_push_buffer(GST_APP_SRC(c->appsrc), buf) != GST_FLOW_OK) { in pa_rtp_send()
639 if (c->appsrc) { in pa_rtp_context_free()
640 gst_app_src_end_of_stream(GST_APP_SRC(c->appsrc)); in pa_rtp_context_free()
641 gst_object_unref(c->appsrc); in pa_rtp_context_free()