Hi, Since pjsua_destroy() will 'completely' shutdown the sound device and restarting pjsua still doesn't bring back the mic, so I guess the problem root could be: 1. bug in the wmme implementation (incomplete steps in shutting down the sound device) 2. bug of the system or hardware After skimming the wmme implementation I couldn't find such 'missing step', could you? And for possibility #2, I also couldn't find such topic in m*dn forum :( Btw, thanks for reporting the bug, it has been fixed in r2366. Regards, nanang On Tue, Nov 11, 2008 at 5:47 AM, Steven Beck <sbeck45 at gmail.com> wrote: > I found a bug in wmme_sound.c, but fixing the bug didn't fix the mic > problem. > > In that file, in pjmedia_snd_init the code needs to zero dev_info before > calling WideCharToMultiByte to convert the device name. What is happening > now is each time this method is called to init the sound device, the "- > Input" gets added to the name, making the name grow each time. > > But this did not fix the mic problem. To repeat the problem - after the pda > gets a cell call, pjsip no longer gets sound from the mic. The only > solution I've found so far is to exit and restart my program, which of > course is not acceptable. > > > ---------- Forwarded message ---------- > From: Steven Beck <sbeck45@xxxxxxxxx> > Date: Mon, Nov 10, 2008 at 1:00 PM > Subject: Fwd: problem with mic on windows mobile > To: pjsip <pjsip at lists.pjsip.org> > > > I really could use some help here - please ! > > After getting a cell call, I called pjsua_destroy() followed by > re-initializing it (pjsua_create, pjsua_init, pjsua_transport_create and > pjsua_start). Even after all of that the microphone (sound from PDA to > other side of call) is not working. But if I exit my program and restart my > program, then the mic is working again. > > It seems that something in pjsip isn't correctly re-initialized, but what?? > > ---------- Forwarded message ---------- > From: Steven Beck <sbeck45@xxxxxxxxx> > Date: Sun, Nov 9, 2008 at 5:28 PM > Subject: problem with mic on windows mobile > To: pjsip <pjsip at lists.pjsip.org> > > > I was playing around with your package (very cool by the way) on windows > mobile. Sound in calls seems to be working fine. But if the mobile device > gets a cell call, after that, the mic doesn't work in pjsip. Any ideas > what's wrong? > > Is it possible to be notified when pjsip loses the mic? What needs to be > done to get the mic back? > > Steven > > > > > _______________________________________________ > 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 > >