pjsystest != pjsip-test ;-) Btw, seems that there have been a number of reports regarding audio device issues, especially linux/ARM. There has been plan to do something about this, e.g: upgrading to newer PA version. Meanwhile, self trying to upgrade PA or checking PA forums/lists/KB could be useful :) BR, nanang On Thu, Dec 10, 2009 at 10:50 PM, Peter Lukac <p.lukac at emtest.sk> wrote: > hi again, > Thanks for advice but when i try run this test > http://trac.pjsip.org/repos/wiki/Testing_Audio_Device_with_pjsystest > on my PC it works fine but on my ARM device not... i got this error message: > > for 1.4.5 version... > > [root at device pjproject]# ./pjsip-test-arm-unknown-linux-gnu > ?16:00:22.940 PJLIB (c)2008-2009 Teluu Inc. > ?16:00:22.942 Dumping configurations: > ?16:00:22.944 ?PJ_VERSION ? ? ? ? ? ? ? ?: 1.4.5 > ?16:00:22.946 ?PJ_M_NAME ? ? ? ? ? ? ? ? : arm > ?16:00:22.948 ?PJ_HAS_PENTIUM ? ? ? ? ? ?: 0 > ?16:00:22.950 ?PJ_OS_NAME ? ? ? ? ? ? ? ?: arm-unknown-linux-gnu > ?16:00:22.952 ?PJ_CC_NAME/VER_(1,2,3) ? ?: gcc-4.2.1 > ?16:00:22.954 ?PJ_IS_(BIG/LITTLE)_ENDIAN : little-endian > ?16:00:22.956 ?PJ_HAS_INT64 ? ? ? ? ? ? ?: 1 > ?16:00:22.958 ?PJ_HAS_FLOATING_POINT ? ? : 1 > ?16:00:22.960 ?PJ_DEBUG ? ? ? ? ? ? ? ? ?: 1 > ?16:00:22.963 ?PJ_FUNCTIONS_ARE_INLINED ?: 0 > ?16:00:22.964 ?PJ_LOG_MAX_LEVEL ? ? ? ? ?: 5 > ?16:00:22.966 ?PJ_LOG_MAX_SIZE ? ? ? ? ? : 2000 > ?16:00:22.968 ?PJ_LOG_USE_STACK_BUFFER ? : 1 > ?16:00:22.970 ?PJ_POOL_DEBUG ? ? ? ? ? ? : 0 > ?16:00:22.973 ?PJ_HAS_POOL_ALT_API ? ? ? : 0 > ?16:00:22.974 ?PJ_HAS_TCP ? ? ? ? ? ? ? ?: 1 > ?16:00:22.976 ?PJ_MAX_HOSTNAME ? ? ? ? ? : 128 > ?16:00:22.979 ?ioqueue type ? ? ? ? ? ? ?: select > ?16:00:22.981 ?PJ_IOQUEUE_MAX_HANDLES ? ?: 64 > ?16:00:22.983 ?PJ_IOQUEUE_HAS_SAFE_UNREG : 1 > ?16:00:22.985 ?PJ_HAS_THREADS ? ? ? ? ? ?: 1 > ?16:00:22.986 ?PJ_LOG_USE_STACK_BUFFER ? : 1 > ?16:00:22.988 ?PJ_HAS_SEMAPHORE ? ? ? ? ?: 1 > ?16:00:22.990 ?PJ_HAS_EVENT_OBJ ? ? ? ? ?: 1 > ?16:00:22.992 ?PJ_ENABLE_EXTRA_CHECK ? ? : 1 > ?16:00:22.994 ?PJ_HAS_EXCEPTION_NAMES ? ?: 1 > ?16:00:22.996 ?PJ_MAX_EXCEPTION_ID ? ? ? : 16 > ?16:00:22.998 ?PJ_EXCEPTION_USE_WIN32_SEH: 0 > ?16:00:23.000 ?PJ_TIMESTAMP_USE_RDTSC: ? : 0 > ?16:00:23.002 ?PJ_OS_HAS_CHECK_STACK ? ? : 0 > ?16:00:23.004 ?PJ_HAS_HIGH_RES_TIMER ? ? : 1 > ?16:00:23.014 > ?16:00:23.020 Running uri_test()... > ?16:00:23.022 ? simple test > ?16:00:23.033 ? benchmarking (1 of 1)... > ?16:01:29.235 ? ? 14.2 MB of urls parsed in 25.613s (avg=6964 urls/sec) > ?16:01:29.236 ? ? 13.4 MB of urls printed in 7.076s (avg=25207 urls/sec) > ?16:01:29.239 ? ? 13.0 MB of urls compared in 5.302s (avg=30647 urls/sec) > ?16:01:29.240 ? Maximum URI parse/sec=6964 > ?16:01:29.243 ? Maximum URI print/sec=25207 > ?16:01:29.245 ? Maximum URI comparison/sec=30647 > ?16:01:29.247 ..success(0) > ?16:01:29.249 Running msg_test()... > ?16:01:29.251 ? testing header parsing.. > ?16:01:29.261 ? simple test.. > ?16:01:29.270 ? benchmarking (1 of 1).. > ?16:02:42.380 ? ? 44.9 MB detected in 13.136s (avg=4275 msg detection/sec) > ?16:02:42.383 ? ? 44.9 MB parsed in 40.643s (avg=1381 msg parsing/sec) > ?16:02:42.385 ? ? 15.2 MB printed in 2.544s (avg=7482 msg print/sec) > ?16:02:42.387 ? Maximum message detection/sec=4275 > ?16:02:42.389 ? Maximum message parsing/sec=1381 > ?16:02:42.391 ? Maximum message print/sec=7482 > ?16:02:42.393 ..success(0) > ?16:02:42.395 Running msg_err_test()... > ?16:02:42.397 Testing parsing error > ?16:02:42.399 ? Parsing msg 0 > ?16:02:42.401 ? Parsing msg 1 > ?16:02:42.404 ? ?reported syntax error at line 2 col 0 for Via > ?16:02:42.405 ? Parsing msg 2 > ?16:02:42.408 ? ?reported syntax error at line 2 col 0 for Via > ?16:02:42.410 ? ?reported syntax error at line 4 col 0 for Via > ?16:02:42.412 ..success(0) > ?16:02:42.414 Running txdata_test()... > ?16:02:42.416 ? ?core transmit data test > ?16:02:42.421 ? ?header param in URI to create request > ?16:02:42.425 ? ?benchmarking request creation: > ?16:02:42.426 ? ? test 1 of 4.. > ?16:02:47.487 ? ? test 2 of 4.. > ?16:02:54.015 ? ? test 3 of 4.. > ?16:02:59.693 ? ? test 4 of 4.. > ?16:03:05.348 ? ? Requests created at 2058 requests/sec > ?16:03:05.350 ? ?benchmarking response creation: > ?16:03:05.352 ? ? test 1 of 4.. > ?16:03:07.235 ? ? test 2 of 4.. > ?16:03:10.636 ? ? test 3 of 4.. > ?16:03:12.514 ? ? test 4 of 4.. > ?16:03:14.556 ? ? Responses created at 5899 responses/sec > ?16:03:14.573 ..success(0) > ?16:03:14.575 Running tsx_bench()... > ?16:03:14.578 ? ?benchmarking UAC transaction creation: > ?16:03:14.580 ? ? test 1 of 4.. > ?16:03:20.582 ? ? test 2 of 4.. > ?16:04:35.172 ? ? test 3 of 4.. > ?16:06:29.522 ? ? test 4 of 4.. > ?16:09:02.792 ? ? UAC created at 3295 tsx/sec > ?16:09:02.794 ? ?benchmarking UAS transaction creation: > ?16:09:02.796 ? ? test 1 of 4.. > ?16:12:13.202 ? ? test 2 of 4.. > ./pjsip-test-arm-unknown-linux-gnu: ../src/pjsip/sip_transaction.c: 551: > mod_tsx_layer_register_tsx: Assertion `pj_hash_get( mod_tsx_layer.htable, tsx- >>transaction_key.ptr, tsx->transaction_key.slen, ((void *)0)) == ((void *)0)' > failed. > Aborted > > > and for 1.5.0 version too... > > > [root at device samples1-5]# ./pjsip-test-arm-unknown-linux-gnu > ?16:17:45.305 PJLIB (c)2008-2009 Teluu Inc. > ?16:17:45.308 Dumping configurations: > ?16:17:45.311 ?PJ_VERSION ? ? ? ? ? ? ? ?: 1.5 > ?16:17:45.313 ?PJ_M_NAME ? ? ? ? ? ? ? ? : arm > ?16:17:45.316 ?PJ_HAS_PENTIUM ? ? ? ? ? ?: 0 > ?16:17:45.319 ?PJ_OS_NAME ? ? ? ? ? ? ? ?: arm-unknown-linux-gnu > ?16:17:45.321 ?PJ_CC_NAME/VER_(1,2,3) ? ?: gcc-4.2.1 > ?16:17:45.324 ?PJ_IS_(BIG/LITTLE)_ENDIAN : little-endian > ?16:17:45.326 ?PJ_HAS_INT64 ? ? ? ? ? ? ?: 1 > ?16:17:45.328 ?PJ_HAS_FLOATING_POINT ? ? : 1 > ?16:17:45.332 ?PJ_DEBUG ? ? ? ? ? ? ? ? ?: 1 > ?16:17:45.334 ?PJ_FUNCTIONS_ARE_INLINED ?: 0 > ?16:17:45.336 ?PJ_LOG_MAX_LEVEL ? ? ? ? ?: 5 > ?16:17:45.341 ?PJ_LOG_MAX_SIZE ? ? ? ? ? : 2000 > ?16:17:45.343 ?PJ_LOG_USE_STACK_BUFFER ? : 1 > ?16:17:45.345 ?PJ_POOL_DEBUG ? ? ? ? ? ? : 0 > ?16:17:45.347 ?PJ_HAS_POOL_ALT_API ? ? ? : 0 > ?16:17:45.350 ?PJ_HAS_TCP ? ? ? ? ? ? ? ?: 1 > ?16:17:45.353 ?PJ_MAX_HOSTNAME ? ? ? ? ? : 128 > ?16:17:45.356 ?ioqueue type ? ? ? ? ? ? ?: select > ?16:17:45.358 ?PJ_IOQUEUE_MAX_HANDLES ? ?: 64 > ?16:17:45.361 ?PJ_IOQUEUE_HAS_SAFE_UNREG : 1 > ?16:17:45.363 ?PJ_HAS_THREADS ? ? ? ? ? ?: 1 > ?16:17:45.367 ?PJ_LOG_USE_STACK_BUFFER ? : 1 > ?16:17:45.369 ?PJ_HAS_SEMAPHORE ? ? ? ? ?: 1 > ?16:17:45.371 ?PJ_HAS_EVENT_OBJ ? ? ? ? ?: 1 > ?16:17:45.375 ?PJ_ENABLE_EXTRA_CHECK ? ? : 1 > ?16:17:45.377 ?PJ_HAS_EXCEPTION_NAMES ? ?: 1 > ?16:17:45.379 ?PJ_MAX_EXCEPTION_ID ? ? ? : 16 > ?16:17:45.384 ?PJ_EXCEPTION_USE_WIN32_SEH: 0 > ?16:17:45.385 ?PJ_TIMESTAMP_USE_RDTSC: ? : 0 > ?16:17:45.385 ?PJ_OS_HAS_CHECK_STACK ? ? : 0 > ?16:17:45.385 ?PJ_HAS_HIGH_RES_TIMER ? ? : 1 > ?16:17:45.399 > ?16:17:45.408 Running uri_test()... > ?16:17:45.410 ? simple test > ?16:17:45.425 ? benchmarking (1 of 1)... > ?16:18:54.324 ? ? 14.2 MB of urls parsed in 26.898s (avg=6631 urls/sec) > ?16:18:54.326 ? ? 13.4 MB of urls printed in 7.081s (avg=25188 urls/sec) > ?16:18:54.328 ? ? 13.0 MB of urls compared in 5.014s (avg=32407 urls/sec) > ?16:18:54.330 ? Maximum URI parse/sec=6631 > ?16:18:54.333 ? Maximum URI print/sec=25188 > ?16:18:54.334 ? Maximum URI comparison/sec=32407 > ?16:18:54.337 ..success(0) > ?16:18:54.338 Running msg_test()... > ?16:18:54.341 ? testing header parsing.. > ?16:18:54.350 ? simple test.. > ?16:18:54.360 ? benchmarking (1 of 1).. > ?16:20:08.121 ? ? 44.9 MB detected in 12.622s (avg=4449 msg detection/sec) > ?16:20:08.123 ? ? 44.9 MB parsed in 40.872s (avg=1374 msg parsing/sec) > ?16:20:08.125 ? ? 15.2 MB printed in 3.141s (avg=6059 msg print/sec) > ?16:20:08.127 ? Maximum message detection/sec=4449 > ?16:20:08.130 ? Maximum message parsing/sec=1374 > ?16:20:08.132 ? Maximum message print/sec=6059 > ?16:20:08.134 ..success(0) > ?16:20:08.136 Running msg_err_test()... > ?16:20:08.138 Testing parsing error > ?16:20:08.141 ? Parsing msg 0 > ?16:20:08.144 ? Parsing msg 1 > ?16:20:08.146 ? ?reported syntax error at line 2 col 0 for Via > ?16:20:08.147 ? Parsing msg 2 > ?16:20:08.150 ? ?reported syntax error at line 2 col 0 for Via > ?16:20:08.152 ? ?reported syntax error at line 4 col 0 for Via > ?16:20:08.154 ..success(0) > ?16:20:08.156 Running txdata_test()... > ?16:20:08.158 ? ?core transmit data test > ?16:20:08.164 ? ?header param in URI to create request > ?16:20:08.167 ? ?benchmarking request creation: > ?16:20:08.169 ? ? test 1 of 4.. > ?16:20:13.276 ? ? test 2 of 4.. > ?16:20:19.810 ? ? test 3 of 4.. > ?16:20:26.171 ? ? test 4 of 4.. > ?16:20:31.267 ? ? Requests created at 2037 requests/sec > ?16:20:31.269 ? ?benchmarking response creation: > ?16:20:31.270 ? ? test 1 of 4.. > ?16:20:33.770 ? ? test 2 of 4.. > ?16:20:36.743 ? ? test 3 of 4.. > ?16:20:38.884 ? ? test 4 of 4.. > ?16:20:40.863 ? ? Responses created at 5574 responses/sec > ?16:20:40.866 ..success(0) > ?16:20:40.868 Running tsx_bench()... > ?16:20:40.870 ? ?benchmarking UAC transaction creation: > ?16:20:40.872 ? ? test 1 of 4.. > ?16:20:47.792 ? ? test 2 of 4.. > ?16:22:03.242 ? ? test 3 of 4.. > ?16:24:02.842 ? ? test 4 of 4.. > 0 16:26:44.742 ? ? UAC created at 2161 tsx/sec > ?16:26:44.744 ? ?benchmarking UAS transaction creation: > ?16:26:44.746 ? ? test 1 of 4.. > ?16:30:06.572 ? ? test 2 of 4.. > ?16:30:06.575 Unable to register transaction (key exists) > ?16:30:08.582 ..ERROR(70015) > ?16:30:09.092 Peak memory size=88 MB > ?16:30:13.385 > ?16:30:13.387 Stack max usage: 0, deepest: :0 > ?16:30:13.389 Test completed with error(s) > > > i don't understand what's going on... > ...somebody know? > > ...thanks > >> Hi Peter, >> >> Please check troubleshooting sound problems on wiki [1]. >> >> Such problem could be triggered by high-burst or clock-drift in audio >> device, which is usually caused by CPU load/spikes. This pjsystest >> tool may be able to help examining audio device behaviour [2]. >> >> --- >> [1] http://trac.pjsip.org/repos/wiki/sound-problems >> [2] http://trac.pjsip.org/repos/wiki/Testing_Audio_Device_with_pjsystest >> --- >> >> BR, >> nanang >> >> On Fri, Nov 27, 2009 at 5:35 PM, Peter Lukac <p.lukac at emtest.sk> wrote: >> > hello again :) >> > Can me somebody explain what does mean these logs? >> > >> > 233 samples reduced, buf_cnt=877 >> > JB shrinking 1 frame(s), cur size=32 >> > jb updated(1), prefetch=12, size=33 >> > Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > >> > ------------------------------------------------------------- >> > 233 samples reduced, buf_cnt=877 >> > ------------------------------------------------------------- >> > this log is generate with function >> > >> > /* This function will erase samples from delay buffer. >> > ?* The number of erased samples is guaranteed to be >= erase_cnt. >> > ?*/ >> > static void shrink_buffer(pjmedia_delay_buf *b, unsigned erase_cnt) >> > >> > why is sample erase from buffer..buffer is too smal? or write stream is >> > bigger than read stream? >> > >> > ------------------------------------------------------------- >> > Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > ------------------------------------------------------------- >> > And what is this.. No data in "sound buffer"? If yes...why? >> > >> > I have problem with audio... i using sample application pjsua.. but when >> > i calling i hear bursting... >> > >> > when i compile with empty config_site.h config and run pjsua as: >> > >> > ./pjsua-arm-unknown-linux-gnu --id sip:pc3 at 192.168.32.123 --registrar >> > sip:192.168.32.123 --realm asterisk --username pc3 --password heslo >> > ?--auto- answer 200 --app-log-level=5 --playback-dev=1 --clock-rate=8000 >> > --snd-clock- rate=8000 ?--play-file ./samples/test8000.wav --no-vad >> > >> > i get lot of these logs: >> > >> > 10:15:30.879 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > ?10:15:30.901 ? ? ec0x2581d0 ?50 samples reduced, buf_cnt=930 >> > ?10:15:30.905 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > ?10:15:30.909 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > ?10:15:30.921 ? ? ec0x2581d0 ?166 samples reduced, buf_cnt=924 >> > ?10:15:30.933 ? ? ec0x2581d0 ?143 samples reduced, buf_cnt=941 >> > ?10:15:30.963 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > ?10:15:30.969 ? strm0x27baec ?jb updated(1), prefetch=23, size=39 >> > ?10:15:30.976 ? ? ec0x2581d0 ?266 samples reduced, buf_cnt=835 >> > ?10:15:30.993 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > ?10:15:31.004 ? ? ec0x2581d0 ?46 samples reduced, buf_cnt=949 >> > ?10:15:31.007 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > ?10:15:31.016 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > ?10:15:31.027 ? ? ec0x2581d0 ?245 samples reduced, buf_cnt=864 >> > ?10:15:31.030 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > ?10:15:31.047 ? ? ec0x2581d0 ?77 samples reduced, buf_cnt=947 >> > ?10:15:31.055 ? ? ec0x2581d0 ?162 samples reduced, buf_cnt=945 >> > ?10:15:31.083 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > ?10:15:31.104 ? ? ec0x2581d0 ?293 samples reduced, buf_cnt=812 >> > ?10:15:31.107 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > ?10:15:31.115 ? ? ec0x2581d0 ?49 samples reduced, buf_cnt=923 >> > ?10:15:31.120 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > ?10:15:31.141 ? ? ec0x2581d0 ?145 samples reduced, buf_cnt=938 >> > ?10:15:31.153 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > ?10:15:31.166 ? ? ec0x2581d0 ?231 samples reduced, buf_cnt=867 >> > ?10:15:31.183 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > ?10:15:31.194 ? ? ec0x2581d0 ?97 samples reduced, buf_cnt=930 >> > ?10:15:31.200 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > ?10:15:31.218 ? ? ec0x2581d0 ?188 samples reduced, buf_cnt=902 >> > ?10:15:31.228 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > ?10:15:31.260 ? ? ec0x2581d0 ?108 samples reduced, buf_cnt=954 >> > ?10:15:31.263 ? Master/sound ?Underflow, buf_cnt=0, will generate 1 frame >> > >> > >> > but when i run with paramter >> > >> > --ec-tail=0 >> > >> > i get these logs: >> > >> > 10:19:01.011 ? strm0x26774c ?JB shrinking 1 frame(s), cur size=41 >> > ?10:19:01.211 ? strm0x26774c ?JB shrinking 1 frame(s), cur size=38 >> > ?10:19:01.411 ? strm0x26774c ?JB shrinking 1 frame(s), cur size=37 >> > ?10:19:01.611 ? strm0x26774c ?JB shrinking 1 frame(s), cur size=38 >> > ?10:19:01.811 ? strm0x26774c ?JB shrinking 1 frame(s), cur size=37 >> > ?10:19:02.011 ? strm0x26774c ?JB shrinking 1 frame(s), cur size=34 >> > ?10:19:02.214 ? strm0x26774c ?JB shrinking 1 frame(s), cur size=34 >> > ?10:19:02.438 ? strm0x26774c ?JB shrinking 1 frame(s), cur size=34 >> > ?10:19:02.663 ? strm0x26774c ?JB shrinking 1 frame(s), cur size=34 >> > ?10:19:03.333 ? strm0x26774c ?JB shrinking 1 frame(s), cur size=34 >> > ?10:19:03.353 ? Master/sound ?Underflow, buf_cnt=44, will generate 1 >> > frame 10:19:03.661 ? strm0x26774c ?JB shrinking 1 frame(s), cur size=34 >> > 10:19:03.668 ? Master/sound ?172 samples reduced, buf_cnt=672 >> > ?10:19:04.196 ? strm0x26774c ?JB shrinking 1 frame(s), cur size=34 >> > ?10:19:04.311 ? strm0x26774c ?jb updated(2), prefetch=22, size=48 >> > ?10:19:04.684 ? strm0x26774c ?JB shrinking 1 frame(s), cur size=44 >> > ?10:19:04.691 ? Master/sound ?92 samples reduced, buf_cnt=740 >> > ?10:19:04.729 ? Master/sound ?164 samples reduced, buf_cnt=736 >> > ?10:19:04.767 ? Master/sound ?235 samples reduced, buf_cnt=661 >> > ?10:19:04.797 ? Master/sound ?37 samples reduced, buf_cnt=784 >> > ?10:19:04.818 ? Master/sound ?161 samples reduced, buf_cnt=783 >> > ?10:19:04.831 ? Master/sound ?160 samples reduced, buf_cnt=783 >> > ?10:19:04.839 ? Master/sound ?273 samples reduced, buf_cnt=670 >> > ?10:19:04.847 ? Master/sound ?128 samples reduced, buf_cnt=702 >> > ?10:19:04.935 ? Master/sound ?189 samples reduced, buf_cnt=673 >> > ?10:19:04.943 ? strm0x26774c ?jb updated(2), prefetch=32, size=43 >> > ?10:19:08.171 ? strm0x26774c ?jb updated(1), prefetch=31, size=45 >> > ?10:19:11.411 ? strm0x26774c ?jb updated(1), prefetch=22, size=45 >> > ?10:19:11.413 ? strm0x26774c ?JB shrinking 1 frame(s), cur size=44 >> > ?10:19:11.622 ? strm0x26774c ?JB shrinking 1 frame(s), cur size=44 >> > ?10:19:12.653 ? strm0x26774c ?JB shrinking 1 frame(s), cur size=44 >> > ?10:19:12.795 ? Master/sound ?170 samples reduced, buf_cnt=663 >> > ?10:19:12.814 ? Master/sound ?131 samples reduced, buf_cnt=692 >> > ?10:19:12.827 ? Master/sound ?103 samples reduced, buf_cnt=749 >> > ?10:19:12.857 ? Master/sound ?200 samples reduced, buf_cnt=709 >> > ?10:19:12.898 ? Master/sound ?174 samples reduced, buf_cnt=695 >> > ?10:19:12.928 ? Master/sound ?187 samples reduced, buf_cnt=668 >> > ?10:19:12.902 ? strm0x26774c ?JB shrinking 1 frame(s), cur size=44 >> > ?10:19:12.983 ? strm0x26774c ?jb updated(2), prefetch=26, size=39 >> > ?10:19:13.602 ? ?pjsua_acc.c ?Sending 2 bytes keep-alive packet for acc 2 >> > to 192.168.32.123:5060 >> > ?10:19:13.608 ? tdta0x25f0f0 ?Destroying txdata raw >> > ?10:19:13.636 ? Master/sound ?76 samples reduced, buf_cnt=752 >> > >> > >> > when i compile project with config_site.h >> > >> > #define PJMEDIA_CONF_USE_SWITCH_BOARD ? ? 1. >> > #define PJMEDIA_WSOLA_IMP ? PJMEDIA_WSOLA_IMP_WSOLA_LITE >> > >> > Is it better. (sound bursting sometimes ..i think when ?JB shrinking log >> > is occured ) >> > >> > and i get lot of logs like this: >> > >> > >> > without --ec-tail=0 >> > >> > ?11:21:43.271 ? strm0x27bfc4 ?JB shrinking 1 frame(s), cur size=29 >> > ?11:21:43.274 ? ? ec0x250268 ?239 samples reduced, buf_cnt=826 >> > ?11:21:43.293 ? ? ec0x250268 ?104 samples reduced, buf_cnt=882 >> > ?11:21:43.313 ? ? ec0x250268 ?162 samples reduced, buf_cnt=880 >> > ?11:21:43.332 ? ? ec0x250268 ?156 samples reduced, buf_cnt=884 >> > ?11:21:43.353 ? ? ec0x250268 ?188 samples reduced, buf_cnt=856 >> > ?11:21:43.384 ? ? ec0x250268 ?83 samples reduced, buf_cnt=933 >> > ?11:21:43.394 ? ? ec0x250268 ?164 samples reduced, buf_cnt=929 >> > ?11:21:43.422 ? ? ec0x250268 ?202 samples reduced, buf_cnt=887 >> > ?11:21:43.444 ? ? ec0x250268 ?99 samples reduced, buf_cnt=948 >> > ?11:21:43.464 ? ? ec0x250268 ?265 samples reduced, buf_cnt=843 >> > ?11:21:43.479 ? strm0x27bfc4 ?JB shrinking 1 frame(s), cur size=30 >> > ?11:21:43.482 ? ? ec0x250268 ?122 samples reduced, buf_cnt=881 >> > ?11:21:43.534 ? ? ec0x250268 ?99 samples reduced, buf_cnt=942 >> > ?11:21:43.544 ? ? ec0x250268 ?244 samples reduced, buf_cnt=858 >> > ?11:21:43.554 ? ? ec0x250268 ?115 samples reduced, buf_cnt=903 >> > ?11:21:43.569 ? ? ec0x250268 ?248 samples reduced, buf_cnt=815 >> > ?11:21:43.633 ? ? ec0x250268 ?106 samples reduced, buf_cnt=869 >> > ?11:21:43.636 ? ? ec0x250268 ?176 samples reduced, buf_cnt=853 >> > ?11:21:43.640 ? ? ec0x250268 ?151 samples reduced, buf_cnt=862 >> > ?11:21:43.671 ? strm0x27bfc4 ?JB shrinking 1 frame(s), cur size=29 >> > >> > >> > with --ec-tail=0 >> > >> > 09:42:49.105 ? ? ec0x256b70 ?215 samples reduced, buf_cnt=801 >> > ?09:42:49.120 ? strm0x27bdc4 ?JB shrinking 1 frame(s), cur size=33 >> > ?09:42:49.126 ? ? ec0x256b70 ?11 samples reduced, buf_cnt=950 >> > ?09:42:49.164 ? ? ec0x256b70 ?233 samples reduced, buf_cnt=877 >> > ?09:42:49.184 ? ? ec0x256b70 ?212 samples reduced, buf_cnt=825 >> > ?09:42:49.224 ? ? ec0x256b70 ?148 samples reduced, buf_cnt=837 >> > ?09:42:49.244 ? ? ec0x256b70 ?128 samples reduced, buf_cnt=869 >> > ?09:42:49.284 ? ? ec0x256b70 ?212 samples reduced, buf_cnt=817 >> > ?09:42:49.305 ? ? ec0x256b70 ?60 samples reduced, buf_cnt=917 >> > ?09:42:49.320 ? strm0x27bdc4 ?JB shrinking 1 frame(s), cur size=32 >> > ?09:42:49.344 ? ? ec0x256b70 ?214 samples reduced, buf_cnt=863 >> > >> >>>> cl >> > >> > Conference ports: >> > Port #00[ 8KHz/20ms/1] ? UCB1400: ?(hw:0,0) ?transmitting to: >> > Port #01[ 8KHz/20ms/1] ./samples/test8000.wav ?transmitting to: #0 >> > Port #02[ 8KHz/20ms/1] ? ? ? ? ? ? ringback ?transmitting to: >> > Port #03[ 8KHz/20ms/1] ? ? ? ? ? ? ? ? ring ?transmitting to: >> > >> > when i run sound localy as >> > cc 1 0 >> > >> > without --ec-tail=0 >> > >> > sound bursting sometimes >> > >> > i get these logs: >> > >> > 11:04:54.954 ? ? ec0x24d890 ?240 samples reduced, buf_cnt=842 >> > ?11:04:54.974 ? ? ec0x24d890 ?144 samples reduced, buf_cnt=858 >> > ?11:04:54.994 ? ? ec0x24d890 ?145 samples reduced, buf_cnt=873 >> > ?11:04:55.034 ? ? ec0x24d890 ?144 samples reduced, buf_cnt=889 >> > ?11:04:55.074 ? ? ec0x24d890 ?145 samples reduced, buf_cnt=904 >> > ?11:04:55.114 ? ? ec0x24d890 ?145 samples reduced, buf_cnt=919 >> > ?11:04:55.134 ? ? ec0x24d890 ?144 samples reduced, buf_cnt=935 >> > ?11:04:55.154 ? ? ec0x24d890 ?289 samples reduced, buf_cnt=806 >> > c 11:04:55.245 ? ? ec0x24d890 ?142 samples reduced, buf_cnt=824 >> > ?11:04:55.252 ? ? ec0x24d890 ?144 samples reduced, buf_cnt=840 >> > d 11:04:55.347 ? ? ec0x24d890 ?97 samples reduced, buf_cnt=903 >> > ?11:04:55.368 ? ? ec0x24d890 ?145 samples reduced, buf_cnt=918 >> > ?11:04:55.387 ? ? ec0x24d890 ?145 samples reduced, buf_cnt=933 >> > ?11:04:55.407 ? ? ec0x24d890 ?289 samples reduced, buf_cnt=804 >> > ?11:04:55.447 ? ? ec0x24d890 ?145 samples reduced, buf_cnt=819 >> > ?11:04:55.529 ? ? ec0x24d890 ?144 samples reduced, buf_cnt=835 >> > ?11:04:55.556 ? ? ec0x24d890 ?145 samples reduced, buf_cnt=850 >> > >> > ?11:04:57.875 ? ? ? pa_dev.c ?Done, status=0 >> > ?11:04:57.877 ? ? ? pa_dev.c ?Closing UCB1400: ?(hw:0,0): 87 underflow, >> > 639 overflow >> > >> > >> > with --ec-tail=0 >> > all work fine.. but: >> > Closing UCB1400: ?(hw:0,0): 1 underflow, 6 overflow :) >> > >> > >> > Can me somebody help where the potential problem is? >> > >> > Is it ARM processor and CPU load is cca 80% >> > >> > >> > >> > thanks >> > >> > >> > >> > >> > _______________________________________________ >> > 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 >> >> !DSPAM:153,4b1985ad137951344965704! > > > _______________________________________________ > 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 >