Open utsav0098 opened 2 years ago
location: => /node_modules/react-native-pjsip/android/src/main/java/com/carusto/ReactNativePjSip/PjSipService.java
TransportConfig transportConfig = new TransportConfig(); transportConfig.setQosType(pj_qos_type.PJ_QOS_TYPE_VOICE); mTcpTransportId = mEndpoint.transportCreate(pjsip_transport_type_e.PJSIP_TRANSPORT_TCP, transportConfig); mTrash.add(transportConfig);
user accept call but i am not able to detect status with this code. but work for lte connection. but not work with wifi connection TransportConfig transportConfig = new TransportConfig(); transportConfig.setQosType(pj_qos_type.PJ_QOS_TYPE_VOICE); mEndpoint.transportCreate(pjsip_transport_type_e.PJSIP_TRANSPORT_TCP, transportConfig); mTrash.add(transportConfig);
i just remove "mTcpTransportId = " then work for lte connection. but not work with wifi. but i don't remove this line then work for wifi. but not work lte connection.
i don't know why create this issue.
Anyone can help me please? Thanks
same WiFi connect to work this code endpoint.on("call_terminated", (call) => { console.log('Connectivity call_terminated: ', call); dispatch(onCallTerminated(call)) }) but problem is my phone is connect with mobile data and another mobile connect with WiFi so app working fine with WiFi connection. but not work with mobile data when i receiving call and make call in hold then not work call_terminated listener. otherwise everything is working fine