Multiple sound cards and pjsip

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

 



Hi,


count = pjmedia_snd_get_dev_count();

for (i=0; i<count; ++i)

{

const pjmedia_snd_dev_info *devinfo;

devinfo = pjmedia_snd_get_dev_info(i);
}

this will parse through all your plugged in soud devices.

devinfo->name will give you all the names.
One thing that i hav also been searching is a way to dynamically get the usb
device details plugged in after the intialization of the library.

Ravi



On Tue, Mar 23, 2010 at 10:04 AM, Jeffrey Ross <jeffrey_e_ross at yahoo.com>wrote:

>   I wish to receive 10 mono voice channels connected directly into a
> remote machine and have them sent via pjsip to my local machine.  The local
> machine will send one voice channel back to the remote machine.  At present
> I'm investigating if I can get 10 USB sound cards to work in Linux and to do
> so reliably.  For testing I plan to modify pjsua to specify a list of device
> names to be opened, eg /dev/dsp0, .. /dev/dsp9.  It looks like pjsua tries
> to open /dev/dsp (although I can't see where it picks up that device name
> from).
> Has anyone succeeded in getting multiple sound cards to work with pjsip?
> Any hints?
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100323/11eae8e8/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