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

Cheng-Yen Lin kennylin30 at gmail.com
Wed Nov 14 05:37:07 EST 2007


>Basically you should install the relevant alsa development package
 >in the system where you run ./configure at. It could be in the
 >target system if you do native build, or in the host system if you
 >do cross compilation. In the later case, make sure you install the
 >cross-compiled version of the library instead of the native library
 >for the host system.

Hi Benny,
I cross-compiled and install alsa-lib, alsa-utils, alsa-tools, alsa-oss
on my host system, then do the configuration again, cross compile
pjsip-0.7.0 fro arm versatile, but still the fail to open sound device @@
now the error message changed:

%
00:30:57.802 os_core_unix.c pjlib 0.7.0 for POSIX initialized
 00:30:57.806 sip_endpoint.c Creating endpoint instance...
 00:30:57.824          pjlib select() I/O Queue created (0x1a0044)
 00:30:57.825 sip_endpoint.c Module "mod-msg-print" registered
 00:30:57.825 sip_transport. Transport manager created.
 00:30:57.827 sip_endpoint.c Module "mod-pjsua-log" registered
 00:30:57.829 sip_endpoint.c Module "mod-tsx-layer" registered
 00:30:57.829 sip_endpoint.c Module "mod-stateful-util" registered
 00:30:57.831 sip_endpoint.c Module "mod-ua" registered
 00:30:57.831 sip_endpoint.c Module "mod-pjsua" registered
 00:30:57.832 sip_endpoint.c Module "mod-invite" registered
1112: src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c:837: BuildDeviceLi
st: Assertion `devIdx < numDeviceNames' failed.
Aborted
%

seems portaudio fail to open the device??

thanks




More information about the pjsip mailing list