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 <kk_kksri at yahoo.com> 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 > >