pjmedia_wav_player_port_create and ptime (any changes?)

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

 



Hi all,

I just got the trunk version of the api (I think its
r1629) I had some trouble with
pjmedia_wav_player_port_create. The audio in the wav
gets very bad. I am using the default ptime (put zero
in there) that translates to 20 ms in wav_player.c
(line 205). pjsua_player_create works fine, so I
looked in the function pjsua_player_create and it uses
as ptime the value
pjsua_var.mconf_cfg.samples_per_frame *1000 /
pjsua_var.media_cfg.clock_rate that is equal to 10. So
if use this value it works fine, but the default (20)
gives a bad audio. The previous version of the api
that I have here ( pjproject-0.8.0.tar.gz downloaded
from http://www.pjsip.org/download.htm)is working fine
with a ptime of 20 ms.

Has anyone had this problem so far? Is there any
changes in the way this function works now?

Thanks for all help,

Thiago


      Abra sua conta no Yahoo! Mail, o ?nico sem limite de espa?o para armazenamento!
http://br.mail.yahoo.com/



[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