Can't find audio device on Raspberry Pi

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

 



Cheers Eeri,

I think I have incorrectly thought that this should compile as part of the main build process. Still it has compiled now.

However, running './pjsua-armv6l-unknown-linux-gnueabihf', I don't see any reference to 'pasound.c' and opening up a sound device (as shown at http://trac.pjsip.org/repos/wiki/audio-check-correct-device). So, is there anywhere where I can specify the audio device? The ALSA driver does seem to find two device (as does the PLAYWAVE program), but nothing seems to get attached to the Ports?


	pi at raspberrypi ~/pjproject/pjsip-apps/bin $ ./pjsua-armv6l-unknown-linux-gnueabihf --app-log-level 5
	11:58:46.803 os_core_unix.c !pjlib 2.1-svn for POSIX initialized
	11:58:46.812 sip_endpoint.c  .Creating endpoint instance...
	11:58:46.816          pjlib  .select() I/O Queue created (0x15c90f8)
	11:58:46.818 sip_endpoint.c  .Module "mod-msg-print" registered
	11:58:46.821 sip_transport.  .Transport manager created.
	11:58:46.823   pjsua_core.c  .PJSUA state changed: NULL --> CREATED
	11:58:46.826 sip_endpoint.c  .Module "mod-pjsua-log" registered
	11:58:46.829 sip_endpoint.c  .Module "mod-tsx-layer" registered
	11:58:46.831 sip_endpoint.c  .Module "mod-stateful-util" registered
	11:58:46.834 sip_endpoint.c  .Module "mod-ua" registered
	11:58:46.836 sip_endpoint.c  .Module "mod-100rel" registered
	11:58:46.838 sip_endpoint.c  .Module "mod-pjsua" registered
	11:58:46.842 sip_endpoint.c  .Module "mod-invite" registered
	11:58:46.926     alsa_dev.c  ..Added sound device default:CARD=ALSA
	11:58:46.935     alsa_dev.c  ..Added sound device sysdefault:CARD=ALSA
	11:58:46.937     alsa_dev.c  ..ALSA driver found 2 devices
	11:58:46.940     alsa_dev.c  ..ALSA initialized
	11:58:46.943          pjlib  ..select() I/O Queue created (0x15e3bd4)
	11:58:46.947   conference.c  ..Creating conference bridge with 254 ports
	11:58:46.950   Master/sound  ..Using delay buffer with WSOLA.
	11:58:47.016 sip_endpoint.c  .Module "mod-evsub" registered
	11:58:47.019 sip_endpoint.c  .Module "mod-presence" registered
	11:58:47.021        evsub.c  .Event pkg "presence" registered by mod-presence
	11:58:47.023 sip_endpoint.c  .Module "mod-mwi" registered
	11:58:47.026        evsub.c  .Event pkg "message-summary" registered by mod-mwi
	11:58:47.028 sip_endpoint.c  .Module "mod-refer" registered
	11:58:47.031        evsub.c  .Event pkg "refer" registered by mod-refer
	11:58:47.033 sip_endpoint.c  .Module "mod-pjsua-pres" registered
	11:58:47.035 sip_endpoint.c  .Module "mod-pjsua-im" registered
	11:58:47.036 sip_endpoint.c  .Module "mod-pjsua-options" registered
	11:58:47.037   pjsua_core.c  .1 SIP worker threads created
	11:58:47.039   pjsua_core.c  .pjsua version 2.1-svn for Linux-3.10.25/armv6l/glibc-2.13 initialized
	11:58:47.040   pjsua_core.c  .PJSUA state changed: CREATED --> INIT
	11:58:47.041 sip_endpoint.c  Module "mod-default-handler" registered
	11:58:47.044   pjsua_core.c  SIP UDP socket reachable at 192.168.0.20:5060	
	11:58:47.047   udp0x15f2190  SIP UDP transport started, published address is 192.168.0.20:5060
	11:58:47.050    pjsua_acc.c  Adding account: id=<sip: 192.168.0.20:5060>
	11:58:47.052    pjsua_acc.c  .Account <sip: 192.168.0.20:5060> added with id 0
	11:58:47.054    pjsua_acc.c  Modifying accunt 0
	11:58:47.055    pjsua_acc.c  Acc 0: setting online status to 1..
	11:58:47.060    tcplis:5060  SIP TCP listener ready for incoming connections at 192.168.0.20:5060
	11:58:47.062    pjsua_acc.c  Adding account: id=<sip:192.168.0.20:5060;transport=TCP>
	11:58:47.065    pjsua_acc.c  .Account <sip: 192.168.0.20:5060;transport=TCP> added with id 1
	11:58:47.067    pjsua_acc.c  Modifying accunt 1
	11:58:47.070    pjsua_acc.c  Acc 1: setting online status to 1..
	11:58:47.071   pjsua_core.c  PJSUA state changed: INIT --> STARTING
	11:58:47.073 sip_endpoint.c  .Module "mod-unsolicited-mwi" registered
	11:58:47.073   pjsua_core.c  .PJSUA state changed: STARTING --> RUNNING
	11:58:47.074         main.c  Ready: Success
	>>>>
	Account list:
	  [ 0] <sip: 192.168.0.20:5060>: does not register
	       Online status: Online
	 *[ 1] <sip: 192.168.0.20:5060;transport=TCP>: does not register
	       Online status: Online
	Buddy list:
	 -none-


Regards,


Chris 
?
> -----Original Message-----
> From: Eeri Kask [mailto:Eeri.Kask@xxxxxxxxxxxxxxxxxxxxx]
> Sent: 06 January 2014 08:33
> To: pjsip at lists.pjsip.org
> Subject: Re: Can't find audio device on Raspberry Pi
> 
> On Mon, 6 Jan 2014 01:14:40 -0000, "Swinney C." wrote:
> > Of course, checking the troubleshooting for sound on the PJSIP site
> (http://trac.pjsip.org/repos/wiki/audio-check-correct-device) is says you just
> need to run the PJSUA app - which I can't do because I can't find it.
> 
> (cd pjsip-apps/build ; make pjsua)
> 
> 




[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