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

Sebastian Dröge sebastian at centricular.com
Mon Jan 27 12:14:52 PST 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20140127/930d4cdf/attachment.pgp>


More information about the gstreamer-android mailing list