Hangup-Problem with pjSua2 under Android 6.0.1 (AOSP)

SF
Stefan Fendt
Fri, Jun 15, 2018 3:33 PM

Hi,

I have some problem, which puzzles me a little bit with pjsua2 under Android.

I successfully can start a call but it seems like I am unsuccessful in completely stopping it. The audio (OpenSL ES) is still running after calling pj::Call::hangup( pj::CallOpParam() );

I suppose I do need to do some further clean-up-work either before or after calling hangup? Is this correct? Maybe stopping/disconnecting the media in the onCallMediaState-handler similarly to it's start there?

Would be nice if someone could push me towards the things to take a deeper look into in such a case like this.

many thanks,
Stefan

Hi, I have some problem, which puzzles me a little bit with pjsua2 under Android. I successfully can start a call but it seems like I am unsuccessful in completely stopping it. The audio (OpenSL ES) is still running after calling pj::Call::hangup( pj::CallOpParam() ); I suppose I do need to do some further clean-up-work either before or after calling hangup? Is this correct? Maybe stopping/disconnecting the media in the onCallMediaState-handler similarly to it's start there? Would be nice if someone could push me towards the things to take a deeper look into in such a case like this. many thanks, Stefan