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
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.