No suitable sound capture device.. but I don't need it!

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

 



Hi Andrea,
I am a newbie and I had similar problem on a specfic scenario. I have open-suse linux system.
Things work fine when I run my binary as a "guest user" and I get the following trace;

 23:57:09.684   conference.c Creating conference bridge with 9 ports
 23:57:09.688      pasound.c Opened device /dev/dsp(OSS)//dev/dsp(OSS) for recording and playback, sample rate=44100, ch=1, bits=16, 882 samples per frame, input latency=92 ms, output latency=92 ms
 23:57:09.691      pasound.c Starting /dev/dsp stream..
 23:57:09.758      pasound.c Recorder thread started
 23:57:09.760      pasound.c Done, status=0
 23:57:09.763   conference.c Sound device successfully created for port 0
 
But if I create the same binary as "wwwrun:www user", I get similar error as yours;

 23:34:23.139   conference.c Creating conference bridge with 9 ports
 23:34:23.140      ConfMgr.C Unable to create conference bridge: No suitable sound capture device (PJMEDIA_ENOSNDREC) [code=220200]

So may be this error related to access permission to default record device.

Thanks,
Senthil.


 



----- Original Message ----
From: Andrea Spadaccini <a.spadaccini@xxxxxxxxxxxxxxxxxxxx>
To: pjsip at lists.pjsip.org
Sent: Sunday, August 3, 2008 10:27:14 AM
Subject: No suitable sound capture device.. but I don't need it!

Hello everybody,
I'm still writing that test application, and I'm at the point where calls
should be established between accounts.

But.. whenever I call the make_call method, I get the following error:

Object: {Account sip:2001 at 192.168.1.90}, operation=make_call(), error=No
suitable sound capture device (PJMEDIA_ENOSNDREC)

I think that in my case a sound capture device is not needed, because I simply
want to play a wav file from the caller to the callee, and then the callee has
to record it. Stop.

Why should I need a sound capture device? Is there a way to get around this
error?

Thanks in advance,
Andrea

-- 
Dr. Andrea Spadaccini
Multimedia Technologies Institute - MTI S.r.l.
Web: www.x-voice.it - Tel: +39 (0) 95 7224945

_______________________________________________
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/20080906/919750ea/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