[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] mediastreamer2 init / exit function crash
From: |
Raust Tamatea |
Subject: |
[Linphone-developers] mediastreamer2 init / exit function crash |
Date: |
Mon, 06 Jun 2011 15:00:19 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 |
Hello,
In my application, I have to open and close mediastreamer (version
4.6.0). The first opening with ms_init() is okay and I can use
mediastreamer to make call. But when I try to open a new one, it crashes
randomly. For example with the following line :
int main ( void )
{
...
ms_init();
ms_exit();
ms_init(); // crash the application
...
}
I've tried to simulate an opening of mediastreamer then closing it and
finally opening it one more time. At this point, the application crash
sometimes in :
=> MSSndCard *obj=(MSSndCard *)ms_new(MSSndCard,1);
=> ortp_allocator.malloc_fun(sz);
Is there an error somewhere ? I've also tried to initialize ortp with :
int main ( void )
{
...
ms_init(); ortp_init();
ortp_exit(); ms_exit();
ms_init(); ortp_init();
...
}
but the problem is still there. Any idea ?
Thanks for your help.
Regards.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Linphone-developers] mediastreamer2 init / exit function crash,
Raust Tamatea <=