RTSP server maxes out 1 CPU core

wilson1994 willemsthomas1994 at gmail.com
Tue Nov 5 08:26:50 UTC 2019


Hi,

I'm sorry, I thought you meant some parameters to be tweaked in the
pipeline.

I ended up achieving the desired frame rate by:

* adding queue after the rtpgstpay
* Increasing the MTU size of rtpgstpay (1400 by default, while max udp
packet size is 65,535 bytes). Taking an MTU of 65000 brought down the CPU
load by more than 50%.

So pipeline looks like this:

    gst_rtsp_media_factory_set_launch (factory, "( appsrc name=source !
rtpcustompay mtu=65000 ! queue max-buffer-size=4 name=pay0 )");




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list