Hi guys,
We have implemented the IOS SDK however once a user initiates a call we get the error message console.log(“Call initialization failed with exception:”, error); CometChat. I believe the call is connecting however the audio is not being transferred.
The code snippet for iniating the call is this:
CometChat.startCall(CallActivity.this, sessionId, callView, new CometChat.OngoingCallListener() {
@Override
public void onUserJoined(User user) {
Logger.error(TAG, " Name " + user.getName());
Toast.makeText(CallActivity.this, “Calling click”, Toast.LENGTH_SHORT).show();
}
@Override
public void onUserLeft(User user) {
Log.d(TAG, "onUserLeft: "+user.getName());
}
@Override
public void onError(CometChatException e) {
Log.d(TAG, "onError: "+e.getMessage());
}
@Override
public void onCallEnded(Call call) {
Log.d(TAG, "onCallEnded: "+call.toString());
finish();
}
});
Does anyone know how to resolve this?? @mayur.bhandari