Optimization of sender pipeline in RTP streaming

Tim Müller tim at centricular.com
Thu Jan 5 10:24:15 UTC 2017


On Thu, 2017-01-05 at 10:57 +0100, Kévin Aupée wrote:

Hi,

> I use this pipeline to send RTP audio packets :
> 
> gst-launch-1.0 alsasrc ! audioconvert ! opusenc ! rtpopuspay !
> udpsink port= host=
> 
> Is there any way to optimize this pipeline (reduce delay) and which
> element/property should I change ?

alsasrc has some properties that affect latency/buffer sizes just like
alsasink.

opusenc has a "frame-size" property that defaults to 20ms frames. Set
it to 2, 5 or 10 for shorter frames.

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


More information about the gstreamer-devel mailing list