Setting packet size in PJSUA

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

 



Matti Zemack wrote:
> Hi,
> 
> Does there exist some way of setting both the rx & tx packet size by 
> using the PJSUA reference implementation?

Did you mean to set the maximum rx/tx packet size? You can do this 
by setting PJSIP_MAX_PKT_LEN in your config_site.h. And you'll need 
to enlarge the log buffer size too to accommodate the larger packet, 
so probably you'll want something like this in your config_site.h:

  #define PJSIP_MAX_PKT_LEN  4000
  #define PJ_LOG_MAX_SIZE    4000

cheers,
  -benny

> Thanks in advance,
> Matti Zemack, BBC R&I, Kingswood





[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