disable audio device using audDevManager failed

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

 



Hi all,

I'm trying to disable the audio device using the following method call:

ep.audDevManager().setNullDev()

and I'm getting the following result:

python: ../src/pjsua-lib/pjsua_core.c:2559: pjsua_transport_get_info: Assertion `pjsua_var.tpdata[id].data.ptr != ((void *)0)' failed.

and also using pjsua2 library.

I'm doing this because whenever I make a call, I get this error:

18:02:06.381           pjsua_call.c  Making call with acc #0 to sip:testing@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx:5060
18:02:06.381            pjsua_aud.c  .Set sound device: capture=-1, playback=-2
18:02:06.381            pjsua_aud.c  ..Error retrieving default audio device parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]
18:02:06.381               call.cpp  pjsua_call_make_call(acc.getId(), &pj_dst_uri, param.p_opt, this, param.p_msg_data, &id) error: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) (status=420006) [../src/pjsua2/call.cpp:490]
Traceback (most recent call last):
  File "testcall.py", line 109, in <module>
    my_call.makeCall("sip:testing@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx:5060", prm)
  File "/home/achen/.local/lib/python2.7/site-packages/pjsua2.py", line 5135, in makeCall
    def makeCall(self, *args): return _pjsua2.Call_makeCall(self, *args)
pjsua2.Error


Any advise would be greatly appreciate it.


--
Andy Chen
Sr. Telephony Lead Engineer



*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[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