Audio issue, related with VAD, since rev.2020

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

 



Hi !

I face with some audio problems, when playing wav files from my program,
since rev.2020.
During the tests, I'm doing this :
1- Make an outbound  call
2- Connect to null-sandport, when media is OK
3- Create a wavplayer (for a 16 bits / 16 kHz PCM file), and connect it to
the conference bridge
4- Destroy the player, either during playback, or from the EOF callback
5- Repeat steps 3-5

When I wait about 30 - secondes / 1 minute (playing nothing), before playing
the wav file again, when the file starts, the sound is jagged, during the
first seconds (then it is ok).

If I look at the logs, I can see this lines, just before the sound problem
occurs:

 11:11:12.300   strm0D007E0C Start talksprut..
 11:11:12.315   strm0D007E0C Starting silence
 11:11:12.784   strm0D007E0C Start talksprut..
 11:11:12.815   strm0D007E0C Starting silence
 11:11:13.300   strm0D007E0C Start talksprut..
 11:11:13.315   strm0D007E0C Starting silence

Note that when I disable VAD, from pjmedia_media_config struct, the problem
disappear.
Maybe it has something to do with VAD and the Silence period ...

I've uploaded the two log files on google doc :
With rev. 2019, where everything is fine:
http://docs.google.com/View?docID=dcmdgqxp_8c4g7tjc6
With rev. 2020, where the problem occurs:
http://docs.google.com/View?docID=dcmdgqxp_9f4j64jcv

This problem may be related to this thread:
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2007-October/000395.html

The problem is not very important for me, since I can disable VAD, but if I
can help to solve the problem, maybe I can give you more information.

Best regards,

Electrocut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080624/68f7ec72/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