How to send every comes source video buffer to the udp sink without of a buffering?

Tim Müller tim at centricular.com
Mon Dec 25 20:12:28 UTC 2017


On Mon, 2017-12-25 at 18:18 +0300, Denis Shienkov wrote:

Hi,

> I already have tried this, but in this case ths delay decreases
> up to ~10-11 frames.
> 
> Also I have tried many different options:
> 
>     ::g_object_set(G_OBJECT(videoenc),
>                    "tune", "zerolatency",
>                    nullptr);

This won't work. It's a flags property so you'll have to pass an int. 

Try either:

  g_objecet_set (videoenc, "tune", 0x04, NULL);

or

  gst_util_set_object_arg (G_OBJECT (videoenc), "tune", "zerolatency");

Cheers
-Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com


More information about the gstreamer-devel mailing list