Closed YawenD closed 6 years ago
Is this on iOS or Android?
Android, can't test on IOS. Its strange because all works perfectly before (January). Did you have the same problem ? I'm just doing a my_endpoint.holdCall(the_call), then my_endpoint.unholdCall(the_call).
It could have something to do with the React Native PjSip upgrade to 2.7.1. You could try downgrading the module to 2.7.0 and see if that makes any difference.
On Tue, 3 Apr. 2018, 5:23 pm iBuntaah, notifications@github.com wrote:
Android, can't test on IOS. Its strange cause all works perfectly before (december). Did you have the same problem ? I'm just doing a my_endpoint.holdCall(the_call), then my_endpoint.unholdCall(the_call).
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/datso/react-native-pjsip/issues/88#issuecomment-378153757, or mute the thread https://github.com/notifications/unsubscribe-auth/ARYbstIFhdPKvWYnkTAIFdKQwmXsGN0rks5tkyN_gaJpZM4S-W-2 .
After npm remove then npm install, It appears that I can't make or receive calls from the 2.7.0 and the 2.7.1 version of react-native-pjsip. The 2.7.2 didn't compile (error: package org.pjsip.pjsua2 does not exist).
However, the 2.7.3 and the 2.7.4 version works. But same problem, I can't hear after unholding a call.
Update: I found that it only happens with opus codec and only for incoming calls
Hi,
I have a problem when I put a call on hold then I unhold it. Device A calls me, I answered, put the call in hold then unhold it. The device A can hear me but I can't hear it anymore.
I answered the call: "status":"PJSUA_CALL_MEDIA_ACTIVE" "type": "PJMEDIA_TYPE_AUDIO", "dir": "PJMEDIA_DIR_ENCODING_DECODING"
I put the call on hold: "status":"PJSUA_CALL_MEDIA_LOCAL_HOLD", "type": "PJMEDIA_TYPE_AUDIO", "dir": "PJMEDIA_DIR_ENCODING"
Unhold the call :
"status": "PJSUA_CALL_MEDIA_NONE", "type": "PJMEDIA_TYPE_VIDEO", "dir": "PJMEDIA_DIR_NONE"
Any help would be appreciated, thanks