[gst-devel] RTP depayloader consumes 99% CPU

C. F. Cer cforc0 at hotmail.com
Thu Jun 29 16:53:47 CEST 2006


I am programming RTP application but when using RTP depayloader for example 
with udpsrc the application consumes 99% CPU.  This can be demonstrated with 
gst-launch also:

gst-launch udpsrc ! rtpspeexdepay ! speexdec ! alsasink -v

This consumess 99% CPU immediately (no data is received yet).  Whereas the 
following works fine:

gst-launch udpsrc ! rtpmpadepay ! mad ! audioconvert ! autoaudiosink -v

I have tested it also with other depayloaders with same results.  Am I using 
the RTP depayloader wrong or is this a bug?  The little what I have debugged 
it it seems to have something to do with a clock, or lack of it.  It seems 
go into some busy loop trying to create or wait for a clock, or something 
like that.

Express yourself instantly with MSN Messenger! Download today - it's FREE! 

More information about the gstreamer-devel mailing list