Controlling cache or buffer length in RTSP H.264 live stream?

Ricky Houghton ricky.houghton at gmail.com
Mon Jan 27 12:17:27 PST 2014


Sorry for confusion,  it required different args compared to the other
callback functions in tutorial  4.

Ricky
On Jan 27, 2014 3:15 PM, "Sebastian Dröge" <sebastian at centricular.com>
wrote:

> On So, 2014-01-26 at 22:03 -0500, Ricky Houghton wrote:
> > This was a huge help - thank for the answers, especially on the weekend -
> > much appreciated.
> >
> >  After a bit of digging, I was able to correctly get the source-setup
> > signal and set the latency to a lower value.
> >
> > For the benefit of others,  to Tutorial-4.c (in app_function), I added
> the
> > line:
> >
> >  *g_signal_connect(G_OBJECT (data->pipeline), "source-setup",
> > (GCallback)source_setup_cb,data);*
> >
> > then I added the following callback function:
> >
> >
> >
> > *static void source_setup_cb (GstElement *pipeline, GstElement *source,
> > CustomData *data) { // .. stuff removed g_object_set (source, "latency",
> > 100, NULL);*
> >
> > * // .. stuff removed}*
> >
> > The source_setup_cb required different args.
>
> What do you mean with "required different args"? That looks correct and
> should work exactly like that.
>
> --
> Sebastian Dröge, Centricular Ltd - http://www.centricular.com
> Expertise, Straight from the Source
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20140127/e6506aa9/attachment.html>


More information about the gstreamer-android mailing list