windows mobile underflow

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

 



Hi Srivatsan,

Actually I'm not using any windows mobile, just a "windows desktop" 
application. By the way which configuration file you mean?

Thanks & Regards,
- Senthil

Srivatsan Deenadayalan wrote:
> Hi Senthil,
>
> Change clock rate in config file from 16000 to 8000, hope it should 
> work. Which handset are you using?
>
> Thanks,
> Srivatsan D
>
> Senthil wrote:
>> Hi Attila,
>>
>> I'm developing a windows desktop SIP phone application using PJSUA.  
>> I'm facing the the same problem as you mentioned in your mail (i.e. 
>> "Underflow message in log and the remote party not able to hear 
>> clearly). I tried as you stated in your previous mail but no success. 
>> Any suggestion to improve the voice quality.
>>
>> Can you send me your modified config_site.h file; just want to double 
>> check what I missed.
>>
>> Any suggestion is greatly appreciated.
>>
>> Thanks & Regards,
>> - Senthil
>>
>> Attila Nyers wrote:
>>> Hi!
>>>
>>> I tried to use some define from PJ_CONFIG_MAXIMUM_SPEED in 
>>> config_site.h to get better performace
>>>
>>> #   define PJ_SCANNER_USE_BITWISE    0
>>> #   undef PJ_OS_HAS_CHECK_STACK
>>> #   define PJ_OS_HAS_CHECK_STACK    0
>>> #   define PJ_LOG_MAX_LEVEL            4   
>>> #   define PJ_ENABLE_EXTRA_CHECK    0
>>> #   define PJ_DEBUG                    0
>>> #   define PJSIP_SAFE_MODULE        0
>>> #   define PJ_HAS_STRICMP_ALNUM        0
>>> #   define PJ_HASH_USE_OWN_TOLOWER    1
>>> #   define PJSIP_UNESCAPE_IN_PLACE    1
>>>
>>> and this time I get these in log:
>>>
>>>  03:29:05.978   Master/sound  Buffer size adjusted from 5440 to 5161 
>>> (eff_cnt=4400)
>>>  03:29:06.115   Master/sound  Buffer size adjusted from 6121 to 5758 
>>> (eff_cnt=4400)
>>>  03:29:06.227   Master/sound  Buffer size adjusted from 5758 to 5340 
>>> (eff_cnt=4400)
>>>  03:29:06.318   Master/sound  Buffer size adjusted from 5340 to 4910 
>>> (eff_cnt=4400)
>>>  03:29:06.442   Master/sound  Buffer size adjusted from 5230 to 5003 
>>> (eff_cnt=4400)
>>>  03:29:06.579   Master/sound  Buffer size adjusted from 5323 to 5161 
>>> (eff_cnt=4400)
>>>  03:29:06.692   Master/sound  Buffer size adjusted from 5161 to 4996 
>>> (eff_cnt=4400)
>>>  03:29:06.805   Master/sound  Buffer size adjusted from 5956 to 5555 
>>> (eff_cnt=4400)
>>>  03:29:06.910   Master/sound  Buffer size adjusted from 5555 to 5086 
>>> (eff_cnt=4400)
>>>  03:29:07.205   Master/sound  Buffer size adjusted from 5406 to 4978 
>>> (eff_cnt=4400)
>>>
>>>
>>>
>>> 2009/7/7 Attila Nyers <atixlevlist at gmail.com 
>>> <mailto:atixlevlist at gmail.com>>
>>>
>>>     Hi!
>>>
>>>     I can hear perfectly the other side, but my voice is metallic on
>>>     the other side. With PJSUA "desktop windows edition" there is no
>>>     problem with sound
>>>
>>>     my CPU usage is on WinMo under 50% at all the time
>>>
>>>     // config_site.h
>>>     #define PJ_WIN32_WINCE 1
>>>     #include "config_site_sample.h"
>>>
>>>     // PJMEDIA
>>>     media_cfg.clock_rate = 8000;
>>>     media_cfg.audio_frame_ptime = 40;
>>>     media_cfg.ec_tail_len = 200;
>>>     media_cfg.max_media_ports = 8;
>>>     media_cfg.thread_cnt = 1;
>>>     media_cfg.ec_options = PJMEDIA_ECHO_SIMPLE;
>>>
>>>
>>>     part of the log:
>>>
>>>     22:50:21.019   strm0020B154  JB shrinking 1 frame(s), cur size=28
>>>      22:50:21.081   Master/sound  Underflow, buf_cnt=0, will
>>>     generate 1 frame
>>>      22:50:21.105   Master/sound  Underflow, buf_cnt=0, will
>>>     generate 1 frame
>>>      22:50:21.153   Master/sound  Underflow, buf_cnt=0, will
>>>     generate 1 frame
>>>      22:50:21.201   Master/sound  Underflow, buf_cnt=0, will
>>>     generate 1 frame
>>>      22:50:21.225   Master/sound  Underflow, buf_cnt=0, will
>>>     generate 1 frame
>>>      22:50:21.273   Master/sound  Underflow, buf_cnt=0, will
>>>     generate 1 frame
>>>      22:50:21.434   strm0020B154  JB shrinking 1 frame(s), cur size=28
>>>      22:50:21.466   Master/sound  Underflow, buf_cnt=0, will
>>>     generate 1 frame
>>>      22:50:21.514   Master/sound  Underflow, buf_cnt=0, will
>>>     generate 1 frame
>>>      22:50:21.562   Master/sound  Underflow, buf_cnt=0, will
>>>     generate 1 frame
>>>      22:50:21.585   Master/sound  Underflow, buf_cnt=0, will
>>>     generate 1 frame
>>>      22:50:21.633   Master/sound  Underflow, buf_cnt=0, will
>>>     generate 1 frame
>>>      22:50:21.678   strm0020B154  JB shrinking 1 frame(s), cur size=28
>>>      22:50:21.825   Master/sound  Underflow, buf_cnt=0, will
>>>     generate 1 frame
>>>      22:50:21.873   Master/sound  Underflow, buf_cnt=0, will
>>>     generate 1 frame
>>>      22:50:21.922   Master/sound  Underflow, buf_cnt=0, will
>>>     generate 1 frame
>>>      22:50:21.945   Master/sound  Underflow, buf_cnt=0, will
>>>     generate 1 frame
>>>
>>>     bye,
>>>     Attila 
>>>
>>>
>>>
>>>
>>> -- 
>>> ?dv,
>>> Attila
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> 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
>>>   
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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
>>   
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/20090707/c9f37b46/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