Audio stops after multiple seconds

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

 



Hi,

We're using the pjsua-library on Linux where it initially seems to work
great: both audio and video are working. Although after a few seconds audio
stops. The time before it stops varies between 1 and 30 seconds. What is
also perculiar is that other applications freeze too when this happens. For
example, when you start recording in Audacity when pjsua's audio is
stopped, Audacity will just freeze until pjsua is killed.
This happened on both Ubuntu 12.04 and ArchLinux.

What I've tried so far is to use native Alsa like described here:
http://trac.pjsip.org/repos/ticket/1016#comment:4 I wasn't sure whether
that was still supported, since it didn't show up as a different
audio-driver (PortAudio still showed up as the driver). However, it did the
same as mentioned above.

I've also tried using PortAudio from my repository using: ./configure
--with-external-pa
The PortAudio library in my repository is on the current stable version
(19_20111121-1).
This did work in the sense that it did not freeze anything, but the audio
was greatly distrorted (high pitched voices with cracking noises).

Next I tried a custom-compiled PortAudio of the latest snapshot
(30-Aug-2012 01:23:05 UTC), but with the same effect as the stable version.

What's also worth noting is that pjsua logs the following messages a lot:

22:48:49.307 strm0xb3304024 !Discard #11891890: ref=#11891880 dist=10
orig=11891866 size=23/25 burst=4/4
22:48:49.505 strm0xb3304024  Discard #11891900: ref=#11891890 dist=10
orig=11891876 size=23/25 burst=4/4
22:48:49.591 strm0xb3304024 !Frame lost, recovered!
22:48:49.615 strm0xb3304024  Jitter buffer starts returning normal frames
(after 1 empty/lost)
22:48:49.705 strm0xb3304024 !Discard #11891910: ref=#11891900 dist=10
orig=11891886 size=23/25 burst=4/4
22:48:49.804 strm0xb3304024 !Frame lost, recovered!

Can you give me some pointers where I might find a fix for this problem?

Greetings,
Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120830/84ff4aa5/attachment-0001.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