回复: pjsip Digest, Vol 9, Issue 37

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i use the last version, and download form http://svn.pjsip.org/repos/pjproject/trunk ,data:2008-5-14.
   
  i think it may portaudio problem, because i set pjsip work on Directsound (define PJMEDIA_PREFER_DIRECT_SOUND     1),  the cpu very low , < 3%. but Directsound work not stabilize, when  A speak loudness then continue print :"Underflow, buf_cnt=****, will generate 1 frame" , can't hear anything.
   
  ---------------------------------------------------------------------

Message: 1
Date: Wed, 14 May 2008 16:24:33 +0700
From: "Nanang Izzuddin" 
Subject: Re: cpu too high
To: "pjsip list" 

Message-ID: 
Content-Type: text/plain; charset=GB2312

We also experienced that speex encoder may cause CPU increased
significantly when silence occurred (not sure why), and this is
already handled by pjmedia since few months ago. So which version are
you using?

Regards,
nanang


2008/5/14 cat tanger :
> hi,
> when A and B establishes a call , and user B say something ,user A keeps
> silence ,then A PC's cpu fluctuate frome 20 to 50%. if user A say
> something then A cpu reduce to 10%. (user A PC is Interl pentium Duale2140
> 1.6Ghz ,2G memory ,OS :xp.)
>
> when A cpu is 40% ,I find stack as follows:
> ntkrnlpa.exe!ExAllocatePoolWithTag+0x8ab
> ntkrnlpa.exe!MmIsDriverVerifying+0xa08
> hal.dll!HalClearSoftwareInterrupt+0x342
> pjsua_vc8d.exe!inner_prod+0x62
> pjsua_vc8d.exe!pitch_xcorr+0x3a
> pjsua_vc8d.exe!open_loop_nbest_pitch+0x225
> pjsua_vc8d.exe!nb_encode+0x698
> pjsua_vc8d.exe!speex_encode_native+0x1f
> pjsua_vc8d.exe!sb_encode+0x112
> pjsua_vc8d.exe!speex_encode_int+0x73
> pjsua_vc8d.exe!spx_codec_encode+0x8f
> pjsua_vc8d.exe!put_frame_imp+0x2cb
> pjsua_vc8d.exe!put_frame+0x1a5
> pjsua_vc8d.exe!pjmedia_port_put_frame+0x77
> pjsua_vc8d.exe!write_port+0x3e1
> pjsua_vc8d.exe!get_frame+0x536
> pjsua_vc8d.exe!pjmedia_port_get_frame+0x77
> pjsua_vc8d.exe!play_cb+0x5e
> pjsua_vc8d.exe!PaPlayerCallback+0x1fa
> pjsua_vc8d.exe!NonAdaptingProcess+0x28c
> pjsua_vc8d.exe!PaUtil_EndBufferProcessing+0x290
> pjsua_vc8d.exe!ProcessingThreadProc+0x644
> kernel32.dll!GetModuleFileNameA+0x1b4
>
>
> ________________________________
> ????????????
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>


       
---------------------------------
 ????????????
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080514/1990e6b6/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux