reinitialization of media transport problem

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

 



Hi.

 

In my code I am tying to reinitialize media transport before each call
session in order to increment rtp port, I do something like this:

 

pjsua_transport_config transport_cfg;

 

pjsua_transport_config_default(&transport_cfg);

pjsua_media_transports_create(&transport_cfg);

 

after few calls application is crushes on this code segment:

 

pjsua_media.c

 

/* Delete existing media transports */

    for (i=0; i<pjsua_var.ua_cfg.max_calls; ++i) {

      if (pjsua_var.calls[i].med_tp != NULL) {

          pjmedia_transport_close(pjsua_var.calls[i].med_tp);

          pjsua_var.calls[i].med_tp = NULL;

      }

    }

 

I put this code in pjsua sample and I get same behavior. I'm using now
pjproject 1.0-rc2, with pjproject 0.8 it worked fine.

 

Do I do something wrong or there is a bug in pjproject? 

 

Thanks in advance.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080922/52017dfc/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