Hi,
I am trying to run Pjsua application on ARM and Linux but everytime I
execute the binary, I get the following error:
14:34:20.090 pjsua_aud.c ..Error retrieving default audio device
parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV)
[status=420006]
The application is able to get the driver count but is unable to find a
sound/audio device.
Can someone help and point what the problem could be and how can I rectify.
Thanks,
Tanvi
Debug into audio device factory, audio device stream
On Wed, Jun 26, 2013 at 4:52 AM, Tanvi Sachdeva tanvi164@gmail.com wrote:
Hi,
I am trying to run Pjsua application on ARM and Linux but everytime I
execute the binary, I get the following error:
14:34:20.090 pjsua_aud.c ..Error retrieving default audio device
parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV)
[status=420006]
The application is able to get the driver count but is unable to find a
sound/audio device.
Can someone help and point what the problem could be and how can I rectify.
Thanks,
Tanvi
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Khoa Pham
HCMC University of Science
www.fantageek.com
Hi,
I tried to look into the logs and get to know that it shows that number of
sound devices is 0.
However, I can see the sound device on the machine.
Regards,
Tanvi
On Tue, Jun 25, 2013 at 7:39 PM, Khoa Pham onmyway133@gmail.com wrote:
Debug into audio device factory, audio device stream
On Wed, Jun 26, 2013 at 4:52 AM, Tanvi Sachdeva tanvi164@gmail.comwrote:
Hi,
I am trying to run Pjsua application on ARM and Linux but everytime I
execute the binary, I get the following error:
14:34:20.090 pjsua_aud.c ..Error retrieving default audio device
parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV)
[status=420006]
The application is able to get the driver count but is unable to find a
sound/audio device.
Can someone help and point what the problem could be and how can I
rectify.
Thanks,
Tanvi
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Khoa Pham
HCMC University of Science
www.fantageek.com
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Some other application has taken control of your sound devices.
Try closing those application (even media player) and restart PJSUA.
On Wed, Jun 26, 2013 at 10:53 PM, Tanvi Sachdeva tanvi164@gmail.com wrote:
Hi,
I tried to look into the logs and get to know that it shows that number of
sound devices is 0.
However, I can see the sound device on the machine.
Regards,
Tanvi
On Tue, Jun 25, 2013 at 7:39 PM, Khoa Pham onmyway133@gmail.com wrote:
Debug into audio device factory, audio device stream
On Wed, Jun 26, 2013 at 4:52 AM, Tanvi Sachdeva tanvi164@gmail.comwrote:
Hi,
I am trying to run Pjsua application on ARM and Linux but everytime I
execute the binary, I get the following error:
14:34:20.090 pjsua_aud.c ..Error retrieving default audio device
parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV)
[status=420006]
The application is able to get the driver count but is unable to find a
sound/audio device.
Can someone help and point what the problem could be and how can I
rectify.
Thanks,
Tanvi
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Khoa Pham
HCMC University of Science
www.fantageek.com
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
Rajat Jain
Software Developer
RnD
DRISHTI-SOFT SOLUTIONS PVT. LTD.
Unit No. 450, Floor-4, Tower B2, Spaze iTech Park,
Sector-49, Sohna Road, Gurgaon-122018, Haryana (India)
**Cell: +91-9999558952
Website: http://www.drishti-soft.com/www.drishti-soft.com |
http://www.ameyosuite.com/
www.ameyosuite.com
Awards & Recognitionshttp://www.drishti-soft.com/drishti_awards_recognition.php
:
NASSCOM Innovation Awards 2008 for Market Facing Innovation | Pioneers in
IP Contact Center Technology by TMCNet (2008) | Best ACD/Switch, Best
Outbound Solution and after Sales Support By Contact Center World
(APAC-2008) | Best Contact Center Suite by BPO News (2007)| Deloitte Fast
500 company in APAC | Red Herring Top 100 (2008) | NASSCOM - EMERGE 50 (
2009) | IT & ITES Business of the Year by Franchise India, E&Y and Zee
Business (2010) | Red Herring Asia Top 100 Winner (2010) | Best Contact
Center Technology Platform by Insights’ MECC (2011) | TMC Labs Innovation
Award 2011
Please read Disclaimer
-(http://www.drishti-soft.com/disclaimer.phphttp://www.google.com/url?q=http%3A%2F%2Fwww.drishti-soft.com%2Fdisclaimer.php&sa=D&sntz=1&usg=AFQjCNHgw6LB0Uv5Qy4CQJh4bP4GouKNqg
)
On Thu, Jun 27, 2013 at 2:31 PM, Rajat Jain rajatjain@drishti-soft.com wrote:
Some other application has taken control of your sound devices.
Try closing those application (even media player) and restart PJSUA.
Are you operating with Pulseaudio ?
If you are operating with pulseaudio, then you should be able to use
"pulse" or "default" sound card. If you are operating barely on top of
ALSA, then you might have to make sure that only one application is
accessing the sound card.
Amar-Akshat
Thanks all for the help but I the issue is that I do have a sound card
installed and it is not being used by any other application but still pjsua
gives the error.
Also, through the logs I can see that it is not able to get the sound
device.
16:27:00.861 audiodev.c ..drv_cnt=1
16:27:01.423 pa_dev.c ..PortAudio sound library initialized, status=0
16:27:01.424 pa_dev.c ..PortAudio host api count=2
16:27:01.427 pa_dev.c ..Sound device count=0
16:27:01.428 audiodev.c ..device_cnt=0
16:27:01.441 audiodev.c ..audio_sys.dev-cnt=0
Output of cat /dev/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.12rc1 emulation code)
Kernel: Linux CIVS-IPC-6000P-VTW0002D117F09A
2.6.18_pro500-davinci_evm-arm_v5t_le #1 PREEMPT Mon Jun 17 11:02:09 PDT
2013 armv5tejl
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
DaVinci DM365 EVM (aic3x)
Audio devices:
0: aic3x-0 (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
7: system timer
On Thu, Jun 27, 2013 at 12:25 AM, Amar Akshat amar.akshat@gmail.com wrote:
On Thu, Jun 27, 2013 at 2:31 PM, Rajat Jain rajatjain@drishti-soft.com
wrote:
Some other application has taken control of your sound devices.
Try closing those application (even media player) and restart PJSUA.
Are you operating with Pulseaudio ?
If you are operating with pulseaudio, then you should be able to use
"pulse" or "default" sound card. If you are operating barely on top of
ALSA, then you might have to make sure that only one application is
accessing the sound card.
Amar-Akshat
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Make sure you have the ALSA (asound) development files on your system.
On Ubuntu the package is 'libasound2-dev'. Check if this file exists
on your system '/usr/include/alsa/pcm.h'.
If it doesn't you'll need it at least while compiling pjproject.
On Fri, Jun 28, 2013 at 2:49 AM, Tanvi Sachdeva tanvi164@gmail.com wrote:
Thanks all for the help but I the issue is that I do have a sound card
installed and it is not being used by any other application but still pjsua
gives the error.
Also, through the logs I can see that it is not able to get the sound
device.
16:27:00.861 audiodev.c ..drv_cnt=1
16:27:01.423 pa_dev.c ..PortAudio sound library initialized, status=0
16:27:01.424 pa_dev.c ..PortAudio host api count=2
16:27:01.427 pa_dev.c ..Sound device count=0
16:27:01.428 audiodev.c ..device_cnt=0
16:27:01.441 audiodev.c ..audio_sys.dev-cnt=0
Output of cat /dev/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.12rc1 emulation code)
Kernel: Linux CIVS-IPC-6000P-VTW0002D117F09A
2.6.18_pro500-davinci_evm-arm_v5t_le #1 PREEMPT Mon Jun 17 11:02:09 PDT 2013
armv5tejl
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
DaVinci DM365 EVM (aic3x)
Audio devices:
0: aic3x-0 (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
7: system timer
On Thu, Jun 27, 2013 at 12:25 AM, Amar Akshat amar.akshat@gmail.com wrote:
On Thu, Jun 27, 2013 at 2:31 PM, Rajat Jain rajatjain@drishti-soft.com
wrote:
Some other application has taken control of your sound devices.
Try closing those application (even media player) and restart PJSUA.
Are you operating with Pulseaudio ?
If you are operating with pulseaudio, then you should be able to use
"pulse" or "default" sound card. If you are operating barely on top of
ALSA, then you might have to make sure that only one application is
accessing the sound card.
Amar-Akshat
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org