pjsua_set_no_snd_dev causes crash

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

 



Hey,

In my mobile application when initializing PJSUA, I called
pjsua_set_no_snd_dev in order to prevent the library from accessing the
audio device. Now, this causes a crash with the following flow:

pjsua_destroy
pjsua_media_subsys_destroy
pjsua_media_channel_deinit
check_snd_dev_idle
pjmedia_conf_get_connect_count

When pjsua_media_subsys_destroy sets first pjsua_var.mconf = NULL and then
inside check_snd_dev_idle() there is access to pjsua_var.mconf in order to
use with pjmedia_conf_get_connect_count, this is because
pjsua_set_no_snd_dev modified the flag pjsua_var.no_snd


Any ideas how I can still disable audio device access without this crash to
happen? Thx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120129/22d80836/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