[SPAM] PJSUA Giving Audio Device Problems

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

 



            Hi Deepak,

            

            Mention -1 in capture-dev and playback-dev.

            And still error occurs provide following switch in command line 

            --log-level=6

--app-log-level=6

            

            And share the logs that would be really helpful in debugging.

 

            Thanks and Regards,

            Gaurav

            

 

-----Original Message-----
From: pjsip [mailto:pjsip-bounces@xxxxxxxxxxxxxxx] On Behalf Of DEEPAK
BHATIA
Sent: Friday, February 22, 2013 2:18 PM
To: pjsip list
Subject: Re: [SPAM] PJSUA Giving Audio Device Problems

 

Hi Khoa,

Yes, I have tested the microphone and speaker on my machine and they are
working fine.

Regards

Deepak

On Fri, Feb 22, 2013 at 2:12 PM, Khoa Pham <onmyway133 at gmail.com> wrote:

@DEEPAK BHATIA

 

When first using pjsip, I encountered this error "Unable to find default
audio device".

 

First, check if you have connect microphone to your computer

Second, trace where that error message come from, and check

Third, read http://trac.pjsip.org/repos/wiki/sound-problems for more
information

 

On Fri, Feb 22, 2013 at 3:35 PM, DEEPAK BHATIA <toreachdeepak at gmail.com>
wrote:

Hi Gaurav,

I didn't set any --capture-dev and --playback-dev

Also aplay -L command gives the following output

[root at localhost bin]# aplay -L
default
    Default
sysdefault:CARD=Intel
    HDA Intel, ALC1200 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC1200 Digital
    IEC958 (S/PDIF) Digital Audio Output

 

On Fri, Feb 22, 2013 at 1:57 PM, Gaurav Srivastava
<gaurav.srivastava2 at agnity.com> wrote:

            Deepak,

            

            My question was which value u provides for 

            --capture-dev=  

--playback-dev=

 

Check which alsa snd device is used for audio and provide its number against
the switches I mentioned.

            

            By default it is -1 but I think in your system default devices
are not used for audio.

 

            If you are still facing any issue please drop the exact steps
used to run Softphone

 

            Thanks and Regards,

            Gaurav

-----Original Message-----
From: pjsip [mailto:pjsip-bounces@xxxxxxxxxxxxxxx] On Behalf Of DEEPAK
BHATIA

Sent: Friday, February 22, 2013 1:30 PM


To: pjsip list
Subject: Re: [SPAM] PJSUA Giving Audio Device Problems

 

http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2010-August/011390.ht
ml

>  16:14:15.522       pa_dev.c  PortAudio sound library initialized,
status=0
>  16:14:15.522       pa_dev.c  PortAudio host api count=1
 
>  16:14:15.522       pa_dev.c  Sound device count=0
 
PortAudio not found any sound device...













Could this be the reason....

 

On Fri, Feb 22, 2013 at 1:09 PM, DEEPAK BHATIA <toreachdeepak at gmail.com>
wrote:

Hi Gaurav,

Thanks for the prompt response.

>>>+a
Your SIP URL: (empty to cancel): sip:100 at xxx.xxx.xxx.xxx
URL of the registrar: (empty to cancel): sip:xx.xxx.xxx.xxx
Auth Realm: (empty to cancel): asterisk
Auth Username: (empty to cancel): 100
Auth Password: (empty to cancel): 100

Also arecord and aply are working fine. Just to add, I had skype also
installed which I removed, which I guess had captured the audio device.

Regards

Deepak

On Fri, Feb 22, 2013 at 12:49 PM, Gaurav Srivastava
<gaurav.srivastava2 at agnity.com> wrote:

            Hi Deepak,

            

            Please share the command line switches and their values provided
to run Softphone(PJSUA).

            One more thing check with arecord and aplay to check whether
there exist support for Audio Recorder and player in your machine.

 

            

            Thanks and Regards,

            Gaurav

-----Original Message-----
From: pjsip [mailto:pjsip-bounces@xxxxxxxxxxxxxxx] On Behalf Of DEEPAK
BHATIA
Sent: Friday, February 22, 2013 12:44 PM
To: pjsip at lists.pjsip.org
Subject: [SPAM] PJSUA Giving Audio Device Problems

 

Hi,

I have installed PJSIP 1.12 on the Linux and I am able to connect two
softphones but the softphone (PJSUA) on the Linux gives the following
errors. Please help me in resolving this error.

============================================================================
==========================================

 20:29:34.153  pjsua_media.c  Error retrieving default audio device
parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV)
[status=420006]
 20:29:34.153  pjsua_media.c  Error opening sound device: Unable to find
default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]

============================================================================
==========================================

Regards

Deepak Bhatia

 

_______________________________________________
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

 

 


_______________________________________________
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

 


_______________________________________________
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





 

-- 
Khoa Pham
HCMC University of Science
Faculty of Information Technology


_______________________________________________
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/20130222/f3af43d7/attachment-0001.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