[pjsip] Changes to develop a server like application

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

 



Hi,

I made the changes suggested in
http://www.pjsip.org/trac/wiki/FAQ#pjsua-lib-perf.

I'm using the following parameters:

for the conference bridge:

Conference bridge slots: 10
Sample rate: 8000 Hz
Channels: 1
samples per frame: (20*Sample rate)/1000
Bits per sample: 16
Bridge Option: PJMEDIA_CONF_NO_DEVICE |
PJMEDIA_CONF_USE_LINEAR


for the application:

pjsua_config::max_calls = 500


my config_site.h has the options inside
config_site_sample.h under PJ_CONFIG_MAXIMUM_SPEED
#define


I made a application that receives calls and plays a
wav file. With a few calls it goes ok. If I try to put
a lot of calls I get some problems. After I get 373
calls the application quits and the function
pjmedia_master_port_create returns the code 120012. If
I print it with pj_strerror() it says: "Cannot
allocate memoryAborted".



All help is very welcome,

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