[pjsip] Error opening sound device: No suitable sound capture device

Benny Prijono bennylp at pjsip.org
Thu Nov 8 08:22:52 EST 2007

Cheng-Yen Lin wrote:
> The following is the result after running "sndinfo"
> %
>  04:34:05.522 os_core_unix.c pjlib for POSIX initialized
>  04:34:05.568      pasound.c PortAudio sound library initialized, status=0
>  04:34:05.569      pasound.c PortAudio host api count=1
>  04:34:05.569      pasound.c Sound device count=1
>  04:34:05.580          pjlib select() I/O Queue created (0x44e04)
> Device #00:
>   Name                : /dev/dsp0
>   # of input channels : 0
>   # of output channels: 16
>   Default clock rate  : 44100 Hz
> %
> The default clock rate is 44100, but where it will fail while initial
> sound device with 44100..??
> something wrong with the pjsua_media ??

Probably (and I'll leave it to you to prove it ;-) ).

 From your mail before, it looks like you have ALSA installed, but 
the sndinfo output above doesn't show any ALSA devices. This 
probably was caused by missing alsa-devel package in your system. So 
try installing alsa-devel and do ./configure again.

In any case, make sure that no other program is using the sound 
device before you start pjsua.


More information about the pjsip mailing list