Invalid or unsupported audio device operation

53 views
Skip to first unread message

Mutinda Boniface

unread,
Oct 16, 2015, 11:18:10 AM10/16/15
to CSipSimple Development
I have a project which is using pjsip but Iam having a problem when making or receiving calls with no audio
I have tried to use the example in csipsimple for the AudioTest but unfortunately I don't have the ISipService aidl files available in the csipsimple project

This is the code that i am using to test my audio
pjsua.set_snd_dev(-1, -2); //  i have changed to 0, 0 and removed this line but still not working
int status = pjsua.conf_connect(0,0);

The code i am using to connect to my sip server is here https://bitbucket.org/snippets/mutinda/xLKjM 
Everytime I make a call or recieve an icoming call I dont hear any audio.
This is the error that I am getting 

.Unable to open sound device: Invalid or unsupported audio device operation (PJMEDIA_EAUD_INVOP) [status=420009]

Does anyone know the best way to handle this problem??
Thanks.
Reply all
Reply to author
Forward
0 new messages