| 962 | === Bad audio quality on Windows Mobile === #wm-bad-audio |
| 963 | |
| 964 | [http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2008-January/001534.html Tzury Bar Yochay posted this] on PJSIP mailing list: |
| 965 | |
| 966 | ''"Within a layout of Asterisk as server, a soft-phone on a desktop workstation (SJPhone), and pjsua_wince on WM5 device I am experiencing the following symptom: Voice spoken at the desktop end is heard well in the mobile device, but not the vice versa. e.g., words spoken on the mobile device yields a metallic effect in the PC Speaker."'' |
| 967 | |
| 968 | The solution is to increase the sound buffer count to accommodate audio frame burstiness on Windows mobile, by declaring this on your {{{config_site.h}}}: |
| 969 | |
| 970 | {{{ |
| 971 | #define PJMEDIA_SOUND_BUFFER_COUNT 16 |
| 972 | }}} |
| 973 | |
| 974 | Increasing sound buffer count will increase audio latency, so please do some experiments to get the lowest value to get the best latency without breaking the audio quality. |
| 975 | |
| 976 | |