pjsua sound device problem

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

 



Hi:
I've successfully compliled the pjsua, but when I was trying to run the application, it gives me "can't open sound card" error, then I add the sound dev id parameter:
./pjsua --playback-dev=0 --capture-dev=0
but the app still complains:

15:47:02.970 pjsua_media.c pjsua_set_snd_dev(capture_dev 0,playback_dev 0): attempting to open devices @16000 Hz
15:47:02.970 pjsua_media.c ..failed: Invalid sound device ID (PJMEDIA_ESNDINDEVID)
15:47:02.970 pjsua_media.c pjsua_set_snd_dev(capture_dev 0,playback_dev 0): attempting to open devices @22050 Hz
15:47:02.970 pjsua_media.c ..failed: Invalid sound device ID (PJMEDIA_ESNDINDEVID)
15:47:02.970 pjsua_media.c pjsua_set_snd_dev(capture_dev 0,playback_dev 0): attempting to open devices @44100 Hz
15:47:02.970 pjsua_media.c ..failed: Invalid sound device ID (PJMEDIA_ESNDINDEVID)
15:47:02.971 pjsua_media.c pjsua_set_snd_dev(capture_dev 0,playback_dev 0): attempting to open devices @48000 Hz
15:47:02.971 pjsua_media.c ..failed: Invalid sound device ID (PJMEDIA_ESNDINDEVID)
15:47:02.971 pjsua_media.c pjsua_set_snd_dev(capture_dev 0,playback_dev 0): attempting to open devices @11025 Hz
15:47:02.971 pjsua_media.c ..failed: Invalid sound device ID (PJMEDIA_ESNDINDEVID)
15:47:02.971 pjsua_media.c pjsua_set_snd_dev(capture_dev 0,playback_dev 0): attempting to open devices @32000 Hz
15:47:02.971 pjsua_media.c ..failed: Invalid sound device ID (PJMEDIA_ESNDINDEVID)
15:47:02.971 pjsua_media.c pjsua_set_snd_dev(capture_dev 0,playback_dev 0): attempting to open devices @8000 Hz
15:47:02.971 pjsua_media.c ..failed: Invalid sound device ID (PJMEDIA_ESNDINDEVID)
15:47:02.971 pjsua_media.c Unable to open sound device: Invalid sound device ID (PJMEDIA_ESNDINDEVID) [status=220202]
15:47:02.971 pjsua_core.c Shutting down...

Then I tried ./pjsua --playback-dev=0 --capture-dev=0
It gives me the invalid sample rate error.

Is there anyone can help me, thanks in advance.

BR
Feng



? ? ? ? 100 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080222/9c2a057c/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