reinitialization of media transport problem

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

 



Hi

Just applied the patch and done some tests. Looks like the problem
disappeared.

Thanks. 

-----Original Message-----
From: pjsip-bounces@xxxxxxxxxxxxxxx
[mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Nanang Izzuddin
Sent: Monday, September 22, 2008 10:25 PM
To: pjsip list
Subject: Re: reinitialization of media transport problem

Hi,

Not sure if this is a bug, could you try the attached patch and please
report back if the problem disappears.

Thanks,
nanang


On Mon, Sep 22, 2008 at 9:39 PM, Ilya Kalinin <ilyak at skuku.com> wrote:
> 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.
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>



[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