Julien Claassen
2010-Jun-02 18:57 UTC
[asterisk-users] Persuing the gtalk issue - not only jack-related
Hello everyone! So I hacked app_jack.c today, as best I could. Whic came mostly down to inserting ast_log() messages. I discovered the following with JACK: When it starts, it tries to read 512 bytes and only gets 0. That clears up after a while. Sometimes a good time later than the reading comes the writing. And there the real strangeness might begin. Because usually the framebuffer of JACK is set in power of two. But I see, that app_jack wants to write 3844 (31*31*2*2), yet it fails! Now I found out, that I can phone now. BUT: Theother party reaches me quite clear, after a few seconds of horrible white noise, with frequencies above 8kHz. Yet I come through all hacked or very slow. The slowness also happens to my voicemail. So if someone gets the voicemail, the sound is slow. As if it was timestretched. I don't think it's even changed in pitch. I looked at the voicemail sound files again and the quality (8kHz, mono, 16bit) looks good. Can it be a gtalk problem? Does gtalk not use 8kHz? Which codec does gtalk use? May it be, that it's one of the external codecs and they are somehow broekn at my end? Kindly yours Julien -------- Music was my first love and it will be my last (John Miles) ======== FIND MY WEB-PROJECT AT: =======http://ltsb.sourceforge.net the Linux TextBased Studio guide ======= AND MY PERSONAL PAGES AT: ======http://www.juliencoder.de
Julien Claassen
2010-Jun-02 19:00 UTC
[asterisk-users] Persuing the gtalk issue - not only jack-related
Oh P.S.: I changed my jackd startup options as well from: jackd --tmeout 4500 -R -d alsa -d hw:1 -r 48000 -z shaped and then in case a: -p 64 -n 2 Case b: -p 1024 -n 3 case c; -p 128 -n 2 Case c is my default setting. The rountrip time to talk.google.com is 60.440ms average. My upstream should be between 15-37KB (upto 256 kbit). Might my line be too slow? Kindly yours Julien -------- Music was my first love and it will be my last (John Miles) ======== FIND MY WEB-PROJECT AT: =======http://ltsb.sourceforge.net the Linux TextBased Studio guide ======= AND MY PERSONAL PAGES AT: ======http://www.juliencoder.de