Hi sir i did the same thing when i am selecting the audio device like USB i am reinitializing the application. at that time incoming and outgoing sounds are coming from USB Device. But once again i am selecting the device as HeadSet , this time also i am reinitializing the application, but this time incoming and outgoing sounds are heard from USB only, not from headset. so how to solve this audio selection problem. if you are able to send the methods how to solve this problem it will be very greatful help for me. Thankyou. Nanang Izzuddin <nanang.izzuddin at gmail.com> wrote: Perhaps you can use: --capture-dev=id Audio capture device ID (default=-1) --playback-dev=id Audio playback device ID (default=-1) to find the device ids, you can use sndinfo in samples directory. or, restarting pjsua after changing the system default's audio settings should also work. nanang On 12/03/2008, sre kdkjf wrote: > Hi All > > i am doing one sample application using pjsip stack. > > i got one problem with Audio settings. > > i.e. when both USB and HeadSet both are connected to the system, i had > selected inpupt and output device selection as USB then both incoming and > outgoing sounds are coming from USB. But when i select incoming and outgoing > devices are HeadSet even though the incmoig and outgoing sounds are coming > from USB. > > How to vary the selection of audio devices. i mean is there any way to set > the selection of audio devices in PJSIP stack. > > it would be great helpful if any body solves my problem. > > thankyou. > > ________________________________ > Looking for last minute shopping deals? Find them fast with Yahoo! Search. > > > _______________________________________________ > 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 > > _______________________________________________ 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 --------------------------------- Never miss a thing. Make Yahoo your homepage. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080312/3bbbabe7/attachment.html