pjsip-android icon indicating copy to clipboard operation
pjsip-android copied to clipboard

[Android] Remote OnHold is note received in onCallMediaState

Open alveru opened this issue 5 months ago • 0 comments

Mobile Android , kotlin libpjsua2.so

I am trying to detect when the remote user puts the call on hold , i am monitoring all call state functions and i do not see any event happening, but i can listen to the music that starts playing, do i need to setup any specific configuration to be able to receive a notification when the remote call is put on hold?

these are the functions that i am monitoring on SipCall.kt

class SipCall : Call {

override fun onCallState(prm: OnCallStateParam) { Log.d("", "---> onCallState") }

override fun onCallMediaState(prm: OnCallMediaStateParam) { Log.d("", "---> ${info.state}") }

override fun onCallMediaEvent(prm: OnCallMediaEventParam) { super.onCallMediaEvent(prm) Log.d("", "---> onCallMediaEvent") }

}

alveru avatar Sep 24 '24 02:09 alveru