Optimization of sender pipeline in RTP streaming

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Optimization of sender pipeline in RTP streaming

kecalace
Hello everyone,

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 ?


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Optimization of sender pipeline in RTP streaming

Tim Müller
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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel