RTSP server maxes out 1 CPU core

Nicolas Dufresne nicolas at ndufresne.ca
Thu Nov 7 00:24:39 UTC 2019


Le mardi 05 novembre 2019 à 02:26 -0600, wilson1994 a écrit :
> 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%.

That's fair workaround, good catch. Of course these large packet will
get split on most network, but probably not a huge problem in that
context.

> 
> 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/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list